diff --git a/provider/cmd/pulumi-resource-oci/bridge-metadata.json b/provider/cmd/pulumi-resource-oci/bridge-metadata.json index f1a3e77f0e..7a9bb86daa 100644 --- a/provider/cmd/pulumi-resource-oci/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-oci/bridge-metadata.json @@ -3038,6 +3038,9 @@ "admission_controller_options": { "maxItemsOne": true }, + "ip_families": { + "maxItemsOne": false + }, "kubernetes_network_config": { "maxItemsOne": true }, @@ -5272,6 +5275,16 @@ "current": "oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase", "majorVersion": 2, "fields": { + "associated_backup_configuration_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "backup_config": { "maxItemsOne": true, "elem": { @@ -5282,6 +5295,16 @@ } } }, + "backup_destination_properties_list": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "key_history_entry": { "maxItemsOne": false }, @@ -5344,6 +5367,9 @@ }, "provisionable_cpus": { "maxItemsOne": false + }, + "recovery_appliance_details": { + "maxItemsOne": false } } }, @@ -5384,6 +5410,9 @@ "backup_config": { "maxItemsOne": false }, + "clone_table_space_list": { + "maxItemsOne": false + }, "connection_strings": { "maxItemsOne": false, "elem": { @@ -6087,11 +6116,17 @@ "scan_ip_ids": { "maxItemsOne": false }, + "scan_ipv6ids": { + "maxItemsOne": false + }, "ssh_public_keys": { "maxItemsOne": false }, "vip_ids": { "maxItemsOne": false + }, + "vipv6ids": { + "maxItemsOne": false } } }, @@ -17191,6 +17226,9 @@ }, "valid_properties_for_update": { "maxItemsOne": false + }, + "valid_sub_resource_types": { + "maxItemsOne": false } } } @@ -17265,6 +17303,31 @@ } } }, + "oci_stack_monitoring_monitoring_template": { + "current": "oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", + "majorVersion": 2, + "fields": { + "destinations": { + "maxItemsOne": false + }, + "members": { + "maxItemsOne": false + } + } + }, + "oci_stack_monitoring_monitoring_template_alarm_condition": { + "current": "oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", + "majorVersion": 2, + "fields": { + "conditions": { + "maxItemsOne": false + } + } + }, + "oci_stack_monitoring_monitoring_template_monitoring_template_on_given_resources_management": { + "current": "oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", + "majorVersion": 2 + }, "oci_stack_monitoring_process_set": { "current": "oci:StackMonitoring/processSet:ProcessSet", "majorVersion": 2, @@ -17311,6 +17374,10 @@ } } }, + "oci_tenantmanagercontrolplane_subscription_mapping": { + "current": "oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", + "majorVersion": 2 + }, "oci_usage_proxy_subscription_redeemable_user": { "current": "oci:UsageProxy/subscriptionRedeemableUser:SubscriptionRedeemableUser", "majorVersion": 2, @@ -17337,6 +17404,9 @@ "secret_content": { "maxItemsOne": true }, + "secret_generation_context": { + "maxItemsOne": true + }, "secret_rules": { "maxItemsOne": false } @@ -27720,6 +27790,9 @@ "admission_controller_options": { "maxItemsOne": false }, + "ip_families": { + "maxItemsOne": false + }, "kubernetes_network_config": { "maxItemsOne": false }, @@ -27846,6 +27919,9 @@ "admission_controller_options": { "maxItemsOne": false }, + "ip_families": { + "maxItemsOne": false + }, "kubernetes_network_config": { "maxItemsOne": false }, @@ -36605,6 +36681,16 @@ "current": "oci:Database/getAutonomousContainerDatabase:getAutonomousContainerDatabase", "majorVersion": 2, "fields": { + "associated_backup_configuration_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "backup_config": { "maxItemsOne": false, "elem": { @@ -36615,6 +36701,16 @@ } } }, + "backup_destination_properties_list": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "key_history_entry": { "maxItemsOne": false }, @@ -36677,6 +36773,9 @@ }, "provisionable_cpus": { "maxItemsOne": false + }, + "recovery_appliance_details": { + "maxItemsOne": false } } }, @@ -36775,6 +36874,16 @@ "maxItemsOne": false, "elem": { "fields": { + "associated_backup_configuration_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "backup_config": { "maxItemsOne": false, "elem": { @@ -36785,6 +36894,16 @@ } } }, + "backup_destination_properties_list": { + "maxItemsOne": false, + "elem": { + "fields": { + "backup_destination_attach_history": { + "maxItemsOne": false + } + } + } + }, "key_history_entry": { "maxItemsOne": false }, @@ -36847,6 +36966,9 @@ }, "provisionable_cpus": { "maxItemsOne": false + }, + "recovery_appliance_details": { + "maxItemsOne": false } } } @@ -36895,6 +37017,9 @@ "backup_config": { "maxItemsOne": false }, + "clone_table_space_list": { + "maxItemsOne": false + }, "connection_strings": { "maxItemsOne": false, "elem": { @@ -37178,6 +37303,9 @@ "backup_config": { "maxItemsOne": false }, + "clone_table_space_list": { + "maxItemsOne": false + }, "connection_strings": { "maxItemsOne": false, "elem": { @@ -37291,6 +37419,9 @@ "backup_config": { "maxItemsOne": false }, + "clone_table_space_list": { + "maxItemsOne": false + }, "connection_strings": { "maxItemsOne": false, "elem": { @@ -39060,11 +39191,17 @@ "scan_ip_ids": { "maxItemsOne": false }, + "scan_ipv6ids": { + "maxItemsOne": false + }, "ssh_public_keys": { "maxItemsOne": false }, "vip_ids": { "maxItemsOne": false + }, + "vipv6ids": { + "maxItemsOne": false } } } @@ -62364,6 +62501,72 @@ } } }, + "oci_jms_fleet_error_analytics": { + "current": "oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "fleet_error_aggregation_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "fleet_error_aggregations": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "oci_jms_fleet_errors": { + "current": "oci:Jms/getFleetErrors:getFleetErrors", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "fleet_error_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "errors": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, "oci_jms_fleet_export_setting": { "current": "oci:Jms/getFleetExportSetting:getFleetExportSetting", "majorVersion": 2 @@ -62926,6 +63129,72 @@ } } }, + "oci_jms_plugin_error_analytics": { + "current": "oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "plugin_error_aggregation_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "plugin_error_aggregations": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "oci_jms_plugin_errors": { + "current": "oci:Jms/getPluginErrors:getPluginErrors", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "plugin_error_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "errors": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, "oci_jms_summarize_resource_inventory": { "current": "oci:Jms/getSummarizeResourceInventory:getSummarizeResourceInventory", "majorVersion": 2 @@ -75609,6 +75878,49 @@ } } }, + "oci_stack_monitoring_defined_monitoring_templates": { + "current": "oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", + "majorVersion": 2, + "fields": { + "defined_monitoring_template_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "defined_alarm_conditions": { + "maxItemsOne": false, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "resource_types": { + "maxItemsOne": false + } + } + }, "oci_stack_monitoring_discovery_job": { "current": "oci:StackMonitoring/getDiscoveryJob:getDiscoveryJob", "majorVersion": 2, @@ -75980,6 +76292,9 @@ }, "valid_properties_for_update": { "maxItemsOne": false + }, + "valid_sub_resource_types": { + "maxItemsOne": false } } } @@ -76039,6 +76354,9 @@ }, "valid_properties_for_update": { "maxItemsOne": false + }, + "valid_sub_resource_types": { + "maxItemsOne": false } } } @@ -76127,6 +76445,111 @@ } } }, + "oci_stack_monitoring_monitoring_template": { + "current": "oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", + "majorVersion": 2, + "fields": { + "destinations": { + "maxItemsOne": false + }, + "members": { + "maxItemsOne": false + } + } + }, + "oci_stack_monitoring_monitoring_template_alarm_condition": { + "current": "oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", + "majorVersion": 2, + "fields": { + "conditions": { + "maxItemsOne": false + } + } + }, + "oci_stack_monitoring_monitoring_template_alarm_conditions": { + "current": "oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", + "majorVersion": 2, + "fields": { + "alarm_condition_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "conditions": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "metric_name": { + "maxItemsOne": false + }, + "resource_types": { + "maxItemsOne": false + } + } + }, + "oci_stack_monitoring_monitoring_templates": { + "current": "oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "metric_name": { + "maxItemsOne": false + }, + "monitoring_template_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "destinations": { + "maxItemsOne": false + }, + "members": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "namespace": { + "maxItemsOne": false + }, + "resource_types": { + "maxItemsOne": false + } + } + }, "oci_stack_monitoring_process_set": { "current": "oci:StackMonitoring/getProcessSet:getProcessSet", "majorVersion": 2, @@ -76290,6 +76713,450 @@ } } }, + "oci_tenantmanagercontrolplane_assigned_subscription": { + "current": "oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", + "majorVersion": 2, + "fields": { + "order_ids": { + "maxItemsOne": false + }, + "promotion": { + "maxItemsOne": false + }, + "skus": { + "maxItemsOne": false + } + } + }, + "oci_tenantmanagercontrolplane_assigned_subscription_line_items": { + "current": "oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", + "majorVersion": 2, + "fields": { + "assigned_subscription_line_item_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_assigned_subscriptions": { + "current": "oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", + "majorVersion": 2, + "fields": { + "assigned_subscription_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "order_ids": { + "maxItemsOne": false + }, + "promotion": { + "maxItemsOne": false + }, + "skus": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_domain": { + "current": "oci:Tenantmanagercontrolplane/getDomain:getDomain", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_domain_governance": { + "current": "oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_domain_governances": { + "current": "oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", + "majorVersion": 2, + "fields": { + "domain_governance_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_domains": { + "current": "oci:Tenantmanagercontrolplane/getDomains:getDomains", + "majorVersion": 2, + "fields": { + "domain_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_link": { + "current": "oci:Tenantmanagercontrolplane/getLink:getLink", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_links": { + "current": "oci:Tenantmanagercontrolplane/getLinks:getLinks", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "link_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_organization": { + "current": "oci:Tenantmanagercontrolplane/getOrganization:getOrganization", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_organization_tenancies": { + "current": "oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "organization_tenancy_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_organization_tenancy": { + "current": "oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_organizations": { + "current": "oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "organization_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_recipient_invitation": { + "current": "oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", + "majorVersion": 2, + "fields": { + "subjects": { + "maxItemsOne": false + } + } + }, + "oci_tenantmanagercontrolplane_recipient_invitations": { + "current": "oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "recipient_invitation_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "subjects": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_sender_invitation": { + "current": "oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", + "majorVersion": 2, + "fields": { + "subjects": { + "maxItemsOne": false + } + } + }, + "oci_tenantmanagercontrolplane_sender_invitations": { + "current": "oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "sender_invitation_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "subjects": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_subscription": { + "current": "oci:Tenantmanagercontrolplane/getSubscription:getSubscription", + "majorVersion": 2, + "fields": { + "promotion": { + "maxItemsOne": false + }, + "skus": { + "maxItemsOne": false + } + } + }, + "oci_tenantmanagercontrolplane_subscription_available_regions": { + "current": "oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", + "majorVersion": 2, + "fields": { + "available_region_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_subscription_line_items": { + "current": "oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "subscription_line_item_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_subscription_mapping": { + "current": "oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", + "majorVersion": 2 + }, + "oci_tenantmanagercontrolplane_subscription_mappings": { + "current": "oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "subscription_mapping_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_tenantmanagercontrolplane_subscriptions": { + "current": "oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "subscription_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "promotion": { + "maxItemsOne": false + }, + "skus": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, "oci_usage_proxy_resource_quotas": { "current": "oci:UsageProxy/getResourceQuotas:getResourceQuotas", "majorVersion": 2, @@ -76569,13 +77436,16 @@ "secret_content": { "maxItemsOne": false }, + "secret_generation_context": { + "maxItemsOne": false + }, "secret_rules": { "maxItemsOne": false } } }, - "oci_vault_secret_version": { - "current": "oci:Vault/getSecretVersion:getSecretVersion", + "oci_vault_secret_version_sdk_v2": { + "current": "oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", "majorVersion": 2, "fields": { "stages": { @@ -76614,6 +77484,9 @@ "secret_content": { "maxItemsOne": false }, + "secret_generation_context": { + "maxItemsOne": false + }, "secret_rules": { "maxItemsOne": false } diff --git a/provider/cmd/pulumi-resource-oci/schema.json b/provider/cmd/pulumi-resource-oci/schema.json index a8ecc51548..c5d92e1a1f 100644 --- a/provider/cmd/pulumi-resource-oci/schema.json +++ b/provider/cmd/pulumi-resource-oci/schema.json @@ -104,6 +104,9 @@ "type": "string", "description": "(Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud\nInfrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.\n" }, + "testTimeMaintenanceRebootDue": { + "type": "string" + }, "userOcid": { "type": "string", "description": "(Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if\nauth is set to 'ApiKey', ignored otherwise.\n" @@ -65912,6 +65915,10 @@ }, "oci:ContainerEngine/ClusterEndpoint:ClusterEndpoint": { "properties": { + "ipv6endpoint": { + "type": "string", + "description": "The IPv6 networking Kubernetes API server endpoint.\n" + }, "kubernetes": { "type": "string", "description": "The non-native networking Kubernetes API server endpoint.\n" @@ -65933,6 +65940,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "ipv6endpoint", "kubernetes", "privateEndpoint", "publicEndpoint", @@ -66084,6 +66092,14 @@ "$ref": "#/types/oci:ContainerEngine/ClusterOptionsAdmissionControllerOptions:ClusterOptionsAdmissionControllerOptions", "description": "(Updatable) Configurable cluster admission controllers\n" }, + "ipFamilies": { + "type": "array", + "items": { + "type": "string" + }, + "description": "IP family to use for single stack or define the order of IP families for dual-stack\n", + "willReplaceOnChanges": true + }, "kubernetesNetworkConfig": { "$ref": "#/types/oci:ContainerEngine/ClusterOptionsKubernetesNetworkConfig:ClusterOptionsKubernetesNetworkConfig", "description": "Network configuration for Kubernetes.\n", @@ -66120,6 +66136,7 @@ "requiredOutputs": [ "addOns", "admissionControllerOptions", + "ipFamilies", "kubernetesNetworkConfig", "openIdConnectDiscovery", "openIdConnectTokenAuthenticationConfig", @@ -68053,6 +68070,10 @@ }, "oci:ContainerEngine/getClusterEndpoint:getClusterEndpoint": { "properties": { + "ipv6endpoint": { + "type": "string", + "description": "The IPv6 networking Kubernetes API server endpoint.\n" + }, "kubernetes": { "type": "string", "description": "The non-native networking Kubernetes API server endpoint.\n" @@ -68072,6 +68093,7 @@ }, "type": "object", "required": [ + "ipv6endpoint", "kubernetes", "privateEndpoint", "publicEndpoint", @@ -68233,6 +68255,13 @@ }, "description": "Configurable cluster admission controllers\n" }, + "ipFamilies": { + "type": "array", + "items": { + "type": "string" + }, + "description": "IP family to use for single stack or define the order of IP families for dual-stack\n" + }, "kubernetesNetworkConfigs": { "type": "array", "items": { @@ -68278,6 +68307,7 @@ "required": [ "addOns", "admissionControllerOptions", + "ipFamilies", "kubernetesNetworkConfigs", "openIdConnectDiscoveries", "openIdConnectTokenAuthenticationConfigs", @@ -68756,6 +68786,10 @@ }, "oci:ContainerEngine/getClustersClusterEndpoint:getClustersClusterEndpoint": { "properties": { + "ipv6endpoint": { + "type": "string", + "description": "The IPv6 networking Kubernetes API server endpoint.\n" + }, "kubernetes": { "type": "string", "description": "The non-native networking Kubernetes API server endpoint.\n" @@ -68775,6 +68809,7 @@ }, "type": "object", "required": [ + "ipv6endpoint", "kubernetes", "privateEndpoint", "publicEndpoint", @@ -68936,6 +68971,13 @@ }, "description": "Configurable cluster admission controllers\n" }, + "ipFamilies": { + "type": "array", + "items": { + "type": "string" + }, + "description": "IP family to use for single stack or define the order of IP families for dual-stack\n" + }, "kubernetesNetworkConfigs": { "type": "array", "items": { @@ -68983,6 +69025,7 @@ "required": [ "addOns", "admissionControllerOptions", + "ipFamilies", "kubernetesNetworkConfigs", "openIdConnectDiscoveries", "openIdConnectTokenAuthenticationConfigs", @@ -150623,6 +150666,70 @@ } } }, + "oci:Database/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail:AutonomousContainerDatabaseAssociatedBackupConfigurationDetail": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "dbrsPolicyId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.\n" + }, + "id": { + "type": "string", + "description": "The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry.\n" + }, + "internetProxy": { + "type": "string", + "description": "Proxy URL to connect to object store.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + }, + "type": { + "type": "string", + "description": "Type of the database backup destination.\n" + }, + "vpcPassword": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.\n" + }, + "vpcUser": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "backupDestinationAttachHistories", + "dbrsPolicyId", + "id", + "internetProxy", + "recoveryWindowInDays", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated", + "type", + "vpcPassword", + "vpcUser" + ] + } + } + }, "oci:Database/AutonomousContainerDatabaseBackupConfig:AutonomousContainerDatabaseBackupConfig": { "properties": { "backupDestinationDetails": { @@ -150683,6 +150790,35 @@ } } }, + "oci:Database/AutonomousContainerDatabaseBackupDestinationPropertiesList:AutonomousContainerDatabaseBackupDestinationPropertiesList": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "backupDestinationAttachHistories", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated" + ] + } + } + }, "oci:Database/AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig:AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig": { "properties": { "backupDestinationDetails": { @@ -151080,6 +151216,32 @@ } } }, + "oci:Database/AutonomousContainerDatabaseRecoveryApplianceDetail:AutonomousContainerDatabaseRecoveryApplianceDetail": { + "properties": { + "allocatedStorageSizeInGbs": { + "type": "integer", + "description": "The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "timeRecoveryApplianceDetailsUpdated": { + "type": "string", + "description": "The time when the recovery appliance details are updated.\n=======\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "allocatedStorageSizeInGbs", + "recoveryWindowInDays", + "timeRecoveryApplianceDetailsUpdated" + ] + } + } + }, "oci:Database/AutonomousDatabaseApexDetail:AutonomousDatabaseApexDetail": { "properties": { "apexVersion": { @@ -151602,6 +151764,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "The current state of the Autonomous Database.\n" @@ -151613,6 +151779,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -151622,9 +151796,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ] } } @@ -151809,6 +151986,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "The current state of the Autonomous Database.\n" @@ -151820,6 +152001,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -151829,9 +152018,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ] } } @@ -157140,6 +157332,71 @@ "values" ] }, + "oci:Database/getAutonomousContainerDatabaseAssociatedBackupConfigurationDetail:getAutonomousContainerDatabaseAssociatedBackupConfigurationDetail": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "dbrsPolicyId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.\n" + }, + "id": { + "type": "string", + "description": "The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry.\n" + }, + "internetProxy": { + "type": "string", + "description": "Proxy URL to connect to object store.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + }, + "type": { + "type": "string", + "description": "Type of the database backup destination.\n" + }, + "vpcPassword": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.\n" + }, + "vpcUser": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.\n" + } + }, + "type": "object", + "required": [ + "backupDestinationAttachHistories", + "dbrsPolicyId", + "id", + "internetProxy", + "recoveryWindowInDays", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated", + "type", + "vpcPassword", + "vpcUser" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabaseBackupConfig:getAutonomousContainerDatabaseBackupConfig": { "properties": { "backupDestinationDetails": { @@ -157151,7 +157408,7 @@ }, "recoveryWindowInDays": { "type": "integer", - "description": "Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups.\n" + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" } }, "type": "object", @@ -157203,6 +157460,36 @@ } } }, + "oci:Database/getAutonomousContainerDatabaseBackupDestinationPropertiesList:getAutonomousContainerDatabaseBackupDestinationPropertiesList": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + } + }, + "type": "object", + "required": [ + "backupDestinationAttachHistories", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig:getAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig": { "properties": { "backupDestinationDetails": { @@ -157758,7 +158045,7 @@ }, "recoveryWindowInDays": { "type": "integer", - "description": "Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups.\n" + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" } }, "type": "object", @@ -157810,6 +158097,33 @@ } } }, + "oci:Database/getAutonomousContainerDatabaseRecoveryApplianceDetail:getAutonomousContainerDatabaseRecoveryApplianceDetail": { + "properties": { + "allocatedStorageSizeInGbs": { + "type": "integer", + "description": "The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "timeRecoveryApplianceDetailsUpdated": { + "type": "string", + "description": "The time when the recovery appliance details are updated.\n" + } + }, + "type": "object", + "required": [ + "allocatedStorageSizeInGbs", + "recoveryWindowInDays", + "timeRecoveryApplianceDetailsUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage:getAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage": { "properties": { "displayName": { @@ -157937,6 +158251,13 @@ }, "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabase:getAutonomousContainerDatabasesAutonomousContainerDatabase": { "properties": { + "associatedBackupConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail:getAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail" + }, + "description": "A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.\n" + }, "autonomousExadataInfrastructureId": { "type": "string", "description": "The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" @@ -157960,6 +158281,13 @@ }, "description": "Backup options for the Autonomous Container Database.\n" }, + "backupDestinationPropertiesLists": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList:getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList" + }, + "description": "This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.\n" + }, "cloudAutonomousVmClusterId": { "type": "string", "description": "The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" @@ -158150,6 +158478,13 @@ "type": "number", "description": "CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n" }, + "recoveryApplianceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail:getAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail" + }, + "description": "Information about the recovery appliance configuration associated with the Autonomous Container Database.\n" + }, "reservedCpus": { "type": "number", "description": "The number of CPUs reserved in an Autonomous Container Database.\n" @@ -158204,11 +158539,13 @@ }, "type": "object", "required": [ + "associatedBackupConfigurationDetails", "autonomousExadataInfrastructureId", "autonomousVmClusterId", "availabilityDomain", "availableCpus", "backupConfigs", + "backupDestinationPropertiesLists", "cloudAutonomousVmClusterId", "compartmentId", "computeModel", @@ -158254,6 +158591,7 @@ "provisionableCpuses", "provisionedCpus", "reclaimableCpus", + "recoveryApplianceDetails", "reservedCpus", "role", "rotateKeyTrigger", @@ -158274,6 +158612,71 @@ } } }, + "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail:getAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "dbrsPolicyId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.\n" + }, + "id": { + "type": "string", + "description": "The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry.\n" + }, + "internetProxy": { + "type": "string", + "description": "Proxy URL to connect to object store.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + }, + "type": { + "type": "string", + "description": "Type of the database backup destination.\n" + }, + "vpcPassword": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.\n" + }, + "vpcUser": { + "type": "string", + "description": "For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.\n" + } + }, + "type": "object", + "required": [ + "backupDestinationAttachHistories", + "dbrsPolicyId", + "id", + "internetProxy", + "recoveryWindowInDays", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated", + "type", + "vpcPassword", + "vpcUser" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig:getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig": { "properties": { "backupDestinationDetails": { @@ -158285,7 +158688,7 @@ }, "recoveryWindowInDays": { "type": "integer", - "description": "Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups.\n" + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" } }, "type": "object", @@ -158337,6 +158740,36 @@ } } }, + "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList:getAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList": { + "properties": { + "backupDestinationAttachHistories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.\n" + }, + "spaceUtilizedInGbs": { + "type": "integer", + "description": "The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.\n" + }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated.\n" + } + }, + "type": "object", + "required": [ + "backupDestinationAttachHistories", + "spaceUtilizedInGbs", + "timeAtWhichStorageDetailsAreUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntry:getAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntry": { "properties": { "id": { @@ -158612,7 +159045,7 @@ }, "recoveryWindowInDays": { "type": "integer", - "description": "Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups.\n" + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" } }, "type": "object", @@ -158664,6 +159097,33 @@ } } }, + "oci:Database/getAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail:getAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail": { + "properties": { + "allocatedStorageSizeInGbs": { + "type": "integer", + "description": "The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer.\n" + }, + "recoveryWindowInDays": { + "type": "integer", + "description": "Number of days between the current and earliest point of recoverability covered by automatic backups.\n" + }, + "timeRecoveryApplianceDetailsUpdated": { + "type": "string", + "description": "The time when the recovery appliance details are updated.\n" + } + }, + "type": "object", + "required": [ + "allocatedStorageSizeInGbs", + "recoveryWindowInDays", + "timeRecoveryApplianceDetailsUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousContainerDatabasesFilter:getAutonomousContainerDatabasesFilter": { "properties": { "name": { @@ -159597,6 +160057,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "The current state of the Autonomous Database.\n" @@ -159608,6 +160072,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -159615,9 +160087,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -160074,6 +160549,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "The current state of the Autonomous Database.\n" @@ -160085,6 +160564,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -160092,9 +160579,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -160178,6 +160668,13 @@ "type": "string", "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values are:\n" }, + "cloneTableSpaceLists": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n=======\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n" + }, "cloneType": { "type": "string" }, @@ -160456,6 +160953,10 @@ }, "description": "Details for the long-term backup schedule.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "maxCpuCoreCount": { "type": "integer", "description": "The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.\n" @@ -160773,6 +161274,7 @@ "backupRetentionPeriodInDays", "byolComputeCountLimit", "characterSet", + "cloneTableSpaceLists", "cloneType", "clusterPlacementGroupId", "compartmentId", @@ -160835,6 +161337,7 @@ "localDisasterRecoveryType", "localStandbyDbs", "longTermBackupSchedules", + "maintenanceTargetComponent", "maxCpuCoreCount", "memoryPerOracleComputeUnitInGbs", "ncharacterSet", @@ -161393,6 +161896,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "A filter to return only resources that match the given lifecycle state exactly.\n" @@ -161404,6 +161911,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -161411,9 +161926,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -161620,6 +162138,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "A filter to return only resources that match the given lifecycle state exactly.\n" @@ -161631,6 +162153,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -161638,9 +162168,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -161713,6 +162246,13 @@ "type": "string", "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values are:\n" }, + "cloneTableSpaceLists": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n=======\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n" + }, "clusterPlacementGroupId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.\n" @@ -161966,6 +162506,10 @@ }, "description": "Details for the long-term backup schedule.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "maxCpuCoreCount": { "type": "integer", "description": "The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.\n" @@ -162237,6 +162781,7 @@ "backupRetentionPeriodInDays", "byolComputeCountLimit", "characterSet", + "cloneTableSpaceLists", "clusterPlacementGroupId", "compartmentId", "computeCount", @@ -162292,6 +162837,7 @@ "localDisasterRecoveryType", "localStandbyDbs", "longTermBackupSchedules", + "maintenanceTargetComponent", "maxCpuCoreCount", "memoryPerOracleComputeUnitInGbs", "ncharacterSet", @@ -162837,6 +163383,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "A filter to return only resources that match the given lifecycle state exactly.\n" @@ -162848,6 +163398,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -162855,9 +163413,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -163062,6 +163623,10 @@ "type": "string", "description": "Additional information about the current lifecycle state.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "state": { "type": "string", "description": "A filter to return only resources that match the given lifecycle state exactly.\n" @@ -163073,6 +163638,14 @@ "timeDisasterRecoveryRoleChanged": { "type": "string", "description": "The date and time the Disaster Recovery role was switched for the standby Autonomous Database.\n" + }, + "timeMaintenanceBegin": { + "type": "string", + "description": "The date and time when maintenance will begin.\n" + }, + "timeMaintenanceEnd": { + "type": "string", + "description": "The date and time when maintenance will end.\n" } }, "type": "object", @@ -163080,9 +163653,12 @@ "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", + "maintenanceTargetComponent", "state", "timeDataGuardRoleChanged", - "timeDisasterRecoveryRoleChanged" + "timeDisasterRecoveryRoleChanged", + "timeMaintenanceBegin", + "timeMaintenanceEnd" ], "language": { "nodejs": { @@ -165194,14 +165770,26 @@ "type": "string", "description": "The current lifecycle state of the backup destination.\n" }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The time when the total storage size and the utilized storage size of the backup destination are updated.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the backup destination was created.\n" }, + "totalStorageSizeInGbs": { + "type": "integer", + "description": "The total storage size of the backup destination in GBs, rounded to the nearest integer.\n" + }, "type": { "type": "string", "description": "A filter to return only resources that match the given type of the Backup Destination.\n" }, + "utilizedStorageSizeInGbs": { + "type": "integer", + "description": "The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.\n" + }, "vpcUsers": { "type": "array", "items": { @@ -165226,8 +165814,11 @@ "nfsServers", "nfsServerExport", "state", + "timeAtWhichStorageDetailsAreUpdated", "timeCreated", + "totalStorageSizeInGbs", "type", + "utilizedStorageSizeInGbs", "vpcUsers" ], "language": { @@ -168042,6 +168633,9 @@ "privateIp": { "type": "string" }, + "privateIpV6": { + "type": "string" + }, "protectionMode": { "type": "string", "description": "The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation.\n" @@ -168114,6 +168708,7 @@ "peerSidPrefix", "peerVmClusterId", "privateIp", + "privateIpV6", "protectionMode", "role", "shape", @@ -173165,6 +173760,9 @@ "privateIp": { "type": "string" }, + "privateIpV6": { + "type": "string" + }, "recoStorageSizeInGb": { "type": "integer", "description": "The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.\n" @@ -173182,7 +173780,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + }, + "scanIpv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" }, "securityAttributes": { "type": "object", @@ -173242,7 +173847,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster.\n" + }, + "vipv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" }, "zoneId": { "type": "string", @@ -173288,10 +173900,12 @@ "osVersion", "pointInTimeDataDiskCloneTimestamp", "privateIp", + "privateIpV6", "recoStorageSizeInGb", "scanDnsName", "scanDnsRecordId", "scanIpIds", + "scanIpv6ids", "securityAttributes", "shape", "source", @@ -173305,6 +173919,7 @@ "timeZone", "version", "vipIds", + "vipv6ids", "zoneId" ], "language": { @@ -224848,6 +225463,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -224877,6 +225499,7 @@ "sourceDetails", "sourceSnapshotId", "state", + "systemTags", "timeCreated" ], "language": { @@ -225017,6 +225640,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -225035,6 +225665,7 @@ "policyPrefix", "schedules", "state", + "systemTags", "timeCreated" ], "language": { @@ -225371,6 +226002,13 @@ "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" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\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" @@ -225404,6 +226042,7 @@ "reservedStorageCapacity", "state", "subnetId", + "systemTags", "timeBillingCycleEnd", "timeCreated" ], @@ -225678,6 +226317,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -225699,6 +226345,7 @@ "passwordSecretId", "passwordSecretVersion", "state", + "systemTags", "timeCreated" ], "language": { @@ -225878,6 +226525,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "targetId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem.\n" @@ -225903,6 +226557,7 @@ "replicationId", "sourceId", "state", + "systemTags", "targetId", "timeCreated" ], @@ -226011,6 +226666,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "targetId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system.\n" @@ -226039,6 +226701,7 @@ "replicationTargetId", "sourceId", "state", + "systemTags", "targetId", "timeCreated" ], @@ -226204,6 +226867,13 @@ "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -226226,6 +226896,7 @@ "snapshotTime", "snapshotType", "state", + "systemTags", "timeCreated" ], "language": { @@ -245602,7 +246273,7 @@ }, "authenticationType": { "type": "string", - "description": "Used authentication mechanism to be provided for the following connection types:\n* SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS\n* JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required.\n" + "description": "Used authentication mechanism to be provided for the following connection types:\n* SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS\n* JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required.\n* DATABRICKS - Required fields by authentication types:\n* PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password\n* OAUTH_M2M: user must enter clientId and clientSecret\n" }, "azureTenantId": { "type": "string", @@ -245645,7 +246316,7 @@ }, "connectionUrl": { "type": "string", - "description": "* JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'\n* SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n* AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'\n" + "description": "* JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'\n* SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n* AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'\n* DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'\n" }, "consumerProperties": { "type": "string", @@ -245691,7 +246362,7 @@ }, "endpoint": { "type": "string", - "description": "Azure Storage service endpoint. e.g: https://test.blob.core.windows.net\n" + "description": "Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com\n" }, "fingerprint": { "type": "string" @@ -245828,7 +246499,7 @@ }, "region": { "type": "string", - "description": "The name of the region. e.g.: us-ashburn-1\n" + "description": "The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.\n" }, "routingMethod": { "type": "string", @@ -245874,13 +246545,17 @@ "type": "boolean", "description": "If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.\n" }, + "shouldUseResourcePrincipal": { + "type": "boolean", + "description": "Indicates that the user intents to connect to the instance through resource principal.\n" + }, "shouldValidateServerCertificate": { "type": "boolean", "description": "If set to true, the driver validates the certificate that is sent by the database server.\n" }, "sslCa": { "type": "string", - "description": "Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL).\n" + "description": "Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL).\n" }, "sslCert": { "type": "string" @@ -245931,6 +246606,10 @@ "type": "string", "description": "A filter to return only connections having the 'lifecycleState' given.\n" }, + "storageCredentialName": { + "type": "string", + "description": "Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.\n" + }, "streamPoolId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced.\n" @@ -245954,6 +246633,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy.\n" }, + "tenantId": { + "type": "string", + "description": "Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f\n" + }, "timeCreated": { "type": "string", "description": "The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" @@ -245962,6 +246645,25 @@ "type": "string", "description": "The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" }, + "tlsCaFile": { + "type": "string" + }, + "tlsCertificateKeyFile": { + "type": "string" + }, + "tlsCertificateKeyFilePassword": { + "type": "string", + "secret": true + }, + "tlsCertificateKeyFilePasswordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.\n", + "secret": true + }, + "tlsCertificateKeyFileSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection.\n* The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.\n" + }, "triggerRefresh": { "type": "boolean" }, @@ -245987,11 +246689,11 @@ }, "userId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.\n" }, "username": { "type": "string", - "description": "The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it.\n" + "description": "The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.\n" }, "vaultId": { "type": "string", @@ -246079,6 +246781,7 @@ "serviceAccountKeyFileSecretId", "sessionMode", "shouldUseJndi", + "shouldUseResourcePrincipal", "shouldValidateServerCertificate", "sslCa", "sslCert", @@ -246094,13 +246797,20 @@ "sslMode", "sslServerCertificate", "state", + "storageCredentialName", "streamPoolId", "subnetId", "systemTags", "technologyType", "tenancyId", + "tenantId", "timeCreated", "timeUpdated", + "tlsCaFile", + "tlsCertificateKeyFile", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", + "tlsCertificateKeyFileSecretId", "triggerRefresh", "trustStore", "trustStorePassword", @@ -315435,6 +316145,207 @@ "values" ] }, + "oci:Jms/getFleetErrorAnalyticsFilter:getFleetErrorAnalyticsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollection:getFleetErrorAnalyticsFleetErrorAggregationCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollectionItem:getFleetErrorAnalyticsFleetErrorAggregationCollectionItem" + }, + "description": "A list of FleetErrorAggregationSummary.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollectionItem:getFleetErrorAnalyticsFleetErrorAggregationCollectionItem": { + "properties": { + "fleetErrorAggregations": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation:getFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation" + }, + "description": "List of fleet error aggregations.\n" + }, + "healthyFleetCount": { + "type": "integer", + "description": "Count of fleets with no problems.\n" + } + }, + "type": "object", + "required": [ + "fleetErrorAggregations", + "healthyFleetCount" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation:getFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation": { + "properties": { + "fleetErrorAnalyticCount": { + "type": "integer", + "description": "Number of FleetErrors encountered for the specific reason.\n" + }, + "reason": { + "type": "string", + "description": "Enum that uniquely identifies the fleet error.\n" + } + }, + "type": "object", + "required": [ + "fleetErrorAnalyticCount", + "reason" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getFleetErrorsFilter:getFleetErrorsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Jms/getFleetErrorsFleetErrorCollection:getFleetErrorsFleetErrorCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorsFleetErrorCollectionItem:getFleetErrorsFleetErrorCollectionItem" + }, + "description": "A list of FleetErrorSummary.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getFleetErrorsFleetErrorCollectionItem:getFleetErrorsFleetErrorCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorsFleetErrorCollectionItemError:getFleetErrorsFleetErrorCollectionItemError" + }, + "description": "List of fleet error details.\n" + }, + "fleetId": { + "type": "string", + "description": "The ID of the Fleet.\n" + }, + "fleetName": { + "type": "string", + "description": "The display name of the Fleet.\n" + }, + "timeFirstSeen": { + "type": "string", + "description": "The timestamp of the first time an error was detected.\n" + }, + "timeLastSeen": { + "type": "string", + "description": "The timestamp of the last time an error was detected.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "errors", + "fleetId", + "fleetName", + "timeFirstSeen", + "timeLastSeen" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getFleetErrorsFleetErrorCollectionItemError:getFleetErrorsFleetErrorCollectionItemError": { + "properties": { + "details": { + "type": "string", + "description": "Optional string containing additional details.\n" + }, + "reason": { + "type": "string", + "description": "The fleet error reason.\n" + }, + "timeLastSeen": { + "type": "string", + "description": "The timestamp of the last time an error was detected.\n" + } + }, + "type": "object", + "required": [ + "details", + "reason", + "timeLastSeen" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Jms/getFleetInventoryLog:getFleetInventoryLog": { "properties": { "logGroupId": { @@ -315675,7 +316586,7 @@ }, "applicationName": { "type": "string", - "description": "The name of the application for which the report has been generated.\n" + "description": "The name of the application.\n" }, "bucket": { "type": "string", @@ -316278,7 +317189,7 @@ "properties": { "distribution": { "type": "string", - "description": "The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.\n" + "description": "The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.\n" }, "jreKey": { "type": "string", @@ -316312,6 +317223,10 @@ "type": "string", "description": "The architecture of the operating system as provided by the Java system property os.arch.\n" }, + "distribution": { + "type": "string", + "description": "The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.\n" + }, "family": { "type": "string", "description": "The operating system type, such as Windows, Linux or macOS\n" @@ -316332,6 +317247,7 @@ "type": "object", "required": [ "architecture", + "distribution", "family", "managedInstanceCount", "name", @@ -318187,7 +319103,7 @@ }, "agentType": { "type": "string", - "description": "The agent type.\n" + "description": "Filter JmsPlugin with agent type.\n" }, "availabilityStatus": { "type": "string", @@ -318432,6 +319348,212 @@ } } }, + "oci:Jms/getPluginErrorAnalyticsFilter:getPluginErrorAnalyticsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollection:getPluginErrorAnalyticsPluginErrorAggregationCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollectionItem:getPluginErrorAnalyticsPluginErrorAggregationCollectionItem" + }, + "description": "A list of PluginErrorAggregationSummary.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollectionItem:getPluginErrorAnalyticsPluginErrorAggregationCollectionItem": { + "properties": { + "healthyPluginCount": { + "type": "integer", + "description": "Count of plugins with no problems.\n" + }, + "pluginErrorAggregations": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation:getPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation" + }, + "description": "List of plugin aggregation errors.\n" + } + }, + "type": "object", + "required": [ + "healthyPluginCount", + "pluginErrorAggregations" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation:getPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation": { + "properties": { + "pluginErrorAnalyticCount": { + "type": "integer", + "description": "Number of FleetErrors encountered for the specific reason.\n" + }, + "reason": { + "type": "string", + "description": "Enum that uniquely identifies the plugin error.\n" + } + }, + "type": "object", + "required": [ + "pluginErrorAnalyticCount", + "reason" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getPluginErrorsFilter:getPluginErrorsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Jms/getPluginErrorsPluginErrorCollection:getPluginErrorsPluginErrorCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorsPluginErrorCollectionItem:getPluginErrorsPluginErrorCollectionItem" + }, + "description": "A list of PluginErrorSummary.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getPluginErrorsPluginErrorCollectionItem:getPluginErrorsPluginErrorCollectionItem": { + "properties": { + "agentType": { + "type": "string", + "description": "The agent type.\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" + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorsPluginErrorCollectionItemError:getPluginErrorsPluginErrorCollectionItemError" + }, + "description": "List of plugin error details.\n" + }, + "hostName": { + "type": "string", + "description": "The HostName or Compute Instance name of the Managed Instance running the plugin.\n" + }, + "managedInstanceId": { + "type": "string", + "description": "The Fleet-unique identifier of the managed instance.\n" + }, + "timeFirstSeen": { + "type": "string", + "description": "The timestamp of the first time an error was detected.\n" + }, + "timeLastSeen": { + "type": "string", + "description": "The timestamp of the last time an error was detected.\n" + } + }, + "type": "object", + "required": [ + "agentType", + "compartmentId", + "errors", + "hostName", + "managedInstanceId", + "timeFirstSeen", + "timeLastSeen" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Jms/getPluginErrorsPluginErrorCollectionItemError:getPluginErrorsPluginErrorCollectionItemError": { + "properties": { + "details": { + "type": "string", + "description": "Optional string containing additional details.\n" + }, + "reason": { + "type": "string", + "description": "The plugin error reason.\n" + }, + "timeLastSeen": { + "type": "string", + "description": "The timestamp of the last time an error was detected.\n" + } + }, + "type": "object", + "required": [ + "details", + "reason", + "timeLastSeen" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/GeneratedKeyKeyShape:GeneratedKeyKeyShape": { "properties": { "algorithm": { @@ -395407,6 +396529,13 @@ "type": "string" }, "description": "(Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ \"osType\": \"Linux,Windows,Solaris\"}`\n" + }, + "validSubResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types\n" } }, "type": "object", @@ -395421,7 +396550,8 @@ "requiredProperties", "validPropertiesForCreates", "validPropertiesForUpdates", - "validPropertyValues" + "validPropertyValues", + "validSubResourceTypes" ] } } @@ -395821,6 +396951,81 @@ } } }, + "oci:StackMonitoring/MonitoringTemplateAlarmConditionCondition:MonitoringTemplateAlarmConditionCondition": { + "properties": { + "body": { + "type": "string", + "description": "(Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information.\n" + }, + "query": { + "type": "string", + "description": "(Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm.\n" + }, + "severity": { + "type": "string", + "description": "(Updatable) Severity - Critical/Warning\n" + }, + "shouldAppendNote": { + "type": "boolean", + "description": "(Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "shouldAppendUrl": { + "type": "boolean", + "description": "(Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "triggerDelay": { + "type": "string", + "description": "(Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from \"OK\" to \"FIRING\".\n" + } + }, + "type": "object", + "required": [ + "query", + "severity" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "body", + "query", + "severity", + "shouldAppendNote", + "shouldAppendUrl", + "triggerDelay" + ] + } + } + }, + "oci:StackMonitoring/MonitoringTemplateMember:MonitoringTemplateMember": { + "properties": { + "compositeType": { + "type": "string", + "description": "(Updatable) The OCID of the composite resource type like EBS or Peoplesoft.\n" + }, + "id": { + "type": "string", + "description": "(Updatable) The OCID of the resourceInstance/resourceType/resourceGroup\n" + }, + "type": { + "type": "string", + "description": "(Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP\n" + } + }, + "type": "object", + "required": [ + "id", + "type" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "compositeType", + "id", + "type" + ] + } + } + }, "oci:StackMonitoring/ProcessSetSpecification:ProcessSetSpecification": { "properties": { "items": { @@ -396295,6 +397500,182 @@ "values" ] }, + "oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem" + }, + "description": "List of defined Monitoring Template.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem": { + "properties": { + "compositeType": { + "type": "string", + "description": "Type of composite resource type OCID like EBS/PEOPLE_SOFT.\n" + }, + "definedAlarmConditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition" + }, + "description": "Defined Monitoring template alarm conditions\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return monitoring template based on name.\n" + }, + "id": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate.\n" + }, + "namespace": { + "type": "string", + "description": "The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n" + }, + "resourceType": { + "type": "string", + "description": "The resource types OCID.\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 date and time the monitoringTemplate was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the monitoringTemplate was updated. Format defined by RFC3339.\n" + } + }, + "type": "object", + "required": [ + "compositeType", + "definedAlarmConditions", + "displayName", + "id", + "namespace", + "resourceType", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition": { + "properties": { + "conditionType": { + "type": "string", + "description": "Type of defined monitoring template.\n" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition" + }, + "description": "Monitoring template conditions.\n" + }, + "metricName": { + "type": "string", + "description": "The metric name.\n" + } + }, + "type": "object", + "required": [ + "conditionType", + "conditions", + "metricName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition": { + "properties": { + "body": { + "type": "string", + "description": "The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information.\n" + }, + "query": { + "type": "string", + "description": "The Monitoring Query Language (MQL) expression to evaluate for the alarm.\n" + }, + "severity": { + "type": "string", + "description": "Severity - Critical/Warning\n" + }, + "shouldAppendNote": { + "type": "boolean", + "description": "Whether the note need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "shouldAppendUrl": { + "type": "boolean", + "description": "Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "triggerDelay": { + "type": "string", + "description": "The period of time that the condition defined in the alarm must persist before the alarm state changes from \"OK\" to \"FIRING\".\n" + } + }, + "type": "object", + "required": [ + "body", + "query", + "severity", + "shouldAppendNote", + "shouldAppendUrl", + "triggerDelay" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getDefinedMonitoringTemplatesFilter:getDefinedMonitoringTemplatesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, "oci:StackMonitoring/getDiscoveryJobDiscoveryDetail:getDiscoveryJobDiscoveryDetail": { "properties": { "agentId": { @@ -397274,7 +398655,7 @@ "items": { "$ref": "#/types/oci:StackMonitoring/getMetricExtensionsMetricExtensionCollectionItemEnabledOnResource:getMetricExtensionsMetricExtensionCollectionItemEnabledOnResource" }, - "description": "List of resource objects on which this metric extension is enabled.\n" + "description": "List of resource details objects having resourceIds on which this metric extension is enabled.\n" }, "enabledOnResourcesCount": { "type": "integer", @@ -398332,6 +399713,13 @@ "type": "string" }, "description": "List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{\"osType\": \"Linux,Windows,Solaris\", \"osVersion\": \"v6.0,v7.0\"}`\n" + }, + "validSubResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types\n" } }, "type": "object", @@ -398342,7 +399730,8 @@ "uniquePropertySets", "validPropertiesForCreates", "validPropertiesForUpdates", - "validPropertyValues" + "validPropertyValues", + "validSubResourceTypes" ], "language": { "nodejs": { @@ -398413,6 +399802,13 @@ }, "oci:StackMonitoring/getMonitoredResourceTypesMonitoredResourceTypesCollectionItem:getMonitoredResourceTypesMonitoredResourceTypesCollectionItem": { "properties": { + "additionalNamespaceMap": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.\n" + }, "compartmentId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed.\n" @@ -398488,6 +399884,7 @@ }, "type": "object", "required": [ + "additionalNamespaceMap", "compartmentId", "definedTags", "description", @@ -398557,6 +399954,13 @@ "type": "string" }, "description": "List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{\"osType\": \"Linux,Windows,Solaris\", \"osVersion\": \"v6.0,v7.0\"}`\n" + }, + "validSubResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types\n" } }, "type": "object", @@ -398567,7 +399971,8 @@ "uniquePropertySets", "validPropertiesForCreates", "validPropertiesForUpdates", - "validPropertyValues" + "validPropertyValues", + "validSubResourceTypes" ], "language": { "nodejs": { @@ -399128,14 +400533,55 @@ } } }, - "oci:StackMonitoring/getProcessSetSpecification:getProcessSetSpecification": { + "oci:StackMonitoring/getMonitoringTemplateAlarmConditionCondition:getMonitoringTemplateAlarmConditionCondition": { + "properties": { + "body": { + "type": "string", + "description": "The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information.\n" + }, + "query": { + "type": "string", + "description": "The Monitoring Query Language (MQL) expression to evaluate for the alarm.\n" + }, + "severity": { + "type": "string", + "description": "Severity - Critical/Warning\n" + }, + "shouldAppendNote": { + "type": "boolean", + "description": "Whether the note need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "shouldAppendUrl": { + "type": "boolean", + "description": "Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "triggerDelay": { + "type": "string", + "description": "The period of time that the condition defined in the alarm must persist before the alarm state changes from \"OK\" to \"FIRING\".\n" + } + }, + "type": "object", + "required": [ + "body", + "query", + "severity", + "shouldAppendNote", + "shouldAppendUrl", + "triggerDelay" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollection:getMonitoringTemplateAlarmConditionsAlarmConditionCollection": { "properties": { "items": { "type": "array", "items": { - "$ref": "#/types/oci:StackMonitoring/getProcessSetSpecificationItem:getProcessSetSpecificationItem" - }, - "description": "List of Process Set specification details.\n" + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem:getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem" + } } }, "type": "object", @@ -399148,31 +400594,98 @@ } } }, - "oci:StackMonitoring/getProcessSetSpecificationItem:getProcessSetSpecificationItem": { + "oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem:getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem": { "properties": { - "label": { + "compositeType": { "type": "string", - "description": "Optional label used to identify a single filter.\n" + "description": "The OCID of the composite resource type like EBS/PEOPLE_SOFT.\n" }, - "processCommand": { + "conditionType": { "type": "string", - "description": "String literal used for exact matching on process name.\n" + "description": "Type of defined monitoring template.\n" }, - "processLineRegexPattern": { + "conditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition:getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition" + }, + "description": "Monitoring template conditions\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" + }, + "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": "Regex pattern matching on process arguments.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition.\n" }, - "processUser": { + "metricName": { "type": "string", - "description": "String literal used for exact matching on process user.\n" + "description": "metricName filter.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + }, + "namespace": { + "type": "string", + "description": "The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n" + }, + "resourceType": { + "type": "string", + "description": "The resource type OCID.\n" + }, + "state": { + "type": "string", + "description": "A filter to return alarm condition based on Lifecycle State.\n" + }, + "status": { + "type": "string", + "description": "A filter to return alarm condition based on input status.\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 date and time the alarm condition was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the alarm condition was updated. Format defined by RFC3339.\n" } }, "type": "object", "required": [ - "label", - "processCommand", - "processLineRegexPattern", - "processUser" + "compositeType", + "conditionType", + "conditions", + "definedTags", + "freeformTags", + "id", + "metricName", + "monitoringTemplateId", + "namespace", + "resourceType", + "state", + "status", + "systemTags", + "timeCreated", + "timeUpdated" ], "language": { "nodejs": { @@ -399180,7 +400693,49 @@ } } }, - "oci:StackMonitoring/getProcessSetsFilter:getProcessSetsFilter": { + "oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition:getMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition": { + "properties": { + "body": { + "type": "string", + "description": "The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information.\n" + }, + "query": { + "type": "string", + "description": "The Monitoring Query Language (MQL) expression to evaluate for the alarm.\n" + }, + "severity": { + "type": "string", + "description": "Severity - Critical/Warning\n" + }, + "shouldAppendNote": { + "type": "boolean", + "description": "Whether the note need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "shouldAppendUrl": { + "type": "boolean", + "description": "Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.\n" + }, + "triggerDelay": { + "type": "string", + "description": "The period of time that the condition defined in the alarm must persist before the alarm state changes from \"OK\" to \"FIRING\".\n" + } + }, + "type": "object", + "required": [ + "body", + "query", + "severity", + "shouldAppendNote", + "shouldAppendUrl", + "triggerDelay" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getMonitoringTemplateAlarmConditionsFilter:getMonitoringTemplateAlarmConditionsFilter": { "properties": { "name": { "type": "string" @@ -399201,14 +400756,61 @@ "values" ] }, - "oci:StackMonitoring/getProcessSetsProcessSetCollection:getProcessSetsProcessSetCollection": { + "oci:StackMonitoring/getMonitoringTemplateMember:getMonitoringTemplateMember": { + "properties": { + "compositeType": { + "type": "string", + "description": "The OCID of the composite resource type like EBS or Peoplesoft.\n" + }, + "id": { + "type": "string", + "description": "The OCID of the resourceInstance/resourceType/resourceGroup\n" + }, + "type": { + "type": "string", + "description": "Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP\n" + } + }, + "type": "object", + "required": [ + "compositeType", + "id", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getMonitoringTemplatesFilter:getMonitoringTemplatesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollection:getMonitoringTemplatesMonitoringTemplateCollection": { "properties": { "items": { "type": "array", "items": { - "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItem:getProcessSetsProcessSetCollectionItem" - }, - "description": "List of Process Set specification details.\n" + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollectionItem:getMonitoringTemplatesMonitoringTemplateCollectionItem" + } } }, "type": "object", @@ -399221,7 +400823,7 @@ } } }, - "oci:StackMonitoring/getProcessSetsProcessSetCollectionItem:getProcessSetsProcessSetCollectionItem": { + "oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollectionItem:getMonitoringTemplatesMonitoringTemplateCollectionItem": { "properties": { "compartmentId": { "type": "string", @@ -399234,9 +400836,20 @@ }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" }, + "description": { + "type": "string", + "description": "A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "destinations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.\n" + }, "displayName": { "type": "string", - "description": "A filter to return only resources that match the entire display name given.\n" + "description": "A filter to return monitoring template based on name.\n" }, "freeformTags": { "type": "object", @@ -399247,22 +400860,38 @@ }, "id": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Process Set.\n" + "description": "The OCID of the resourceInstance/resourceType/resourceGroup\n" }, - "revision": { - "type": "string", - "description": "The current revision of the Process Set.\n" + "isAlarmsEnabled": { + "type": "boolean", + "description": "Whether the alarm is enabled or disabled. Default value is enabled.\n" }, - "specifications": { + "isSplitNotificationEnabled": { + "type": "boolean", + "description": "Whether the alarm notification is enabled or disabled, it will be Enabled by default.\n" + }, + "members": { "type": "array", "items": { - "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecification:getProcessSetsProcessSetCollectionItemSpecification" + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollectionItemMember:getMonitoringTemplatesMonitoringTemplateCollectionItemMember" }, - "description": "Collection of regular expression specifications used to identify the processes to be monitored.\n" + "description": "List of members of this monitoring template.\n" + }, + "messageFormat": { + "type": "string", + "description": "The format to use for alarm notifications.\n" + }, + "repeatNotificationDuration": { + "type": "string", + "description": "The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.\n" }, "state": { "type": "string", - "description": "The current state of the Resource.\n" + "description": "A filter to return monitoring template based on Lifecycle State\n" + }, + "status": { + "type": "string", + "description": "A filter to return monitoring template based on input status\n" }, "systemTags": { "type": "object", @@ -399271,28 +400900,49 @@ }, "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" }, + "tenantId": { + "type": "string", + "description": "Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)\n" + }, "timeCreated": { "type": "string", - "description": "The time the process set was created. An RFC3339 formatted datetime string.\n" + "description": "The date and time the monitoringTemplate was created. Format defined by RFC3339.\n" }, "timeUpdated": { "type": "string", - "description": "The time the process set was last updated. An RFC3339 formatted datetime string.\n" + "description": "The date and time the monitoringTemplate was last updated. Format defined by RFC3339.\n" + }, + "totalAlarmConditions": { + "type": "number", + "description": "Total Alarm Conditions\n" + }, + "totalAppliedAlarmConditions": { + "type": "number", + "description": "Total Applied Alarm Conditions\n" } }, "type": "object", "required": [ "compartmentId", "definedTags", + "description", + "destinations", "displayName", "freeformTags", "id", - "revision", - "specifications", + "isAlarmsEnabled", + "isSplitNotificationEnabled", + "members", + "messageFormat", + "repeatNotificationDuration", "state", + "status", "systemTags", + "tenantId", "timeCreated", - "timeUpdated" + "timeUpdated", + "totalAlarmConditions", + "totalAppliedAlarmConditions" ], "language": { "nodejs": { @@ -399300,12 +400950,39 @@ } } }, - "oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecification:getProcessSetsProcessSetCollectionItemSpecification": { + "oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollectionItemMember:getMonitoringTemplatesMonitoringTemplateCollectionItemMember": { + "properties": { + "compositeType": { + "type": "string", + "description": "The OCID of the composite resource type like EBS or Peoplesoft.\n" + }, + "id": { + "type": "string", + "description": "The OCID of the resourceInstance/resourceType/resourceGroup\n" + }, + "type": { + "type": "string", + "description": "Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP\n" + } + }, + "type": "object", + "required": [ + "compositeType", + "id", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getProcessSetSpecification:getProcessSetSpecification": { "properties": { "items": { "type": "array", "items": { - "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecificationItem:getProcessSetsProcessSetCollectionItemSpecificationItem" + "$ref": "#/types/oci:StackMonitoring/getProcessSetSpecificationItem:getProcessSetSpecificationItem" }, "description": "List of Process Set specification details.\n" } @@ -399320,7 +400997,179 @@ } } }, - "oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecificationItem:getProcessSetsProcessSetCollectionItemSpecificationItem": { + "oci:StackMonitoring/getProcessSetSpecificationItem:getProcessSetSpecificationItem": { + "properties": { + "label": { + "type": "string", + "description": "Optional label used to identify a single filter.\n" + }, + "processCommand": { + "type": "string", + "description": "String literal used for exact matching on process name.\n" + }, + "processLineRegexPattern": { + "type": "string", + "description": "Regex pattern matching on process arguments.\n" + }, + "processUser": { + "type": "string", + "description": "String literal used for exact matching on process user.\n" + } + }, + "type": "object", + "required": [ + "label", + "processCommand", + "processLineRegexPattern", + "processUser" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getProcessSetsFilter:getProcessSetsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:StackMonitoring/getProcessSetsProcessSetCollection:getProcessSetsProcessSetCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItem:getProcessSetsProcessSetCollectionItem" + }, + "description": "List of Process Set specification details.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getProcessSetsProcessSetCollectionItem:getProcessSetsProcessSetCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which data is listed.\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 resources that match the entire display name given.\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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Process Set.\n" + }, + "revision": { + "type": "string", + "description": "The current revision of the Process Set.\n" + }, + "specifications": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecification:getProcessSetsProcessSetCollectionItemSpecification" + }, + "description": "Collection of regular expression specifications used to identify the processes to be monitored.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Resource.\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 process set was created. An RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the process set was last updated. An RFC3339 formatted datetime string.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "revision", + "specifications", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecification:getProcessSetsProcessSetCollectionItemSpecification": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecificationItem:getProcessSetsProcessSetCollectionItemSpecificationItem" + }, + "description": "List of Process Set specification details.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:StackMonitoring/getProcessSetsProcessSetCollectionItemSpecificationItem:getProcessSetsProcessSetCollectionItemSpecificationItem": { "properties": { "label": { "type": "string", @@ -399901,6 +401750,2000 @@ } } }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection:getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem:getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem" + }, + "description": "Array containing line item summaries in an assigned subscription.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem:getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem": { + "properties": { + "billingModel": { + "type": "string", + "description": "Billing model supported by the associated line item.\n" + }, + "id": { + "type": "string", + "description": "Subscription line item identifier.\n" + }, + "productCode": { + "type": "string", + "description": "Product code.\n" + }, + "quantity": { + "type": "number", + "description": "Product number.\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" + }, + "timeEnded": { + "type": "string", + "description": "The time the subscription item and associated products should end. An RFC 3339 formatted date and time string.\n" + }, + "timeStarted": { + "type": "string", + "description": "The time the subscription item and associated products should start. An RFC 3339 formatted date and time string.\n" + } + }, + "type": "object", + "required": [ + "billingModel", + "id", + "productCode", + "quantity", + "systemTags", + "timeEnded", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsFilter:getAssignedSubscriptionLineItemsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionPromotion:getAssignedSubscriptionPromotion": { + "properties": { + "amount": { + "type": "number", + "description": "If a subscription is present, indicates the total amount of promotional subscription credits.\n" + }, + "currencyUnit": { + "type": "string", + "description": "Currency unit associated with the promotion.\n" + }, + "duration": { + "type": "integer", + "description": "Specifies how long the promotion related to the subscription, if any, is valid in duration units.\n" + }, + "durationUnit": { + "type": "string", + "description": "Unit for the duration.\n" + }, + "isIntentToPay": { + "type": "boolean", + "description": "Speficies whether or not the customer intends to pay after the promotion has expired.\n" + }, + "status": { + "type": "string", + "description": "If a subscription is present, indicates the current status of the subscription promotion.\n" + }, + "timeExpired": { + "type": "string", + "description": "Date and time when the promotion ends.\n" + }, + "timeStarted": { + "type": "string", + "description": "Date and time when the promotion starts.\n" + } + }, + "type": "object", + "required": [ + "amount", + "currencyUnit", + "duration", + "durationUnit", + "isIntentToPay", + "status", + "timeExpired", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionSkus:getAssignedSubscriptionSkus": { + "properties": { + "description": { + "type": "string", + "description": "Description of the stock units.\n" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "gsiOrderLineId": { + "type": "string", + "description": "Sales order line identifier.\n" + }, + "isAdditionalInstance": { + "type": "boolean", + "description": "Specifies if an additional test instance can be provisioned by the SaaS application.\n" + }, + "isBaseServiceComponent": { + "type": "boolean", + "description": "Specifies if the SKU is considered as a parent or child.\n" + }, + "licensePartDescription": { + "type": "string", + "description": "Description of the covered product belonging to this SKU.\n" + }, + "metricName": { + "type": "string", + "description": "Base metric for billing the service.\n" + }, + "quantity": { + "type": "integer", + "description": "Quantity of the stock units.\n" + }, + "sku": { + "type": "string", + "description": "Stock Keeping Unit (SKU) ID.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + } + }, + "type": "object", + "required": [ + "description", + "endDate", + "gsiOrderLineId", + "isAdditionalInstance", + "isBaseServiceComponent", + "licensePartDescription", + "metricName", + "quantity", + "sku", + "startDate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollection:getAssignedSubscriptionsAssignedSubscriptionCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItem:getAssignedSubscriptionsAssignedSubscriptionCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItem:getAssignedSubscriptionsAssignedSubscriptionCollectionItem": { + "properties": { + "classicSubscriptionId": { + "type": "string", + "description": "Subscription ID.\n" + }, + "cloudAmountCurrency": { + "type": "string", + "description": "The currency code for the customer associated with the subscription.\n" + }, + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "csiNumber": { + "type": "string", + "description": "Customer service identifier for the customer associated with the subscription.\n" + }, + "currencyCode": { + "type": "string", + "description": "Currency code. For example USD, MXN.\n" + }, + "customerCountryCode": { + "type": "string", + "description": "The country code for the customer associated with the subscription.\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" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "entityVersion": { + "type": "string", + "description": "The version of the subscription entity.\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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription.\n" + }, + "isClassicSubscription": { + "type": "boolean", + "description": "Specifies whether or not the subscription is legacy.\n" + }, + "isGovernmentSubscription": { + "type": "boolean", + "description": "Specifies whether or not the subscription is a government subscription.\n" + }, + "managedBy": { + "type": "string", + "description": "Service or component which is used to provision and manage the subscription.\n" + }, + "orderIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subscription order OCIDs that contributed to this subscription.\n" + }, + "programType": { + "type": "string", + "description": "Specifies any program that is associated with the subscription.\n" + }, + "promotions": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion:getAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion" + }, + "description": "List of promotions related to the subscription.\n" + }, + "purchaseEntitlementId": { + "type": "string", + "description": "Purchase entitlement ID associated with the subscription.\n" + }, + "regionAssignment": { + "type": "string", + "description": "Region for the subscription.\n" + }, + "serviceName": { + "type": "string", + "description": "The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'.\n" + }, + "skuses": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus:getAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus" + }, + "description": "List of SKUs linked to the subscription.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the subscription.\n" + }, + "subscriptionNumber": { + "type": "string", + "description": "Unique Oracle Cloud Subscriptions identifier that is immutable on creation.\n" + }, + "subscriptionTier": { + "type": "string", + "description": "Tier for the subscription, whether a free promotion subscription or a paid subscription.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n" + } + }, + "type": "object", + "required": [ + "classicSubscriptionId", + "cloudAmountCurrency", + "compartmentId", + "csiNumber", + "currencyCode", + "customerCountryCode", + "definedTags", + "endDate", + "entityVersion", + "freeformTags", + "id", + "isClassicSubscription", + "isGovernmentSubscription", + "managedBy", + "orderIds", + "programType", + "promotions", + "purchaseEntitlementId", + "regionAssignment", + "serviceName", + "skuses", + "startDate", + "state", + "subscriptionNumber", + "subscriptionTier", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion:getAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion": { + "properties": { + "amount": { + "type": "number", + "description": "If a subscription is present, indicates the total amount of promotional subscription credits.\n" + }, + "currencyUnit": { + "type": "string", + "description": "Currency unit associated with the promotion.\n" + }, + "duration": { + "type": "integer", + "description": "Specifies how long the promotion related to the subscription, if any, is valid in duration units.\n" + }, + "durationUnit": { + "type": "string", + "description": "Unit for the duration.\n" + }, + "isIntentToPay": { + "type": "boolean", + "description": "Speficies whether or not the customer intends to pay after the promotion has expired.\n" + }, + "status": { + "type": "string", + "description": "If a subscription is present, indicates the current status of the subscription promotion.\n" + }, + "timeExpired": { + "type": "string", + "description": "Date and time when the promotion ends.\n" + }, + "timeStarted": { + "type": "string", + "description": "Date and time when the promotion starts.\n" + } + }, + "type": "object", + "required": [ + "amount", + "currencyUnit", + "duration", + "durationUnit", + "isIntentToPay", + "status", + "timeExpired", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus:getAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus": { + "properties": { + "description": { + "type": "string", + "description": "Description of the stock units.\n" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "gsiOrderLineId": { + "type": "string", + "description": "Sales order line identifier.\n" + }, + "isAdditionalInstance": { + "type": "boolean", + "description": "Specifies if an additional test instance can be provisioned by the SaaS application.\n" + }, + "isBaseServiceComponent": { + "type": "boolean", + "description": "Specifies if the SKU is considered as a parent or child.\n" + }, + "licensePartDescription": { + "type": "string", + "description": "Description of the covered product belonging to this SKU.\n" + }, + "metricName": { + "type": "string", + "description": "Base metric for billing the service.\n" + }, + "quantity": { + "type": "integer", + "description": "Quantity of the stock units.\n" + }, + "sku": { + "type": "string", + "description": "Stock Keeping Unit (SKU) ID.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + } + }, + "type": "object", + "required": [ + "description", + "endDate", + "gsiOrderLineId", + "isAdditionalInstance", + "isBaseServiceComponent", + "licensePartDescription", + "metricName", + "quantity", + "sku", + "startDate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionsFilter:getAssignedSubscriptionsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getDomainGovernancesDomainGovernanceCollection:getDomainGovernancesDomainGovernanceCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainGovernancesDomainGovernanceCollectionItem:getDomainGovernancesDomainGovernanceCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getDomainGovernancesDomainGovernanceCollectionItem:getDomainGovernancesDomainGovernanceCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID 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" + }, + "domainId": { + "type": "string", + "description": "The domain OCID.\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 domain governance entity.\n" + }, + "isGovernanceEnabled": { + "type": "boolean", + "description": "Indicates whether governance is enabled for this domain.\n" + }, + "onsSubscriptionId": { + "type": "string", + "description": "The ONS subscription associated with this domain governance entity.\n" + }, + "onsTopicId": { + "type": "string", + "description": "The ONS topic associated with this domain governance entity.\n" + }, + "ownerId": { + "type": "string", + "description": "The OCID of the tenancy that owns this domain governance entity.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "subscriptionEmail": { + "type": "string", + "description": "Email address to be used to notify the user, and that the ONS subscription will be created with.\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": "Date-time when this domain governance was created. An RFC 3339-formatted date and time string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "domainId", + "freeformTags", + "id", + "isGovernanceEnabled", + "onsSubscriptionId", + "onsTopicId", + "ownerId", + "state", + "subscriptionEmail", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getDomainGovernancesFilter:getDomainGovernancesFilter": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return only resources that exactly match the name given.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getDomainsDomainCollection:getDomainsDomainCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainsDomainCollectionItem:getDomainsDomainCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getDomainsDomainCollectionItem:getDomainsDomainCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID 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" + }, + "domainName": { + "type": "string", + "description": "The domain name.\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 domain.\n" + }, + "isGovernanceEnabled": { + "type": "boolean" + }, + "ownerId": { + "type": "string", + "description": "The OCID of the tenancy that has started the registration process for this domain.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + }, + "subscriptionEmail": { + "type": "string" + }, + "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": "Date-time when this domain was created. An RFC 3339-formatted date and time string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when this domain was last updated. An RFC 3339-formatted date and time string.\n" + }, + "txtRecord": { + "type": "string", + "description": "The code that the owner of the domain will need to add as a TXT record to their domain.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "domainName", + "freeformTags", + "id", + "isGovernanceEnabled", + "ownerId", + "state", + "status", + "subscriptionEmail", + "systemTags", + "timeCreated", + "timeUpdated", + "txtRecord" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getDomainsFilter:getDomainsFilter": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return only resources that exactly match the name given.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getLinksFilter:getLinksFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getLinksLinkCollection:getLinksLinkCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getLinksLinkCollectionItem:getLinksLinkCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getLinksLinkCollectionItem:getLinksLinkCollectionItem": { + "properties": { + "childTenancyId": { + "type": "string", + "description": "The ID of the child tenancy this link is associated with.\n" + }, + "id": { + "type": "string", + "description": "OCID of the link.\n" + }, + "parentTenancyId": { + "type": "string", + "description": "The ID of the parent tenancy this link is associated with.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "timeCreated": { + "type": "string", + "description": "Date-time when this link was created.\n" + }, + "timeTerminated": { + "type": "string", + "description": "Date-time when this link was terminated.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when this link was last updated.\n" + } + }, + "type": "object", + "required": [ + "childTenancyId", + "id", + "parentTenancyId", + "state", + "timeCreated", + "timeTerminated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationTenanciesFilter:getOrganizationTenanciesFilter": { + "properties": { + "name": { + "type": "string", + "description": "Name of the tenancy.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getOrganizationTenanciesOrganizationTenancyCollection:getOrganizationTenanciesOrganizationTenancyCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationTenanciesOrganizationTenancyCollectionItem:getOrganizationTenanciesOrganizationTenancyCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationTenanciesOrganizationTenancyCollectionItem:getOrganizationTenanciesOrganizationTenancyCollectionItem": { + "properties": { + "governanceStatus": { + "type": "string", + "description": "The governance status of the tenancy.\n" + }, + "isApprovedForTransfer": { + "type": "boolean", + "description": "Parameter to indicate the tenancy is approved for transfer to another organization.\n" + }, + "name": { + "type": "string", + "description": "Name of the tenancy.\n" + }, + "role": { + "type": "string", + "description": "Role of the organization tenancy.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the organization tenancy.\n" + }, + "tenancyId": { + "type": "string", + "description": "OCID of the tenancy.\n" + }, + "timeJoined": { + "type": "string", + "description": "Date and time when the tenancy joined the organization.\n" + }, + "timeLeft": { + "type": "string", + "description": "Date and time when the tenancy left the organization.\n" + } + }, + "type": "object", + "required": [ + "governanceStatus", + "isApprovedForTransfer", + "name", + "role", + "state", + "tenancyId", + "timeJoined", + "timeLeft" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationsFilter:getOrganizationsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getOrganizationsOrganizationCollection:getOrganizationsOrganizationCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationsOrganizationCollectionItem:getOrganizationsOrganizationCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationsOrganizationCollectionItem:getOrganizationsOrganizationCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "defaultUcmSubscriptionId": { + "type": "string", + "description": "OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned.\n" + }, + "displayName": { + "type": "string", + "description": "A display name for the organization. Avoid entering confidential information.\n" + }, + "id": { + "type": "string", + "description": "OCID of the organization.\n" + }, + "parentName": { + "type": "string", + "description": "The name of the tenancy that is the organization parent.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the organization.\n" + }, + "timeCreated": { + "type": "string", + "description": "Date and time when the organization was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date and time when the organization was last updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "defaultUcmSubscriptionId", + "displayName", + "id", + "parentName", + "state", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getRecipientInvitationsFilter:getRecipientInvitationsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getRecipientInvitationsRecipientInvitationCollection:getRecipientInvitationsRecipientInvitationCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getRecipientInvitationsRecipientInvitationCollectionItem:getRecipientInvitationsRecipientInvitationCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getRecipientInvitationsRecipientInvitationCollectionItem:getRecipientInvitationsRecipientInvitationCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID 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" + }, + "displayName": { + "type": "string", + "description": "A user-created name to describe the invitation. Avoid entering confidential information.\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": "OCID of the recipient invitation.\n" + }, + "recipientEmailAddress": { + "type": "string", + "description": "Email address of the recipient.\n" + }, + "senderInvitationId": { + "type": "string", + "description": "OCID of the corresponding sender invitation.\n" + }, + "senderTenancyId": { + "type": "string", + "description": "The tenancy that sent the invitation.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the recipient invitation.\n" + }, + "subjects": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of subjects the invitation contains.\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": "Date and time when the recipient invitation was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date and time when the recipient invitation was last updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "recipientEmailAddress", + "senderInvitationId", + "senderTenancyId", + "state", + "status", + "subjects", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSenderInvitationsFilter:getSenderInvitationsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getSenderInvitationsSenderInvitationCollection:getSenderInvitationsSenderInvitationCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSenderInvitationsSenderInvitationCollectionItem:getSenderInvitationsSenderInvitationCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSenderInvitationsSenderInvitationCollectionItem:getSenderInvitationsSenderInvitationCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID 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" + }, + "displayName": { + "type": "string", + "description": "A filter to return only resources that match the entire display name given.\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": "OCID of the sender invitation.\n" + }, + "recipientEmailAddress": { + "type": "string", + "description": "Email address of the recipient.\n" + }, + "recipientInvitationId": { + "type": "string", + "description": "OCID of the corresponding recipient invitation.\n" + }, + "recipientTenancyId": { + "type": "string", + "description": "The tenancy that the invitation is addressed to.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the sender invitation.\n" + }, + "subjects": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of subjects the invitation contains.\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": "Date and time when the sender invitation was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date and time when the sender invitation was last updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "recipientEmailAddress", + "recipientInvitationId", + "recipientTenancyId", + "state", + "status", + "subjects", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsAvailableRegionCollection:getSubscriptionAvailableRegionsAvailableRegionCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsAvailableRegionCollectionItem:getSubscriptionAvailableRegionsAvailableRegionCollectionItem" + }, + "description": "Array containing available region items.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsAvailableRegionCollectionItem:getSubscriptionAvailableRegionsAvailableRegionCollectionItem": { + "properties": { + "regionName": { + "type": "string", + "description": "Region availability for the subscription.\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" + } + }, + "type": "object", + "required": [ + "regionName", + "systemTags" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsFilter:getSubscriptionAvailableRegionsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getSubscriptionLineItemsFilter:getSubscriptionLineItemsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getSubscriptionLineItemsSubscriptionLineItemCollection:getSubscriptionLineItemsSubscriptionLineItemCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionLineItemsSubscriptionLineItemCollectionItem:getSubscriptionLineItemsSubscriptionLineItemCollectionItem" + }, + "description": "Array containing line item summaries in a subscription.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionLineItemsSubscriptionLineItemCollectionItem:getSubscriptionLineItemsSubscriptionLineItemCollectionItem": { + "properties": { + "billingModel": { + "type": "string", + "description": "Billing model supported by the associated line item.\n" + }, + "id": { + "type": "string", + "description": "Subscription line item identifier.\n" + }, + "productCode": { + "type": "string", + "description": "Product code.\n" + }, + "quantity": { + "type": "number", + "description": "Product number.\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" + }, + "timeEnded": { + "type": "string", + "description": "The time the subscription item and associated products should end. An RFC 3339 formatted date and time string.\n" + }, + "timeStarted": { + "type": "string", + "description": "The time the subscription item and associated products should start. An RFC 3339 formatted date and time string.\n" + } + }, + "type": "object", + "required": [ + "billingModel", + "id", + "productCode", + "quantity", + "systemTags", + "timeEnded", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionMappingsFilter:getSubscriptionMappingsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getSubscriptionMappingsSubscriptionMappingCollection:getSubscriptionMappingsSubscriptionMappingCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionMappingsSubscriptionMappingCollectionItem:getSubscriptionMappingsSubscriptionMappingCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionMappingsSubscriptionMappingCollectionItem:getSubscriptionMappingsSubscriptionMappingCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "id": { + "type": "string", + "description": "OCID of the mapping between subscription and compartment identified by the tenancy.\n" + }, + "isExplicitlyAssigned": { + "type": "boolean", + "description": "Denotes if the subscription is explicity assigned to the root compartment or tenancy.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "subscriptionId": { + "type": "string", + "description": "OCID of the subscription.\n" + }, + "timeCreated": { + "type": "string", + "description": "Date-time when subscription mapping was created.\n" + }, + "timeTerminated": { + "type": "string", + "description": "Date-time when subscription mapping was terminated.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when subscription mapping was updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "id", + "isExplicitlyAssigned", + "state", + "subscriptionId", + "timeCreated", + "timeTerminated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionPromotion:getSubscriptionPromotion": { + "properties": { + "amount": { + "type": "number", + "description": "If a subscription is present, indicates the total amount of promotional subscription credits.\n" + }, + "currencyUnit": { + "type": "string", + "description": "Currency unit associated with the promotion.\n" + }, + "duration": { + "type": "integer", + "description": "Specifies how long the promotion related to the subscription, if any, is valid in duration units.\n" + }, + "durationUnit": { + "type": "string", + "description": "Unit for the duration.\n" + }, + "isIntentToPay": { + "type": "boolean", + "description": "Speficies whether or not the customer intends to pay after the promotion has expired.\n" + }, + "status": { + "type": "string", + "description": "If a subscription is present, indicates the current status of the subscription promotion.\n" + }, + "timeExpired": { + "type": "string", + "description": "Date and time when the promotion ends.\n" + }, + "timeStarted": { + "type": "string", + "description": "Date and time when the promotion starts.\n" + } + }, + "type": "object", + "required": [ + "amount", + "currencyUnit", + "duration", + "durationUnit", + "isIntentToPay", + "status", + "timeExpired", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionSkus:getSubscriptionSkus": { + "properties": { + "description": { + "type": "string", + "description": "Description of the stock units.\n" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "gsiOrderLineId": { + "type": "string", + "description": "Sales order line identifier.\n" + }, + "isAdditionalInstance": { + "type": "boolean", + "description": "Specifies if an additional test instance can be provisioned by the SaaS application.\n" + }, + "isBaseServiceComponent": { + "type": "boolean", + "description": "Specifies if the SKU is considered as a parent or child.\n" + }, + "licensePartDescription": { + "type": "string", + "description": "Description of the covered product belonging to this SKU.\n" + }, + "metricName": { + "type": "string", + "description": "Base metric for billing the service.\n" + }, + "quantity": { + "type": "integer", + "description": "Quantity of the stock units.\n" + }, + "sku": { + "type": "string", + "description": "Stock Keeping Unit (SKU) ID.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + } + }, + "type": "object", + "required": [ + "description", + "endDate", + "gsiOrderLineId", + "isAdditionalInstance", + "isBaseServiceComponent", + "licensePartDescription", + "metricName", + "quantity", + "sku", + "startDate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionsFilter:getSubscriptionsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollection:getSubscriptionsSubscriptionCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItem:getSubscriptionsSubscriptionCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItem:getSubscriptionsSubscriptionCollectionItem": { + "properties": { + "classicSubscriptionId": { + "type": "string", + "description": "Classic subscription ID.\n" + }, + "cloudAmountCurrency": { + "type": "string", + "description": "The currency code for the customer associated with the subscription.\n" + }, + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "csiNumber": { + "type": "string", + "description": "Customer service identifier for the customer associated with the subscription.\n" + }, + "currencyCode": { + "type": "string", + "description": "Currency code. For example USD, MXN.\n" + }, + "customerCountryCode": { + "type": "string", + "description": "The country code for the customer associated with the subscription.\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" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "entityVersion": { + "type": "string", + "description": "The version of the subscription entity.\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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription.\n" + }, + "isClassicSubscription": { + "type": "boolean", + "description": "Specifies whether or not the subscription is from classic systems.\n" + }, + "isGovernmentSubscription": { + "type": "boolean", + "description": "Specifies whether or not the subscription is a government subscription.\n" + }, + "paymentModel": { + "type": "string", + "description": "The pay model of the subscription, such as 'Pay as you go' or 'Monthly'.\n" + }, + "programType": { + "type": "string", + "description": "Specifies any program that is associated with the subscription.\n" + }, + "promotions": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItemPromotion:getSubscriptionsSubscriptionCollectionItemPromotion" + }, + "description": "List of promotions related to the subscription.\n" + }, + "purchaseEntitlementId": { + "type": "string", + "description": "Purchase entitlement ID associated with the subscription.\n" + }, + "regionAssignment": { + "type": "string", + "description": "Region for the subscription.\n" + }, + "serviceName": { + "type": "string", + "description": "The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'.\n" + }, + "skuses": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItemSkus:getSubscriptionsSubscriptionCollectionItemSkus" + }, + "description": "List of SKUs linked to this subscription.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the subscription.\n" + }, + "subscriptionNumber": { + "type": "string", + "description": "Unique Oracle Cloud Subscriptions identifier that is immutable on creation.\n" + }, + "subscriptionTier": { + "type": "string", + "description": "Tier for the subscription, whether a free promotion subscription or a paid subscription.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n" + } + }, + "type": "object", + "required": [ + "classicSubscriptionId", + "cloudAmountCurrency", + "compartmentId", + "csiNumber", + "currencyCode", + "customerCountryCode", + "definedTags", + "endDate", + "entityVersion", + "freeformTags", + "id", + "isClassicSubscription", + "isGovernmentSubscription", + "paymentModel", + "programType", + "promotions", + "purchaseEntitlementId", + "regionAssignment", + "serviceName", + "skuses", + "startDate", + "state", + "subscriptionNumber", + "subscriptionTier", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItemPromotion:getSubscriptionsSubscriptionCollectionItemPromotion": { + "properties": { + "amount": { + "type": "number", + "description": "If a subscription is present, indicates the total amount of promotional subscription credits.\n" + }, + "currencyUnit": { + "type": "string", + "description": "Currency unit associated with the promotion.\n" + }, + "duration": { + "type": "integer", + "description": "Specifies how long the promotion related to the subscription, if any, is valid in duration units.\n" + }, + "durationUnit": { + "type": "string", + "description": "Unit for the duration.\n" + }, + "isIntentToPay": { + "type": "boolean", + "description": "Speficies whether or not the customer intends to pay after the promotion has expired.\n" + }, + "status": { + "type": "string", + "description": "If a subscription is present, indicates the current status of the subscription promotion.\n" + }, + "timeExpired": { + "type": "string", + "description": "Date and time when the promotion ends.\n" + }, + "timeStarted": { + "type": "string", + "description": "Date and time when the promotion starts.\n" + } + }, + "type": "object", + "required": [ + "amount", + "currencyUnit", + "duration", + "durationUnit", + "isIntentToPay", + "status", + "timeExpired", + "timeStarted" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollectionItemSkus:getSubscriptionsSubscriptionCollectionItemSkus": { + "properties": { + "description": { + "type": "string", + "description": "Description of the stock units.\n" + }, + "endDate": { + "type": "string", + "description": "Date and time when the SKU ended.\n" + }, + "gsiOrderLineId": { + "type": "string", + "description": "Sales order line identifier.\n" + }, + "isAdditionalInstance": { + "type": "boolean", + "description": "Specifies if an additional test instance can be provisioned by the SaaS application.\n" + }, + "isBaseServiceComponent": { + "type": "boolean", + "description": "Specifies if the SKU is considered as a parent or child.\n" + }, + "licensePartDescription": { + "type": "string", + "description": "Description of the covered product belonging to this SKU.\n" + }, + "metricName": { + "type": "string", + "description": "Base metric for billing the service.\n" + }, + "quantity": { + "type": "integer", + "description": "Quantity of the stock units.\n" + }, + "sku": { + "type": "string", + "description": "Stock Keeping Unit (SKU) ID.\n" + }, + "startDate": { + "type": "string", + "description": "Subscription start time.\n" + } + }, + "type": "object", + "required": [ + "description", + "endDate", + "gsiOrderLineId", + "isAdditionalInstance", + "isBaseServiceComponent", + "licensePartDescription", + "metricName", + "quantity", + "sku", + "startDate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:UsageProxy/SubscriptionRedeemableUserItem:SubscriptionRedeemableUserItem": { "properties": { "emailId": { @@ -401142,6 +404985,31 @@ } } }, + "oci:Vault/SecretSecretGenerationContext:SecretSecretGenerationContext": { + "properties": { + "generationTemplate": { + "type": "string", + "description": "(Updatable) Name of random bytes generation template for generating random byte type secret.\n" + }, + "generationType": { + "type": "string", + "description": "(Updatable) Name of the predefined secret generation type.\n" + }, + "passphraseLength": { + "type": "integer", + "description": "(Updatable) Length of the passphrase to be generated\n" + }, + "secretTemplate": { + "type": "string", + "description": "(Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.\n" + } + }, + "type": "object", + "required": [ + "generationTemplate", + "generationType" + ] + }, "oci:Vault/SecretSecretRule:SecretSecretRule": { "properties": { "isEnforcedOnDeletedSecretVersions": { @@ -401266,6 +405134,38 @@ } } }, + "oci:Vault/getSecretSecretGenerationContext:getSecretSecretGenerationContext": { + "properties": { + "generationTemplate": { + "type": "string", + "description": "Name of random bytes generation template for generating random byte type secret.\n" + }, + "generationType": { + "type": "string", + "description": "Name of the predefined secret generation type.\n" + }, + "passphraseLength": { + "type": "integer", + "description": "Length of the passphrase to be generated\n" + }, + "secretTemplate": { + "type": "string", + "description": "SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.\n" + } + }, + "type": "object", + "required": [ + "generationTemplate", + "generationType", + "passphraseLength", + "secretTemplate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Vault/getSecretSecretRule:getSecretSecretRule": { "properties": { "isEnforcedOnDeletedSecretVersions": { @@ -401346,6 +405246,9 @@ "type": "string", "description": "A brief description of the secret. Avoid entering confidential information.\n" }, + "enableAutoGeneration": { + "type": "boolean" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -401357,6 +405260,10 @@ "type": "string", "description": "The OCID of the secret.\n" }, + "isAutoGenerationEnabled": { + "type": "boolean", + "description": "The value of this flag determines whether or not secret content will be generated automatically.\n" + }, "keyId": { "type": "string", "description": "The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.\n" @@ -401397,6 +405304,13 @@ "$ref": "#/types/oci:Vault/getSecretsSecretSecretContent:getSecretsSecretSecretContent" } }, + "secretGenerationContexts": { + "type": "array", + "items": { + "$ref": "#/types/oci:Vault/getSecretsSecretSecretGenerationContext:getSecretsSecretSecretGenerationContext" + }, + "description": "Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.\n" + }, "secretName": { "type": "string", "description": "The user-friendly name of the secret. Avoid entering confidential information.\n" @@ -401435,8 +405349,10 @@ "currentVersionNumber", "definedTags", "description", + "enableAutoGeneration", "freeformTags", "id", + "isAutoGenerationEnabled", "keyId", "lastRotationTime", "lifecycleDetails", @@ -401445,6 +405361,7 @@ "rotationConfigs", "rotationStatus", "secretContents", + "secretGenerationContexts", "secretName", "secretRules", "state", @@ -401545,6 +405462,38 @@ } } }, + "oci:Vault/getSecretsSecretSecretGenerationContext:getSecretsSecretSecretGenerationContext": { + "properties": { + "generationTemplate": { + "type": "string", + "description": "Name of random bytes generation template for generating random byte type secret.\n" + }, + "generationType": { + "type": "string", + "description": "Name of the predefined secret generation type.\n" + }, + "passphraseLength": { + "type": "integer", + "description": "Length of the passphrase to be generated\n" + }, + "secretTemplate": { + "type": "string", + "description": "SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.\n" + } + }, + "type": "object", + "required": [ + "generationTemplate", + "generationType", + "passphraseLength", + "secretTemplate" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Vault/getSecretsSecretSecretRule:getSecretsSecretSecretRule": { "properties": { "isEnforcedOnDeletedSecretVersions": { @@ -413168,6 +417117,9 @@ "type": "string", "description": "(Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud\nInfrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.\n" }, + "testTimeMaintenanceRebootDue": { + "type": "string" + }, "userOcid": { "type": "string", "description": "(Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if\nauth is set to 'ApiKey', ignored otherwise.\n" @@ -413226,6 +417178,9 @@ "type": "string", "description": "(Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud\nInfrastructure console. Required if auth is set to 'ApiKey', ignored otherwise.\n" }, + "testTimeMaintenanceRebootDue": { + "type": "string" + }, "userOcid": { "type": "string", "description": "(Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if\nauth is set to 'ApiKey', ignored otherwise.\n" @@ -432396,7 +436351,7 @@ } }, "oci:ContainerEngine/cluster:Cluster": { - "description": "This resource provides the Cluster resource in Oracle Cloud Infrastructure Container Engine service.\n\nCreate a new cluster.\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 testCluster = new oci.containerengine.Cluster(\"test_cluster\", {\n compartmentId: compartmentId,\n kubernetesVersion: clusterKubernetesVersion,\n name: clusterName,\n vcnId: testVcn.id,\n clusterPodNetworkOptions: [{\n cniType: clusterClusterPodNetworkOptionsCniType,\n }],\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n endpointConfig: {\n isPublicIpEnabled: clusterEndpointConfigIsPublicIpEnabled,\n nsgIds: clusterEndpointConfigNsgIds,\n subnetId: testSubnet.id,\n },\n freeformTags: {\n Department: \"Finance\",\n },\n imagePolicyConfig: {\n isPolicyEnabled: clusterImagePolicyConfigIsPolicyEnabled,\n keyDetails: [{\n kmsKeyId: testKey.id,\n }],\n },\n kmsKeyId: testKey.id,\n options: {\n addOns: {\n isKubernetesDashboardEnabled: clusterOptionsAddOnsIsKubernetesDashboardEnabled,\n isTillerEnabled: clusterOptionsAddOnsIsTillerEnabled,\n },\n admissionControllerOptions: {\n isPodSecurityPolicyEnabled: clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled,\n },\n kubernetesNetworkConfig: {\n podsCidr: clusterOptionsKubernetesNetworkConfigPodsCidr,\n servicesCidr: clusterOptionsKubernetesNetworkConfigServicesCidr,\n },\n openIdConnectTokenAuthenticationConfig: {\n isOpenIdConnectAuthEnabled: clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled,\n caCertificate: clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate,\n clientId: testClient.id,\n groupsClaim: clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim,\n groupsPrefix: clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix,\n issuerUrl: clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl,\n requiredClaims: [{\n key: clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey,\n value: clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue,\n }],\n signingAlgorithms: clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms,\n usernameClaim: clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim,\n usernamePrefix: clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix,\n },\n openIdConnectDiscovery: {\n isOpenIdConnectDiscoveryEnabled: clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled,\n },\n persistentVolumeConfig: {\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n },\n serviceLbConfig: {\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n },\n serviceLbSubnetIds: clusterOptionsServiceLbSubnetIds,\n },\n type: clusterType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_cluster = oci.container_engine.Cluster(\"test_cluster\",\n compartment_id=compartment_id,\n kubernetes_version=cluster_kubernetes_version,\n name=cluster_name,\n vcn_id=test_vcn[\"id\"],\n cluster_pod_network_options=[{\n \"cni_type\": cluster_cluster_pod_network_options_cni_type,\n }],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n endpoint_config={\n \"is_public_ip_enabled\": cluster_endpoint_config_is_public_ip_enabled,\n \"nsg_ids\": cluster_endpoint_config_nsg_ids,\n \"subnet_id\": test_subnet[\"id\"],\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n image_policy_config={\n \"is_policy_enabled\": cluster_image_policy_config_is_policy_enabled,\n \"key_details\": [{\n \"kms_key_id\": test_key[\"id\"],\n }],\n },\n kms_key_id=test_key[\"id\"],\n options={\n \"add_ons\": {\n \"is_kubernetes_dashboard_enabled\": cluster_options_add_ons_is_kubernetes_dashboard_enabled,\n \"is_tiller_enabled\": cluster_options_add_ons_is_tiller_enabled,\n },\n \"admission_controller_options\": {\n \"is_pod_security_policy_enabled\": cluster_options_admission_controller_options_is_pod_security_policy_enabled,\n },\n \"kubernetes_network_config\": {\n \"pods_cidr\": cluster_options_kubernetes_network_config_pods_cidr,\n \"services_cidr\": cluster_options_kubernetes_network_config_services_cidr,\n },\n \"open_id_connect_token_authentication_config\": {\n \"is_open_id_connect_auth_enabled\": cluster_options_open_id_connect_token_authentication_config_is_open_id_connect_auth_enabled,\n \"ca_certificate\": cluster_options_open_id_connect_token_authentication_config_ca_certificate,\n \"client_id\": test_client[\"id\"],\n \"groups_claim\": cluster_options_open_id_connect_token_authentication_config_groups_claim,\n \"groups_prefix\": cluster_options_open_id_connect_token_authentication_config_groups_prefix,\n \"issuer_url\": cluster_options_open_id_connect_token_authentication_config_issuer_url,\n \"required_claims\": [{\n \"key\": cluster_options_open_id_connect_token_authentication_config_required_claims_key,\n \"value\": cluster_options_open_id_connect_token_authentication_config_required_claims_value,\n }],\n \"signing_algorithms\": cluster_options_open_id_connect_token_authentication_config_signing_algorithms,\n \"username_claim\": cluster_options_open_id_connect_token_authentication_config_username_claim,\n \"username_prefix\": cluster_options_open_id_connect_token_authentication_config_username_prefix,\n },\n \"open_id_connect_discovery\": {\n \"is_open_id_connect_discovery_enabled\": cluster_options_open_id_connect_discovery_is_open_id_connect_discovery_enabled,\n },\n \"persistent_volume_config\": {\n \"defined_tags\": {\n \"Operations.CostCenter\": \"42\",\n },\n \"freeform_tags\": {\n \"Department\": \"Finance\",\n },\n },\n \"service_lb_config\": {\n \"defined_tags\": {\n \"Operations.CostCenter\": \"42\",\n },\n \"freeform_tags\": {\n \"Department\": \"Finance\",\n },\n },\n \"service_lb_subnet_ids\": cluster_options_service_lb_subnet_ids,\n },\n type=cluster_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 testCluster = new Oci.ContainerEngine.Cluster(\"test_cluster\", new()\n {\n CompartmentId = compartmentId,\n KubernetesVersion = clusterKubernetesVersion,\n Name = clusterName,\n VcnId = testVcn.Id,\n ClusterPodNetworkOptions = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterClusterPodNetworkOptionArgs\n {\n CniType = clusterClusterPodNetworkOptionsCniType,\n },\n },\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n EndpointConfig = new Oci.ContainerEngine.Inputs.ClusterEndpointConfigArgs\n {\n IsPublicIpEnabled = clusterEndpointConfigIsPublicIpEnabled,\n NsgIds = clusterEndpointConfigNsgIds,\n SubnetId = testSubnet.Id,\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n ImagePolicyConfig = new Oci.ContainerEngine.Inputs.ClusterImagePolicyConfigArgs\n {\n IsPolicyEnabled = clusterImagePolicyConfigIsPolicyEnabled,\n KeyDetails = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterImagePolicyConfigKeyDetailArgs\n {\n KmsKeyId = testKey.Id,\n },\n },\n },\n KmsKeyId = testKey.Id,\n Options = new Oci.ContainerEngine.Inputs.ClusterOptionsArgs\n {\n AddOns = new Oci.ContainerEngine.Inputs.ClusterOptionsAddOnsArgs\n {\n IsKubernetesDashboardEnabled = clusterOptionsAddOnsIsKubernetesDashboardEnabled,\n IsTillerEnabled = clusterOptionsAddOnsIsTillerEnabled,\n },\n AdmissionControllerOptions = new Oci.ContainerEngine.Inputs.ClusterOptionsAdmissionControllerOptionsArgs\n {\n IsPodSecurityPolicyEnabled = clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled,\n },\n KubernetesNetworkConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsKubernetesNetworkConfigArgs\n {\n PodsCidr = clusterOptionsKubernetesNetworkConfigPodsCidr,\n ServicesCidr = clusterOptionsKubernetesNetworkConfigServicesCidr,\n },\n OpenIdConnectTokenAuthenticationConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs\n {\n IsOpenIdConnectAuthEnabled = clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled,\n CaCertificate = clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate,\n ClientId = testClient.Id,\n GroupsClaim = clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim,\n GroupsPrefix = clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix,\n IssuerUrl = clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl,\n RequiredClaims = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs\n {\n Key = clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey,\n Value = clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue,\n },\n },\n SigningAlgorithms = clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms,\n UsernameClaim = clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim,\n UsernamePrefix = clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix,\n },\n OpenIdConnectDiscovery = new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectDiscoveryArgs\n {\n IsOpenIdConnectDiscoveryEnabled = clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled,\n },\n PersistentVolumeConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsPersistentVolumeConfigArgs\n {\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n },\n ServiceLbConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsServiceLbConfigArgs\n {\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n },\n ServiceLbSubnetIds = clusterOptionsServiceLbSubnetIds,\n },\n Type = clusterType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/containerengine\"\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 := containerengine.NewCluster(ctx, \"test_cluster\", \u0026containerengine.ClusterArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tKubernetesVersion: pulumi.Any(clusterKubernetesVersion),\n\t\t\tName: pulumi.Any(clusterName),\n\t\t\tVcnId: pulumi.Any(testVcn.Id),\n\t\t\tClusterPodNetworkOptions: containerengine.ClusterClusterPodNetworkOptionArray{\n\t\t\t\t\u0026containerengine.ClusterClusterPodNetworkOptionArgs{\n\t\t\t\t\tCniType: pulumi.Any(clusterClusterPodNetworkOptionsCniType),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tEndpointConfig: \u0026containerengine.ClusterEndpointConfigArgs{\n\t\t\t\tIsPublicIpEnabled: pulumi.Any(clusterEndpointConfigIsPublicIpEnabled),\n\t\t\t\tNsgIds: pulumi.Any(clusterEndpointConfigNsgIds),\n\t\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\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\tImagePolicyConfig: \u0026containerengine.ClusterImagePolicyConfigArgs{\n\t\t\t\tIsPolicyEnabled: pulumi.Any(clusterImagePolicyConfigIsPolicyEnabled),\n\t\t\t\tKeyDetails: containerengine.ClusterImagePolicyConfigKeyDetailArray{\n\t\t\t\t\t\u0026containerengine.ClusterImagePolicyConfigKeyDetailArgs{\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\tKmsKeyId: pulumi.Any(testKey.Id),\n\t\t\tOptions: \u0026containerengine.ClusterOptionsArgs{\n\t\t\t\tAddOns: \u0026containerengine.ClusterOptionsAddOnsArgs{\n\t\t\t\t\tIsKubernetesDashboardEnabled: pulumi.Any(clusterOptionsAddOnsIsKubernetesDashboardEnabled),\n\t\t\t\t\tIsTillerEnabled: pulumi.Any(clusterOptionsAddOnsIsTillerEnabled),\n\t\t\t\t},\n\t\t\t\tAdmissionControllerOptions: \u0026containerengine.ClusterOptionsAdmissionControllerOptionsArgs{\n\t\t\t\t\tIsPodSecurityPolicyEnabled: pulumi.Any(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled),\n\t\t\t\t},\n\t\t\t\tKubernetesNetworkConfig: \u0026containerengine.ClusterOptionsKubernetesNetworkConfigArgs{\n\t\t\t\t\tPodsCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigPodsCidr),\n\t\t\t\t\tServicesCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigServicesCidr),\n\t\t\t\t},\n\t\t\t\tOpenIdConnectTokenAuthenticationConfig: \u0026containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs{\n\t\t\t\t\tIsOpenIdConnectAuthEnabled: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled),\n\t\t\t\t\tCaCertificate: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate),\n\t\t\t\t\tClientId: pulumi.Any(testClient.Id),\n\t\t\t\t\tGroupsClaim: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim),\n\t\t\t\t\tGroupsPrefix: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix),\n\t\t\t\t\tIssuerUrl: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl),\n\t\t\t\t\tRequiredClaims: containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArray{\n\t\t\t\t\t\t\u0026containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs{\n\t\t\t\t\t\t\tKey: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey),\n\t\t\t\t\t\t\tValue: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSigningAlgorithms: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms),\n\t\t\t\t\tUsernameClaim: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim),\n\t\t\t\t\tUsernamePrefix: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix),\n\t\t\t\t},\n\t\t\t\tOpenIdConnectDiscovery: \u0026containerengine.ClusterOptionsOpenIdConnectDiscoveryArgs{\n\t\t\t\t\tIsOpenIdConnectDiscoveryEnabled: pulumi.Any(clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled),\n\t\t\t\t},\n\t\t\t\tPersistentVolumeConfig: \u0026containerengine.ClusterOptionsPersistentVolumeConfigArgs{\n\t\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t\t\t},\n\t\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceLbConfig: \u0026containerengine.ClusterOptionsServiceLbConfigArgs{\n\t\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t\t\t},\n\t\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceLbSubnetIds: pulumi.Any(clusterOptionsServiceLbSubnetIds),\n\t\t\t},\n\t\t\tType: pulumi.Any(clusterType),\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.ContainerEngine.Cluster;\nimport com.pulumi.oci.ContainerEngine.ClusterArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterClusterPodNetworkOptionArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterEndpointConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterImagePolicyConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsAddOnsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsAdmissionControllerOptionsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsKubernetesNetworkConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsOpenIdConnectDiscoveryArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsPersistentVolumeConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsServiceLbConfigArgs;\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 testCluster = new Cluster(\"testCluster\", ClusterArgs.builder()\n .compartmentId(compartmentId)\n .kubernetesVersion(clusterKubernetesVersion)\n .name(clusterName)\n .vcnId(testVcn.id())\n .clusterPodNetworkOptions(ClusterClusterPodNetworkOptionArgs.builder()\n .cniType(clusterClusterPodNetworkOptionsCniType)\n .build())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .endpointConfig(ClusterEndpointConfigArgs.builder()\n .isPublicIpEnabled(clusterEndpointConfigIsPublicIpEnabled)\n .nsgIds(clusterEndpointConfigNsgIds)\n .subnetId(testSubnet.id())\n .build())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .imagePolicyConfig(ClusterImagePolicyConfigArgs.builder()\n .isPolicyEnabled(clusterImagePolicyConfigIsPolicyEnabled)\n .keyDetails(ClusterImagePolicyConfigKeyDetailArgs.builder()\n .kmsKeyId(testKey.id())\n .build())\n .build())\n .kmsKeyId(testKey.id())\n .options(ClusterOptionsArgs.builder()\n .addOns(ClusterOptionsAddOnsArgs.builder()\n .isKubernetesDashboardEnabled(clusterOptionsAddOnsIsKubernetesDashboardEnabled)\n .isTillerEnabled(clusterOptionsAddOnsIsTillerEnabled)\n .build())\n .admissionControllerOptions(ClusterOptionsAdmissionControllerOptionsArgs.builder()\n .isPodSecurityPolicyEnabled(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled)\n .build())\n .kubernetesNetworkConfig(ClusterOptionsKubernetesNetworkConfigArgs.builder()\n .podsCidr(clusterOptionsKubernetesNetworkConfigPodsCidr)\n .servicesCidr(clusterOptionsKubernetesNetworkConfigServicesCidr)\n .build())\n .openIdConnectTokenAuthenticationConfig(ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs.builder()\n .isOpenIdConnectAuthEnabled(clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled)\n .caCertificate(clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate)\n .clientId(testClient.id())\n .groupsClaim(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim)\n .groupsPrefix(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix)\n .issuerUrl(clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl)\n .requiredClaims(ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs.builder()\n .key(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey)\n .value(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue)\n .build())\n .signingAlgorithms(clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms)\n .usernameClaim(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim)\n .usernamePrefix(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix)\n .build())\n .openIdConnectDiscovery(ClusterOptionsOpenIdConnectDiscoveryArgs.builder()\n .isOpenIdConnectDiscoveryEnabled(clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled)\n .build())\n .persistentVolumeConfig(ClusterOptionsPersistentVolumeConfigArgs.builder()\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build())\n .serviceLbConfig(ClusterOptionsServiceLbConfigArgs.builder()\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build())\n .serviceLbSubnetIds(clusterOptionsServiceLbSubnetIds)\n .build())\n .type(clusterType)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCluster:\n type: oci:ContainerEngine:Cluster\n name: test_cluster\n properties:\n compartmentId: ${compartmentId}\n kubernetesVersion: ${clusterKubernetesVersion}\n name: ${clusterName}\n vcnId: ${testVcn.id}\n clusterPodNetworkOptions:\n - cniType: ${clusterClusterPodNetworkOptionsCniType}\n definedTags:\n Operations.CostCenter: '42'\n endpointConfig:\n isPublicIpEnabled: ${clusterEndpointConfigIsPublicIpEnabled}\n nsgIds: ${clusterEndpointConfigNsgIds}\n subnetId: ${testSubnet.id}\n freeformTags:\n Department: Finance\n imagePolicyConfig:\n isPolicyEnabled: ${clusterImagePolicyConfigIsPolicyEnabled}\n keyDetails:\n - kmsKeyId: ${testKey.id}\n kmsKeyId: ${testKey.id}\n options:\n addOns:\n isKubernetesDashboardEnabled: ${clusterOptionsAddOnsIsKubernetesDashboardEnabled}\n isTillerEnabled: ${clusterOptionsAddOnsIsTillerEnabled}\n admissionControllerOptions:\n isPodSecurityPolicyEnabled: ${clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled}\n kubernetesNetworkConfig:\n podsCidr: ${clusterOptionsKubernetesNetworkConfigPodsCidr}\n servicesCidr: ${clusterOptionsKubernetesNetworkConfigServicesCidr}\n openIdConnectTokenAuthenticationConfig:\n isOpenIdConnectAuthEnabled: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled}\n caCertificate: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate}\n clientId: ${testClient.id}\n groupsClaim: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim}\n groupsPrefix: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix}\n issuerUrl: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl}\n requiredClaims:\n - key: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey}\n value: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue}\n signingAlgorithms: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms}\n usernameClaim: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim}\n usernamePrefix: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix}\n openIdConnectDiscovery:\n isOpenIdConnectDiscoveryEnabled: ${clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled}\n persistentVolumeConfig:\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n serviceLbConfig:\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n serviceLbSubnetIds: ${clusterOptionsServiceLbSubnetIds}\n type: ${clusterType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nClusters can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:ContainerEngine/cluster:Cluster test_cluster \"id\"\n```\n", + "description": "This resource provides the Cluster resource in Oracle Cloud Infrastructure Container Engine service.\n\nCreate a new cluster.\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 testCluster = new oci.containerengine.Cluster(\"test_cluster\", {\n compartmentId: compartmentId,\n kubernetesVersion: clusterKubernetesVersion,\n name: clusterName,\n vcnId: testVcn.id,\n clusterPodNetworkOptions: [{\n cniType: clusterClusterPodNetworkOptionsCniType,\n }],\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n endpointConfig: {\n isPublicIpEnabled: clusterEndpointConfigIsPublicIpEnabled,\n nsgIds: clusterEndpointConfigNsgIds,\n subnetId: testSubnet.id,\n },\n freeformTags: {\n Department: \"Finance\",\n },\n imagePolicyConfig: {\n isPolicyEnabled: clusterImagePolicyConfigIsPolicyEnabled,\n keyDetails: [{\n kmsKeyId: testKey.id,\n }],\n },\n kmsKeyId: testKey.id,\n options: {\n addOns: {\n isKubernetesDashboardEnabled: clusterOptionsAddOnsIsKubernetesDashboardEnabled,\n isTillerEnabled: clusterOptionsAddOnsIsTillerEnabled,\n },\n admissionControllerOptions: {\n isPodSecurityPolicyEnabled: clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled,\n },\n ipFamilies: clusterOptionsIpFamilies,\n kubernetesNetworkConfig: {\n podsCidr: clusterOptionsKubernetesNetworkConfigPodsCidr,\n servicesCidr: clusterOptionsKubernetesNetworkConfigServicesCidr,\n },\n openIdConnectTokenAuthenticationConfig: {\n isOpenIdConnectAuthEnabled: clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled,\n caCertificate: clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate,\n clientId: testClient.id,\n groupsClaim: clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim,\n groupsPrefix: clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix,\n issuerUrl: clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl,\n requiredClaims: [{\n key: clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey,\n value: clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue,\n }],\n signingAlgorithms: clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms,\n usernameClaim: clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim,\n usernamePrefix: clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix,\n },\n openIdConnectDiscovery: {\n isOpenIdConnectDiscoveryEnabled: clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled,\n },\n persistentVolumeConfig: {\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n },\n serviceLbConfig: {\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n },\n serviceLbSubnetIds: clusterOptionsServiceLbSubnetIds,\n },\n type: clusterType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_cluster = oci.container_engine.Cluster(\"test_cluster\",\n compartment_id=compartment_id,\n kubernetes_version=cluster_kubernetes_version,\n name=cluster_name,\n vcn_id=test_vcn[\"id\"],\n cluster_pod_network_options=[{\n \"cni_type\": cluster_cluster_pod_network_options_cni_type,\n }],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n endpoint_config={\n \"is_public_ip_enabled\": cluster_endpoint_config_is_public_ip_enabled,\n \"nsg_ids\": cluster_endpoint_config_nsg_ids,\n \"subnet_id\": test_subnet[\"id\"],\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n image_policy_config={\n \"is_policy_enabled\": cluster_image_policy_config_is_policy_enabled,\n \"key_details\": [{\n \"kms_key_id\": test_key[\"id\"],\n }],\n },\n kms_key_id=test_key[\"id\"],\n options={\n \"add_ons\": {\n \"is_kubernetes_dashboard_enabled\": cluster_options_add_ons_is_kubernetes_dashboard_enabled,\n \"is_tiller_enabled\": cluster_options_add_ons_is_tiller_enabled,\n },\n \"admission_controller_options\": {\n \"is_pod_security_policy_enabled\": cluster_options_admission_controller_options_is_pod_security_policy_enabled,\n },\n \"ip_families\": cluster_options_ip_families,\n \"kubernetes_network_config\": {\n \"pods_cidr\": cluster_options_kubernetes_network_config_pods_cidr,\n \"services_cidr\": cluster_options_kubernetes_network_config_services_cidr,\n },\n \"open_id_connect_token_authentication_config\": {\n \"is_open_id_connect_auth_enabled\": cluster_options_open_id_connect_token_authentication_config_is_open_id_connect_auth_enabled,\n \"ca_certificate\": cluster_options_open_id_connect_token_authentication_config_ca_certificate,\n \"client_id\": test_client[\"id\"],\n \"groups_claim\": cluster_options_open_id_connect_token_authentication_config_groups_claim,\n \"groups_prefix\": cluster_options_open_id_connect_token_authentication_config_groups_prefix,\n \"issuer_url\": cluster_options_open_id_connect_token_authentication_config_issuer_url,\n \"required_claims\": [{\n \"key\": cluster_options_open_id_connect_token_authentication_config_required_claims_key,\n \"value\": cluster_options_open_id_connect_token_authentication_config_required_claims_value,\n }],\n \"signing_algorithms\": cluster_options_open_id_connect_token_authentication_config_signing_algorithms,\n \"username_claim\": cluster_options_open_id_connect_token_authentication_config_username_claim,\n \"username_prefix\": cluster_options_open_id_connect_token_authentication_config_username_prefix,\n },\n \"open_id_connect_discovery\": {\n \"is_open_id_connect_discovery_enabled\": cluster_options_open_id_connect_discovery_is_open_id_connect_discovery_enabled,\n },\n \"persistent_volume_config\": {\n \"defined_tags\": {\n \"Operations.CostCenter\": \"42\",\n },\n \"freeform_tags\": {\n \"Department\": \"Finance\",\n },\n },\n \"service_lb_config\": {\n \"defined_tags\": {\n \"Operations.CostCenter\": \"42\",\n },\n \"freeform_tags\": {\n \"Department\": \"Finance\",\n },\n },\n \"service_lb_subnet_ids\": cluster_options_service_lb_subnet_ids,\n },\n type=cluster_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 testCluster = new Oci.ContainerEngine.Cluster(\"test_cluster\", new()\n {\n CompartmentId = compartmentId,\n KubernetesVersion = clusterKubernetesVersion,\n Name = clusterName,\n VcnId = testVcn.Id,\n ClusterPodNetworkOptions = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterClusterPodNetworkOptionArgs\n {\n CniType = clusterClusterPodNetworkOptionsCniType,\n },\n },\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n EndpointConfig = new Oci.ContainerEngine.Inputs.ClusterEndpointConfigArgs\n {\n IsPublicIpEnabled = clusterEndpointConfigIsPublicIpEnabled,\n NsgIds = clusterEndpointConfigNsgIds,\n SubnetId = testSubnet.Id,\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n ImagePolicyConfig = new Oci.ContainerEngine.Inputs.ClusterImagePolicyConfigArgs\n {\n IsPolicyEnabled = clusterImagePolicyConfigIsPolicyEnabled,\n KeyDetails = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterImagePolicyConfigKeyDetailArgs\n {\n KmsKeyId = testKey.Id,\n },\n },\n },\n KmsKeyId = testKey.Id,\n Options = new Oci.ContainerEngine.Inputs.ClusterOptionsArgs\n {\n AddOns = new Oci.ContainerEngine.Inputs.ClusterOptionsAddOnsArgs\n {\n IsKubernetesDashboardEnabled = clusterOptionsAddOnsIsKubernetesDashboardEnabled,\n IsTillerEnabled = clusterOptionsAddOnsIsTillerEnabled,\n },\n AdmissionControllerOptions = new Oci.ContainerEngine.Inputs.ClusterOptionsAdmissionControllerOptionsArgs\n {\n IsPodSecurityPolicyEnabled = clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled,\n },\n IpFamilies = clusterOptionsIpFamilies,\n KubernetesNetworkConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsKubernetesNetworkConfigArgs\n {\n PodsCidr = clusterOptionsKubernetesNetworkConfigPodsCidr,\n ServicesCidr = clusterOptionsKubernetesNetworkConfigServicesCidr,\n },\n OpenIdConnectTokenAuthenticationConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs\n {\n IsOpenIdConnectAuthEnabled = clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled,\n CaCertificate = clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate,\n ClientId = testClient.Id,\n GroupsClaim = clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim,\n GroupsPrefix = clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix,\n IssuerUrl = clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl,\n RequiredClaims = new[]\n {\n new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs\n {\n Key = clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey,\n Value = clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue,\n },\n },\n SigningAlgorithms = clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms,\n UsernameClaim = clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim,\n UsernamePrefix = clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix,\n },\n OpenIdConnectDiscovery = new Oci.ContainerEngine.Inputs.ClusterOptionsOpenIdConnectDiscoveryArgs\n {\n IsOpenIdConnectDiscoveryEnabled = clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled,\n },\n PersistentVolumeConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsPersistentVolumeConfigArgs\n {\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n },\n ServiceLbConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsServiceLbConfigArgs\n {\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n },\n ServiceLbSubnetIds = clusterOptionsServiceLbSubnetIds,\n },\n Type = clusterType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/containerengine\"\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 := containerengine.NewCluster(ctx, \"test_cluster\", \u0026containerengine.ClusterArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tKubernetesVersion: pulumi.Any(clusterKubernetesVersion),\n\t\t\tName: pulumi.Any(clusterName),\n\t\t\tVcnId: pulumi.Any(testVcn.Id),\n\t\t\tClusterPodNetworkOptions: containerengine.ClusterClusterPodNetworkOptionArray{\n\t\t\t\t\u0026containerengine.ClusterClusterPodNetworkOptionArgs{\n\t\t\t\t\tCniType: pulumi.Any(clusterClusterPodNetworkOptionsCniType),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tEndpointConfig: \u0026containerengine.ClusterEndpointConfigArgs{\n\t\t\t\tIsPublicIpEnabled: pulumi.Any(clusterEndpointConfigIsPublicIpEnabled),\n\t\t\t\tNsgIds: pulumi.Any(clusterEndpointConfigNsgIds),\n\t\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\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\tImagePolicyConfig: \u0026containerengine.ClusterImagePolicyConfigArgs{\n\t\t\t\tIsPolicyEnabled: pulumi.Any(clusterImagePolicyConfigIsPolicyEnabled),\n\t\t\t\tKeyDetails: containerengine.ClusterImagePolicyConfigKeyDetailArray{\n\t\t\t\t\t\u0026containerengine.ClusterImagePolicyConfigKeyDetailArgs{\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\tKmsKeyId: pulumi.Any(testKey.Id),\n\t\t\tOptions: \u0026containerengine.ClusterOptionsArgs{\n\t\t\t\tAddOns: \u0026containerengine.ClusterOptionsAddOnsArgs{\n\t\t\t\t\tIsKubernetesDashboardEnabled: pulumi.Any(clusterOptionsAddOnsIsKubernetesDashboardEnabled),\n\t\t\t\t\tIsTillerEnabled: pulumi.Any(clusterOptionsAddOnsIsTillerEnabled),\n\t\t\t\t},\n\t\t\t\tAdmissionControllerOptions: \u0026containerengine.ClusterOptionsAdmissionControllerOptionsArgs{\n\t\t\t\t\tIsPodSecurityPolicyEnabled: pulumi.Any(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled),\n\t\t\t\t},\n\t\t\t\tIpFamilies: pulumi.Any(clusterOptionsIpFamilies),\n\t\t\t\tKubernetesNetworkConfig: \u0026containerengine.ClusterOptionsKubernetesNetworkConfigArgs{\n\t\t\t\t\tPodsCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigPodsCidr),\n\t\t\t\t\tServicesCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigServicesCidr),\n\t\t\t\t},\n\t\t\t\tOpenIdConnectTokenAuthenticationConfig: \u0026containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs{\n\t\t\t\t\tIsOpenIdConnectAuthEnabled: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled),\n\t\t\t\t\tCaCertificate: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate),\n\t\t\t\t\tClientId: pulumi.Any(testClient.Id),\n\t\t\t\t\tGroupsClaim: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim),\n\t\t\t\t\tGroupsPrefix: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix),\n\t\t\t\t\tIssuerUrl: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl),\n\t\t\t\t\tRequiredClaims: containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArray{\n\t\t\t\t\t\t\u0026containerengine.ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs{\n\t\t\t\t\t\t\tKey: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey),\n\t\t\t\t\t\t\tValue: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSigningAlgorithms: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms),\n\t\t\t\t\tUsernameClaim: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim),\n\t\t\t\t\tUsernamePrefix: pulumi.Any(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix),\n\t\t\t\t},\n\t\t\t\tOpenIdConnectDiscovery: \u0026containerengine.ClusterOptionsOpenIdConnectDiscoveryArgs{\n\t\t\t\t\tIsOpenIdConnectDiscoveryEnabled: pulumi.Any(clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled),\n\t\t\t\t},\n\t\t\t\tPersistentVolumeConfig: \u0026containerengine.ClusterOptionsPersistentVolumeConfigArgs{\n\t\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t\t\t},\n\t\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceLbConfig: \u0026containerengine.ClusterOptionsServiceLbConfigArgs{\n\t\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t\t\t},\n\t\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tServiceLbSubnetIds: pulumi.Any(clusterOptionsServiceLbSubnetIds),\n\t\t\t},\n\t\t\tType: pulumi.Any(clusterType),\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.ContainerEngine.Cluster;\nimport com.pulumi.oci.ContainerEngine.ClusterArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterClusterPodNetworkOptionArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterEndpointConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterImagePolicyConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsAddOnsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsAdmissionControllerOptionsArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsKubernetesNetworkConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsOpenIdConnectDiscoveryArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsPersistentVolumeConfigArgs;\nimport com.pulumi.oci.ContainerEngine.inputs.ClusterOptionsServiceLbConfigArgs;\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 testCluster = new Cluster(\"testCluster\", ClusterArgs.builder()\n .compartmentId(compartmentId)\n .kubernetesVersion(clusterKubernetesVersion)\n .name(clusterName)\n .vcnId(testVcn.id())\n .clusterPodNetworkOptions(ClusterClusterPodNetworkOptionArgs.builder()\n .cniType(clusterClusterPodNetworkOptionsCniType)\n .build())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .endpointConfig(ClusterEndpointConfigArgs.builder()\n .isPublicIpEnabled(clusterEndpointConfigIsPublicIpEnabled)\n .nsgIds(clusterEndpointConfigNsgIds)\n .subnetId(testSubnet.id())\n .build())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .imagePolicyConfig(ClusterImagePolicyConfigArgs.builder()\n .isPolicyEnabled(clusterImagePolicyConfigIsPolicyEnabled)\n .keyDetails(ClusterImagePolicyConfigKeyDetailArgs.builder()\n .kmsKeyId(testKey.id())\n .build())\n .build())\n .kmsKeyId(testKey.id())\n .options(ClusterOptionsArgs.builder()\n .addOns(ClusterOptionsAddOnsArgs.builder()\n .isKubernetesDashboardEnabled(clusterOptionsAddOnsIsKubernetesDashboardEnabled)\n .isTillerEnabled(clusterOptionsAddOnsIsTillerEnabled)\n .build())\n .admissionControllerOptions(ClusterOptionsAdmissionControllerOptionsArgs.builder()\n .isPodSecurityPolicyEnabled(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled)\n .build())\n .ipFamilies(clusterOptionsIpFamilies)\n .kubernetesNetworkConfig(ClusterOptionsKubernetesNetworkConfigArgs.builder()\n .podsCidr(clusterOptionsKubernetesNetworkConfigPodsCidr)\n .servicesCidr(clusterOptionsKubernetesNetworkConfigServicesCidr)\n .build())\n .openIdConnectTokenAuthenticationConfig(ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs.builder()\n .isOpenIdConnectAuthEnabled(clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled)\n .caCertificate(clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate)\n .clientId(testClient.id())\n .groupsClaim(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim)\n .groupsPrefix(clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix)\n .issuerUrl(clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl)\n .requiredClaims(ClusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimArgs.builder()\n .key(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey)\n .value(clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue)\n .build())\n .signingAlgorithms(clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms)\n .usernameClaim(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim)\n .usernamePrefix(clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix)\n .build())\n .openIdConnectDiscovery(ClusterOptionsOpenIdConnectDiscoveryArgs.builder()\n .isOpenIdConnectDiscoveryEnabled(clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled)\n .build())\n .persistentVolumeConfig(ClusterOptionsPersistentVolumeConfigArgs.builder()\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build())\n .serviceLbConfig(ClusterOptionsServiceLbConfigArgs.builder()\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build())\n .serviceLbSubnetIds(clusterOptionsServiceLbSubnetIds)\n .build())\n .type(clusterType)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCluster:\n type: oci:ContainerEngine:Cluster\n name: test_cluster\n properties:\n compartmentId: ${compartmentId}\n kubernetesVersion: ${clusterKubernetesVersion}\n name: ${clusterName}\n vcnId: ${testVcn.id}\n clusterPodNetworkOptions:\n - cniType: ${clusterClusterPodNetworkOptionsCniType}\n definedTags:\n Operations.CostCenter: '42'\n endpointConfig:\n isPublicIpEnabled: ${clusterEndpointConfigIsPublicIpEnabled}\n nsgIds: ${clusterEndpointConfigNsgIds}\n subnetId: ${testSubnet.id}\n freeformTags:\n Department: Finance\n imagePolicyConfig:\n isPolicyEnabled: ${clusterImagePolicyConfigIsPolicyEnabled}\n keyDetails:\n - kmsKeyId: ${testKey.id}\n kmsKeyId: ${testKey.id}\n options:\n addOns:\n isKubernetesDashboardEnabled: ${clusterOptionsAddOnsIsKubernetesDashboardEnabled}\n isTillerEnabled: ${clusterOptionsAddOnsIsTillerEnabled}\n admissionControllerOptions:\n isPodSecurityPolicyEnabled: ${clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled}\n ipFamilies: ${clusterOptionsIpFamilies}\n kubernetesNetworkConfig:\n podsCidr: ${clusterOptionsKubernetesNetworkConfigPodsCidr}\n servicesCidr: ${clusterOptionsKubernetesNetworkConfigServicesCidr}\n openIdConnectTokenAuthenticationConfig:\n isOpenIdConnectAuthEnabled: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigIsOpenIdConnectAuthEnabled}\n caCertificate: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigCaCertificate}\n clientId: ${testClient.id}\n groupsClaim: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsClaim}\n groupsPrefix: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigGroupsPrefix}\n issuerUrl: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigIssuerUrl}\n requiredClaims:\n - key: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsKey}\n value: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigRequiredClaimsValue}\n signingAlgorithms: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigSigningAlgorithms}\n usernameClaim: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernameClaim}\n usernamePrefix: ${clusterOptionsOpenIdConnectTokenAuthenticationConfigUsernamePrefix}\n openIdConnectDiscovery:\n isOpenIdConnectDiscoveryEnabled: ${clusterOptionsOpenIdConnectDiscoveryIsOpenIdConnectDiscoveryEnabled}\n persistentVolumeConfig:\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n serviceLbConfig:\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n serviceLbSubnetIds: ${clusterOptionsServiceLbSubnetIds}\n type: ${clusterType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nClusters can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:ContainerEngine/cluster:Cluster test_cluster \"id\"\n```\n", "properties": { "availableKubernetesUpgrades": { "type": "array", @@ -467136,6 +471091,13 @@ "oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase": { "description": "This resource provides the Autonomous Container Database resource in Oracle Cloud Infrastructure Database service.\n\nCreates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.\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.AutonomousContainerDatabase;\nimport com.pulumi.oci.Database.AutonomousContainerDatabaseArgs;\nimport com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseBackupConfigArgs;\nimport com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs;\nimport com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseMaintenanceWindowDetailsArgs;\nimport com.pulumi.oci.Database.inputs.AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs;\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 testAutonomousContainerDatabase = new AutonomousContainerDatabase(\"testAutonomousContainerDatabase\", AutonomousContainerDatabaseArgs.builder()\n .displayName(autonomousContainerDatabaseDisplayName)\n .patchModel(autonomousContainerDatabasePatchModel)\n .cloudAutonomousVmClusterId(testCloudAutonomousVmCluster.id())\n .autonomousVmClusterId(testAutonomousVmCluster.id())\n .backupConfig(AutonomousContainerDatabaseBackupConfigArgs.builder()\n .backupDestinationDetails(AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs.builder()\n .type(autonomousContainerDatabaseBackupConfigBackupDestinationDetailsType)\n .dbrsPolicyId(testPolicy.id())\n .id(autonomousContainerDatabaseBackupConfigBackupDestinationDetailsId)\n .internetProxy(autonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy)\n .vpcPassword(autonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword)\n .vpcUser(autonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser)\n .build())\n .recoveryWindowInDays(autonomousContainerDatabaseBackupConfigRecoveryWindowInDays)\n .build())\n .compartmentId(compartmentId)\n .databaseSoftwareImageId(testDatabaseSoftwareImage.id())\n .dbName(autonomousContainerDatabaseDbName)\n .dbSplitThreshold(autonomousContainerDatabaseDbSplitThreshold)\n .dbUniqueName(autonomousContainerDatabaseDbUniqueName)\n .dbVersion(autonomousContainerDatabaseDbVersion)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .distributionAffinity(autonomousContainerDatabaseDistributionAffinity)\n .fastStartFailOverLagLimitInSeconds(autonomousContainerDatabaseFastStartFailOverLagLimitInSeconds)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .isAutomaticFailoverEnabled(autonomousContainerDatabaseIsAutomaticFailoverEnabled)\n .isDstFileUpdateEnabled(autonomousContainerDatabaseIsDstFileUpdateEnabled)\n .keyStoreId(testKeyStore.id())\n .kmsKeyId(testKey.id())\n .maintenanceWindowDetails(AutonomousContainerDatabaseMaintenanceWindowDetailsArgs.builder()\n .customActionTimeoutInMins(autonomousContainerDatabaseMaintenanceWindowDetailsCustomActionTimeoutInMins)\n .daysOfWeeks(AutonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeekArgs.builder()\n .name(autonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeekName)\n .build())\n .hoursOfDays(autonomousContainerDatabaseMaintenanceWindowDetailsHoursOfDay)\n .isCustomActionTimeoutEnabled(autonomousContainerDatabaseMaintenanceWindowDetailsIsCustomActionTimeoutEnabled)\n .isMonthlyPatchingEnabled(autonomousContainerDatabaseMaintenanceWindowDetailsIsMonthlyPatchingEnabled)\n .leadTimeInWeeks(autonomousContainerDatabaseMaintenanceWindowDetailsLeadTimeInWeeks)\n .months(AutonomousContainerDatabaseMaintenanceWindowDetailsMonthArgs.builder()\n .name(autonomousContainerDatabaseMaintenanceWindowDetailsMonthsName)\n .build())\n .patchingMode(autonomousContainerDatabaseMaintenanceWindowDetailsPatchingMode)\n .preference(autonomousContainerDatabaseMaintenanceWindowDetailsPreference)\n .skipRus(autonomousContainerDatabaseMaintenanceWindowDetailsSkipRu)\n .weeksOfMonths(autonomousContainerDatabaseMaintenanceWindowDetailsWeeksOfMonth)\n .build())\n .netServicesArchitecture(autonomousContainerDatabaseNetServicesArchitecture)\n .peerAutonomousContainerDatabaseDisplayName(autonomousContainerDatabasePeerAutonomousContainerDatabaseDisplayName)\n .peerCloudAutonomousVmClusterId(testCloudAutonomousVmCluster.id())\n .protectionMode(autonomousContainerDatabaseProtectionMode)\n .peerAutonomousContainerDatabaseBackupConfig(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs.builder()\n .backupDestinationDetails(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs.builder()\n .type(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType)\n .dbrsPolicyId(testPolicy.id())\n .id(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId)\n .internetProxy(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy)\n .vpcPassword(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword)\n .vpcUser(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser)\n .build())\n .recoveryWindowInDays(autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays)\n .build())\n .peerAutonomousContainerDatabaseCompartmentId(testCompartment.id())\n .peerAutonomousVmClusterId(testAutonomousVmCluster.id())\n .peerDbUniqueName(autonomousContainerDatabasePeerDbUniqueName)\n .serviceLevelAgreementType(autonomousContainerDatabaseServiceLevelAgreementType)\n .vaultId(testVault.id())\n .versionPreference(autonomousContainerDatabaseVersionPreference)\n .vmFailoverReservation(autonomousContainerDatabaseVmFailoverReservation)\n .standbyMaintenanceBufferInDays(autonomousContainerDatabaseStandbyMaintenanceBufferInDays)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testAutonomousContainerDatabase:\n type: oci:Database:AutonomousContainerDatabase\n name: test_autonomous_container_database\n properties:\n displayName: ${autonomousContainerDatabaseDisplayName}\n patchModel: ${autonomousContainerDatabasePatchModel}\n cloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n autonomousVmClusterId: ${testAutonomousVmCluster.id}\n backupConfig:\n backupDestinationDetails:\n type: ${autonomousContainerDatabaseBackupConfigBackupDestinationDetailsType}\n dbrsPolicyId: ${testPolicy.id}\n id: ${autonomousContainerDatabaseBackupConfigBackupDestinationDetailsId}\n internetProxy: ${autonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy}\n vpcPassword: ${autonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword}\n vpcUser: ${autonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser}\n recoveryWindowInDays: ${autonomousContainerDatabaseBackupConfigRecoveryWindowInDays}\n compartmentId: ${compartmentId}\n databaseSoftwareImageId: ${testDatabaseSoftwareImage.id}\n dbName: ${autonomousContainerDatabaseDbName}\n dbSplitThreshold: ${autonomousContainerDatabaseDbSplitThreshold}\n dbUniqueName: ${autonomousContainerDatabaseDbUniqueName}\n dbVersion: ${autonomousContainerDatabaseDbVersion}\n definedTags:\n Operations.CostCenter: '42'\n distributionAffinity: ${autonomousContainerDatabaseDistributionAffinity}\n fastStartFailOverLagLimitInSeconds: ${autonomousContainerDatabaseFastStartFailOverLagLimitInSeconds}\n freeformTags:\n Department: Finance\n isAutomaticFailoverEnabled: ${autonomousContainerDatabaseIsAutomaticFailoverEnabled}\n isDstFileUpdateEnabled: ${autonomousContainerDatabaseIsDstFileUpdateEnabled}\n keyStoreId: ${testKeyStore.id}\n kmsKeyId: ${testKey.id}\n maintenanceWindowDetails:\n customActionTimeoutInMins: ${autonomousContainerDatabaseMaintenanceWindowDetailsCustomActionTimeoutInMins}\n daysOfWeeks:\n - name: ${autonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeekName}\n hoursOfDays: ${autonomousContainerDatabaseMaintenanceWindowDetailsHoursOfDay}\n isCustomActionTimeoutEnabled: ${autonomousContainerDatabaseMaintenanceWindowDetailsIsCustomActionTimeoutEnabled}\n isMonthlyPatchingEnabled: ${autonomousContainerDatabaseMaintenanceWindowDetailsIsMonthlyPatchingEnabled}\n leadTimeInWeeks: ${autonomousContainerDatabaseMaintenanceWindowDetailsLeadTimeInWeeks}\n months:\n - name: ${autonomousContainerDatabaseMaintenanceWindowDetailsMonthsName}\n patchingMode: ${autonomousContainerDatabaseMaintenanceWindowDetailsPatchingMode}\n preference: ${autonomousContainerDatabaseMaintenanceWindowDetailsPreference}\n skipRus: ${autonomousContainerDatabaseMaintenanceWindowDetailsSkipRu}\n weeksOfMonths: ${autonomousContainerDatabaseMaintenanceWindowDetailsWeeksOfMonth}\n netServicesArchitecture: ${autonomousContainerDatabaseNetServicesArchitecture}\n peerAutonomousContainerDatabaseDisplayName: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseDisplayName}\n peerCloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n protectionMode: ${autonomousContainerDatabaseProtectionMode}\n peerAutonomousContainerDatabaseBackupConfig:\n backupDestinationDetails:\n - type: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType}\n dbrsPolicyId: ${testPolicy.id}\n id: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId}\n internetProxy: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy}\n vpcPassword: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword}\n vpcUser: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser}\n recoveryWindowInDays: ${autonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays}\n peerAutonomousContainerDatabaseCompartmentId: ${testCompartment.id}\n peerAutonomousVmClusterId: ${testAutonomousVmCluster.id}\n peerDbUniqueName: ${autonomousContainerDatabasePeerDbUniqueName}\n serviceLevelAgreementType: ${autonomousContainerDatabaseServiceLevelAgreementType}\n vaultId: ${testVault.id}\n versionPreference: ${autonomousContainerDatabaseVersionPreference}\n vmFailoverReservation: ${autonomousContainerDatabaseVmFailoverReservation}\n standbyMaintenanceBufferInDays: ${autonomousContainerDatabaseStandbyMaintenanceBufferInDays}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAutonomousContainerDatabases can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase test_autonomous_container_database \"id\"\n```\n", "properties": { + "associatedBackupConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail:AutonomousContainerDatabaseAssociatedBackupConfigurationDetail" + }, + "description": "A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.\n" + }, "autonomousExadataInfrastructureId": { "type": "string", "description": "**No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail.\n" @@ -467156,6 +471118,13 @@ "$ref": "#/types/oci:Database/AutonomousContainerDatabaseBackupConfig:AutonomousContainerDatabaseBackupConfig", "description": "(Updatable) Backup options for the Autonomous Container Database.\n" }, + "backupDestinationPropertiesLists": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseBackupDestinationPropertiesList:AutonomousContainerDatabaseBackupDestinationPropertiesList" + }, + "description": "This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.\n" + }, "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" @@ -467341,11 +471310,18 @@ }, "provisionedCpus": { "type": "number", - "description": "The number of CPUs provisioned in an Autonomous Container Database.\n" + "description": "The number of CPUs provisioned in an Autonomous Container Database.\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c ours\n" }, "reclaimableCpus": { "type": "number", - "description": "For Autonomous Databases on Dedicated Exadata Infrastructure:\n* These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n* The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.\n" + "description": "For Autonomous Databases on Dedicated Exadata Infrastructure:\n* These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n* The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n" + }, + "recoveryApplianceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseRecoveryApplianceDetail:AutonomousContainerDatabaseRecoveryApplianceDetail" + }, + "description": "Information about the recovery appliance configuration associated with the Autonomous Container Database.\n" }, "reservedCpus": { "type": "number", @@ -467401,11 +471377,13 @@ } }, "required": [ + "associatedBackupConfigurationDetails", "autonomousExadataInfrastructureId", "autonomousVmClusterId", "availabilityDomain", "availableCpus", "backupConfig", + "backupDestinationPropertiesLists", "cloudAutonomousVmClusterId", "compartmentId", "computeModel", @@ -467448,6 +471426,7 @@ "provisionableCpuses", "provisionedCpus", "reclaimableCpus", + "recoveryApplianceDetails", "reservedCpus", "role", "serviceLevelAgreementType", @@ -467646,6 +471625,13 @@ "stateInputs": { "description": "Input properties used for looking up and filtering AutonomousContainerDatabase resources.\n", "properties": { + "associatedBackupConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail:AutonomousContainerDatabaseAssociatedBackupConfigurationDetail" + }, + "description": "A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.\n" + }, "autonomousExadataInfrastructureId": { "type": "string", "description": "**No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail.\n", @@ -467668,6 +471654,13 @@ "$ref": "#/types/oci:Database/AutonomousContainerDatabaseBackupConfig:AutonomousContainerDatabaseBackupConfig", "description": "(Updatable) Backup options for the Autonomous Container Database.\n" }, + "backupDestinationPropertiesLists": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseBackupDestinationPropertiesList:AutonomousContainerDatabaseBackupDestinationPropertiesList" + }, + "description": "This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.\n" + }, "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", @@ -467873,11 +471866,18 @@ }, "provisionedCpus": { "type": "number", - "description": "The number of CPUs provisioned in an Autonomous Container Database.\n" + "description": "The number of CPUs provisioned in an Autonomous Container Database.\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c ours\n" }, "reclaimableCpus": { "type": "number", - "description": "For Autonomous Databases on Dedicated Exadata Infrastructure:\n* These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n* The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.\n" + "description": "For Autonomous Databases on Dedicated Exadata Infrastructure:\n* These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n* The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n" + }, + "recoveryApplianceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/AutonomousContainerDatabaseRecoveryApplianceDetail:AutonomousContainerDatabaseRecoveryApplianceDetail" + }, + "description": "Information about the recovery appliance configuration associated with the Autonomous Container Database.\n" }, "reservedCpus": { "type": "number", @@ -468453,11 +472453,18 @@ }, "characterSet": { "type": "string", - "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n" + "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c ours\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n" + }, + "cloneTableSpaceLists": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n" }, "cloneType": { "type": "string", - "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n" + "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n" }, "clusterPlacementGroupId": { "type": "string", @@ -468714,14 +472721,14 @@ }, "localDisasterRecoveryType": { "type": "string", - "description": "Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover.\n" + "description": "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.\n" }, "localStandbyDbs": { "type": "array", "items": { "$ref": "#/types/oci:Database/AutonomousDatabaseLocalStandbyDb:AutonomousDatabaseLocalStandbyDb" }, - "description": "Autonomous Data Guard local (same region) standby database details.\n" + "description": "Autonomous Data Guard standby database details.\n" }, "longTermBackupSchedules": { "type": "array", @@ -468730,6 +472737,10 @@ }, "description": "Details for the long-term backup schedule.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "maxCpuCoreCount": { "type": "integer", "description": "(Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.\n" @@ -469050,6 +473061,7 @@ "backupRetentionPeriodInDays", "byolComputeCountLimit", "characterSet", + "cloneTableSpaceLists", "cloneType", "clusterPlacementGroupId", "compartmentId", @@ -469108,6 +473120,7 @@ "localDisasterRecoveryType", "localStandbyDbs", "longTermBackupSchedules", + "maintenanceTargetComponent", "maxCpuCoreCount", "memoryPerOracleComputeUnitInGbs", "ncharacterSet", @@ -469218,12 +473231,20 @@ }, "characterSet": { "type": "string", - "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n", + "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c ours\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n", + "willReplaceOnChanges": true + }, + "cloneTableSpaceLists": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n", "willReplaceOnChanges": true }, "cloneType": { "type": "string", - "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n", + "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n", "willReplaceOnChanges": true }, "compartmentId": { @@ -469644,12 +473665,20 @@ }, "characterSet": { "type": "string", - "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n", + "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by [List Autonomous Database Character Sets](https://www.terraform.io/autonomousDatabaseCharacterSets)\n\nFor an Autonomous Database on dedicated infrastructure, the allowed values are:\n\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c ours\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n", + "willReplaceOnChanges": true + }, + "cloneTableSpaceLists": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n", "willReplaceOnChanges": true }, "cloneType": { "type": "string", - "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n", + "description": "The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n* `FULL` - This option creates a new database that includes all source database data.\n* `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data.\n", "willReplaceOnChanges": true }, "clusterPlacementGroupId": { @@ -469910,14 +473939,14 @@ }, "localDisasterRecoveryType": { "type": "string", - "description": "Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover.\n" + "description": "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.\n" }, "localStandbyDbs": { "type": "array", "items": { "$ref": "#/types/oci:Database/AutonomousDatabaseLocalStandbyDb:AutonomousDatabaseLocalStandbyDb" }, - "description": "Autonomous Data Guard local (same region) standby database details.\n" + "description": "Autonomous Data Guard standby database details.\n" }, "longTermBackupSchedules": { "type": "array", @@ -469926,6 +473955,10 @@ }, "description": "Details for the long-term backup schedule.\n" }, + "maintenanceTargetComponent": { + "type": "string", + "description": "The component chosen for maintenance.\n" + }, "maxCpuCoreCount": { "type": "integer", "description": "(Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.\n" @@ -472422,14 +476455,26 @@ "type": "string", "description": "The current lifecycle state of the backup destination.\n" }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The time when the total storage size and the utilized storage size of the backup destination are updated.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the backup destination was created.\n" }, + "totalStorageSizeInGbs": { + "type": "integer", + "description": "The total storage size of the backup destination in GBs, rounded to the nearest integer.\n" + }, "type": { "type": "string", "description": "Type of the backup destination.\n" }, + "utilizedStorageSizeInGbs": { + "type": "integer", + "description": "The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.\n" + }, "vpcUsers": { "type": "array", "items": { @@ -472451,8 +476496,11 @@ "nfsServers", "nfsServerExport", "state", + "timeAtWhichStorageDetailsAreUpdated", "timeCreated", - "type" + "totalStorageSizeInGbs", + "type", + "utilizedStorageSizeInGbs" ], "inputProperties": { "compartmentId": { @@ -472580,15 +476628,27 @@ "type": "string", "description": "The current lifecycle state of the backup destination.\n" }, + "timeAtWhichStorageDetailsAreUpdated": { + "type": "string", + "description": "The time when the total storage size and the utilized storage size of the backup destination are updated.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the backup destination was created.\n" }, + "totalStorageSizeInGbs": { + "type": "integer", + "description": "The total storage size of the backup destination in GBs, rounded to the nearest integer.\n" + }, "type": { "type": "string", "description": "Type of the backup destination.\n", "willReplaceOnChanges": true }, + "utilizedStorageSizeInGbs": { + "type": "integer", + "description": "The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.\n" + }, "vpcUsers": { "type": "array", "items": { @@ -474731,7 +478791,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 dbSystemSecurityAttributes: dataGuardAssociationDbSystemSecurityAttributes,\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 db_system_security_attributes=data_guard_association_db_system_security_attributes,\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 DbSystemSecurityAttributes = dataGuardAssociationDbSystemSecurityAttributes,\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\tDbSystemSecurityAttributes: pulumi.Any(dataGuardAssociationDbSystemSecurityAttributes),\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 .dbSystemSecurityAttributes(dataGuardAssociationDbSystemSecurityAttributes)\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 dbSystemSecurityAttributes: ${dataGuardAssociationDbSystemSecurityAttributes}\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", + "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 dbSystemSecurityAttributes: dataGuardAssociationDbSystemSecurityAttributes,\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 privateIpV6: dataGuardAssociationPrivateIpV6,\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 db_system_security_attributes=data_guard_association_db_system_security_attributes,\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 private_ip_v6=data_guard_association_private_ip_v6,\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 DbSystemSecurityAttributes = dataGuardAssociationDbSystemSecurityAttributes,\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 PrivateIpV6 = dataGuardAssociationPrivateIpV6,\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\tDbSystemSecurityAttributes: pulumi.Any(dataGuardAssociationDbSystemSecurityAttributes),\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\tPrivateIpV6: pulumi.Any(dataGuardAssociationPrivateIpV6),\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 .dbSystemSecurityAttributes(dataGuardAssociationDbSystemSecurityAttributes)\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 .privateIpV6(dataGuardAssociationPrivateIpV6)\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 dbSystemSecurityAttributes: ${dataGuardAssociationDbSystemSecurityAttributes}\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 privateIpV6: ${dataGuardAssociationPrivateIpV6}\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", @@ -474900,6 +478960,10 @@ "type": "string", "description": "The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.\n" }, + "privateIpV6": { + "type": "string", + "description": "The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet.\n" + }, "protectionMode": { "type": "string", "description": "(Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation.\n\n**IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE.\n" @@ -474957,6 +479021,7 @@ "peerDbSystemId", "peerRole", "peerVmClusterId", + "privateIpV6", "protectionMode", "role", "shape", @@ -475134,6 +479199,11 @@ "description": "The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.\n", "willReplaceOnChanges": true }, + "privateIpV6": { + "type": "string", + "description": "The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet.\n", + "willReplaceOnChanges": true + }, "protectionMode": { "type": "string", "description": "(Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation.\n\n**IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE.\n" @@ -475365,6 +479435,11 @@ "description": "The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.\n", "willReplaceOnChanges": true }, + "privateIpV6": { + "type": "string", + "description": "The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet.\n", + "willReplaceOnChanges": true + }, "protectionMode": { "type": "string", "description": "(Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation.\n\n**IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE.\n" @@ -477498,6 +481573,10 @@ "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. Supported for VM BM shape.\n" }, + "privateIpV6": { + "type": "string", + "description": "A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.\n" + }, "recoStorageSizeInGb": { "type": "integer", "description": "The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.\n" @@ -477515,7 +481594,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + }, + "scanIpv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" }, "securityAttributes": { "type": "object", @@ -477576,7 +481662,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster.\n" + }, + "vipv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" }, "zoneId": { "type": "string", @@ -477615,10 +481708,12 @@ "osVersion", "pointInTimeDataDiskCloneTimestamp", "privateIp", + "privateIpV6", "recoStorageSizeInGb", "scanDnsName", "scanDnsRecordId", "scanIpIds", + "scanIpv6ids", "securityAttributes", "shape", "source", @@ -477632,6 +481727,7 @@ "timeZone", "version", "vipIds", + "vipv6ids", "zoneId" ], "inputProperties": { @@ -477767,6 +481863,11 @@ "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. Supported for VM BM shape.\n", "willReplaceOnChanges": true }, + "privateIpV6": { + "type": "string", + "description": "A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.\n", + "willReplaceOnChanges": true + }, "recoStorageSizeInGb": { "type": "integer", "description": "The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.\n" @@ -478010,6 +482111,11 @@ "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. Supported for VM BM shape.\n", "willReplaceOnChanges": true }, + "privateIpV6": { + "type": "string", + "description": "A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.\n", + "willReplaceOnChanges": true + }, "recoStorageSizeInGb": { "type": "integer", "description": "The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.\n" @@ -478027,7 +482133,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" + }, + "scanIpv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.\n" }, "securityAttributes": { "type": "object", @@ -478094,7 +482207,14 @@ "items": { "type": "string" }, - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster.\n" + }, + "vipv6ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.\n" }, "zoneId": { "type": "string", @@ -503692,6 +507812,13 @@ "type": "string", "description": "The current state of the file system.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -503716,6 +507843,7 @@ "sourceDetails", "sourceSnapshotId", "state", + "systemTags", "timeCreated" ], "inputProperties": { @@ -503884,6 +508012,13 @@ "type": "string", "description": "The current state of the file system.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -503946,6 +508081,13 @@ "type": "string", "description": "(Updatable) The target state for the Filesystem Snapshot Policy. Could be set to `ACTIVE` or `INACTIVE`. \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. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -503962,6 +508104,7 @@ "policyPrefix", "schedules", "state", + "systemTags", "timeCreated" ], "inputProperties": { @@ -504079,6 +508222,13 @@ "type": "string", "description": "(Updatable) The target state for the Filesystem Snapshot Policy. Could be set to `ACTIVE` or `INACTIVE`. \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. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -504189,6 +508339,13 @@ "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" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\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" @@ -504218,6 +508375,7 @@ "reservedStorageCapacity", "state", "subnetId", + "systemTags", "timeBillingCycleEnd", "timeCreated" ], @@ -504412,6 +508570,13 @@ "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 }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\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" @@ -504490,6 +508655,13 @@ "type": "string", "description": "The current state of this outbound connector.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -504509,6 +508681,7 @@ "passwordSecretId", "passwordSecretVersion", "state", + "systemTags", "timeCreated" ], "inputProperties": { @@ -504659,6 +508832,13 @@ "type": "string", "description": "The current state of this outbound connector.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -504742,6 +508922,13 @@ "type": "string", "description": "The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "targetId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. \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" @@ -504768,6 +508955,7 @@ "replicationTargetId", "sourceId", "state", + "systemTags", "targetId", "timeCreated" ], @@ -504902,6 +509090,13 @@ "type": "string", "description": "The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "targetId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. \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", @@ -504982,6 +509177,13 @@ "type": "string", "description": "The current state of the snapshot.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -505002,6 +509204,7 @@ "snapshotTime", "snapshotType", "state", + "systemTags", "timeCreated" ], "inputProperties": { @@ -505118,6 +509321,13 @@ "type": "string", "description": "The current state of the snapshot.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n" + }, "timeCreated": { "type": "string", "description": "The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n" @@ -513198,7 +517408,7 @@ } }, "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 accountKeySecretId: testSecret.id,\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 clientSecretSecretId: testSecret.id,\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 doesUseSecretIds: connectionDoesUseSecretIds,\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 jndiSecurityCredentialsSecretId: testSecret.id,\n jndiSecurityPrincipal: connectionJndiSecurityPrincipal,\n keyId: testKey.id,\n keyStore: connectionKeyStore,\n keyStorePassword: connectionKeyStorePassword,\n keyStoreSecretId: testSecret.id,\n keyStorePasswordSecretId: testSecret.id,\n locks: [{\n type: connectionLocksType,\n message: connectionLocksMessage,\n }],\n nsgIds: connectionNsgIds,\n password: connectionPassword,\n passwordSecretId: testSecret.id,\n port: connectionPort,\n privateIp: connectionPrivateIp,\n privateKeyFile: connectionPrivateKeyFile,\n privateKeyFileSecretId: testSecret.id,\n privateKeyPassphrase: connectionPrivateKeyPassphrase,\n privateKeyPassphraseSecretId: testSecret.id,\n producerProperties: connectionProducerProperties,\n publicKeyFingerprint: connectionPublicKeyFingerprint,\n redisClusterId: testRedisCluster.id,\n region: connectionRegion,\n routingMethod: connectionRoutingMethod,\n sasToken: connectionSasToken,\n sasTokenSecretId: testSecret.id,\n secretAccessKey: connectionSecretAccessKey,\n secretAccessKeySecretId: testSecret.id,\n securityProtocol: connectionSecurityProtocol,\n servers: connectionServers,\n serviceAccountKeyFile: connectionServiceAccountKeyFile,\n serviceAccountKeyFileSecretId: testSecret.id,\n sessionMode: connectionSessionMode,\n shouldUseJndi: connectionShouldUseJndi,\n shouldValidateServerCertificate: connectionShouldValidateServerCertificate,\n sslCa: connectionSslCa,\n sslCert: connectionSslCert,\n sslClientKeystash: connectionSslClientKeystash,\n sslClientKeystashSecretId: testSecret.id,\n sslClientKeystoredb: connectionSslClientKeystoredb,\n sslClientKeystoredbSecretId: testSecret.id,\n sslCrl: connectionSslCrl,\n sslKey: connectionSslKey,\n sslKeyPassword: connectionSslKeyPassword,\n sslKeyPasswordSecretId: testSecret.id,\n sslKeySecretId: testSecret.id,\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 trustStorePasswordSecretId: testSecret.id,\n trustStoreSecretId: testSecret.id,\n url: connectionUrl,\n userId: testUser.id,\n username: connectionUsername,\n vaultId: testVault.id,\n wallet: connectionWallet,\n walletSecretId: testSecret.id,\n triggerRefresh: true,\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_key_secret_id=test_secret[\"id\"],\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 client_secret_secret_id=test_secret[\"id\"],\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 does_use_secret_ids=connection_does_use_secret_ids,\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_credentials_secret_id=test_secret[\"id\"],\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 key_store_secret_id=test_secret[\"id\"],\n key_store_password_secret_id=test_secret[\"id\"],\n locks=[{\n \"type\": connection_locks_type,\n \"message\": connection_locks_message,\n }],\n nsg_ids=connection_nsg_ids,\n password=connection_password,\n password_secret_id=test_secret[\"id\"],\n port=connection_port,\n private_ip=connection_private_ip,\n private_key_file=connection_private_key_file,\n private_key_file_secret_id=test_secret[\"id\"],\n private_key_passphrase=connection_private_key_passphrase,\n private_key_passphrase_secret_id=test_secret[\"id\"],\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 sas_token_secret_id=test_secret[\"id\"],\n secret_access_key=connection_secret_access_key,\n secret_access_key_secret_id=test_secret[\"id\"],\n security_protocol=connection_security_protocol,\n servers=connection_servers,\n service_account_key_file=connection_service_account_key_file,\n service_account_key_file_secret_id=test_secret[\"id\"],\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_keystash_secret_id=test_secret[\"id\"],\n ssl_client_keystoredb=connection_ssl_client_keystoredb,\n ssl_client_keystoredb_secret_id=test_secret[\"id\"],\n ssl_crl=connection_ssl_crl,\n ssl_key=connection_ssl_key,\n ssl_key_password=connection_ssl_key_password,\n ssl_key_password_secret_id=test_secret[\"id\"],\n ssl_key_secret_id=test_secret[\"id\"],\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 trust_store_password_secret_id=test_secret[\"id\"],\n trust_store_secret_id=test_secret[\"id\"],\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 wallet_secret_id=test_secret[\"id\"],\n trigger_refresh=True)\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 AccountKeySecretId = testSecret.Id,\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 ClientSecretSecretId = testSecret.Id,\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 DoesUseSecretIds = connectionDoesUseSecretIds,\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 JndiSecurityCredentialsSecretId = testSecret.Id,\n JndiSecurityPrincipal = connectionJndiSecurityPrincipal,\n KeyId = testKey.Id,\n KeyStore = connectionKeyStore,\n KeyStorePassword = connectionKeyStorePassword,\n KeyStoreSecretId = testSecret.Id,\n KeyStorePasswordSecretId = testSecret.Id,\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 PasswordSecretId = testSecret.Id,\n Port = connectionPort,\n PrivateIp = connectionPrivateIp,\n PrivateKeyFile = connectionPrivateKeyFile,\n PrivateKeyFileSecretId = testSecret.Id,\n PrivateKeyPassphrase = connectionPrivateKeyPassphrase,\n PrivateKeyPassphraseSecretId = testSecret.Id,\n ProducerProperties = connectionProducerProperties,\n PublicKeyFingerprint = connectionPublicKeyFingerprint,\n RedisClusterId = testRedisCluster.Id,\n Region = connectionRegion,\n RoutingMethod = connectionRoutingMethod,\n SasToken = connectionSasToken,\n SasTokenSecretId = testSecret.Id,\n SecretAccessKey = connectionSecretAccessKey,\n SecretAccessKeySecretId = testSecret.Id,\n SecurityProtocol = connectionSecurityProtocol,\n Servers = connectionServers,\n ServiceAccountKeyFile = connectionServiceAccountKeyFile,\n ServiceAccountKeyFileSecretId = testSecret.Id,\n SessionMode = connectionSessionMode,\n ShouldUseJndi = connectionShouldUseJndi,\n ShouldValidateServerCertificate = connectionShouldValidateServerCertificate,\n SslCa = connectionSslCa,\n SslCert = connectionSslCert,\n SslClientKeystash = connectionSslClientKeystash,\n SslClientKeystashSecretId = testSecret.Id,\n SslClientKeystoredb = connectionSslClientKeystoredb,\n SslClientKeystoredbSecretId = testSecret.Id,\n SslCrl = connectionSslCrl,\n SslKey = connectionSslKey,\n SslKeyPassword = connectionSslKeyPassword,\n SslKeyPasswordSecretId = testSecret.Id,\n SslKeySecretId = testSecret.Id,\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 TrustStorePasswordSecretId = testSecret.Id,\n TrustStoreSecretId = testSecret.Id,\n Url = connectionUrl,\n UserId = testUser.Id,\n Username = connectionUsername,\n VaultId = testVault.Id,\n Wallet = connectionWallet,\n WalletSecretId = testSecret.Id,\n TriggerRefresh = true,\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\tAccountKeySecretId: pulumi.Any(testSecret.Id),\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\tClientSecretSecretId: pulumi.Any(testSecret.Id),\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\tDoesUseSecretIds: pulumi.Any(connectionDoesUseSecretIds),\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\tJndiSecurityCredentialsSecretId: pulumi.Any(testSecret.Id),\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\tKeyStoreSecretId: pulumi.Any(testSecret.Id),\n\t\t\tKeyStorePasswordSecretId: pulumi.Any(testSecret.Id),\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\tPasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tPort: pulumi.Any(connectionPort),\n\t\t\tPrivateIp: pulumi.Any(connectionPrivateIp),\n\t\t\tPrivateKeyFile: pulumi.Any(connectionPrivateKeyFile),\n\t\t\tPrivateKeyFileSecretId: pulumi.Any(testSecret.Id),\n\t\t\tPrivateKeyPassphrase: pulumi.Any(connectionPrivateKeyPassphrase),\n\t\t\tPrivateKeyPassphraseSecretId: pulumi.Any(testSecret.Id),\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\tSasTokenSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSecretAccessKey: pulumi.Any(connectionSecretAccessKey),\n\t\t\tSecretAccessKeySecretId: pulumi.Any(testSecret.Id),\n\t\t\tSecurityProtocol: pulumi.Any(connectionSecurityProtocol),\n\t\t\tServers: pulumi.Any(connectionServers),\n\t\t\tServiceAccountKeyFile: pulumi.Any(connectionServiceAccountKeyFile),\n\t\t\tServiceAccountKeyFileSecretId: pulumi.Any(testSecret.Id),\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\tSslClientKeystashSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslClientKeystoredb: pulumi.Any(connectionSslClientKeystoredb),\n\t\t\tSslClientKeystoredbSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslCrl: pulumi.Any(connectionSslCrl),\n\t\t\tSslKey: pulumi.Any(connectionSslKey),\n\t\t\tSslKeyPassword: pulumi.Any(connectionSslKeyPassword),\n\t\t\tSslKeyPasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslKeySecretId: pulumi.Any(testSecret.Id),\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\tTrustStorePasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTrustStoreSecretId: pulumi.Any(testSecret.Id),\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\tWalletSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTriggerRefresh: pulumi.Bool(true),\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 .accountKeySecretId(testSecret.id())\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 .clientSecretSecretId(testSecret.id())\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 .doesUseSecretIds(connectionDoesUseSecretIds)\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 .jndiSecurityCredentialsSecretId(testSecret.id())\n .jndiSecurityPrincipal(connectionJndiSecurityPrincipal)\n .keyId(testKey.id())\n .keyStore(connectionKeyStore)\n .keyStorePassword(connectionKeyStorePassword)\n .keyStoreSecretId(testSecret.id())\n .keyStorePasswordSecretId(testSecret.id())\n .locks(ConnectionLockArgs.builder()\n .type(connectionLocksType)\n .message(connectionLocksMessage)\n .build())\n .nsgIds(connectionNsgIds)\n .password(connectionPassword)\n .passwordSecretId(testSecret.id())\n .port(connectionPort)\n .privateIp(connectionPrivateIp)\n .privateKeyFile(connectionPrivateKeyFile)\n .privateKeyFileSecretId(testSecret.id())\n .privateKeyPassphrase(connectionPrivateKeyPassphrase)\n .privateKeyPassphraseSecretId(testSecret.id())\n .producerProperties(connectionProducerProperties)\n .publicKeyFingerprint(connectionPublicKeyFingerprint)\n .redisClusterId(testRedisCluster.id())\n .region(connectionRegion)\n .routingMethod(connectionRoutingMethod)\n .sasToken(connectionSasToken)\n .sasTokenSecretId(testSecret.id())\n .secretAccessKey(connectionSecretAccessKey)\n .secretAccessKeySecretId(testSecret.id())\n .securityProtocol(connectionSecurityProtocol)\n .servers(connectionServers)\n .serviceAccountKeyFile(connectionServiceAccountKeyFile)\n .serviceAccountKeyFileSecretId(testSecret.id())\n .sessionMode(connectionSessionMode)\n .shouldUseJndi(connectionShouldUseJndi)\n .shouldValidateServerCertificate(connectionShouldValidateServerCertificate)\n .sslCa(connectionSslCa)\n .sslCert(connectionSslCert)\n .sslClientKeystash(connectionSslClientKeystash)\n .sslClientKeystashSecretId(testSecret.id())\n .sslClientKeystoredb(connectionSslClientKeystoredb)\n .sslClientKeystoredbSecretId(testSecret.id())\n .sslCrl(connectionSslCrl)\n .sslKey(connectionSslKey)\n .sslKeyPassword(connectionSslKeyPassword)\n .sslKeyPasswordSecretId(testSecret.id())\n .sslKeySecretId(testSecret.id())\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 .trustStorePasswordSecretId(testSecret.id())\n .trustStoreSecretId(testSecret.id())\n .url(connectionUrl)\n .userId(testUser.id())\n .username(connectionUsername)\n .vaultId(testVault.id())\n .wallet(connectionWallet)\n .walletSecretId(testSecret.id())\n .triggerRefresh(true)\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 accountKeySecretId: ${testSecret.id}\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 clientSecretSecretId: ${testSecret.id}\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 doesUseSecretIds: ${connectionDoesUseSecretIds}\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 jndiSecurityCredentialsSecretId: ${testSecret.id}\n jndiSecurityPrincipal: ${connectionJndiSecurityPrincipal}\n keyId: ${testKey.id}\n keyStore: ${connectionKeyStore}\n keyStorePassword: ${connectionKeyStorePassword}\n keyStoreSecretId: ${testSecret.id}\n keyStorePasswordSecretId: ${testSecret.id}\n locks:\n - type: ${connectionLocksType}\n message: ${connectionLocksMessage}\n nsgIds: ${connectionNsgIds}\n password: ${connectionPassword}\n passwordSecretId: ${testSecret.id}\n port: ${connectionPort}\n privateIp: ${connectionPrivateIp}\n privateKeyFile: ${connectionPrivateKeyFile}\n privateKeyFileSecretId: ${testSecret.id}\n privateKeyPassphrase: ${connectionPrivateKeyPassphrase}\n privateKeyPassphraseSecretId: ${testSecret.id}\n producerProperties: ${connectionProducerProperties}\n publicKeyFingerprint: ${connectionPublicKeyFingerprint}\n redisClusterId: ${testRedisCluster.id}\n region: ${connectionRegion}\n routingMethod: ${connectionRoutingMethod}\n sasToken: ${connectionSasToken}\n sasTokenSecretId: ${testSecret.id}\n secretAccessKey: ${connectionSecretAccessKey}\n secretAccessKeySecretId: ${testSecret.id}\n securityProtocol: ${connectionSecurityProtocol}\n servers: ${connectionServers}\n serviceAccountKeyFile: ${connectionServiceAccountKeyFile}\n serviceAccountKeyFileSecretId: ${testSecret.id}\n sessionMode: ${connectionSessionMode}\n shouldUseJndi: ${connectionShouldUseJndi}\n shouldValidateServerCertificate: ${connectionShouldValidateServerCertificate}\n sslCa: ${connectionSslCa}\n sslCert: ${connectionSslCert}\n sslClientKeystash: ${connectionSslClientKeystash}\n sslClientKeystashSecretId: ${testSecret.id}\n sslClientKeystoredb: ${connectionSslClientKeystoredb}\n sslClientKeystoredbSecretId: ${testSecret.id}\n sslCrl: ${connectionSslCrl}\n sslKey: ${connectionSslKey}\n sslKeyPassword: ${connectionSslKeyPassword}\n sslKeyPasswordSecretId: ${testSecret.id}\n sslKeySecretId: ${testSecret.id}\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 trustStorePasswordSecretId: ${testSecret.id}\n trustStoreSecretId: ${testSecret.id}\n url: ${connectionUrl}\n userId: ${testUser.id}\n username: ${connectionUsername}\n vaultId: ${testVault.id}\n wallet: ${connectionWallet}\n walletSecretId: ${testSecret.id}\n triggerRefresh: true\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", + "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 accountKeySecretId: testSecret.id,\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 clientSecretSecretId: testSecret.id,\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 doesUseSecretIds: connectionDoesUseSecretIds,\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 jndiSecurityCredentialsSecretId: testSecret.id,\n jndiSecurityPrincipal: connectionJndiSecurityPrincipal,\n keyId: testKey.id,\n keyStore: connectionKeyStore,\n keyStorePassword: connectionKeyStorePassword,\n keyStoreSecretId: testSecret.id,\n keyStorePasswordSecretId: testSecret.id,\n locks: [{\n type: connectionLocksType,\n message: connectionLocksMessage,\n }],\n nsgIds: connectionNsgIds,\n password: connectionPassword,\n passwordSecretId: testSecret.id,\n port: connectionPort,\n privateIp: connectionPrivateIp,\n privateKeyFile: connectionPrivateKeyFile,\n privateKeyFileSecretId: testSecret.id,\n privateKeyPassphrase: connectionPrivateKeyPassphrase,\n privateKeyPassphraseSecretId: testSecret.id,\n producerProperties: connectionProducerProperties,\n publicKeyFingerprint: connectionPublicKeyFingerprint,\n redisClusterId: testRedisCluster.id,\n region: connectionRegion,\n routingMethod: connectionRoutingMethod,\n sasToken: connectionSasToken,\n sasTokenSecretId: testSecret.id,\n secretAccessKey: connectionSecretAccessKey,\n secretAccessKeySecretId: testSecret.id,\n securityProtocol: connectionSecurityProtocol,\n servers: connectionServers,\n serviceAccountKeyFile: connectionServiceAccountKeyFile,\n serviceAccountKeyFileSecretId: testSecret.id,\n sessionMode: connectionSessionMode,\n shouldUseJndi: connectionShouldUseJndi,\n shouldUseResourcePrincipal: connectionShouldUseResourcePrincipal,\n shouldValidateServerCertificate: connectionShouldValidateServerCertificate,\n sslCa: connectionSslCa,\n sslCert: connectionSslCert,\n sslClientKeystash: connectionSslClientKeystash,\n sslClientKeystashSecretId: testSecret.id,\n sslClientKeystoredb: connectionSslClientKeystoredb,\n sslClientKeystoredbSecretId: testSecret.id,\n sslCrl: connectionSslCrl,\n sslKey: connectionSslKey,\n sslKeyPassword: connectionSslKeyPassword,\n sslKeyPasswordSecretId: testSecret.id,\n sslKeySecretId: testSecret.id,\n sslMode: connectionSslMode,\n sslServerCertificate: connectionSslServerCertificate,\n storageCredentialName: connectionStorageCredentialName,\n streamPoolId: testStreamPool.id,\n subnetId: testSubnet.id,\n tenancyId: testTenancy.id,\n tenantId: testTenant.id,\n tlsCaFile: connectionTlsCaFile,\n tlsCertificateKeyFile: connectionTlsCertificateKeyFile,\n tlsCertificateKeyFilePassword: connectionTlsCertificateKeyFilePassword,\n tlsCertificateKeyFilePasswordSecretId: testSecret.id,\n tlsCertificateKeyFileSecretId: testSecret.id,\n trustStore: connectionTrustStore,\n trustStorePassword: connectionTrustStorePassword,\n trustStorePasswordSecretId: testSecret.id,\n trustStoreSecretId: testSecret.id,\n url: connectionUrl,\n userId: testUser.id,\n username: connectionUsername,\n vaultId: testVault.id,\n wallet: connectionWallet,\n walletSecretId: testSecret.id,\n triggerRefresh: true,\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_key_secret_id=test_secret[\"id\"],\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 client_secret_secret_id=test_secret[\"id\"],\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 does_use_secret_ids=connection_does_use_secret_ids,\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_credentials_secret_id=test_secret[\"id\"],\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 key_store_secret_id=test_secret[\"id\"],\n key_store_password_secret_id=test_secret[\"id\"],\n locks=[{\n \"type\": connection_locks_type,\n \"message\": connection_locks_message,\n }],\n nsg_ids=connection_nsg_ids,\n password=connection_password,\n password_secret_id=test_secret[\"id\"],\n port=connection_port,\n private_ip=connection_private_ip,\n private_key_file=connection_private_key_file,\n private_key_file_secret_id=test_secret[\"id\"],\n private_key_passphrase=connection_private_key_passphrase,\n private_key_passphrase_secret_id=test_secret[\"id\"],\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 sas_token_secret_id=test_secret[\"id\"],\n secret_access_key=connection_secret_access_key,\n secret_access_key_secret_id=test_secret[\"id\"],\n security_protocol=connection_security_protocol,\n servers=connection_servers,\n service_account_key_file=connection_service_account_key_file,\n service_account_key_file_secret_id=test_secret[\"id\"],\n session_mode=connection_session_mode,\n should_use_jndi=connection_should_use_jndi,\n should_use_resource_principal=connection_should_use_resource_principal,\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_keystash_secret_id=test_secret[\"id\"],\n ssl_client_keystoredb=connection_ssl_client_keystoredb,\n ssl_client_keystoredb_secret_id=test_secret[\"id\"],\n ssl_crl=connection_ssl_crl,\n ssl_key=connection_ssl_key,\n ssl_key_password=connection_ssl_key_password,\n ssl_key_password_secret_id=test_secret[\"id\"],\n ssl_key_secret_id=test_secret[\"id\"],\n ssl_mode=connection_ssl_mode,\n ssl_server_certificate=connection_ssl_server_certificate,\n storage_credential_name=connection_storage_credential_name,\n stream_pool_id=test_stream_pool[\"id\"],\n subnet_id=test_subnet[\"id\"],\n tenancy_id=test_tenancy[\"id\"],\n tenant_id=test_tenant[\"id\"],\n tls_ca_file=connection_tls_ca_file,\n tls_certificate_key_file=connection_tls_certificate_key_file,\n tls_certificate_key_file_password=connection_tls_certificate_key_file_password,\n tls_certificate_key_file_password_secret_id=test_secret[\"id\"],\n tls_certificate_key_file_secret_id=test_secret[\"id\"],\n trust_store=connection_trust_store,\n trust_store_password=connection_trust_store_password,\n trust_store_password_secret_id=test_secret[\"id\"],\n trust_store_secret_id=test_secret[\"id\"],\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 wallet_secret_id=test_secret[\"id\"],\n trigger_refresh=True)\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 AccountKeySecretId = testSecret.Id,\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 ClientSecretSecretId = testSecret.Id,\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 DoesUseSecretIds = connectionDoesUseSecretIds,\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 JndiSecurityCredentialsSecretId = testSecret.Id,\n JndiSecurityPrincipal = connectionJndiSecurityPrincipal,\n KeyId = testKey.Id,\n KeyStore = connectionKeyStore,\n KeyStorePassword = connectionKeyStorePassword,\n KeyStoreSecretId = testSecret.Id,\n KeyStorePasswordSecretId = testSecret.Id,\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 PasswordSecretId = testSecret.Id,\n Port = connectionPort,\n PrivateIp = connectionPrivateIp,\n PrivateKeyFile = connectionPrivateKeyFile,\n PrivateKeyFileSecretId = testSecret.Id,\n PrivateKeyPassphrase = connectionPrivateKeyPassphrase,\n PrivateKeyPassphraseSecretId = testSecret.Id,\n ProducerProperties = connectionProducerProperties,\n PublicKeyFingerprint = connectionPublicKeyFingerprint,\n RedisClusterId = testRedisCluster.Id,\n Region = connectionRegion,\n RoutingMethod = connectionRoutingMethod,\n SasToken = connectionSasToken,\n SasTokenSecretId = testSecret.Id,\n SecretAccessKey = connectionSecretAccessKey,\n SecretAccessKeySecretId = testSecret.Id,\n SecurityProtocol = connectionSecurityProtocol,\n Servers = connectionServers,\n ServiceAccountKeyFile = connectionServiceAccountKeyFile,\n ServiceAccountKeyFileSecretId = testSecret.Id,\n SessionMode = connectionSessionMode,\n ShouldUseJndi = connectionShouldUseJndi,\n ShouldUseResourcePrincipal = connectionShouldUseResourcePrincipal,\n ShouldValidateServerCertificate = connectionShouldValidateServerCertificate,\n SslCa = connectionSslCa,\n SslCert = connectionSslCert,\n SslClientKeystash = connectionSslClientKeystash,\n SslClientKeystashSecretId = testSecret.Id,\n SslClientKeystoredb = connectionSslClientKeystoredb,\n SslClientKeystoredbSecretId = testSecret.Id,\n SslCrl = connectionSslCrl,\n SslKey = connectionSslKey,\n SslKeyPassword = connectionSslKeyPassword,\n SslKeyPasswordSecretId = testSecret.Id,\n SslKeySecretId = testSecret.Id,\n SslMode = connectionSslMode,\n SslServerCertificate = connectionSslServerCertificate,\n StorageCredentialName = connectionStorageCredentialName,\n StreamPoolId = testStreamPool.Id,\n SubnetId = testSubnet.Id,\n TenancyId = testTenancy.Id,\n TenantId = testTenant.Id,\n TlsCaFile = connectionTlsCaFile,\n TlsCertificateKeyFile = connectionTlsCertificateKeyFile,\n TlsCertificateKeyFilePassword = connectionTlsCertificateKeyFilePassword,\n TlsCertificateKeyFilePasswordSecretId = testSecret.Id,\n TlsCertificateKeyFileSecretId = testSecret.Id,\n TrustStore = connectionTrustStore,\n TrustStorePassword = connectionTrustStorePassword,\n TrustStorePasswordSecretId = testSecret.Id,\n TrustStoreSecretId = testSecret.Id,\n Url = connectionUrl,\n UserId = testUser.Id,\n Username = connectionUsername,\n VaultId = testVault.Id,\n Wallet = connectionWallet,\n WalletSecretId = testSecret.Id,\n TriggerRefresh = true,\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\tAccountKeySecretId: pulumi.Any(testSecret.Id),\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\tClientSecretSecretId: pulumi.Any(testSecret.Id),\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\tDoesUseSecretIds: pulumi.Any(connectionDoesUseSecretIds),\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\tJndiSecurityCredentialsSecretId: pulumi.Any(testSecret.Id),\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\tKeyStoreSecretId: pulumi.Any(testSecret.Id),\n\t\t\tKeyStorePasswordSecretId: pulumi.Any(testSecret.Id),\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\tPasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tPort: pulumi.Any(connectionPort),\n\t\t\tPrivateIp: pulumi.Any(connectionPrivateIp),\n\t\t\tPrivateKeyFile: pulumi.Any(connectionPrivateKeyFile),\n\t\t\tPrivateKeyFileSecretId: pulumi.Any(testSecret.Id),\n\t\t\tPrivateKeyPassphrase: pulumi.Any(connectionPrivateKeyPassphrase),\n\t\t\tPrivateKeyPassphraseSecretId: pulumi.Any(testSecret.Id),\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\tSasTokenSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSecretAccessKey: pulumi.Any(connectionSecretAccessKey),\n\t\t\tSecretAccessKeySecretId: pulumi.Any(testSecret.Id),\n\t\t\tSecurityProtocol: pulumi.Any(connectionSecurityProtocol),\n\t\t\tServers: pulumi.Any(connectionServers),\n\t\t\tServiceAccountKeyFile: pulumi.Any(connectionServiceAccountKeyFile),\n\t\t\tServiceAccountKeyFileSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSessionMode: pulumi.Any(connectionSessionMode),\n\t\t\tShouldUseJndi: pulumi.Any(connectionShouldUseJndi),\n\t\t\tShouldUseResourcePrincipal: pulumi.Any(connectionShouldUseResourcePrincipal),\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\tSslClientKeystashSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslClientKeystoredb: pulumi.Any(connectionSslClientKeystoredb),\n\t\t\tSslClientKeystoredbSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslCrl: pulumi.Any(connectionSslCrl),\n\t\t\tSslKey: pulumi.Any(connectionSslKey),\n\t\t\tSslKeyPassword: pulumi.Any(connectionSslKeyPassword),\n\t\t\tSslKeyPasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslKeySecretId: pulumi.Any(testSecret.Id),\n\t\t\tSslMode: pulumi.Any(connectionSslMode),\n\t\t\tSslServerCertificate: pulumi.Any(connectionSslServerCertificate),\n\t\t\tStorageCredentialName: pulumi.Any(connectionStorageCredentialName),\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\tTenantId: pulumi.Any(testTenant.Id),\n\t\t\tTlsCaFile: pulumi.Any(connectionTlsCaFile),\n\t\t\tTlsCertificateKeyFile: pulumi.Any(connectionTlsCertificateKeyFile),\n\t\t\tTlsCertificateKeyFilePassword: pulumi.Any(connectionTlsCertificateKeyFilePassword),\n\t\t\tTlsCertificateKeyFilePasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTlsCertificateKeyFileSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTrustStore: pulumi.Any(connectionTrustStore),\n\t\t\tTrustStorePassword: pulumi.Any(connectionTrustStorePassword),\n\t\t\tTrustStorePasswordSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTrustStoreSecretId: pulumi.Any(testSecret.Id),\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\tWalletSecretId: pulumi.Any(testSecret.Id),\n\t\t\tTriggerRefresh: pulumi.Bool(true),\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 .accountKeySecretId(testSecret.id())\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 .clientSecretSecretId(testSecret.id())\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 .doesUseSecretIds(connectionDoesUseSecretIds)\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 .jndiSecurityCredentialsSecretId(testSecret.id())\n .jndiSecurityPrincipal(connectionJndiSecurityPrincipal)\n .keyId(testKey.id())\n .keyStore(connectionKeyStore)\n .keyStorePassword(connectionKeyStorePassword)\n .keyStoreSecretId(testSecret.id())\n .keyStorePasswordSecretId(testSecret.id())\n .locks(ConnectionLockArgs.builder()\n .type(connectionLocksType)\n .message(connectionLocksMessage)\n .build())\n .nsgIds(connectionNsgIds)\n .password(connectionPassword)\n .passwordSecretId(testSecret.id())\n .port(connectionPort)\n .privateIp(connectionPrivateIp)\n .privateKeyFile(connectionPrivateKeyFile)\n .privateKeyFileSecretId(testSecret.id())\n .privateKeyPassphrase(connectionPrivateKeyPassphrase)\n .privateKeyPassphraseSecretId(testSecret.id())\n .producerProperties(connectionProducerProperties)\n .publicKeyFingerprint(connectionPublicKeyFingerprint)\n .redisClusterId(testRedisCluster.id())\n .region(connectionRegion)\n .routingMethod(connectionRoutingMethod)\n .sasToken(connectionSasToken)\n .sasTokenSecretId(testSecret.id())\n .secretAccessKey(connectionSecretAccessKey)\n .secretAccessKeySecretId(testSecret.id())\n .securityProtocol(connectionSecurityProtocol)\n .servers(connectionServers)\n .serviceAccountKeyFile(connectionServiceAccountKeyFile)\n .serviceAccountKeyFileSecretId(testSecret.id())\n .sessionMode(connectionSessionMode)\n .shouldUseJndi(connectionShouldUseJndi)\n .shouldUseResourcePrincipal(connectionShouldUseResourcePrincipal)\n .shouldValidateServerCertificate(connectionShouldValidateServerCertificate)\n .sslCa(connectionSslCa)\n .sslCert(connectionSslCert)\n .sslClientKeystash(connectionSslClientKeystash)\n .sslClientKeystashSecretId(testSecret.id())\n .sslClientKeystoredb(connectionSslClientKeystoredb)\n .sslClientKeystoredbSecretId(testSecret.id())\n .sslCrl(connectionSslCrl)\n .sslKey(connectionSslKey)\n .sslKeyPassword(connectionSslKeyPassword)\n .sslKeyPasswordSecretId(testSecret.id())\n .sslKeySecretId(testSecret.id())\n .sslMode(connectionSslMode)\n .sslServerCertificate(connectionSslServerCertificate)\n .storageCredentialName(connectionStorageCredentialName)\n .streamPoolId(testStreamPool.id())\n .subnetId(testSubnet.id())\n .tenancyId(testTenancy.id())\n .tenantId(testTenant.id())\n .tlsCaFile(connectionTlsCaFile)\n .tlsCertificateKeyFile(connectionTlsCertificateKeyFile)\n .tlsCertificateKeyFilePassword(connectionTlsCertificateKeyFilePassword)\n .tlsCertificateKeyFilePasswordSecretId(testSecret.id())\n .tlsCertificateKeyFileSecretId(testSecret.id())\n .trustStore(connectionTrustStore)\n .trustStorePassword(connectionTrustStorePassword)\n .trustStorePasswordSecretId(testSecret.id())\n .trustStoreSecretId(testSecret.id())\n .url(connectionUrl)\n .userId(testUser.id())\n .username(connectionUsername)\n .vaultId(testVault.id())\n .wallet(connectionWallet)\n .walletSecretId(testSecret.id())\n .triggerRefresh(true)\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 accountKeySecretId: ${testSecret.id}\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 clientSecretSecretId: ${testSecret.id}\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 doesUseSecretIds: ${connectionDoesUseSecretIds}\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 jndiSecurityCredentialsSecretId: ${testSecret.id}\n jndiSecurityPrincipal: ${connectionJndiSecurityPrincipal}\n keyId: ${testKey.id}\n keyStore: ${connectionKeyStore}\n keyStorePassword: ${connectionKeyStorePassword}\n keyStoreSecretId: ${testSecret.id}\n keyStorePasswordSecretId: ${testSecret.id}\n locks:\n - type: ${connectionLocksType}\n message: ${connectionLocksMessage}\n nsgIds: ${connectionNsgIds}\n password: ${connectionPassword}\n passwordSecretId: ${testSecret.id}\n port: ${connectionPort}\n privateIp: ${connectionPrivateIp}\n privateKeyFile: ${connectionPrivateKeyFile}\n privateKeyFileSecretId: ${testSecret.id}\n privateKeyPassphrase: ${connectionPrivateKeyPassphrase}\n privateKeyPassphraseSecretId: ${testSecret.id}\n producerProperties: ${connectionProducerProperties}\n publicKeyFingerprint: ${connectionPublicKeyFingerprint}\n redisClusterId: ${testRedisCluster.id}\n region: ${connectionRegion}\n routingMethod: ${connectionRoutingMethod}\n sasToken: ${connectionSasToken}\n sasTokenSecretId: ${testSecret.id}\n secretAccessKey: ${connectionSecretAccessKey}\n secretAccessKeySecretId: ${testSecret.id}\n securityProtocol: ${connectionSecurityProtocol}\n servers: ${connectionServers}\n serviceAccountKeyFile: ${connectionServiceAccountKeyFile}\n serviceAccountKeyFileSecretId: ${testSecret.id}\n sessionMode: ${connectionSessionMode}\n shouldUseJndi: ${connectionShouldUseJndi}\n shouldUseResourcePrincipal: ${connectionShouldUseResourcePrincipal}\n shouldValidateServerCertificate: ${connectionShouldValidateServerCertificate}\n sslCa: ${connectionSslCa}\n sslCert: ${connectionSslCert}\n sslClientKeystash: ${connectionSslClientKeystash}\n sslClientKeystashSecretId: ${testSecret.id}\n sslClientKeystoredb: ${connectionSslClientKeystoredb}\n sslClientKeystoredbSecretId: ${testSecret.id}\n sslCrl: ${connectionSslCrl}\n sslKey: ${connectionSslKey}\n sslKeyPassword: ${connectionSslKeyPassword}\n sslKeyPasswordSecretId: ${testSecret.id}\n sslKeySecretId: ${testSecret.id}\n sslMode: ${connectionSslMode}\n sslServerCertificate: ${connectionSslServerCertificate}\n storageCredentialName: ${connectionStorageCredentialName}\n streamPoolId: ${testStreamPool.id}\n subnetId: ${testSubnet.id}\n tenancyId: ${testTenancy.id}\n tenantId: ${testTenant.id}\n tlsCaFile: ${connectionTlsCaFile}\n tlsCertificateKeyFile: ${connectionTlsCertificateKeyFile}\n tlsCertificateKeyFilePassword: ${connectionTlsCertificateKeyFilePassword}\n tlsCertificateKeyFilePasswordSecretId: ${testSecret.id}\n tlsCertificateKeyFileSecretId: ${testSecret.id}\n trustStore: ${connectionTrustStore}\n trustStorePassword: ${connectionTrustStorePassword}\n trustStorePasswordSecretId: ${testSecret.id}\n trustStoreSecretId: ${testSecret.id}\n url: ${connectionUrl}\n userId: ${testUser.id}\n username: ${connectionUsername}\n vaultId: ${testVault.id}\n wallet: ${connectionWallet}\n walletSecretId: ${testSecret.id}\n triggerRefresh: true\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": { "accessKeyId": { "type": "string", @@ -513206,7 +517416,7 @@ }, "accountKey": { "type": "string", - "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==\n", + "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by \"accountKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "accountKeySecretId": { @@ -513249,12 +517459,12 @@ }, "clientSecret": { "type": "string", - "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1\n", + "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by \"clientSecretSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "clientSecretSecretId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided.\n" }, "compartmentId": { "type": "string", @@ -513274,7 +517484,7 @@ }, "connectionUrl": { "type": "string", - "description": "(Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n" + "description": "(Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'\n" }, "consumerProperties": { "type": "string", @@ -513321,7 +517531,7 @@ }, "endpoint": { "type": "string", - "description": "(Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net\n" + "description": "(Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com\n" }, "fingerprint": { "type": "string", @@ -513362,7 +517572,7 @@ }, "jndiSecurityCredentials": { "type": "string", - "description": "(Updatable) The password associated to the principal.\n", + "description": "(Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by \"jndiSecurityCredentialsSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "jndiSecurityCredentialsSecretId": { @@ -513379,12 +517589,12 @@ }, "keyStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the KeyStore file.\n", + "description": "(Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by \"keyStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePassword": { "type": "string", - "description": "(Updatable) The KeyStore password.\n", + "description": "(Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by \"keyStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePasswordSecretId": { @@ -513415,7 +517625,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "passwordSecretId": { @@ -513432,7 +517642,7 @@ }, "privateKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm\n", + "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyFileSecretId": { @@ -513441,7 +517651,7 @@ }, "privateKeyPassphrase": { "type": "string", - "description": "(Updatable) Password if the private key file is encrypted.\n", + "description": "(Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyPassphraseSecretId": { @@ -513462,7 +517672,7 @@ }, "region": { "type": "string", - "description": "(Updatable) The name of the region. e.g.: us-ashburn-1\n" + "description": "(Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.\n" }, "routingMethod": { "type": "string", @@ -513470,7 +517680,7 @@ }, "sasToken": { "type": "string", - "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D\n", + "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by \"sasTokenSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sasTokenSecretId": { @@ -513479,7 +517689,7 @@ }, "secretAccessKey": { "type": "string", - "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\"\n", + "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\" Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "secretAccessKeySecretId": { @@ -513496,7 +517706,7 @@ }, "serviceAccountKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage.\n", + "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by \"serviceAccountKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "serviceAccountKeyFileSecretId": { @@ -513511,6 +517721,10 @@ "type": "boolean", "description": "(Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.\n" }, + "shouldUseResourcePrincipal": { + "type": "boolean", + "description": "(Updatable) Indicates that the user intents to connect to the instance through resource principal.\n" + }, "shouldValidateServerCertificate": { "type": "boolean", "description": "(Updatable) If set to true, the driver validates the certificate that is sent by the database server.\n" @@ -513525,7 +517739,7 @@ }, "sslClientKeystash": { "type": "string", - "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file.\n", + "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by \"sslClientKeystashSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystashSecretId": { @@ -513534,7 +517748,7 @@ }, "sslClientKeystoredb": { "type": "string", - "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.\n", + "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by \"sslClientKeystoredbSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystoredbSecretId": { @@ -513547,12 +517761,12 @@ }, "sslKey": { "type": "string", - "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).\n", + "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"sslKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPassword": { "type": "string", - "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided.\n", + "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by \"sslKeyPasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPasswordSecretId": { @@ -513575,6 +517789,10 @@ "type": "string", "description": "Possible lifecycle states for connection.\n" }, + "storageCredentialName": { + "type": "string", + "description": "(Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.\n" + }, "streamPoolId": { "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced.\n" @@ -513598,6 +517816,10 @@ "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy.\n" }, + "tenantId": { + "type": "string", + "description": "(Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f\n" + }, "timeCreated": { "type": "string", "description": "The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" @@ -513606,18 +517828,40 @@ "type": "string", "description": "The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" }, + "tlsCaFile": { + "type": "string", + "description": "(Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).\n" + }, + "tlsCertificateKeyFile": { + "type": "string", + "description": "(Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFileSecretId\". This field will be removed after February 15 2026.\n" + }, + "tlsCertificateKeyFilePassword": { + "type": "string", + "description": "(Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFilePasswordSecretId\". This field will be removed after February 15 2026.\n", + "secret": true + }, + "tlsCertificateKeyFilePasswordSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.\n", + "secret": true + }, + "tlsCertificateKeyFileSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection.\n* The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.\n" + }, "triggerRefresh": { "type": "boolean", "description": "(Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the \"update\" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..).\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" }, "trustStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the TrustStore file.\n", + "description": "(Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by \"trustStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePassword": { "type": "string", - "description": "(Updatable) The TrustStore password.\n", + "description": "(Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by \"trustStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePasswordSecretId": { @@ -513634,7 +517878,7 @@ }, "userId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.\n" }, "username": { "type": "string", @@ -513646,7 +517890,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded.\n", + "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "walletSecretId": { @@ -513704,6 +517948,7 @@ "servers", "sessionMode", "shouldUseJndi", + "shouldUseResourcePrincipal", "shouldValidateServerCertificate", "sslCa", "sslCert", @@ -513711,13 +517956,20 @@ "sslMode", "sslServerCertificate", "state", + "storageCredentialName", "streamPoolId", "subnetId", "systemTags", "technologyType", "tenancyId", + "tenantId", "timeCreated", "timeUpdated", + "tlsCaFile", + "tlsCertificateKeyFile", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", + "tlsCertificateKeyFileSecretId", "url", "userId", "username", @@ -513730,7 +517982,7 @@ }, "accountKey": { "type": "string", - "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==\n", + "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by \"accountKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "accountKeySecretId": { @@ -513773,12 +518025,12 @@ }, "clientSecret": { "type": "string", - "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1\n", + "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by \"clientSecretSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "clientSecretSecretId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided.\n" }, "compartmentId": { "type": "string", @@ -513799,7 +518051,7 @@ }, "connectionUrl": { "type": "string", - "description": "(Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n" + "description": "(Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'\n" }, "consumerProperties": { "type": "string", @@ -513846,7 +518098,7 @@ }, "endpoint": { "type": "string", - "description": "(Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net\n" + "description": "(Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com\n" }, "fingerprint": { "type": "string", @@ -513880,7 +518132,7 @@ }, "jndiSecurityCredentials": { "type": "string", - "description": "(Updatable) The password associated to the principal.\n", + "description": "(Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by \"jndiSecurityCredentialsSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "jndiSecurityCredentialsSecretId": { @@ -513897,12 +518149,12 @@ }, "keyStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the KeyStore file.\n", + "description": "(Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by \"keyStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePassword": { "type": "string", - "description": "(Updatable) The KeyStore password.\n", + "description": "(Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by \"keyStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePasswordSecretId": { @@ -513930,7 +518182,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "passwordSecretId": { @@ -513947,7 +518199,7 @@ }, "privateKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm\n", + "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyFileSecretId": { @@ -513956,7 +518208,7 @@ }, "privateKeyPassphrase": { "type": "string", - "description": "(Updatable) Password if the private key file is encrypted.\n", + "description": "(Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyPassphraseSecretId": { @@ -513977,7 +518229,7 @@ }, "region": { "type": "string", - "description": "(Updatable) The name of the region. e.g.: us-ashburn-1\n" + "description": "(Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.\n" }, "routingMethod": { "type": "string", @@ -513985,7 +518237,7 @@ }, "sasToken": { "type": "string", - "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D\n", + "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by \"sasTokenSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sasTokenSecretId": { @@ -513994,7 +518246,7 @@ }, "secretAccessKey": { "type": "string", - "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\"\n", + "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\" Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "secretAccessKeySecretId": { @@ -514011,7 +518263,7 @@ }, "serviceAccountKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage.\n", + "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by \"serviceAccountKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "serviceAccountKeyFileSecretId": { @@ -514026,6 +518278,10 @@ "type": "boolean", "description": "(Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.\n" }, + "shouldUseResourcePrincipal": { + "type": "boolean", + "description": "(Updatable) Indicates that the user intents to connect to the instance through resource principal.\n" + }, "shouldValidateServerCertificate": { "type": "boolean", "description": "(Updatable) If set to true, the driver validates the certificate that is sent by the database server.\n" @@ -514040,7 +518296,7 @@ }, "sslClientKeystash": { "type": "string", - "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file.\n", + "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by \"sslClientKeystashSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystashSecretId": { @@ -514049,7 +518305,7 @@ }, "sslClientKeystoredb": { "type": "string", - "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.\n", + "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by \"sslClientKeystoredbSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystoredbSecretId": { @@ -514062,12 +518318,12 @@ }, "sslKey": { "type": "string", - "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).\n", + "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"sslKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPassword": { "type": "string", - "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided.\n", + "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by \"sslKeyPasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPasswordSecretId": { @@ -514086,6 +518342,10 @@ "type": "string", "description": "(Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.\n" }, + "storageCredentialName": { + "type": "string", + "description": "(Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.\n" + }, "streamPoolId": { "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced.\n" @@ -514103,18 +518363,44 @@ "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy.\n" }, + "tenantId": { + "type": "string", + "description": "(Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f\n" + }, + "tlsCaFile": { + "type": "string", + "description": "(Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).\n" + }, + "tlsCertificateKeyFile": { + "type": "string", + "description": "(Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFileSecretId\". This field will be removed after February 15 2026.\n" + }, + "tlsCertificateKeyFilePassword": { + "type": "string", + "description": "(Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFilePasswordSecretId\". This field will be removed after February 15 2026.\n", + "secret": true + }, + "tlsCertificateKeyFilePasswordSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.\n", + "secret": true + }, + "tlsCertificateKeyFileSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection.\n* The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.\n" + }, "triggerRefresh": { "type": "boolean", "description": "(Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the \"update\" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..).\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" }, "trustStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the TrustStore file.\n", + "description": "(Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by \"trustStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePassword": { "type": "string", - "description": "(Updatable) The TrustStore password.\n", + "description": "(Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by \"trustStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePasswordSecretId": { @@ -514131,7 +518417,7 @@ }, "userId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.\n" }, "username": { "type": "string", @@ -514143,7 +518429,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded.\n", + "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "walletSecretId": { @@ -514166,7 +518452,7 @@ }, "accountKey": { "type": "string", - "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==\n", + "description": "(Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by \"accountKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "accountKeySecretId": { @@ -514209,12 +518495,12 @@ }, "clientSecret": { "type": "string", - "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1\n", + "description": "(Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by \"clientSecretSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "clientSecretSecretId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided.\n" }, "compartmentId": { "type": "string", @@ -514235,7 +518521,7 @@ }, "connectionUrl": { "type": "string", - "description": "(Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n" + "description": "(Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'\n" }, "consumerProperties": { "type": "string", @@ -514282,7 +518568,7 @@ }, "endpoint": { "type": "string", - "description": "(Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net\n" + "description": "(Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com\n" }, "fingerprint": { "type": "string", @@ -514323,7 +518609,7 @@ }, "jndiSecurityCredentials": { "type": "string", - "description": "(Updatable) The password associated to the principal.\n", + "description": "(Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by \"jndiSecurityCredentialsSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "jndiSecurityCredentialsSecretId": { @@ -514340,12 +518626,12 @@ }, "keyStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the KeyStore file.\n", + "description": "(Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by \"keyStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePassword": { "type": "string", - "description": "(Updatable) The KeyStore password.\n", + "description": "(Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by \"keyStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "keyStorePasswordSecretId": { @@ -514377,7 +518663,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "passwordSecretId": { @@ -514394,7 +518680,7 @@ }, "privateKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm\n", + "description": "(Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyFileSecretId": { @@ -514403,7 +518689,7 @@ }, "privateKeyPassphrase": { "type": "string", - "description": "(Updatable) Password if the private key file is encrypted.\n", + "description": "(Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "privateKeyPassphraseSecretId": { @@ -514424,7 +518710,7 @@ }, "region": { "type": "string", - "description": "(Updatable) The name of the region. e.g.: us-ashburn-1\n" + "description": "(Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.\n" }, "routingMethod": { "type": "string", @@ -514432,7 +518718,7 @@ }, "sasToken": { "type": "string", - "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D\n", + "description": "(Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08\u0026ss=bfqt\u0026srt=sco\u0026sp=rwdlacupyx\u0026se=2020-09-10T20:27:28Z\u0026st=2022-08-05T12:27:28Z\u0026spr=https\u0026sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by \"sasTokenSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sasTokenSecretId": { @@ -514441,7 +518727,7 @@ }, "secretAccessKey": { "type": "string", - "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\"\n", + "description": "(Updatable) Secret access key to access the Amazon S3 bucket. e.g.: \"this-is-not-the-secret\" Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "secretAccessKeySecretId": { @@ -514458,7 +518744,7 @@ }, "serviceAccountKeyFile": { "type": "string", - "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage.\n", + "description": "(Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by \"serviceAccountKeyFileSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "serviceAccountKeyFileSecretId": { @@ -514473,6 +518759,10 @@ "type": "boolean", "description": "(Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.\n" }, + "shouldUseResourcePrincipal": { + "type": "boolean", + "description": "(Updatable) Indicates that the user intents to connect to the instance through resource principal.\n" + }, "shouldValidateServerCertificate": { "type": "boolean", "description": "(Updatable) If set to true, the driver validates the certificate that is sent by the database server.\n" @@ -514487,7 +518777,7 @@ }, "sslClientKeystash": { "type": "string", - "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file.\n", + "description": "(Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by \"sslClientKeystashSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystashSecretId": { @@ -514496,7 +518786,7 @@ }, "sslClientKeystoredb": { "type": "string", - "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.\n", + "description": "(Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by \"sslClientKeystoredbSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslClientKeystoredbSecretId": { @@ -514509,12 +518799,12 @@ }, "sslKey": { "type": "string", - "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).\n", + "description": "(Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"sslKeySecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPassword": { "type": "string", - "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided.\n", + "description": "(Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by \"sslKeyPasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "sslKeyPasswordSecretId": { @@ -514537,6 +518827,10 @@ "type": "string", "description": "Possible lifecycle states for connection.\n" }, + "storageCredentialName": { + "type": "string", + "description": "(Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.\n" + }, "streamPoolId": { "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced.\n" @@ -514561,6 +518855,10 @@ "type": "string", "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy.\n" }, + "tenantId": { + "type": "string", + "description": "(Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f\n" + }, "timeCreated": { "type": "string", "description": "The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" @@ -514569,18 +518867,40 @@ "type": "string", "description": "The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n" }, + "tlsCaFile": { + "type": "string", + "description": "(Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).\n" + }, + "tlsCertificateKeyFile": { + "type": "string", + "description": "(Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFileSecretId\". This field will be removed after February 15 2026.\n" + }, + "tlsCertificateKeyFilePassword": { + "type": "string", + "description": "(Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by \"tlsCertificateKeyFilePasswordSecretId\". This field will be removed after February 15 2026.\n", + "secret": true + }, + "tlsCertificateKeyFilePasswordSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.\n", + "secret": true + }, + "tlsCertificateKeyFileSecretId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection.\n* The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.\n" + }, "triggerRefresh": { "type": "boolean", "description": "(Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the \"update\" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..).\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" }, "trustStore": { "type": "string", - "description": "(Updatable) The base64 encoded content of the TrustStore file.\n", + "description": "(Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by \"trustStoreSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePassword": { "type": "string", - "description": "(Updatable) The TrustStore password.\n", + "description": "(Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by \"trustStorePasswordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "trustStorePasswordSecretId": { @@ -514597,7 +518917,7 @@ }, "userId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to.\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.\n" }, "username": { "type": "string", @@ -514609,7 +518929,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded.\n", + "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "walletSecretId": { @@ -514788,7 +519108,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "rcePrivateIp": { @@ -514840,7 +519160,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. \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 wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026. \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": [ @@ -514926,7 +519246,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "secretCompartmentId": { @@ -514954,7 +519274,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. \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 wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026. \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": [ @@ -515027,7 +519347,7 @@ }, "password": { "type": "string", - "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.\n", + "description": "(Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026.\n", "secret": true }, "rcePrivateIp": { @@ -515082,7 +519402,7 @@ }, "wallet": { "type": "string", - "description": "(Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. \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 wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by \"walletSecretId\". This field will be removed after February 15 2026. \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" @@ -579787,7 +584107,7 @@ "items": { "$ref": "#/types/oci:StackMonitoring/MetricExtensionEnabledOnResource:MetricExtensionEnabledOnResource" }, - "description": "List of resource objects on which this metric extension is enabled.\n" + "description": "List of resource details objects having resourceIds on which this metric extension is enabled.\n" }, "enabledOnResourcesCount": { "type": "integer", @@ -579949,7 +584269,7 @@ "items": { "$ref": "#/types/oci:StackMonitoring/MetricExtensionEnabledOnResource:MetricExtensionEnabledOnResource" }, - "description": "List of resource objects on which this metric extension is enabled.\n" + "description": "List of resource details objects having resourceIds on which this metric extension is enabled.\n" }, "enabledOnResourcesCount": { "type": "integer", @@ -580698,93 +585018,101 @@ } }, "oci:StackMonitoring/monitoredResourceType:MonitoredResourceType": { - "description": "This resource provides the Monitored Resource Type resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nCreates a new monitored resource type.\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 testMonitoredResourceType = new oci.stackmonitoring.MonitoredResourceType(\"test_monitored_resource_type\", {\n compartmentId: compartmentId,\n name: monitoredResourceTypeName,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: monitoredResourceTypeDescription,\n displayName: monitoredResourceTypeDisplayName,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n metadata: {\n format: monitoredResourceTypeMetadataFormat,\n agentProperties: monitoredResourceTypeMetadataAgentProperties,\n requiredProperties: monitoredResourceTypeMetadataRequiredProperties,\n uniquePropertySets: [{\n properties: monitoredResourceTypeMetadataUniquePropertySetsProperties,\n }],\n validPropertiesForCreates: monitoredResourceTypeMetadataValidPropertiesForCreate,\n validPropertiesForUpdates: monitoredResourceTypeMetadataValidPropertiesForUpdate,\n validPropertyValues: monitoredResourceTypeMetadataValidPropertyValues,\n },\n metricNamespace: monitoredResourceTypeMetricNamespace,\n resourceCategory: monitoredResourceTypeResourceCategory,\n sourceType: monitoredResourceTypeSourceType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitored_resource_type = oci.stack_monitoring.MonitoredResourceType(\"test_monitored_resource_type\",\n compartment_id=compartment_id,\n name=monitored_resource_type_name,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=monitored_resource_type_description,\n display_name=monitored_resource_type_display_name,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n metadata={\n \"format\": monitored_resource_type_metadata_format,\n \"agent_properties\": monitored_resource_type_metadata_agent_properties,\n \"required_properties\": monitored_resource_type_metadata_required_properties,\n \"unique_property_sets\": [{\n \"properties\": monitored_resource_type_metadata_unique_property_sets_properties,\n }],\n \"valid_properties_for_creates\": monitored_resource_type_metadata_valid_properties_for_create,\n \"valid_properties_for_updates\": monitored_resource_type_metadata_valid_properties_for_update,\n \"valid_property_values\": monitored_resource_type_metadata_valid_property_values,\n },\n metric_namespace=monitored_resource_type_metric_namespace,\n resource_category=monitored_resource_type_resource_category,\n source_type=monitored_resource_type_source_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 testMonitoredResourceType = new Oci.StackMonitoring.MonitoredResourceType(\"test_monitored_resource_type\", new()\n {\n CompartmentId = compartmentId,\n Name = monitoredResourceTypeName,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = monitoredResourceTypeDescription,\n DisplayName = monitoredResourceTypeDisplayName,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n Metadata = new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataArgs\n {\n Format = monitoredResourceTypeMetadataFormat,\n AgentProperties = monitoredResourceTypeMetadataAgentProperties,\n RequiredProperties = monitoredResourceTypeMetadataRequiredProperties,\n UniquePropertySets = new[]\n {\n new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataUniquePropertySetArgs\n {\n Properties = monitoredResourceTypeMetadataUniquePropertySetsProperties,\n },\n },\n ValidPropertiesForCreates = monitoredResourceTypeMetadataValidPropertiesForCreate,\n ValidPropertiesForUpdates = monitoredResourceTypeMetadataValidPropertiesForUpdate,\n ValidPropertyValues = monitoredResourceTypeMetadataValidPropertyValues,\n },\n MetricNamespace = monitoredResourceTypeMetricNamespace,\n ResourceCategory = monitoredResourceTypeResourceCategory,\n SourceType = monitoredResourceTypeSourceType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewMonitoredResourceType(ctx, \"test_monitored_resource_type\", \u0026stackmonitoring.MonitoredResourceTypeArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tName: pulumi.Any(monitoredResourceTypeName),\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(monitoredResourceTypeDescription),\n\t\t\tDisplayName: pulumi.Any(monitoredResourceTypeDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tMetadata: \u0026stackmonitoring.MonitoredResourceTypeMetadataArgs{\n\t\t\t\tFormat: pulumi.Any(monitoredResourceTypeMetadataFormat),\n\t\t\t\tAgentProperties: pulumi.Any(monitoredResourceTypeMetadataAgentProperties),\n\t\t\t\tRequiredProperties: pulumi.Any(monitoredResourceTypeMetadataRequiredProperties),\n\t\t\t\tUniquePropertySets: stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArray{\n\t\t\t\t\t\u0026stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArgs{\n\t\t\t\t\t\tProperties: pulumi.Any(monitoredResourceTypeMetadataUniquePropertySetsProperties),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tValidPropertiesForCreates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForCreate),\n\t\t\t\tValidPropertiesForUpdates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForUpdate),\n\t\t\t\tValidPropertyValues: pulumi.Any(monitoredResourceTypeMetadataValidPropertyValues),\n\t\t\t},\n\t\t\tMetricNamespace: pulumi.Any(monitoredResourceTypeMetricNamespace),\n\t\t\tResourceCategory: pulumi.Any(monitoredResourceTypeResourceCategory),\n\t\t\tSourceType: pulumi.Any(monitoredResourceTypeSourceType),\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.StackMonitoring.MonitoredResourceType;\nimport com.pulumi.oci.StackMonitoring.MonitoredResourceTypeArgs;\nimport com.pulumi.oci.StackMonitoring.inputs.MonitoredResourceTypeMetadataArgs;\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 testMonitoredResourceType = new MonitoredResourceType(\"testMonitoredResourceType\", MonitoredResourceTypeArgs.builder()\n .compartmentId(compartmentId)\n .name(monitoredResourceTypeName)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(monitoredResourceTypeDescription)\n .displayName(monitoredResourceTypeDisplayName)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .metadata(MonitoredResourceTypeMetadataArgs.builder()\n .format(monitoredResourceTypeMetadataFormat)\n .agentProperties(monitoredResourceTypeMetadataAgentProperties)\n .requiredProperties(monitoredResourceTypeMetadataRequiredProperties)\n .uniquePropertySets(MonitoredResourceTypeMetadataUniquePropertySetArgs.builder()\n .properties(monitoredResourceTypeMetadataUniquePropertySetsProperties)\n .build())\n .validPropertiesForCreates(monitoredResourceTypeMetadataValidPropertiesForCreate)\n .validPropertiesForUpdates(monitoredResourceTypeMetadataValidPropertiesForUpdate)\n .validPropertyValues(monitoredResourceTypeMetadataValidPropertyValues)\n .build())\n .metricNamespace(monitoredResourceTypeMetricNamespace)\n .resourceCategory(monitoredResourceTypeResourceCategory)\n .sourceType(monitoredResourceTypeSourceType)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitoredResourceType:\n type: oci:StackMonitoring:MonitoredResourceType\n name: test_monitored_resource_type\n properties:\n compartmentId: ${compartmentId}\n name: ${monitoredResourceTypeName}\n definedTags:\n foo-namespace.bar-key: value\n description: ${monitoredResourceTypeDescription}\n displayName: ${monitoredResourceTypeDisplayName}\n freeformTags:\n bar-key: value\n metadata:\n format: ${monitoredResourceTypeMetadataFormat}\n agentProperties: ${monitoredResourceTypeMetadataAgentProperties}\n requiredProperties: ${monitoredResourceTypeMetadataRequiredProperties}\n uniquePropertySets:\n - properties: ${monitoredResourceTypeMetadataUniquePropertySetsProperties}\n validPropertiesForCreates: ${monitoredResourceTypeMetadataValidPropertiesForCreate}\n validPropertiesForUpdates: ${monitoredResourceTypeMetadataValidPropertiesForUpdate}\n validPropertyValues: ${monitoredResourceTypeMetadataValidPropertyValues}\n metricNamespace: ${monitoredResourceTypeMetricNamespace}\n resourceCategory: ${monitoredResourceTypeResourceCategory}\n sourceType: ${monitoredResourceTypeSourceType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitoredResourceTypes can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:StackMonitoring/monitoredResourceType:MonitoredResourceType test_monitored_resource_type \"id\"\n```\n", + "description": "This resource provides the Monitored Resource Type resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nCreates a new monitored resource type.\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 testMonitoredResourceType = new oci.stackmonitoring.MonitoredResourceType(\"test_monitored_resource_type\", {\n compartmentId: compartmentId,\n name: monitoredResourceTypeName,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: monitoredResourceTypeDescription,\n displayName: monitoredResourceTypeDisplayName,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n metadata: {\n format: monitoredResourceTypeMetadataFormat,\n agentProperties: monitoredResourceTypeMetadataAgentProperties,\n requiredProperties: monitoredResourceTypeMetadataRequiredProperties,\n uniquePropertySets: [{\n properties: monitoredResourceTypeMetadataUniquePropertySetsProperties,\n }],\n validPropertiesForCreates: monitoredResourceTypeMetadataValidPropertiesForCreate,\n validPropertiesForUpdates: monitoredResourceTypeMetadataValidPropertiesForUpdate,\n validPropertyValues: monitoredResourceTypeMetadataValidPropertyValues,\n validSubResourceTypes: monitoredResourceTypeMetadataValidSubResourceTypes,\n },\n metricNamespace: monitoredResourceTypeMetricNamespace,\n resourceCategory: monitoredResourceTypeResourceCategory,\n sourceType: monitoredResourceTypeSourceType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitored_resource_type = oci.stack_monitoring.MonitoredResourceType(\"test_monitored_resource_type\",\n compartment_id=compartment_id,\n name=monitored_resource_type_name,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=monitored_resource_type_description,\n display_name=monitored_resource_type_display_name,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n metadata={\n \"format\": monitored_resource_type_metadata_format,\n \"agent_properties\": monitored_resource_type_metadata_agent_properties,\n \"required_properties\": monitored_resource_type_metadata_required_properties,\n \"unique_property_sets\": [{\n \"properties\": monitored_resource_type_metadata_unique_property_sets_properties,\n }],\n \"valid_properties_for_creates\": monitored_resource_type_metadata_valid_properties_for_create,\n \"valid_properties_for_updates\": monitored_resource_type_metadata_valid_properties_for_update,\n \"valid_property_values\": monitored_resource_type_metadata_valid_property_values,\n \"valid_sub_resource_types\": monitored_resource_type_metadata_valid_sub_resource_types,\n },\n metric_namespace=monitored_resource_type_metric_namespace,\n resource_category=monitored_resource_type_resource_category,\n source_type=monitored_resource_type_source_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 testMonitoredResourceType = new Oci.StackMonitoring.MonitoredResourceType(\"test_monitored_resource_type\", new()\n {\n CompartmentId = compartmentId,\n Name = monitoredResourceTypeName,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = monitoredResourceTypeDescription,\n DisplayName = monitoredResourceTypeDisplayName,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n Metadata = new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataArgs\n {\n Format = monitoredResourceTypeMetadataFormat,\n AgentProperties = monitoredResourceTypeMetadataAgentProperties,\n RequiredProperties = monitoredResourceTypeMetadataRequiredProperties,\n UniquePropertySets = new[]\n {\n new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataUniquePropertySetArgs\n {\n Properties = monitoredResourceTypeMetadataUniquePropertySetsProperties,\n },\n },\n ValidPropertiesForCreates = monitoredResourceTypeMetadataValidPropertiesForCreate,\n ValidPropertiesForUpdates = monitoredResourceTypeMetadataValidPropertiesForUpdate,\n ValidPropertyValues = monitoredResourceTypeMetadataValidPropertyValues,\n ValidSubResourceTypes = monitoredResourceTypeMetadataValidSubResourceTypes,\n },\n MetricNamespace = monitoredResourceTypeMetricNamespace,\n ResourceCategory = monitoredResourceTypeResourceCategory,\n SourceType = monitoredResourceTypeSourceType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewMonitoredResourceType(ctx, \"test_monitored_resource_type\", \u0026stackmonitoring.MonitoredResourceTypeArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tName: pulumi.Any(monitoredResourceTypeName),\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(monitoredResourceTypeDescription),\n\t\t\tDisplayName: pulumi.Any(monitoredResourceTypeDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tMetadata: \u0026stackmonitoring.MonitoredResourceTypeMetadataArgs{\n\t\t\t\tFormat: pulumi.Any(monitoredResourceTypeMetadataFormat),\n\t\t\t\tAgentProperties: pulumi.Any(monitoredResourceTypeMetadataAgentProperties),\n\t\t\t\tRequiredProperties: pulumi.Any(monitoredResourceTypeMetadataRequiredProperties),\n\t\t\t\tUniquePropertySets: stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArray{\n\t\t\t\t\t\u0026stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArgs{\n\t\t\t\t\t\tProperties: pulumi.Any(monitoredResourceTypeMetadataUniquePropertySetsProperties),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tValidPropertiesForCreates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForCreate),\n\t\t\t\tValidPropertiesForUpdates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForUpdate),\n\t\t\t\tValidPropertyValues: pulumi.Any(monitoredResourceTypeMetadataValidPropertyValues),\n\t\t\t\tValidSubResourceTypes: pulumi.Any(monitoredResourceTypeMetadataValidSubResourceTypes),\n\t\t\t},\n\t\t\tMetricNamespace: pulumi.Any(monitoredResourceTypeMetricNamespace),\n\t\t\tResourceCategory: pulumi.Any(monitoredResourceTypeResourceCategory),\n\t\t\tSourceType: pulumi.Any(monitoredResourceTypeSourceType),\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.StackMonitoring.MonitoredResourceType;\nimport com.pulumi.oci.StackMonitoring.MonitoredResourceTypeArgs;\nimport com.pulumi.oci.StackMonitoring.inputs.MonitoredResourceTypeMetadataArgs;\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 testMonitoredResourceType = new MonitoredResourceType(\"testMonitoredResourceType\", MonitoredResourceTypeArgs.builder()\n .compartmentId(compartmentId)\n .name(monitoredResourceTypeName)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(monitoredResourceTypeDescription)\n .displayName(monitoredResourceTypeDisplayName)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .metadata(MonitoredResourceTypeMetadataArgs.builder()\n .format(monitoredResourceTypeMetadataFormat)\n .agentProperties(monitoredResourceTypeMetadataAgentProperties)\n .requiredProperties(monitoredResourceTypeMetadataRequiredProperties)\n .uniquePropertySets(MonitoredResourceTypeMetadataUniquePropertySetArgs.builder()\n .properties(monitoredResourceTypeMetadataUniquePropertySetsProperties)\n .build())\n .validPropertiesForCreates(monitoredResourceTypeMetadataValidPropertiesForCreate)\n .validPropertiesForUpdates(monitoredResourceTypeMetadataValidPropertiesForUpdate)\n .validPropertyValues(monitoredResourceTypeMetadataValidPropertyValues)\n .validSubResourceTypes(monitoredResourceTypeMetadataValidSubResourceTypes)\n .build())\n .metricNamespace(monitoredResourceTypeMetricNamespace)\n .resourceCategory(monitoredResourceTypeResourceCategory)\n .sourceType(monitoredResourceTypeSourceType)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitoredResourceType:\n type: oci:StackMonitoring:MonitoredResourceType\n name: test_monitored_resource_type\n properties:\n compartmentId: ${compartmentId}\n name: ${monitoredResourceTypeName}\n definedTags:\n foo-namespace.bar-key: value\n description: ${monitoredResourceTypeDescription}\n displayName: ${monitoredResourceTypeDisplayName}\n freeformTags:\n bar-key: value\n metadata:\n format: ${monitoredResourceTypeMetadataFormat}\n agentProperties: ${monitoredResourceTypeMetadataAgentProperties}\n requiredProperties: ${monitoredResourceTypeMetadataRequiredProperties}\n uniquePropertySets:\n - properties: ${monitoredResourceTypeMetadataUniquePropertySetsProperties}\n validPropertiesForCreates: ${monitoredResourceTypeMetadataValidPropertiesForCreate}\n validPropertiesForUpdates: ${monitoredResourceTypeMetadataValidPropertiesForUpdate}\n validPropertyValues: ${monitoredResourceTypeMetadataValidPropertyValues}\n validSubResourceTypes: ${monitoredResourceTypeMetadataValidSubResourceTypes}\n metricNamespace: ${monitoredResourceTypeMetricNamespace}\n resourceCategory: ${monitoredResourceTypeResourceCategory}\n sourceType: ${monitoredResourceTypeSourceType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitoredResourceTypes can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:StackMonitoring/monitoredResourceType:MonitoredResourceType test_monitored_resource_type \"id\"\n```\n", "properties": { - "compartmentId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\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) A friendly description.\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Monitored resource type 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" - }, - "metadata": { - "$ref": "#/types/oci:StackMonitoring/MonitoredResourceTypeMetadata:MonitoredResourceTypeMetadata", - "description": "(Updatable) The metadata details for resource type.\n" - }, - "metricNamespace": { - "type": "string", - "description": "(Updatable) Metric namespace for resource type.\n" - }, - "name": { - "type": "string", - "description": "A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.\n" - }, - "resourceCategory": { - "type": "string", - "description": "(Updatable) Resource Category to indicate the kind of resource type.\n" - }, - "sourceType": { - "type": "string", - "description": "(Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" - }, - "state": { - "type": "string", - "description": "Lifecycle state of the monitored resource type.\n" - }, - "systemTags": { + "additionalNamespaceMap": { "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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.\n" + "description": "Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.\n" }, - "timeUpdated": { - "type": "string", - "description": "The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.\n" - } - }, - "required": [ - "compartmentId", - "definedTags", - "freeformTags", - "metadata", - "metricNamespace", - "name", - "resourceCategory", - "sourceType", - "state", - "systemTags", - "timeCreated", - "timeUpdated" - ], - "inputProperties": { "compartmentId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\n", - "willReplaceOnChanges": true + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\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) A friendly description.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Monitored resource type 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" + }, + "metadata": { + "$ref": "#/types/oci:StackMonitoring/MonitoredResourceTypeMetadata:MonitoredResourceTypeMetadata", + "description": "(Updatable) The metadata details for resource type.\n" + }, + "metricNamespace": { + "type": "string", + "description": "(Updatable) Metric namespace for resource type.\n" + }, + "name": { + "type": "string", + "description": "A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.\n" + }, + "resourceCategory": { + "type": "string", + "description": "(Updatable) Resource Category to indicate the kind of resource type.\n" + }, + "sourceType": { + "type": "string", + "description": "(Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the monitored resource type.\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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.\n" + } + }, + "required": [ + "additionalNamespaceMap", + "compartmentId", + "definedTags", + "freeformTags", + "metadata", + "metricNamespace", + "name", + "resourceCategory", + "sourceType", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\n", + "willReplaceOnChanges": true }, "definedTags": { "type": "object", @@ -580836,6 +585164,13 @@ "stateInputs": { "description": "Input properties used for looking up and filtering MonitoredResourceType resources.\n", "properties": { + "additionalNamespaceMap": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.\n" + }, "compartmentId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\n", @@ -581655,6 +585990,553 @@ "type": "object" } }, + "oci:StackMonitoring/monitoringTemplate:MonitoringTemplate": { + "description": "This resource provides the Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nCreates a new monitoring template for a given compartment.\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 testMonitoringTemplate = new oci.stackmonitoring.MonitoringTemplate(\"test_monitoring_template\", {\n compartmentId: compartmentId,\n destinations: monitoringTemplateDestinations,\n displayName: monitoringTemplateDisplayName,\n members: [{\n id: monitoringTemplateMembersId,\n type: monitoringTemplateMembersType,\n compositeType: monitoringTemplateMembersCompositeType,\n }],\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: monitoringTemplateDescription,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isAlarmsEnabled: monitoringTemplateIsAlarmsEnabled,\n isSplitNotificationEnabled: monitoringTemplateIsSplitNotificationEnabled,\n messageFormat: monitoringTemplateMessageFormat,\n repeatNotificationDuration: monitoringTemplateRepeatNotificationDuration,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template = oci.stack_monitoring.MonitoringTemplate(\"test_monitoring_template\",\n compartment_id=compartment_id,\n destinations=monitoring_template_destinations,\n display_name=monitoring_template_display_name,\n members=[{\n \"id\": monitoring_template_members_id,\n \"type\": monitoring_template_members_type,\n \"composite_type\": monitoring_template_members_composite_type,\n }],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=monitoring_template_description,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n is_alarms_enabled=monitoring_template_is_alarms_enabled,\n is_split_notification_enabled=monitoring_template_is_split_notification_enabled,\n message_format=monitoring_template_message_format,\n repeat_notification_duration=monitoring_template_repeat_notification_duration)\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 testMonitoringTemplate = new Oci.StackMonitoring.MonitoringTemplate(\"test_monitoring_template\", new()\n {\n CompartmentId = compartmentId,\n Destinations = monitoringTemplateDestinations,\n DisplayName = monitoringTemplateDisplayName,\n Members = new[]\n {\n new Oci.StackMonitoring.Inputs.MonitoringTemplateMemberArgs\n {\n Id = monitoringTemplateMembersId,\n Type = monitoringTemplateMembersType,\n CompositeType = monitoringTemplateMembersCompositeType,\n },\n },\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = monitoringTemplateDescription,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsAlarmsEnabled = monitoringTemplateIsAlarmsEnabled,\n IsSplitNotificationEnabled = monitoringTemplateIsSplitNotificationEnabled,\n MessageFormat = monitoringTemplateMessageFormat,\n RepeatNotificationDuration = monitoringTemplateRepeatNotificationDuration,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewMonitoringTemplate(ctx, \"test_monitoring_template\", \u0026stackmonitoring.MonitoringTemplateArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDestinations: pulumi.Any(monitoringTemplateDestinations),\n\t\t\tDisplayName: pulumi.Any(monitoringTemplateDisplayName),\n\t\t\tMembers: stackmonitoring.MonitoringTemplateMemberArray{\n\t\t\t\t\u0026stackmonitoring.MonitoringTemplateMemberArgs{\n\t\t\t\t\tId: pulumi.Any(monitoringTemplateMembersId),\n\t\t\t\t\tType: pulumi.Any(monitoringTemplateMembersType),\n\t\t\t\t\tCompositeType: pulumi.Any(monitoringTemplateMembersCompositeType),\n\t\t\t\t},\n\t\t\t},\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(monitoringTemplateDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tIsAlarmsEnabled: pulumi.Any(monitoringTemplateIsAlarmsEnabled),\n\t\t\tIsSplitNotificationEnabled: pulumi.Any(monitoringTemplateIsSplitNotificationEnabled),\n\t\t\tMessageFormat: pulumi.Any(monitoringTemplateMessageFormat),\n\t\t\tRepeatNotificationDuration: pulumi.Any(monitoringTemplateRepeatNotificationDuration),\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.StackMonitoring.MonitoringTemplate;\nimport com.pulumi.oci.StackMonitoring.MonitoringTemplateArgs;\nimport com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateMemberArgs;\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 testMonitoringTemplate = new MonitoringTemplate(\"testMonitoringTemplate\", MonitoringTemplateArgs.builder()\n .compartmentId(compartmentId)\n .destinations(monitoringTemplateDestinations)\n .displayName(monitoringTemplateDisplayName)\n .members(MonitoringTemplateMemberArgs.builder()\n .id(monitoringTemplateMembersId)\n .type(monitoringTemplateMembersType)\n .compositeType(monitoringTemplateMembersCompositeType)\n .build())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(monitoringTemplateDescription)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isAlarmsEnabled(monitoringTemplateIsAlarmsEnabled)\n .isSplitNotificationEnabled(monitoringTemplateIsSplitNotificationEnabled)\n .messageFormat(monitoringTemplateMessageFormat)\n .repeatNotificationDuration(monitoringTemplateRepeatNotificationDuration)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitoringTemplate:\n type: oci:StackMonitoring:MonitoringTemplate\n name: test_monitoring_template\n properties:\n compartmentId: ${compartmentId}\n destinations: ${monitoringTemplateDestinations}\n displayName: ${monitoringTemplateDisplayName}\n members:\n - id: ${monitoringTemplateMembersId}\n type: ${monitoringTemplateMembersType}\n compositeType: ${monitoringTemplateMembersCompositeType}\n definedTags:\n foo-namespace.bar-key: value\n description: ${monitoringTemplateDescription}\n freeformTags:\n bar-key: value\n isAlarmsEnabled: ${monitoringTemplateIsAlarmsEnabled}\n isSplitNotificationEnabled: ${monitoringTemplateIsSplitNotificationEnabled}\n messageFormat: ${monitoringTemplateMessageFormat}\n repeatNotificationDuration: ${monitoringTemplateRepeatNotificationDuration}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitoringTemplates can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment containing the monitoringTemplate.\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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "destinations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information.\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" + }, + "isAlarmsEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default.\n" + }, + "isSplitNotificationEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default.\n" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateMember:MonitoringTemplateMember" + }, + "description": "(Updatable) List of members of this monitoring template\n" + }, + "messageFormat": { + "type": "string", + "description": "(Updatable) The format to use for alarm notifications.\n" + }, + "repeatNotificationDuration": { + "type": "string", + "description": "(Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the monitoring template.\n" + }, + "status": { + "type": "string", + "description": "The current status of the monitoring template i.e. whether it is Applied or NotApplied.\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" + }, + "tenantId": { + "type": "string", + "description": "Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the monitoringTemplate was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the monitoringTemplate was last updated. Format defined by RFC3339.\n" + }, + "totalAlarmConditions": { + "type": "number", + "description": "Total Alarm Conditions\n" + }, + "totalAppliedAlarmConditions": { + "type": "number", + "description": "Total Applied Alarm Conditions\n" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "destinations", + "displayName", + "freeformTags", + "isAlarmsEnabled", + "isSplitNotificationEnabled", + "members", + "messageFormat", + "repeatNotificationDuration", + "state", + "status", + "systemTags", + "tenantId", + "timeCreated", + "timeUpdated", + "totalAlarmConditions", + "totalAppliedAlarmConditions" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment containing the monitoringTemplate.\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" + }, + "description": { + "type": "string", + "description": "(Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "destinations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information.\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" + }, + "isAlarmsEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default.\n" + }, + "isSplitNotificationEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default.\n" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateMember:MonitoringTemplateMember" + }, + "description": "(Updatable) List of members of this monitoring template\n" + }, + "messageFormat": { + "type": "string", + "description": "(Updatable) The format to use for alarm notifications.\n" + }, + "repeatNotificationDuration": { + "type": "string", + "description": "(Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + } + }, + "requiredInputs": [ + "compartmentId", + "destinations", + "displayName", + "members" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering MonitoringTemplate resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment containing the monitoringTemplate.\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" + }, + "description": { + "type": "string", + "description": "(Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "destinations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information.\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" + }, + "isAlarmsEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default.\n" + }, + "isSplitNotificationEnabled": { + "type": "boolean", + "description": "(Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default.\n" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateMember:MonitoringTemplateMember" + }, + "description": "(Updatable) List of members of this monitoring template\n" + }, + "messageFormat": { + "type": "string", + "description": "(Updatable) The format to use for alarm notifications.\n" + }, + "repeatNotificationDuration": { + "type": "string", + "description": "(Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the monitoring template.\n" + }, + "status": { + "type": "string", + "description": "The current status of the monitoring template i.e. whether it is Applied or NotApplied.\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" + }, + "tenantId": { + "type": "string", + "description": "Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the monitoringTemplate was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the monitoringTemplate was last updated. Format defined by RFC3339.\n" + }, + "totalAlarmConditions": { + "type": "number", + "description": "Total Alarm Conditions\n" + }, + "totalAppliedAlarmConditions": { + "type": "number", + "description": "Total Applied Alarm Conditions\n" + } + }, + "type": "object" + } + }, + "oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition": { + "description": "This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nCreate a new alarm condition in same monitoringTemplate compartment.\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 testMonitoringTemplateAlarmCondition = new oci.stackmonitoring.MonitoringTemplateAlarmCondition(\"test_monitoring_template_alarm_condition\", {\n conditionType: monitoringTemplateAlarmConditionConditionType,\n conditions: [{\n query: monitoringTemplateAlarmConditionConditionsQuery,\n severity: monitoringTemplateAlarmConditionConditionsSeverity,\n body: monitoringTemplateAlarmConditionConditionsBody,\n shouldAppendNote: monitoringTemplateAlarmConditionConditionsShouldAppendNote,\n shouldAppendUrl: monitoringTemplateAlarmConditionConditionsShouldAppendUrl,\n triggerDelay: monitoringTemplateAlarmConditionConditionsTriggerDelay,\n }],\n metricName: testMetric.name,\n monitoringTemplateId: testMonitoringTemplate.id,\n namespace: monitoringTemplateAlarmConditionNamespace,\n resourceType: monitoringTemplateAlarmConditionResourceType,\n compositeType: monitoringTemplateAlarmConditionCompositeType,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template_alarm_condition = oci.stack_monitoring.MonitoringTemplateAlarmCondition(\"test_monitoring_template_alarm_condition\",\n condition_type=monitoring_template_alarm_condition_condition_type,\n conditions=[{\n \"query\": monitoring_template_alarm_condition_conditions_query,\n \"severity\": monitoring_template_alarm_condition_conditions_severity,\n \"body\": monitoring_template_alarm_condition_conditions_body,\n \"should_append_note\": monitoring_template_alarm_condition_conditions_should_append_note,\n \"should_append_url\": monitoring_template_alarm_condition_conditions_should_append_url,\n \"trigger_delay\": monitoring_template_alarm_condition_conditions_trigger_delay,\n }],\n metric_name=test_metric[\"name\"],\n monitoring_template_id=test_monitoring_template[\"id\"],\n namespace=monitoring_template_alarm_condition_namespace,\n resource_type=monitoring_template_alarm_condition_resource_type,\n composite_type=monitoring_template_alarm_condition_composite_type,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testMonitoringTemplateAlarmCondition = new Oci.StackMonitoring.MonitoringTemplateAlarmCondition(\"test_monitoring_template_alarm_condition\", new()\n {\n ConditionType = monitoringTemplateAlarmConditionConditionType,\n Conditions = new[]\n {\n new Oci.StackMonitoring.Inputs.MonitoringTemplateAlarmConditionConditionArgs\n {\n Query = monitoringTemplateAlarmConditionConditionsQuery,\n Severity = monitoringTemplateAlarmConditionConditionsSeverity,\n Body = monitoringTemplateAlarmConditionConditionsBody,\n ShouldAppendNote = monitoringTemplateAlarmConditionConditionsShouldAppendNote,\n ShouldAppendUrl = monitoringTemplateAlarmConditionConditionsShouldAppendUrl,\n TriggerDelay = monitoringTemplateAlarmConditionConditionsTriggerDelay,\n },\n },\n MetricName = testMetric.Name,\n MonitoringTemplateId = testMonitoringTemplate.Id,\n Namespace = monitoringTemplateAlarmConditionNamespace,\n ResourceType = monitoringTemplateAlarmConditionResourceType,\n CompositeType = monitoringTemplateAlarmConditionCompositeType,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewMonitoringTemplateAlarmCondition(ctx, \"test_monitoring_template_alarm_condition\", \u0026stackmonitoring.MonitoringTemplateAlarmConditionArgs{\n\t\t\tConditionType: pulumi.Any(monitoringTemplateAlarmConditionConditionType),\n\t\t\tConditions: stackmonitoring.MonitoringTemplateAlarmConditionConditionArray{\n\t\t\t\t\u0026stackmonitoring.MonitoringTemplateAlarmConditionConditionArgs{\n\t\t\t\t\tQuery: pulumi.Any(monitoringTemplateAlarmConditionConditionsQuery),\n\t\t\t\t\tSeverity: pulumi.Any(monitoringTemplateAlarmConditionConditionsSeverity),\n\t\t\t\t\tBody: pulumi.Any(monitoringTemplateAlarmConditionConditionsBody),\n\t\t\t\t\tShouldAppendNote: pulumi.Any(monitoringTemplateAlarmConditionConditionsShouldAppendNote),\n\t\t\t\t\tShouldAppendUrl: pulumi.Any(monitoringTemplateAlarmConditionConditionsShouldAppendUrl),\n\t\t\t\t\tTriggerDelay: pulumi.Any(monitoringTemplateAlarmConditionConditionsTriggerDelay),\n\t\t\t\t},\n\t\t\t},\n\t\t\tMetricName: pulumi.Any(testMetric.Name),\n\t\t\tMonitoringTemplateId: pulumi.Any(testMonitoringTemplate.Id),\n\t\t\tNamespace: pulumi.Any(monitoringTemplateAlarmConditionNamespace),\n\t\t\tResourceType: pulumi.Any(monitoringTemplateAlarmConditionResourceType),\n\t\t\tCompositeType: pulumi.Any(monitoringTemplateAlarmConditionCompositeType),\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})\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.StackMonitoring.MonitoringTemplateAlarmCondition;\nimport com.pulumi.oci.StackMonitoring.MonitoringTemplateAlarmConditionArgs;\nimport com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateAlarmConditionConditionArgs;\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 testMonitoringTemplateAlarmCondition = new MonitoringTemplateAlarmCondition(\"testMonitoringTemplateAlarmCondition\", MonitoringTemplateAlarmConditionArgs.builder()\n .conditionType(monitoringTemplateAlarmConditionConditionType)\n .conditions(MonitoringTemplateAlarmConditionConditionArgs.builder()\n .query(monitoringTemplateAlarmConditionConditionsQuery)\n .severity(monitoringTemplateAlarmConditionConditionsSeverity)\n .body(monitoringTemplateAlarmConditionConditionsBody)\n .shouldAppendNote(monitoringTemplateAlarmConditionConditionsShouldAppendNote)\n .shouldAppendUrl(monitoringTemplateAlarmConditionConditionsShouldAppendUrl)\n .triggerDelay(monitoringTemplateAlarmConditionConditionsTriggerDelay)\n .build())\n .metricName(testMetric.name())\n .monitoringTemplateId(testMonitoringTemplate.id())\n .namespace(monitoringTemplateAlarmConditionNamespace)\n .resourceType(monitoringTemplateAlarmConditionResourceType)\n .compositeType(monitoringTemplateAlarmConditionCompositeType)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitoringTemplateAlarmCondition:\n type: oci:StackMonitoring:MonitoringTemplateAlarmCondition\n name: test_monitoring_template_alarm_condition\n properties:\n conditionType: ${monitoringTemplateAlarmConditionConditionType}\n conditions:\n - query: ${monitoringTemplateAlarmConditionConditionsQuery}\n severity: ${monitoringTemplateAlarmConditionConditionsSeverity}\n body: ${monitoringTemplateAlarmConditionConditionsBody}\n shouldAppendNote: ${monitoringTemplateAlarmConditionConditionsShouldAppendNote}\n shouldAppendUrl: ${monitoringTemplateAlarmConditionConditionsShouldAppendUrl}\n triggerDelay: ${monitoringTemplateAlarmConditionConditionsTriggerDelay}\n metricName: ${testMetric.name}\n monitoringTemplateId: ${testMonitoringTemplate.id}\n namespace: ${monitoringTemplateAlarmConditionNamespace}\n resourceType: ${monitoringTemplateAlarmConditionResourceType}\n compositeType: ${monitoringTemplateAlarmConditionCompositeType}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitoringTemplateAlarmConditions can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition \"monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}\"\n```\n", + "properties": { + "compositeType": { + "type": "string", + "description": "(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.\n" + }, + "conditionType": { + "type": "string", + "description": "(Updatable) Type of defined monitoring template.\n" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateAlarmConditionCondition:MonitoringTemplateAlarmConditionCondition" + }, + "description": "(Updatable) Monitoring template conditions.\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" + }, + "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" + }, + "metricName": { + "type": "string", + "description": "(Updatable) The metric name.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + }, + "namespace": { + "type": "string", + "description": "(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n" + }, + "resourceType": { + "type": "string", + "description": "(Updatable) The resource group 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" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the monitoring template\n" + }, + "status": { + "type": "string", + "description": "The current status of the monitoring template i.e. whether it is Published or Unpublished\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 date and time the alarm condition was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the alarm condition was updated. Format defined by RFC3339.\n" + } + }, + "required": [ + "compositeType", + "conditionType", + "conditions", + "definedTags", + "freeformTags", + "metricName", + "monitoringTemplateId", + "namespace", + "resourceType", + "state", + "status", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compositeType": { + "type": "string", + "description": "(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.\n" + }, + "conditionType": { + "type": "string", + "description": "(Updatable) Type of defined monitoring template.\n" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateAlarmConditionCondition:MonitoringTemplateAlarmConditionCondition" + }, + "description": "(Updatable) Monitoring template conditions.\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" + }, + "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" + }, + "metricName": { + "type": "string", + "description": "(Updatable) The metric name.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "willReplaceOnChanges": true + }, + "namespace": { + "type": "string", + "description": "(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n" + }, + "resourceType": { + "type": "string", + "description": "(Updatable) The resource group 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" + } + }, + "requiredInputs": [ + "conditionType", + "conditions", + "metricName", + "monitoringTemplateId", + "namespace", + "resourceType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering MonitoringTemplateAlarmCondition resources.\n", + "properties": { + "compositeType": { + "type": "string", + "description": "(Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT.\n" + }, + "conditionType": { + "type": "string", + "description": "(Updatable) Type of defined monitoring template.\n" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/MonitoringTemplateAlarmConditionCondition:MonitoringTemplateAlarmConditionCondition" + }, + "description": "(Updatable) Monitoring template conditions.\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" + }, + "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" + }, + "metricName": { + "type": "string", + "description": "(Updatable) The metric name.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "willReplaceOnChanges": true + }, + "namespace": { + "type": "string", + "description": "(Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n" + }, + "resourceType": { + "type": "string", + "description": "(Updatable) The resource group 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" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the monitoring template\n" + }, + "status": { + "type": "string", + "description": "The current status of the monitoring template i.e. whether it is Published or Unpublished\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 date and time the alarm condition was created. Format defined by RFC3339.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the alarm condition was updated. Format defined by RFC3339.\n" + } + }, + "type": "object" + } + }, + "oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement": { + "description": "This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nApply the Monitoring Template identified by the 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 testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new oci.stackmonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(\"test_monitoring_template_monitoring_template_on_given_resources_management\", {\n monitoringTemplateId: testMonitoringTemplate.id,\n enableMonitoringTemplateOnGivenResources: enableMonitoringTemplateOnGivenResources,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template_monitoring_template_on_given_resources_management = oci.stack_monitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(\"test_monitoring_template_monitoring_template_on_given_resources_management\",\n monitoring_template_id=test_monitoring_template[\"id\"],\n enable_monitoring_template_on_given_resources=enable_monitoring_template_on_given_resources)\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 testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new Oci.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(\"test_monitoring_template_monitoring_template_on_given_resources_management\", new()\n {\n MonitoringTemplateId = testMonitoringTemplate.Id,\n EnableMonitoringTemplateOnGivenResources = enableMonitoringTemplateOnGivenResources,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(ctx, \"test_monitoring_template_monitoring_template_on_given_resources_management\", \u0026stackmonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs{\n\t\t\tMonitoringTemplateId: pulumi.Any(testMonitoringTemplate.Id),\n\t\t\tEnableMonitoringTemplateOnGivenResources: pulumi.Any(enableMonitoringTemplateOnGivenResources),\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.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement;\nimport com.pulumi.oci.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs;\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 testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(\"testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement\", MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.builder()\n .monitoringTemplateId(testMonitoringTemplate.id())\n .enableMonitoringTemplateOnGivenResources(enableMonitoringTemplateOnGivenResources)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement:\n type: oci:StackMonitoring:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement\n name: test_monitoring_template_monitoring_template_on_given_resources_management\n properties:\n monitoringTemplateId: ${testMonitoringTemplate.id}\n enableMonitoringTemplateOnGivenResources: ${enableMonitoringTemplateOnGivenResources}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "enableMonitoringTemplateOnGivenResources": { + "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" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + } + }, + "required": [ + "enableMonitoringTemplateOnGivenResources", + "monitoringTemplateId" + ], + "inputProperties": { + "enableMonitoringTemplateOnGivenResources": { + "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" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "enableMonitoringTemplateOnGivenResources", + "monitoringTemplateId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources.\n", + "properties": { + "enableMonitoringTemplateOnGivenResources": { + "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" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "oci:StackMonitoring/processSet:ProcessSet": { "description": "This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nAPI to create Process Set.\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 testProcessSet = new oci.stackmonitoring.ProcessSet(\"test_process_set\", {\n compartmentId: compartmentId,\n displayName: processSetDisplayName,\n specification: {\n items: [{\n label: processSetSpecificationItemsLabel,\n processCommand: processSetSpecificationItemsProcessCommand,\n processLineRegexPattern: processSetSpecificationItemsProcessLineRegexPattern,\n processUser: processSetSpecificationItemsProcessUser,\n }],\n },\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_process_set = oci.stack_monitoring.ProcessSet(\"test_process_set\",\n compartment_id=compartment_id,\n display_name=process_set_display_name,\n specification={\n \"items\": [{\n \"label\": process_set_specification_items_label,\n \"process_command\": process_set_specification_items_process_command,\n \"process_line_regex_pattern\": process_set_specification_items_process_line_regex_pattern,\n \"process_user\": process_set_specification_items_process_user,\n }],\n },\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testProcessSet = new Oci.StackMonitoring.ProcessSet(\"test_process_set\", new()\n {\n CompartmentId = compartmentId,\n DisplayName = processSetDisplayName,\n Specification = new Oci.StackMonitoring.Inputs.ProcessSetSpecificationArgs\n {\n Items = new[]\n {\n new Oci.StackMonitoring.Inputs.ProcessSetSpecificationItemArgs\n {\n Label = processSetSpecificationItemsLabel,\n ProcessCommand = processSetSpecificationItemsProcessCommand,\n ProcessLineRegexPattern = processSetSpecificationItemsProcessLineRegexPattern,\n ProcessUser = processSetSpecificationItemsProcessUser,\n },\n },\n },\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.NewProcessSet(ctx, \"test_process_set\", \u0026stackmonitoring.ProcessSetArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(processSetDisplayName),\n\t\t\tSpecification: \u0026stackmonitoring.ProcessSetSpecificationArgs{\n\t\t\t\tItems: stackmonitoring.ProcessSetSpecificationItemArray{\n\t\t\t\t\t\u0026stackmonitoring.ProcessSetSpecificationItemArgs{\n\t\t\t\t\t\tLabel: pulumi.Any(processSetSpecificationItemsLabel),\n\t\t\t\t\t\tProcessCommand: pulumi.Any(processSetSpecificationItemsProcessCommand),\n\t\t\t\t\t\tProcessLineRegexPattern: pulumi.Any(processSetSpecificationItemsProcessLineRegexPattern),\n\t\t\t\t\t\tProcessUser: pulumi.Any(processSetSpecificationItemsProcessUser),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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})\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.StackMonitoring.ProcessSet;\nimport com.pulumi.oci.StackMonitoring.ProcessSetArgs;\nimport com.pulumi.oci.StackMonitoring.inputs.ProcessSetSpecificationArgs;\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 testProcessSet = new ProcessSet(\"testProcessSet\", ProcessSetArgs.builder()\n .compartmentId(compartmentId)\n .displayName(processSetDisplayName)\n .specification(ProcessSetSpecificationArgs.builder()\n .items(ProcessSetSpecificationItemArgs.builder()\n .label(processSetSpecificationItemsLabel)\n .processCommand(processSetSpecificationItemsProcessCommand)\n .processLineRegexPattern(processSetSpecificationItemsProcessLineRegexPattern)\n .processUser(processSetSpecificationItemsProcessUser)\n .build())\n .build())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProcessSet:\n type: oci:StackMonitoring:ProcessSet\n name: test_process_set\n properties:\n compartmentId: ${compartmentId}\n displayName: ${processSetDisplayName}\n specification:\n items:\n - label: ${processSetSpecificationItemsLabel}\n processCommand: ${processSetSpecificationItemsProcessCommand}\n processLineRegexPattern: ${processSetSpecificationItemsProcessLineRegexPattern}\n processUser: ${processSetSpecificationItemsProcessUser}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProcessSets can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:StackMonitoring/processSet:ProcessSet test_process_set \"id\"\n```\n", "properties": { @@ -582269,6 +587151,100 @@ "type": "object" } }, + "oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping": { + "description": "This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nAssign the tenancy record identified by the compartment ID to the given subscription 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 testSubscriptionMapping = new oci.tenantmanagercontrolplane.SubscriptionMapping(\"test_subscription_mapping\", {\n compartmentId: compartmentId,\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_mapping = oci.tenantmanagercontrolplane.SubscriptionMapping(\"test_subscription_mapping\",\n compartment_id=compartment_id,\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 testSubscriptionMapping = new Oci.Tenantmanagercontrolplane.SubscriptionMapping(\"test_subscription_mapping\", new()\n {\n CompartmentId = compartmentId,\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/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.NewSubscriptionMapping(ctx, \"test_subscription_mapping\", \u0026tenantmanagercontrolplane.SubscriptionMappingArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\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.Tenantmanagercontrolplane.SubscriptionMapping;\nimport com.pulumi.oci.Tenantmanagercontrolplane.SubscriptionMappingArgs;\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 testSubscriptionMapping = new SubscriptionMapping(\"testSubscriptionMapping\", SubscriptionMappingArgs.builder()\n .compartmentId(compartmentId)\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSubscriptionMapping:\n type: oci:Tenantmanagercontrolplane:SubscriptionMapping\n name: test_subscription_mapping\n properties:\n compartmentId: ${compartmentId}\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSubscriptionMappings can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "OCID of the compartment. Always a tenancy OCID.\n" + }, + "isExplicitlyAssigned": { + "type": "boolean", + "description": "Denotes if the subscription is explicity assigned to the root compartment or tenancy.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the subscriptionMapping.\n" + }, + "subscriptionId": { + "type": "string", + "description": "OCID of Subscription.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "timeCreated": { + "type": "string", + "description": "Date-time when subscription mapping was created.\n" + }, + "timeTerminated": { + "type": "string", + "description": "Date-time when subscription mapping was terminated.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when subscription mapping was updated.\n" + } + }, + "required": [ + "compartmentId", + "isExplicitlyAssigned", + "state", + "subscriptionId", + "timeCreated", + "timeTerminated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "OCID of the compartment. Always a tenancy OCID.\n", + "willReplaceOnChanges": true + }, + "subscriptionId": { + "type": "string", + "description": "OCID of Subscription.\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", + "subscriptionId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SubscriptionMapping resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "OCID of the compartment. Always a tenancy OCID.\n", + "willReplaceOnChanges": true + }, + "isExplicitlyAssigned": { + "type": "boolean", + "description": "Denotes if the subscription is explicity assigned to the root compartment or tenancy.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the subscriptionMapping.\n" + }, + "subscriptionId": { + "type": "string", + "description": "OCID of Subscription.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "willReplaceOnChanges": true + }, + "timeCreated": { + "type": "string", + "description": "Date-time when subscription mapping was created.\n" + }, + "timeTerminated": { + "type": "string", + "description": "Date-time when subscription mapping was terminated.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Date-time when subscription mapping was updated.\n" + } + }, + "type": "object" + } + }, "oci:UsageProxy/subscriptionRedeemableUser:SubscriptionRedeemableUser": { "description": "This resource provides the Subscription Redeemable User resource in Oracle Cloud Infrastructure Usage Proxy service.\n\nAdds the list of redeemable user summary for a subscription 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 testSubscriptionRedeemableUser = new oci.usageproxy.SubscriptionRedeemableUser(\"test_subscription_redeemable_user\", {\n subscriptionId: testSubscription.id,\n tenancyId: testTenancy.id,\n items: [{\n emailId: testEmail.id,\n firstName: subscriptionRedeemableUserItemsFirstName,\n lastName: subscriptionRedeemableUserItemsLastName,\n }],\n userId: testUser.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_redeemable_user = oci.usage_proxy.SubscriptionRedeemableUser(\"test_subscription_redeemable_user\",\n subscription_id=test_subscription[\"id\"],\n tenancy_id=test_tenancy[\"id\"],\n items=[{\n \"email_id\": test_email[\"id\"],\n \"first_name\": subscription_redeemable_user_items_first_name,\n \"last_name\": subscription_redeemable_user_items_last_name,\n }],\n user_id=test_user[\"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 testSubscriptionRedeemableUser = new Oci.UsageProxy.SubscriptionRedeemableUser(\"test_subscription_redeemable_user\", new()\n {\n SubscriptionId = testSubscription.Id,\n TenancyId = testTenancy.Id,\n Items = new[]\n {\n new Oci.UsageProxy.Inputs.SubscriptionRedeemableUserItemArgs\n {\n EmailId = testEmail.Id,\n FirstName = subscriptionRedeemableUserItemsFirstName,\n LastName = subscriptionRedeemableUserItemsLastName,\n },\n },\n UserId = testUser.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/usageproxy\"\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 := usageproxy.NewSubscriptionRedeemableUser(ctx, \"test_subscription_redeemable_user\", \u0026usageproxy.SubscriptionRedeemableUserArgs{\n\t\t\tSubscriptionId: pulumi.Any(testSubscription.Id),\n\t\t\tTenancyId: pulumi.Any(testTenancy.Id),\n\t\t\tItems: usageproxy.SubscriptionRedeemableUserItemArray{\n\t\t\t\t\u0026usageproxy.SubscriptionRedeemableUserItemArgs{\n\t\t\t\t\tEmailId: pulumi.Any(testEmail.Id),\n\t\t\t\t\tFirstName: pulumi.Any(subscriptionRedeemableUserItemsFirstName),\n\t\t\t\t\tLastName: pulumi.Any(subscriptionRedeemableUserItemsLastName),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUserId: pulumi.Any(testUser.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.UsageProxy.SubscriptionRedeemableUser;\nimport com.pulumi.oci.UsageProxy.SubscriptionRedeemableUserArgs;\nimport com.pulumi.oci.UsageProxy.inputs.SubscriptionRedeemableUserItemArgs;\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 testSubscriptionRedeemableUser = new SubscriptionRedeemableUser(\"testSubscriptionRedeemableUser\", SubscriptionRedeemableUserArgs.builder()\n .subscriptionId(testSubscription.id())\n .tenancyId(testTenancy.id())\n .items(SubscriptionRedeemableUserItemArgs.builder()\n .emailId(testEmail.id())\n .firstName(subscriptionRedeemableUserItemsFirstName)\n .lastName(subscriptionRedeemableUserItemsLastName)\n .build())\n .userId(testUser.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSubscriptionRedeemableUser:\n type: oci:UsageProxy:SubscriptionRedeemableUser\n name: test_subscription_redeemable_user\n properties:\n subscriptionId: ${testSubscription.id}\n tenancyId: ${testTenancy.id}\n items:\n - emailId: ${testEmail.id}\n firstName: ${subscriptionRedeemableUserItemsFirstName}\n lastName: ${subscriptionRedeemableUserItemsLastName}\n userId: ${testUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSubscriptionRedeemableUsers can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:UsageProxy/subscriptionRedeemableUser:SubscriptionRedeemableUser test_subscription_redeemable_user \"subscriptions/{subscriptionId}/redeemableUsers/tenancyId/{tenancyId}\"\n```\n", "properties": { @@ -582380,6 +587356,10 @@ "type": "string", "description": "(Updatable) A brief description of the secret. Avoid entering confidential information.\n" }, + "enableAutoGeneration": { + "type": "boolean", + "description": "(Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -582387,6 +587367,10 @@ }, "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" }, + "isAutoGenerationEnabled": { + "type": "boolean", + "description": "The value of this flag determines whether or not secret content will be generated automatically.\n" + }, "keyId": { "type": "string", "description": "The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.\n" @@ -582422,6 +587406,10 @@ "$ref": "#/types/oci:Vault/SecretSecretContent:SecretSecretContent", "description": "(Updatable) The content of the secret and metadata to help identify it.\n" }, + "secretGenerationContext": { + "$ref": "#/types/oci:Vault/SecretSecretGenerationContext:SecretSecretGenerationContext", + "description": "(Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.\n" + }, "secretName": { "type": "string", "description": "A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.\n" @@ -582460,6 +587448,7 @@ "definedTags", "description", "freeformTags", + "isAutoGenerationEnabled", "keyId", "lastRotationTime", "lifecycleDetails", @@ -582468,6 +587457,7 @@ "rotationConfig", "rotationStatus", "secretContent", + "secretGenerationContext", "secretName", "secretRules", "state", @@ -582492,6 +587482,10 @@ "type": "string", "description": "(Updatable) A brief description of the secret. Avoid entering confidential information.\n" }, + "enableAutoGeneration": { + "type": "boolean", + "description": "(Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -582519,6 +587513,10 @@ "$ref": "#/types/oci:Vault/SecretSecretContent:SecretSecretContent", "description": "(Updatable) The content of the secret and metadata to help identify it.\n" }, + "secretGenerationContext": { + "$ref": "#/types/oci:Vault/SecretSecretGenerationContext:SecretSecretGenerationContext", + "description": "(Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.\n" + }, "secretName": { "type": "string", "description": "A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.\n", @@ -582565,6 +587563,10 @@ "type": "string", "description": "(Updatable) A brief description of the secret. Avoid entering confidential information.\n" }, + "enableAutoGeneration": { + "type": "boolean", + "description": "(Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -582572,6 +587574,10 @@ }, "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" }, + "isAutoGenerationEnabled": { + "type": "boolean", + "description": "The value of this flag determines whether or not secret content will be generated automatically.\n" + }, "keyId": { "type": "string", "description": "The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.\n", @@ -582608,6 +587614,10 @@ "$ref": "#/types/oci:Vault/SecretSecretContent:SecretSecretContent", "description": "(Updatable) The content of the secret and metadata to help identify it.\n" }, + "secretGenerationContext": { + "$ref": "#/types/oci:Vault/SecretSecretGenerationContext:SecretSecretGenerationContext", + "description": "(Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.\n" + }, "secretName": { "type": "string", "description": "A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.\n", @@ -645475,6 +650485,13 @@ "outputs": { "description": "A collection of values returned by getAutonomousContainerDatabase.\n", "properties": { + "associatedBackupConfigurationDetails": { + "description": "A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.\n", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabaseAssociatedBackupConfigurationDetail:getAutonomousContainerDatabaseAssociatedBackupConfigurationDetail" + }, + "type": "array" + }, "autonomousContainerDatabaseId": { "type": "string" }, @@ -645501,6 +650518,13 @@ }, "type": "array" }, + "backupDestinationPropertiesLists": { + "description": "This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.\n", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabaseBackupDestinationPropertiesList:getAutonomousContainerDatabaseBackupDestinationPropertiesList" + }, + "type": "array" + }, "cloudAutonomousVmClusterId": { "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.\n", "type": "string" @@ -645692,6 +650716,13 @@ "description": "CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.\n", "type": "number" }, + "recoveryApplianceDetails": { + "description": "Information about the recovery appliance configuration associated with the Autonomous Container Database.\n", + "items": { + "$ref": "#/types/oci:Database/getAutonomousContainerDatabaseRecoveryApplianceDetail:getAutonomousContainerDatabaseRecoveryApplianceDetail" + }, + "type": "array" + }, "reservedCpus": { "description": "The number of CPUs reserved in an Autonomous Container Database.\n", "type": "number" @@ -645745,12 +650776,14 @@ } }, "required": [ + "associatedBackupConfigurationDetails", "autonomousContainerDatabaseId", "autonomousExadataInfrastructureId", "autonomousVmClusterId", "availabilityDomain", "availableCpus", "backupConfigs", + "backupDestinationPropertiesLists", "cloudAutonomousVmClusterId", "compartmentId", "computeModel", @@ -645796,6 +650829,7 @@ "provisionableCpuses", "provisionedCpus", "reclaimableCpus", + "recoveryApplianceDetails", "reservedCpus", "role", "rotateKeyTrigger", @@ -646467,6 +651501,13 @@ "description": "The character set for the autonomous database. The default is AL32UTF8. Allowed values are:\n", "type": "string" }, + "cloneTableSpaceLists": { + "description": "A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.\n=======\nAL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e theirs\n", + "items": { + "type": "integer" + }, + "type": "array" + }, "cloneType": { "type": "string" }, @@ -646746,6 +651787,10 @@ }, "type": "array" }, + "maintenanceTargetComponent": { + "description": "The component chosen for maintenance.\n", + "type": "string" + }, "maxCpuCoreCount": { "description": "The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.\n", "type": "integer" @@ -647062,6 +652107,7 @@ "backupRetentionPeriodInDays", "byolComputeCountLimit", "characterSet", + "cloneTableSpaceLists", "cloneType", "clusterPlacementGroupId", "compartmentId", @@ -647124,6 +652170,7 @@ "localDisasterRecoveryType", "localStandbyDbs", "longTermBackupSchedules", + "maintenanceTargetComponent", "maxCpuCoreCount", "memoryPerOracleComputeUnitInGbs", "ncharacterSet", @@ -648016,7 +653063,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 lifecycleStateNotEqualTo: autonomousDatabaseLifecycleStateNotEqualTo,\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 lifecycle_state_not_equal_to=autonomous_database_lifecycle_state_not_equal_to,\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 LifecycleStateNotEqualTo = autonomousDatabaseLifecycleStateNotEqualTo,\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\tLifecycleStateNotEqualTo: pulumi.StringRef(autonomousDatabaseLifecycleStateNotEqualTo),\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 .lifecycleStateNotEqualTo(autonomousDatabaseLifecycleStateNotEqualTo)\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 lifecycleStateNotEqualTo: ${autonomousDatabaseLifecycleStateNotEqualTo}\n resourcePoolLeaderId: ${testResourcePoolLeader.id}\n state: ${autonomousDatabaseState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service.\n\nGets a list of Autonomous Databases based on the query parameters specified.\n\n\n## 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 lifecycleStateNotEqualTo: autonomousDatabaseLifecycleStateNotEqualTo,\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 lifecycle_state_not_equal_to=autonomous_database_lifecycle_state_not_equal_to,\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 LifecycleStateNotEqualTo = autonomousDatabaseLifecycleStateNotEqualTo,\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\tLifecycleStateNotEqualTo: pulumi.StringRef(autonomousDatabaseLifecycleStateNotEqualTo),\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 .lifecycleStateNotEqualTo(autonomousDatabaseLifecycleStateNotEqualTo)\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 lifecycleStateNotEqualTo: ${autonomousDatabaseLifecycleStateNotEqualTo}\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": { @@ -649626,14 +654673,26 @@ "description": "The current lifecycle state of the backup destination.\n", "type": "string" }, + "timeAtWhichStorageDetailsAreUpdated": { + "description": "The time when the total storage size and the utilized storage size of the backup destination are updated.\n", + "type": "string" + }, "timeCreated": { "description": "The date and time the backup destination was created.\n", "type": "string" }, + "totalStorageSizeInGbs": { + "description": "The total storage size of the backup destination in GBs, rounded to the nearest integer.\n", + "type": "integer" + }, "type": { "description": "Type of the backup destination.\n", "type": "string" }, + "utilizedStorageSizeInGbs": { + "description": "The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.\n", + "type": "integer" + }, "vpcUsers": { "description": "For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.\n", "items": { @@ -649658,8 +654717,11 @@ "nfsServers", "nfsServerExport", "state", + "timeAtWhichStorageDetailsAreUpdated", "timeCreated", + "totalStorageSizeInGbs", "type", + "utilizedStorageSizeInGbs", "vpcUsers" ], "type": "object" @@ -651449,6 +656511,9 @@ "privateIp": { "type": "string" }, + "privateIpV6": { + "type": "string" + }, "protectionMode": { "description": "The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation.\n", "type": "string" @@ -651521,6 +656586,7 @@ "peerSidPrefix", "peerVmClusterId", "privateIp", + "privateIpV6", "protectionMode", "role", "shape", @@ -657703,7 +662769,7 @@ } }, "oci:Database/getMaintenanceRuns:getMaintenanceRuns": { - "description": "This data source provides the list of Maintenance Runs in Oracle Cloud Infrastructure Database service.\n\nGets a list of the maintenance runs in the specified 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 testMaintenanceRuns = oci.Database.getMaintenanceRuns({\n compartmentId: compartmentId,\n availabilityDomain: maintenanceRunAvailabilityDomain,\n maintenanceSubtype: maintenanceRunMaintenanceSubtype,\n maintenanceType: maintenanceRunMaintenanceType,\n state: maintenanceRunState,\n targetResourceId: testTargetResource.id,\n targetResourceType: maintenanceRunTargetResourceType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id,\n availability_domain=maintenance_run_availability_domain,\n maintenance_subtype=maintenance_run_maintenance_subtype,\n maintenance_type=maintenance_run_maintenance_type,\n state=maintenance_run_state,\n target_resource_id=test_target_resource[\"id\"],\n target_resource_type=maintenance_run_target_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 testMaintenanceRuns = Oci.Database.GetMaintenanceRuns.Invoke(new()\n {\n CompartmentId = compartmentId,\n AvailabilityDomain = maintenanceRunAvailabilityDomain,\n MaintenanceSubtype = maintenanceRunMaintenanceSubtype,\n MaintenanceType = maintenanceRunMaintenanceType,\n State = maintenanceRunState,\n TargetResourceId = testTargetResource.Id,\n TargetResourceType = maintenanceRunTargetResourceType,\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.GetMaintenanceRuns(ctx, \u0026database.GetMaintenanceRunsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tAvailabilityDomain: pulumi.StringRef(maintenanceRunAvailabilityDomain),\n\t\t\tMaintenanceSubtype: pulumi.StringRef(maintenanceRunMaintenanceSubtype),\n\t\t\tMaintenanceType: pulumi.StringRef(maintenanceRunMaintenanceType),\n\t\t\tState: pulumi.StringRef(maintenanceRunState),\n\t\t\tTargetResourceId: pulumi.StringRef(testTargetResource.Id),\n\t\t\tTargetResourceType: pulumi.StringRef(maintenanceRunTargetResourceType),\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.GetMaintenanceRunsArgs;\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 testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder()\n .compartmentId(compartmentId)\n .availabilityDomain(maintenanceRunAvailabilityDomain)\n .maintenanceSubtype(maintenanceRunMaintenanceSubtype)\n .maintenanceType(maintenanceRunMaintenanceType)\n .state(maintenanceRunState)\n .targetResourceId(testTargetResource.id())\n .targetResourceType(maintenanceRunTargetResourceType)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMaintenanceRuns:\n fn::invoke:\n function: oci:Database:getMaintenanceRuns\n arguments:\n compartmentId: ${compartmentId}\n availabilityDomain: ${maintenanceRunAvailabilityDomain}\n maintenanceSubtype: ${maintenanceRunMaintenanceSubtype}\n maintenanceType: ${maintenanceRunMaintenanceType}\n state: ${maintenanceRunState}\n targetResourceId: ${testTargetResource.id}\n targetResourceType: ${maintenanceRunTargetResourceType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Maintenance Runs in Oracle Cloud Infrastructure Database service.\n\nGets a list of the maintenance runs in the specified 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 testMaintenanceRuns = oci.Database.getMaintenanceRuns({\n compartmentId: compartmentId,\n availabilityDomain: maintenanceRunAvailabilityDomain,\n isLocalAdg: maintenanceRunIsLocalAdg,\n maintenanceSubtype: maintenanceRunMaintenanceSubtype,\n maintenanceType: maintenanceRunMaintenanceType,\n state: maintenanceRunState,\n targetResourceId: testTargetResource.id,\n targetResourceType: maintenanceRunTargetResourceType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id,\n availability_domain=maintenance_run_availability_domain,\n is_local_adg=maintenance_run_is_local_adg,\n maintenance_subtype=maintenance_run_maintenance_subtype,\n maintenance_type=maintenance_run_maintenance_type,\n state=maintenance_run_state,\n target_resource_id=test_target_resource[\"id\"],\n target_resource_type=maintenance_run_target_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 testMaintenanceRuns = Oci.Database.GetMaintenanceRuns.Invoke(new()\n {\n CompartmentId = compartmentId,\n AvailabilityDomain = maintenanceRunAvailabilityDomain,\n IsLocalAdg = maintenanceRunIsLocalAdg,\n MaintenanceSubtype = maintenanceRunMaintenanceSubtype,\n MaintenanceType = maintenanceRunMaintenanceType,\n State = maintenanceRunState,\n TargetResourceId = testTargetResource.Id,\n TargetResourceType = maintenanceRunTargetResourceType,\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.GetMaintenanceRuns(ctx, \u0026database.GetMaintenanceRunsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tAvailabilityDomain: pulumi.StringRef(maintenanceRunAvailabilityDomain),\n\t\t\tIsLocalAdg: pulumi.BoolRef(maintenanceRunIsLocalAdg),\n\t\t\tMaintenanceSubtype: pulumi.StringRef(maintenanceRunMaintenanceSubtype),\n\t\t\tMaintenanceType: pulumi.StringRef(maintenanceRunMaintenanceType),\n\t\t\tState: pulumi.StringRef(maintenanceRunState),\n\t\t\tTargetResourceId: pulumi.StringRef(testTargetResource.Id),\n\t\t\tTargetResourceType: pulumi.StringRef(maintenanceRunTargetResourceType),\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.GetMaintenanceRunsArgs;\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 testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder()\n .compartmentId(compartmentId)\n .availabilityDomain(maintenanceRunAvailabilityDomain)\n .isLocalAdg(maintenanceRunIsLocalAdg)\n .maintenanceSubtype(maintenanceRunMaintenanceSubtype)\n .maintenanceType(maintenanceRunMaintenanceType)\n .state(maintenanceRunState)\n .targetResourceId(testTargetResource.id())\n .targetResourceType(maintenanceRunTargetResourceType)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMaintenanceRuns:\n fn::invoke:\n function: oci:Database:getMaintenanceRuns\n arguments:\n compartmentId: ${compartmentId}\n availabilityDomain: ${maintenanceRunAvailabilityDomain}\n isLocalAdg: ${maintenanceRunIsLocalAdg}\n maintenanceSubtype: ${maintenanceRunMaintenanceSubtype}\n maintenanceType: ${maintenanceRunMaintenanceType}\n state: ${maintenanceRunState}\n targetResourceId: ${testTargetResource.id}\n targetResourceType: ${maintenanceRunTargetResourceType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getMaintenanceRuns.\n", "properties": { @@ -657722,6 +662788,10 @@ }, "willReplaceOnChanges": true }, + "isLocalAdg": { + "type": "boolean", + "description": "A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.\n" + }, "maintenanceSubtype": { "type": "string", "description": "The sub-type of the maintenance run.\n" @@ -657768,6 +662838,9 @@ "description": "The provider-assigned unique ID for this managed resource.\n", "type": "string" }, + "isLocalAdg": { + "type": "boolean" + }, "maintenanceRuns": { "description": "The list of maintenance_runs.\n", "items": { @@ -681534,6 +686607,13 @@ "description": "The current state of this file system snapshot policy.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n", + "type": "object" + }, "timeCreated": { "description": "The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n", "type": "string" @@ -681552,6 +686632,7 @@ "policyPrefix", "schedules", "state", + "systemTags", "timeCreated" ], "type": "object" @@ -681737,6 +686818,13 @@ "description": "The current state of this outbound connector.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n", + "type": "object" + }, "timeCreated": { "description": "The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n", "type": "string" @@ -681758,6 +686846,7 @@ "passwordSecretId", "passwordSecretVersion", "state", + "systemTags", "timeCreated" ], "type": "object" @@ -681944,6 +687033,13 @@ "description": "The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n", + "type": "object" + }, "targetId": { "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system.\n", "type": "string" @@ -681972,6 +687068,7 @@ "replicationTargetId", "sourceId", "state", + "systemTags", "targetId", "timeCreated" ], @@ -682061,6 +687158,13 @@ "description": "The current state of this replication.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n", + "type": "object" + }, "targetId": { "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem.\n", "type": "string" @@ -682085,6 +687189,7 @@ "replicationTargetId", "sourceId", "state", + "systemTags", "targetId", "timeCreated", "id" @@ -682356,6 +687461,13 @@ "description": "The current state of the snapshot.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.\n", + "type": "object" + }, "timeCreated": { "description": "The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`\n", "type": "string" @@ -682378,6 +687490,7 @@ "snapshotTime", "snapshotType", "state", + "systemTags", "timeCreated" ], "type": "object" @@ -691442,7 +696555,7 @@ "type": "string" }, "authenticationType": { - "description": "Used authentication mechanism to be provided for the following connection types:\n* AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE\n* JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required.\n", + "description": "Used authentication mechanism to be provided for the following connection types:\n* AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE\n* JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required.\n* DATABRICKS - Required fields by authentication types:\n* PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password\n* OAUTH_M2M: user must enter clientId and clientSecret\n", "type": "string" }, "azureTenantId": { @@ -691488,7 +696601,7 @@ "type": "string" }, "connectionUrl": { - "description": "* JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'\n* SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n* AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'\n", + "description": "* JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'\n* SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://\u003caccount_name\u003e.snowflakecomputing.com/?warehouse=\u003cwarehouse-name\u003e\u0026db=\u003cdb-name\u003e'\n* AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'\n* DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'\n", "type": "string" }, "consumerProperties": { @@ -691534,6 +696647,7 @@ "type": "boolean" }, "endpoint": { + "description": "Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com\n", "type": "string" }, "fingerprint": { @@ -691670,7 +696784,7 @@ "type": "string" }, "region": { - "description": "The name of the region. e.g.: us-ashburn-1\n", + "description": "The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.\n", "type": "string" }, "routingMethod": { @@ -691717,12 +696831,16 @@ "description": "If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.\n", "type": "boolean" }, + "shouldUseResourcePrincipal": { + "description": "Indicates that the user intents to connect to the instance through resource principal.\n", + "type": "boolean" + }, "shouldValidateServerCertificate": { "description": "If set to true, the driver validates the certificate that is sent by the database server.\n", "type": "boolean" }, "sslCa": { - "description": "Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL).\n", + "description": "Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL).\n", "type": "string" }, "sslCert": { @@ -691774,6 +696892,10 @@ "description": "Possible lifecycle states for connection.\n", "type": "string" }, + "storageCredentialName": { + "description": "Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.\n", + "type": "string" + }, "streamPoolId": { "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced.\n", "type": "string" @@ -691797,6 +696919,10 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy.\n", "type": "string" }, + "tenantId": { + "description": "Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f\n", + "type": "string" + }, "timeCreated": { "description": "The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n", "type": "string" @@ -691805,6 +696931,25 @@ "description": "The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.\n", "type": "string" }, + "tlsCaFile": { + "type": "string" + }, + "tlsCertificateKeyFile": { + "type": "string" + }, + "tlsCertificateKeyFilePassword": { + "secret": true, + "type": "string" + }, + "tlsCertificateKeyFilePasswordSecretId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.\n", + "secret": true, + "type": "string" + }, + "tlsCertificateKeyFileSecretId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection.\n* The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.\n", + "type": "string" + }, "triggerRefresh": { "type": "boolean" }, @@ -691821,7 +696966,7 @@ "type": "string" }, "trustStoreSecretId": { - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided\n", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided.\n", "type": "string" }, "url": { @@ -691829,11 +696974,11 @@ "type": "string" }, "userId": { - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to.\n", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.\n", "type": "string" }, "username": { - "description": "The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it.\n", + "description": "The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.\n", "type": "string" }, "vaultId": { @@ -691922,6 +697067,7 @@ "serviceAccountKeyFileSecretId", "sessionMode", "shouldUseJndi", + "shouldUseResourcePrincipal", "shouldValidateServerCertificate", "sslCa", "sslCert", @@ -691937,13 +697083,20 @@ "sslMode", "sslServerCertificate", "state", + "storageCredentialName", "streamPoolId", "subnetId", "systemTags", "technologyType", "tenancyId", + "tenantId", "timeCreated", "timeUpdated", + "tlsCaFile", + "tlsCertificateKeyFile", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", + "tlsCertificateKeyFileSecretId", "triggerRefresh", "trustStore", "trustStorePassword", @@ -718399,6 +723552,157 @@ "type": "object" } }, + "oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics": { + "description": "This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service.\n\nReturns a high level summary of FleetErrors.\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 testFleetErrorAnalytics = oci.Jms.getFleetErrorAnalytics({\n compartmentId: compartmentId,\n compartmentIdInSubtree: fleetErrorAnalyticCompartmentIdInSubtree,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_fleet_error_analytics = oci.Jms.get_fleet_error_analytics(compartment_id=compartment_id,\n compartment_id_in_subtree=fleet_error_analytic_compartment_id_in_subtree)\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 testFleetErrorAnalytics = Oci.Jms.GetFleetErrorAnalytics.Invoke(new()\n {\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = fleetErrorAnalyticCompartmentIdInSubtree,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetFleetErrorAnalytics(ctx, \u0026jms.GetFleetErrorAnalyticsArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(fleetErrorAnalyticCompartmentIdInSubtree),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs;\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 testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder()\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testFleetErrorAnalytics:\n fn::invoke:\n function: oci:Jms:getFleetErrorAnalytics\n arguments:\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${fleetErrorAnalyticCompartmentIdInSubtree}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getFleetErrorAnalytics.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorAnalyticsFilter:getFleetErrorAnalyticsFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getFleetErrorAnalytics.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorAnalyticsFilter:getFleetErrorAnalyticsFilter" + }, + "type": "array" + }, + "fleetErrorAggregationCollections": { + "description": "The list of fleet_error_aggregation_collection.\n", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorAnalyticsFleetErrorAggregationCollection:getFleetErrorAnalyticsFleetErrorAggregationCollection" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "fleetErrorAggregationCollections", + "id" + ], + "type": "object" + } + }, + "oci:Jms/getFleetErrors:getFleetErrors": { + "description": "This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service.\n\nReturns a list of fleet errors that describe all detected errors.\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 testFleetErrors = oci.Jms.getFleetErrors({\n compartmentId: compartmentId,\n compartmentIdInSubtree: fleetErrorCompartmentIdInSubtree,\n fleetId: testFleet.id,\n timeFirstSeenGreaterThanOrEqualTo: fleetErrorTimeFirstSeenGreaterThanOrEqualTo,\n timeFirstSeenLessThanOrEqualTo: fleetErrorTimeFirstSeenLessThanOrEqualTo,\n timeLastSeenGreaterThanOrEqualTo: fleetErrorTimeLastSeenGreaterThanOrEqualTo,\n timeLastSeenLessThanOrEqualTo: fleetErrorTimeLastSeenLessThanOrEqualTo,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_fleet_errors = oci.Jms.get_fleet_errors(compartment_id=compartment_id,\n compartment_id_in_subtree=fleet_error_compartment_id_in_subtree,\n fleet_id=test_fleet[\"id\"],\n time_first_seen_greater_than_or_equal_to=fleet_error_time_first_seen_greater_than_or_equal_to,\n time_first_seen_less_than_or_equal_to=fleet_error_time_first_seen_less_than_or_equal_to,\n time_last_seen_greater_than_or_equal_to=fleet_error_time_last_seen_greater_than_or_equal_to,\n time_last_seen_less_than_or_equal_to=fleet_error_time_last_seen_less_than_or_equal_to)\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 testFleetErrors = Oci.Jms.GetFleetErrors.Invoke(new()\n {\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = fleetErrorCompartmentIdInSubtree,\n FleetId = testFleet.Id,\n TimeFirstSeenGreaterThanOrEqualTo = fleetErrorTimeFirstSeenGreaterThanOrEqualTo,\n TimeFirstSeenLessThanOrEqualTo = fleetErrorTimeFirstSeenLessThanOrEqualTo,\n TimeLastSeenGreaterThanOrEqualTo = fleetErrorTimeLastSeenGreaterThanOrEqualTo,\n TimeLastSeenLessThanOrEqualTo = fleetErrorTimeLastSeenLessThanOrEqualTo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetFleetErrors(ctx, \u0026jms.GetFleetErrorsArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(fleetErrorCompartmentIdInSubtree),\n\t\t\tFleetId: pulumi.StringRef(testFleet.Id),\n\t\t\tTimeFirstSeenGreaterThanOrEqualTo: pulumi.StringRef(fleetErrorTimeFirstSeenGreaterThanOrEqualTo),\n\t\t\tTimeFirstSeenLessThanOrEqualTo: pulumi.StringRef(fleetErrorTimeFirstSeenLessThanOrEqualTo),\n\t\t\tTimeLastSeenGreaterThanOrEqualTo: pulumi.StringRef(fleetErrorTimeLastSeenGreaterThanOrEqualTo),\n\t\t\tTimeLastSeenLessThanOrEqualTo: pulumi.StringRef(fleetErrorTimeLastSeenLessThanOrEqualTo),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs;\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 testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder()\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree)\n .fleetId(testFleet.id())\n .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo)\n .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo)\n .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo)\n .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testFleetErrors:\n fn::invoke:\n function: oci:Jms:getFleetErrors\n arguments:\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${fleetErrorCompartmentIdInSubtree}\n fleetId: ${testFleet.id}\n timeFirstSeenGreaterThanOrEqualTo: ${fleetErrorTimeFirstSeenGreaterThanOrEqualTo}\n timeFirstSeenLessThanOrEqualTo: ${fleetErrorTimeFirstSeenLessThanOrEqualTo}\n timeLastSeenGreaterThanOrEqualTo: ${fleetErrorTimeLastSeenGreaterThanOrEqualTo}\n timeLastSeenLessThanOrEqualTo: ${fleetErrorTimeLastSeenLessThanOrEqualTo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getFleetErrors.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorsFilter:getFleetErrorsFilter" + }, + "willReplaceOnChanges": true + }, + "fleetId": { + "type": "string", + "description": "The ID of the Fleet.\n" + }, + "timeFirstSeenGreaterThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeFirstSeenLessThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeLastSeenGreaterThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeLastSeenLessThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getFleetErrors.\n", + "properties": { + "compartmentId": { + "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.\n", + "type": "string" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorsFilter:getFleetErrorsFilter" + }, + "type": "array" + }, + "fleetErrorCollections": { + "description": "The list of fleet_error_collection.\n", + "items": { + "$ref": "#/types/oci:Jms/getFleetErrorsFleetErrorCollection:getFleetErrorsFleetErrorCollection" + }, + "type": "array" + }, + "fleetId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "timeFirstSeenGreaterThanOrEqualTo": { + "type": "string" + }, + "timeFirstSeenLessThanOrEqualTo": { + "type": "string" + }, + "timeLastSeenGreaterThanOrEqualTo": { + "type": "string" + }, + "timeLastSeenLessThanOrEqualTo": { + "type": "string" + } + }, + "required": [ + "fleetErrorCollections", + "id" + ], + "type": "object" + } + }, "oci:Jms/getFleetExportSetting:getFleetExportSetting": { "description": "This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service.\n\nReturns export setting for the specified fleet.\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 testFleetExportSetting = oci.Jms.getFleetExportSetting({\n fleetId: testFleet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_fleet_export_setting = oci.Jms.get_fleet_export_setting(fleet_id=test_fleet[\"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 testFleetExportSetting = Oci.Jms.GetFleetExportSetting.Invoke(new()\n {\n FleetId = testFleet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetFleetExportSetting(ctx, \u0026jms.GetFleetExportSettingArgs{\n\t\t\tFleetId: testFleet.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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs;\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 testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder()\n .fleetId(testFleet.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testFleetExportSetting:\n fn::invoke:\n function: oci:Jms:getFleetExportSetting\n arguments:\n fleetId: ${testFleet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -718870,7 +724174,7 @@ } }, "oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults": { - "description": "This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service.\n\nList Performance Tuning Analysis results.\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 testFleetPerformanceTuningAnalysisResults = oci.Jms.getFleetPerformanceTuningAnalysisResults({\n fleetId: testFleet.id,\n applicationId: fleetPerformanceTuningAnalysisResultApplicationId,\n hostName: fleetPerformanceTuningAnalysisResultHostName,\n managedInstanceId: fleetPerformanceTuningAnalysisResultManagedInstanceId,\n timeEnd: fleetPerformanceTuningAnalysisResultTimeEnd,\n timeStart: fleetPerformanceTuningAnalysisResultTimeStart,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_fleet_performance_tuning_analysis_results = oci.Jms.get_fleet_performance_tuning_analysis_results(fleet_id=test_fleet[\"id\"],\n application_id=fleet_performance_tuning_analysis_result_application_id,\n host_name=fleet_performance_tuning_analysis_result_host_name,\n managed_instance_id=fleet_performance_tuning_analysis_result_managed_instance_id,\n time_end=fleet_performance_tuning_analysis_result_time_end,\n time_start=fleet_performance_tuning_analysis_result_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 testFleetPerformanceTuningAnalysisResults = Oci.Jms.GetFleetPerformanceTuningAnalysisResults.Invoke(new()\n {\n FleetId = testFleet.Id,\n ApplicationId = fleetPerformanceTuningAnalysisResultApplicationId,\n HostName = fleetPerformanceTuningAnalysisResultHostName,\n ManagedInstanceId = fleetPerformanceTuningAnalysisResultManagedInstanceId,\n TimeEnd = fleetPerformanceTuningAnalysisResultTimeEnd,\n TimeStart = fleetPerformanceTuningAnalysisResultTimeStart,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetFleetPerformanceTuningAnalysisResults(ctx, \u0026jms.GetFleetPerformanceTuningAnalysisResultsArgs{\n\t\t\tFleetId: testFleet.Id,\n\t\t\tApplicationId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultApplicationId),\n\t\t\tHostName: pulumi.StringRef(fleetPerformanceTuningAnalysisResultHostName),\n\t\t\tManagedInstanceId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultManagedInstanceId),\n\t\t\tTimeEnd: pulumi.StringRef(fleetPerformanceTuningAnalysisResultTimeEnd),\n\t\t\tTimeStart: pulumi.StringRef(fleetPerformanceTuningAnalysisResultTimeStart),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs;\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 testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder()\n .fleetId(testFleet.id())\n .applicationId(fleetPerformanceTuningAnalysisResultApplicationId)\n .hostName(fleetPerformanceTuningAnalysisResultHostName)\n .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId)\n .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd)\n .timeStart(fleetPerformanceTuningAnalysisResultTimeStart)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testFleetPerformanceTuningAnalysisResults:\n fn::invoke:\n function: oci:Jms:getFleetPerformanceTuningAnalysisResults\n arguments:\n fleetId: ${testFleet.id}\n applicationId: ${fleetPerformanceTuningAnalysisResultApplicationId}\n hostName: ${fleetPerformanceTuningAnalysisResultHostName}\n managedInstanceId: ${fleetPerformanceTuningAnalysisResultManagedInstanceId}\n timeEnd: ${fleetPerformanceTuningAnalysisResultTimeEnd}\n timeStart: ${fleetPerformanceTuningAnalysisResultTimeStart}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service.\n\nList Performance Tuning Analysis results.\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 testFleetPerformanceTuningAnalysisResults = oci.Jms.getFleetPerformanceTuningAnalysisResults({\n fleetId: testFleet.id,\n applicationId: fleetPerformanceTuningAnalysisResultApplicationId,\n applicationName: fleetPerformanceTuningAnalysisResultApplicationName,\n hostName: fleetPerformanceTuningAnalysisResultHostName,\n managedInstanceId: fleetPerformanceTuningAnalysisResultManagedInstanceId,\n timeEnd: fleetPerformanceTuningAnalysisResultTimeEnd,\n timeStart: fleetPerformanceTuningAnalysisResultTimeStart,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_fleet_performance_tuning_analysis_results = oci.Jms.get_fleet_performance_tuning_analysis_results(fleet_id=test_fleet[\"id\"],\n application_id=fleet_performance_tuning_analysis_result_application_id,\n application_name=fleet_performance_tuning_analysis_result_application_name,\n host_name=fleet_performance_tuning_analysis_result_host_name,\n managed_instance_id=fleet_performance_tuning_analysis_result_managed_instance_id,\n time_end=fleet_performance_tuning_analysis_result_time_end,\n time_start=fleet_performance_tuning_analysis_result_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 testFleetPerformanceTuningAnalysisResults = Oci.Jms.GetFleetPerformanceTuningAnalysisResults.Invoke(new()\n {\n FleetId = testFleet.Id,\n ApplicationId = fleetPerformanceTuningAnalysisResultApplicationId,\n ApplicationName = fleetPerformanceTuningAnalysisResultApplicationName,\n HostName = fleetPerformanceTuningAnalysisResultHostName,\n ManagedInstanceId = fleetPerformanceTuningAnalysisResultManagedInstanceId,\n TimeEnd = fleetPerformanceTuningAnalysisResultTimeEnd,\n TimeStart = fleetPerformanceTuningAnalysisResultTimeStart,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetFleetPerformanceTuningAnalysisResults(ctx, \u0026jms.GetFleetPerformanceTuningAnalysisResultsArgs{\n\t\t\tFleetId: testFleet.Id,\n\t\t\tApplicationId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultApplicationId),\n\t\t\tApplicationName: pulumi.StringRef(fleetPerformanceTuningAnalysisResultApplicationName),\n\t\t\tHostName: pulumi.StringRef(fleetPerformanceTuningAnalysisResultHostName),\n\t\t\tManagedInstanceId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultManagedInstanceId),\n\t\t\tTimeEnd: pulumi.StringRef(fleetPerformanceTuningAnalysisResultTimeEnd),\n\t\t\tTimeStart: pulumi.StringRef(fleetPerformanceTuningAnalysisResultTimeStart),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs;\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 testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder()\n .fleetId(testFleet.id())\n .applicationId(fleetPerformanceTuningAnalysisResultApplicationId)\n .applicationName(fleetPerformanceTuningAnalysisResultApplicationName)\n .hostName(fleetPerformanceTuningAnalysisResultHostName)\n .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId)\n .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd)\n .timeStart(fleetPerformanceTuningAnalysisResultTimeStart)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testFleetPerformanceTuningAnalysisResults:\n fn::invoke:\n function: oci:Jms:getFleetPerformanceTuningAnalysisResults\n arguments:\n fleetId: ${testFleet.id}\n applicationId: ${fleetPerformanceTuningAnalysisResultApplicationId}\n applicationName: ${fleetPerformanceTuningAnalysisResultApplicationName}\n hostName: ${fleetPerformanceTuningAnalysisResultHostName}\n managedInstanceId: ${fleetPerformanceTuningAnalysisResultManagedInstanceId}\n timeEnd: ${fleetPerformanceTuningAnalysisResultTimeEnd}\n timeStart: ${fleetPerformanceTuningAnalysisResultTimeStart}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getFleetPerformanceTuningAnalysisResults.\n", "properties": { @@ -718878,6 +724182,10 @@ "type": "string", "description": "The Fleet-unique identifier of the related application.\n" }, + "applicationName": { + "type": "string", + "description": "The name of the application.\n" + }, "filters": { "type": "array", "items": { @@ -718918,6 +724226,10 @@ "description": "The OCID of the application for which the report has been generated.\n", "type": "string" }, + "applicationName": { + "description": "The name of the application for which the report has been generated.\n", + "type": "string" + }, "filters": { "items": { "$ref": "#/types/oci:Jms/getFleetPerformanceTuningAnalysisResultsFilter:getFleetPerformanceTuningAnalysisResultsFilter" @@ -720630,7 +725942,7 @@ } }, "oci:Jms/getJmsPlugins:getJmsPlugins": { - "description": "This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.\n\nLists the JmsPlugins.\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 testJmsPlugins = oci.Jms.getJmsPlugins({\n agentId: jmsPluginAgentId,\n availabilityStatus: jmsPluginAvailabilityStatus,\n compartmentId: compartmentId,\n compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree,\n fleetId: testFleet.id,\n hostnameContains: jmsPluginHostnameContains,\n id: jmsPluginId,\n state: jmsPluginState,\n timeLastSeenLessThanOrEqualTo: jmsPluginTimeLastSeenLessThanOrEqualTo,\n timeRegisteredLessThanOrEqualTo: jmsPluginTimeRegisteredLessThanOrEqualTo,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_jms_plugins = oci.Jms.get_jms_plugins(agent_id=jms_plugin_agent_id,\n availability_status=jms_plugin_availability_status,\n compartment_id=compartment_id,\n compartment_id_in_subtree=jms_plugin_compartment_id_in_subtree,\n fleet_id=test_fleet[\"id\"],\n hostname_contains=jms_plugin_hostname_contains,\n id=jms_plugin_id,\n state=jms_plugin_state,\n time_last_seen_less_than_or_equal_to=jms_plugin_time_last_seen_less_than_or_equal_to,\n time_registered_less_than_or_equal_to=jms_plugin_time_registered_less_than_or_equal_to)\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 testJmsPlugins = Oci.Jms.GetJmsPlugins.Invoke(new()\n {\n AgentId = jmsPluginAgentId,\n AvailabilityStatus = jmsPluginAvailabilityStatus,\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = jmsPluginCompartmentIdInSubtree,\n FleetId = testFleet.Id,\n HostnameContains = jmsPluginHostnameContains,\n Id = jmsPluginId,\n State = jmsPluginState,\n TimeLastSeenLessThanOrEqualTo = jmsPluginTimeLastSeenLessThanOrEqualTo,\n TimeRegisteredLessThanOrEqualTo = jmsPluginTimeRegisteredLessThanOrEqualTo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetJmsPlugins(ctx, \u0026jms.GetJmsPluginsArgs{\n\t\t\tAgentId: pulumi.StringRef(jmsPluginAgentId),\n\t\t\tAvailabilityStatus: pulumi.StringRef(jmsPluginAvailabilityStatus),\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(jmsPluginCompartmentIdInSubtree),\n\t\t\tFleetId: pulumi.StringRef(testFleet.Id),\n\t\t\tHostnameContains: pulumi.StringRef(jmsPluginHostnameContains),\n\t\t\tId: pulumi.StringRef(jmsPluginId),\n\t\t\tState: pulumi.StringRef(jmsPluginState),\n\t\t\tTimeLastSeenLessThanOrEqualTo: pulumi.StringRef(jmsPluginTimeLastSeenLessThanOrEqualTo),\n\t\t\tTimeRegisteredLessThanOrEqualTo: pulumi.StringRef(jmsPluginTimeRegisteredLessThanOrEqualTo),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;\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 testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()\n .agentId(jmsPluginAgentId)\n .availabilityStatus(jmsPluginAvailabilityStatus)\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)\n .fleetId(testFleet.id())\n .hostnameContains(jmsPluginHostnameContains)\n .id(jmsPluginId)\n .state(jmsPluginState)\n .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)\n .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testJmsPlugins:\n fn::invoke:\n function: oci:Jms:getJmsPlugins\n arguments:\n agentId: ${jmsPluginAgentId}\n availabilityStatus: ${jmsPluginAvailabilityStatus}\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${jmsPluginCompartmentIdInSubtree}\n fleetId: ${testFleet.id}\n hostnameContains: ${jmsPluginHostnameContains}\n id: ${jmsPluginId}\n state: ${jmsPluginState}\n timeLastSeenLessThanOrEqualTo: ${jmsPluginTimeLastSeenLessThanOrEqualTo}\n timeRegisteredLessThanOrEqualTo: ${jmsPluginTimeRegisteredLessThanOrEqualTo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.\n\nLists the JmsPlugins.\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 testJmsPlugins = oci.Jms.getJmsPlugins({\n agentId: jmsPluginAgentId,\n agentType: jmsPluginAgentType,\n availabilityStatus: jmsPluginAvailabilityStatus,\n compartmentId: compartmentId,\n compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree,\n fleetId: testFleet.id,\n hostnameContains: jmsPluginHostnameContains,\n id: jmsPluginId,\n state: jmsPluginState,\n timeLastSeenLessThanOrEqualTo: jmsPluginTimeLastSeenLessThanOrEqualTo,\n timeRegisteredLessThanOrEqualTo: jmsPluginTimeRegisteredLessThanOrEqualTo,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_jms_plugins = oci.Jms.get_jms_plugins(agent_id=jms_plugin_agent_id,\n agent_type=jms_plugin_agent_type,\n availability_status=jms_plugin_availability_status,\n compartment_id=compartment_id,\n compartment_id_in_subtree=jms_plugin_compartment_id_in_subtree,\n fleet_id=test_fleet[\"id\"],\n hostname_contains=jms_plugin_hostname_contains,\n id=jms_plugin_id,\n state=jms_plugin_state,\n time_last_seen_less_than_or_equal_to=jms_plugin_time_last_seen_less_than_or_equal_to,\n time_registered_less_than_or_equal_to=jms_plugin_time_registered_less_than_or_equal_to)\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 testJmsPlugins = Oci.Jms.GetJmsPlugins.Invoke(new()\n {\n AgentId = jmsPluginAgentId,\n AgentType = jmsPluginAgentType,\n AvailabilityStatus = jmsPluginAvailabilityStatus,\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = jmsPluginCompartmentIdInSubtree,\n FleetId = testFleet.Id,\n HostnameContains = jmsPluginHostnameContains,\n Id = jmsPluginId,\n State = jmsPluginState,\n TimeLastSeenLessThanOrEqualTo = jmsPluginTimeLastSeenLessThanOrEqualTo,\n TimeRegisteredLessThanOrEqualTo = jmsPluginTimeRegisteredLessThanOrEqualTo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetJmsPlugins(ctx, \u0026jms.GetJmsPluginsArgs{\n\t\t\tAgentId: pulumi.StringRef(jmsPluginAgentId),\n\t\t\tAgentType: pulumi.StringRef(jmsPluginAgentType),\n\t\t\tAvailabilityStatus: pulumi.StringRef(jmsPluginAvailabilityStatus),\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(jmsPluginCompartmentIdInSubtree),\n\t\t\tFleetId: pulumi.StringRef(testFleet.Id),\n\t\t\tHostnameContains: pulumi.StringRef(jmsPluginHostnameContains),\n\t\t\tId: pulumi.StringRef(jmsPluginId),\n\t\t\tState: pulumi.StringRef(jmsPluginState),\n\t\t\tTimeLastSeenLessThanOrEqualTo: pulumi.StringRef(jmsPluginTimeLastSeenLessThanOrEqualTo),\n\t\t\tTimeRegisteredLessThanOrEqualTo: pulumi.StringRef(jmsPluginTimeRegisteredLessThanOrEqualTo),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;\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 testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()\n .agentId(jmsPluginAgentId)\n .agentType(jmsPluginAgentType)\n .availabilityStatus(jmsPluginAvailabilityStatus)\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)\n .fleetId(testFleet.id())\n .hostnameContains(jmsPluginHostnameContains)\n .id(jmsPluginId)\n .state(jmsPluginState)\n .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)\n .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testJmsPlugins:\n fn::invoke:\n function: oci:Jms:getJmsPlugins\n arguments:\n agentId: ${jmsPluginAgentId}\n agentType: ${jmsPluginAgentType}\n availabilityStatus: ${jmsPluginAvailabilityStatus}\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${jmsPluginCompartmentIdInSubtree}\n fleetId: ${testFleet.id}\n hostnameContains: ${jmsPluginHostnameContains}\n id: ${jmsPluginId}\n state: ${jmsPluginState}\n timeLastSeenLessThanOrEqualTo: ${jmsPluginTimeLastSeenLessThanOrEqualTo}\n timeRegisteredLessThanOrEqualTo: ${jmsPluginTimeRegisteredLessThanOrEqualTo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getJmsPlugins.\n", "properties": { @@ -720638,6 +725950,10 @@ "type": "string", "description": "The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent.\n" }, + "agentType": { + "type": "string", + "description": "Filter JmsPlugin with agent type.\n" + }, "availabilityStatus": { "type": "string", "description": "Filter JmsPlugin with its availability status.\n" @@ -720691,6 +726007,10 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.\n", "type": "string" }, + "agentType": { + "description": "The agent type.\n", + "type": "string" + }, "availabilityStatus": { "description": "The availability status.\n", "type": "string" @@ -720817,6 +726137,157 @@ "type": "object" } }, + "oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics": { + "description": "This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.\n\nReturns a high level summary of PluginErrors.\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 testPluginErrorAnalytics = oci.Jms.getPluginErrorAnalytics({\n compartmentId: compartmentId,\n compartmentIdInSubtree: pluginErrorAnalyticCompartmentIdInSubtree,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_plugin_error_analytics = oci.Jms.get_plugin_error_analytics(compartment_id=compartment_id,\n compartment_id_in_subtree=plugin_error_analytic_compartment_id_in_subtree)\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 testPluginErrorAnalytics = Oci.Jms.GetPluginErrorAnalytics.Invoke(new()\n {\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = pluginErrorAnalyticCompartmentIdInSubtree,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetPluginErrorAnalytics(ctx, \u0026jms.GetPluginErrorAnalyticsArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(pluginErrorAnalyticCompartmentIdInSubtree),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;\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 testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testPluginErrorAnalytics:\n fn::invoke:\n function: oci:Jms:getPluginErrorAnalytics\n arguments:\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${pluginErrorAnalyticCompartmentIdInSubtree}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPluginErrorAnalytics.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorAnalyticsFilter:getPluginErrorAnalyticsFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getPluginErrorAnalytics.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorAnalyticsFilter:getPluginErrorAnalyticsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "pluginErrorAggregationCollections": { + "description": "The list of plugin_error_aggregation_collection.\n", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorAnalyticsPluginErrorAggregationCollection:getPluginErrorAnalyticsPluginErrorAggregationCollection" + }, + "type": "array" + } + }, + "required": [ + "pluginErrorAggregationCollections", + "id" + ], + "type": "object" + } + }, + "oci:Jms/getPluginErrors:getPluginErrors": { + "description": "This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.\n\nReturns a list of plugin errors that describe all detected errors.\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 testPluginErrors = oci.Jms.getPluginErrors({\n compartmentId: compartmentId,\n compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree,\n managedInstanceId: testManagedInstance.id,\n timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo,\n timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo,\n timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo,\n timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_plugin_errors = oci.Jms.get_plugin_errors(compartment_id=compartment_id,\n compartment_id_in_subtree=plugin_error_compartment_id_in_subtree,\n managed_instance_id=test_managed_instance[\"id\"],\n time_first_seen_greater_than_or_equal_to=plugin_error_time_first_seen_greater_than_or_equal_to,\n time_first_seen_less_than_or_equal_to=plugin_error_time_first_seen_less_than_or_equal_to,\n time_last_seen_greater_than_or_equal_to=plugin_error_time_last_seen_greater_than_or_equal_to,\n time_last_seen_less_than_or_equal_to=plugin_error_time_last_seen_less_than_or_equal_to)\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 testPluginErrors = Oci.Jms.GetPluginErrors.Invoke(new()\n {\n CompartmentId = compartmentId,\n CompartmentIdInSubtree = pluginErrorCompartmentIdInSubtree,\n ManagedInstanceId = testManagedInstance.Id,\n TimeFirstSeenGreaterThanOrEqualTo = pluginErrorTimeFirstSeenGreaterThanOrEqualTo,\n TimeFirstSeenLessThanOrEqualTo = pluginErrorTimeFirstSeenLessThanOrEqualTo,\n TimeLastSeenGreaterThanOrEqualTo = pluginErrorTimeLastSeenGreaterThanOrEqualTo,\n TimeLastSeenLessThanOrEqualTo = pluginErrorTimeLastSeenLessThanOrEqualTo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetPluginErrors(ctx, \u0026jms.GetPluginErrorsArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(pluginErrorCompartmentIdInSubtree),\n\t\t\tManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),\n\t\t\tTimeFirstSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenGreaterThanOrEqualTo),\n\t\t\tTimeFirstSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenLessThanOrEqualTo),\n\t\t\tTimeLastSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenGreaterThanOrEqualTo),\n\t\t\tTimeLastSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenLessThanOrEqualTo),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;\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 testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()\n .compartmentId(compartmentId)\n .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)\n .managedInstanceId(testManagedInstance.id())\n .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)\n .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)\n .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)\n .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testPluginErrors:\n fn::invoke:\n function: oci:Jms:getPluginErrors\n arguments:\n compartmentId: ${compartmentId}\n compartmentIdInSubtree: ${pluginErrorCompartmentIdInSubtree}\n managedInstanceId: ${testManagedInstance.id}\n timeFirstSeenGreaterThanOrEqualTo: ${pluginErrorTimeFirstSeenGreaterThanOrEqualTo}\n timeFirstSeenLessThanOrEqualTo: ${pluginErrorTimeFirstSeenLessThanOrEqualTo}\n timeLastSeenGreaterThanOrEqualTo: ${pluginErrorTimeLastSeenGreaterThanOrEqualTo}\n timeLastSeenLessThanOrEqualTo: ${pluginErrorTimeLastSeenLessThanOrEqualTo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPluginErrors.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorsFilter:getPluginErrorsFilter" + }, + "willReplaceOnChanges": true + }, + "managedInstanceId": { + "type": "string", + "description": "The Fleet-unique identifier of the managed instance.\n" + }, + "timeFirstSeenGreaterThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeFirstSeenLessThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeLastSeenGreaterThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).\n" + }, + "timeLastSeenLessThanOrEqualTo": { + "type": "string", + "description": "If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getPluginErrors.\n", + "properties": { + "compartmentId": { + "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.\n", + "type": "string" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorsFilter:getPluginErrorsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "managedInstanceId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin.\n", + "type": "string" + }, + "pluginErrorCollections": { + "description": "The list of plugin_error_collection.\n", + "items": { + "$ref": "#/types/oci:Jms/getPluginErrorsPluginErrorCollection:getPluginErrorsPluginErrorCollection" + }, + "type": "array" + }, + "timeFirstSeenGreaterThanOrEqualTo": { + "type": "string" + }, + "timeFirstSeenLessThanOrEqualTo": { + "type": "string" + }, + "timeLastSeenGreaterThanOrEqualTo": { + "type": "string" + }, + "timeLastSeenLessThanOrEqualTo": { + "type": "string" + } + }, + "required": [ + "pluginErrorCollections", + "id" + ], + "type": "object" + } + }, "oci:Jms/getSummarizeResourceInventory:getSummarizeResourceInventory": { "description": "This data source provides details about a specific Summarize Resource Inventory resource in Oracle Cloud Infrastructure Jms service.\n\nRetrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.\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 testSummarizeResourceInventory = oci.Jms.getSummarizeResourceInventory({\n compartmentId: compartmentId,\n timeEnd: summarizeResourceInventoryTimeEnd,\n timeStart: summarizeResourceInventoryTimeStart,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_summarize_resource_inventory = oci.Jms.get_summarize_resource_inventory(compartment_id=compartment_id,\n time_end=summarize_resource_inventory_time_end,\n time_start=summarize_resource_inventory_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 testSummarizeResourceInventory = Oci.Jms.GetSummarizeResourceInventory.Invoke(new()\n {\n CompartmentId = compartmentId,\n TimeEnd = summarizeResourceInventoryTimeEnd,\n TimeStart = summarizeResourceInventoryTimeStart,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms\"\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 := jms.GetSummarizeResourceInventory(ctx, \u0026jms.GetSummarizeResourceInventoryArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tTimeEnd: pulumi.StringRef(summarizeResourceInventoryTimeEnd),\n\t\t\tTimeStart: pulumi.StringRef(summarizeResourceInventoryTimeStart),\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.Jms.JmsFunctions;\nimport com.pulumi.oci.Jms.inputs.GetSummarizeResourceInventoryArgs;\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 testSummarizeResourceInventory = JmsFunctions.getSummarizeResourceInventory(GetSummarizeResourceInventoryArgs.builder()\n .compartmentId(compartmentId)\n .timeEnd(summarizeResourceInventoryTimeEnd)\n .timeStart(summarizeResourceInventoryTimeStart)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSummarizeResourceInventory:\n fn::invoke:\n function: oci:Jms:getSummarizeResourceInventory\n arguments:\n compartmentId: ${compartmentId}\n timeEnd: ${summarizeResourceInventoryTimeEnd}\n timeStart: ${summarizeResourceInventoryTimeStart}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -765349,6 +770820,81 @@ "type": "object" } }, + "oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates": { + "description": "This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service.\n\nList Defined Monitoring Templates.\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 testDefinedMonitoringTemplates = oci.StackMonitoring.getDefinedMonitoringTemplates({\n compartmentId: compartmentId,\n displayName: definedMonitoringTemplateDisplayName,\n resourceTypes: definedMonitoringTemplateResourceTypes,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_defined_monitoring_templates = oci.StackMonitoring.get_defined_monitoring_templates(compartment_id=compartment_id,\n display_name=defined_monitoring_template_display_name,\n resource_types=defined_monitoring_template_resource_types)\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 testDefinedMonitoringTemplates = Oci.StackMonitoring.GetDefinedMonitoringTemplates.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = definedMonitoringTemplateDisplayName,\n ResourceTypes = definedMonitoringTemplateResourceTypes,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetDefinedMonitoringTemplates(ctx, \u0026stackmonitoring.GetDefinedMonitoringTemplatesArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(definedMonitoringTemplateDisplayName),\n\t\t\tResourceTypes: definedMonitoringTemplateResourceTypes,\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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;\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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()\n .compartmentId(compartmentId)\n .displayName(definedMonitoringTemplateDisplayName)\n .resourceTypes(definedMonitoringTemplateResourceTypes)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDefinedMonitoringTemplates:\n fn::invoke:\n function: oci:StackMonitoring:getDefinedMonitoringTemplates\n arguments:\n compartmentId: ${compartmentId}\n displayName: ${definedMonitoringTemplateDisplayName}\n resourceTypes: ${definedMonitoringTemplateResourceTypes}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDefinedMonitoringTemplates.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return monitoring template based on name.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesFilter:getDefinedMonitoringTemplatesFilter" + }, + "willReplaceOnChanges": true + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Multiple resource types filter.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDefinedMonitoringTemplates.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "definedMonitoringTemplateCollections": { + "description": "The list of defined_monitoring_template_collection.\n", + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection:getDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection" + }, + "type": "array" + }, + "displayName": { + "description": "The name of the definedMonitoringTemplate.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:StackMonitoring/getDefinedMonitoringTemplatesFilter:getDefinedMonitoringTemplatesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "resourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "compartmentId", + "definedMonitoringTemplateCollections", + "id" + ], + "type": "object" + } + }, "oci:StackMonitoring/getDiscoveryJob:getDiscoveryJob": { "description": "This data source provides details about a specific Discovery Job resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nAPI to get the details of discovery Job by identifier.\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 testDiscoveryJob = oci.StackMonitoring.getDiscoveryJob({\n discoveryJobId: testDiscoveryJobOciStackMonitoringDiscoveryJob.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_discovery_job = oci.StackMonitoring.get_discovery_job(discovery_job_id=test_discovery_job_oci_stack_monitoring_discovery_job[\"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 testDiscoveryJob = Oci.StackMonitoring.GetDiscoveryJob.Invoke(new()\n {\n DiscoveryJobId = testDiscoveryJobOciStackMonitoringDiscoveryJob.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetDiscoveryJob(ctx, \u0026stackmonitoring.GetDiscoveryJobArgs{\n\t\t\tDiscoveryJobId: testDiscoveryJobOciStackMonitoringDiscoveryJob.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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetDiscoveryJobArgs;\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 testDiscoveryJob = StackMonitoringFunctions.getDiscoveryJob(GetDiscoveryJobArgs.builder()\n .discoveryJobId(testDiscoveryJobOciStackMonitoringDiscoveryJob.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDiscoveryJob:\n fn::invoke:\n function: oci:StackMonitoring:getDiscoveryJob\n arguments:\n discoveryJobId: ${testDiscoveryJobOciStackMonitoringDiscoveryJob.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -765800,7 +771346,7 @@ "type": "string" }, "enabledOnResources": { - "description": "List of resource objects on which this metric extension is enabled.\n", + "description": "List of resource details objects having resourceIds on which this metric extension is enabled.\n", "items": { "$ref": "#/types/oci:StackMonitoring/getMetricExtensionEnabledOnResource:getMetricExtensionEnabledOnResource" }, @@ -766360,6 +771906,13 @@ "outputs": { "description": "A collection of values returned by getMonitoredResourceType.\n", "properties": { + "additionalNamespaceMap": { + "additionalProperties": { + "type": "string" + }, + "description": "Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.\n", + "type": "object" + }, "compartmentId": { "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.\n", "type": "string" @@ -766437,6 +771990,7 @@ } }, "required": [ + "additionalNamespaceMap", "compartmentId", "definedTags", "description", @@ -766645,6 +772199,502 @@ "type": "object" } }, + "oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate": { + "description": "This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nGets a Monitoring Template 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 testMonitoringTemplate = oci.StackMonitoring.getMonitoringTemplate({\n monitoringTemplateId: testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template = oci.StackMonitoring.get_monitoring_template(monitoring_template_id=test_monitoring_template_oci_stack_monitoring_monitoring_template[\"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 testMonitoringTemplate = Oci.StackMonitoring.GetMonitoringTemplate.Invoke(new()\n {\n MonitoringTemplateId = testMonitoringTemplateOciStackMonitoringMonitoringTemplate.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetMonitoringTemplate(ctx, \u0026stackmonitoring.GetMonitoringTemplateArgs{\n\t\t\tMonitoringTemplateId: testMonitoringTemplateOciStackMonitoringMonitoringTemplate.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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;\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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()\n .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMonitoringTemplate:\n fn::invoke:\n function: oci:StackMonitoring:getMonitoringTemplate\n arguments:\n monitoringTemplateId: ${testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getMonitoringTemplate.\n", + "properties": { + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + } + }, + "type": "object", + "required": [ + "monitoringTemplateId" + ] + }, + "outputs": { + "description": "A collection of values returned by getMonitoringTemplate.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment containing the monitoringTemplate.\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": "A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.\n", + "type": "string" + }, + "destinations": { + "description": "A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "displayName": { + "description": "A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.\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 OCID of the resourceInstance/resourceType/resourceGroup\n", + "type": "string" + }, + "isAlarmsEnabled": { + "description": "Whether the alarm is enabled or disabled. Default value is enabled.\n", + "type": "boolean" + }, + "isSplitNotificationEnabled": { + "description": "Whether the alarm notification is enabled or disabled, it will be Enabled by default.\n", + "type": "boolean" + }, + "members": { + "description": "List of members of this monitoring template.\n", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateMember:getMonitoringTemplateMember" + }, + "type": "array" + }, + "messageFormat": { + "description": "The format to use for alarm notifications.\n", + "type": "string" + }, + "monitoringTemplateId": { + "type": "string" + }, + "repeatNotificationDuration": { + "description": "The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the monitoring template.\n", + "type": "string" + }, + "status": { + "description": "The current status of the monitoring template i.e. whether it is Applied or NotApplied.\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" + }, + "tenantId": { + "description": "Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)\n", + "type": "string" + }, + "timeCreated": { + "description": "The date and time the monitoringTemplate was created. Format defined by RFC3339.\n", + "type": "string" + }, + "timeUpdated": { + "description": "The date and time the monitoringTemplate was last updated. Format defined by RFC3339.\n", + "type": "string" + }, + "totalAlarmConditions": { + "description": "Total Alarm Conditions\n", + "type": "number" + }, + "totalAppliedAlarmConditions": { + "description": "Total Applied Alarm Conditions\n", + "type": "number" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "destinations", + "displayName", + "freeformTags", + "id", + "isAlarmsEnabled", + "isSplitNotificationEnabled", + "members", + "messageFormat", + "monitoringTemplateId", + "repeatNotificationDuration", + "state", + "status", + "systemTags", + "tenantId", + "timeCreated", + "timeUpdated", + "totalAlarmConditions", + "totalAppliedAlarmConditions" + ], + "type": "object" + } + }, + "oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition": { + "description": "This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nGets a Alarm Condition 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 testMonitoringTemplateAlarmCondition = oci.StackMonitoring.getMonitoringTemplateAlarmCondition({\n alarmConditionId: testAlarmCondition.id,\n monitoringTemplateId: testMonitoringTemplate.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template_alarm_condition = oci.StackMonitoring.get_monitoring_template_alarm_condition(alarm_condition_id=test_alarm_condition[\"id\"],\n monitoring_template_id=test_monitoring_template[\"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 testMonitoringTemplateAlarmCondition = Oci.StackMonitoring.GetMonitoringTemplateAlarmCondition.Invoke(new()\n {\n AlarmConditionId = testAlarmCondition.Id,\n MonitoringTemplateId = testMonitoringTemplate.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetMonitoringTemplateAlarmCondition(ctx, \u0026stackmonitoring.GetMonitoringTemplateAlarmConditionArgs{\n\t\t\tAlarmConditionId: testAlarmCondition.Id,\n\t\t\tMonitoringTemplateId: testMonitoringTemplate.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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;\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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()\n .alarmConditionId(testAlarmCondition.id())\n .monitoringTemplateId(testMonitoringTemplate.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMonitoringTemplateAlarmCondition:\n fn::invoke:\n function: oci:StackMonitoring:getMonitoringTemplateAlarmCondition\n arguments:\n alarmConditionId: ${testAlarmCondition.id}\n monitoringTemplateId: ${testMonitoringTemplate.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getMonitoringTemplateAlarmCondition.\n", + "properties": { + "alarmConditionId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + } + }, + "type": "object", + "required": [ + "alarmConditionId", + "monitoringTemplateId" + ] + }, + "outputs": { + "description": "A collection of values returned by getMonitoringTemplateAlarmCondition.\n", + "properties": { + "alarmConditionId": { + "type": "string" + }, + "compositeType": { + "description": "The OCID of the composite resource type like EBS/PEOPLE_SOFT.\n", + "type": "string" + }, + "conditionType": { + "description": "Type of defined monitoring template.\n", + "type": "string" + }, + "conditions": { + "description": "Monitoring template conditions\n", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionCondition:getMonitoringTemplateAlarmConditionCondition" + }, + "type": "array" + }, + "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" + }, + "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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition.\n", + "type": "string" + }, + "metricName": { + "description": "The metric name.\n", + "type": "string" + }, + "monitoringTemplateId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "type": "string" + }, + "namespace": { + "description": "The stack monitoring service or application emitting the metric that is evaluated by the alarm.\n", + "type": "string" + }, + "resourceType": { + "description": "The resource type OCID.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the monitoring template\n", + "type": "string" + }, + "status": { + "description": "The current status of the monitoring template i.e. whether it is Published or Unpublished\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 date and time the alarm condition was created. Format defined by RFC3339.\n", + "type": "string" + }, + "timeUpdated": { + "description": "The date and time the alarm condition was updated. Format defined by RFC3339.\n", + "type": "string" + } + }, + "required": [ + "alarmConditionId", + "compositeType", + "conditionType", + "conditions", + "definedTags", + "freeformTags", + "id", + "metricName", + "monitoringTemplateId", + "namespace", + "resourceType", + "state", + "status", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "type": "object" + } + }, + "oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions": { + "description": "This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service.\n\nReturns a list of Alarm Conditions.\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 testMonitoringTemplateAlarmConditions = oci.StackMonitoring.getMonitoringTemplateAlarmConditions({\n monitoringTemplateId: testMonitoringTemplate.id,\n metricNames: testMetric.name,\n resourceTypes: monitoringTemplateAlarmConditionResourceTypes,\n state: monitoringTemplateAlarmConditionState,\n status: monitoringTemplateAlarmConditionStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_template_alarm_conditions = oci.StackMonitoring.get_monitoring_template_alarm_conditions(monitoring_template_id=test_monitoring_template[\"id\"],\n metric_names=test_metric[\"name\"],\n resource_types=monitoring_template_alarm_condition_resource_types,\n state=monitoring_template_alarm_condition_state,\n status=monitoring_template_alarm_condition_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 testMonitoringTemplateAlarmConditions = Oci.StackMonitoring.GetMonitoringTemplateAlarmConditions.Invoke(new()\n {\n MonitoringTemplateId = testMonitoringTemplate.Id,\n MetricNames = testMetric.Name,\n ResourceTypes = monitoringTemplateAlarmConditionResourceTypes,\n State = monitoringTemplateAlarmConditionState,\n Status = monitoringTemplateAlarmConditionStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetMonitoringTemplateAlarmConditions(ctx, \u0026stackmonitoring.GetMonitoringTemplateAlarmConditionsArgs{\n\t\t\tMonitoringTemplateId: testMonitoringTemplate.Id,\n\t\t\tMetricNames: testMetric.Name,\n\t\t\tResourceTypes: monitoringTemplateAlarmConditionResourceTypes,\n\t\t\tState: pulumi.StringRef(monitoringTemplateAlarmConditionState),\n\t\t\tStatus: pulumi.StringRef(monitoringTemplateAlarmConditionStatus),\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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;\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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()\n .monitoringTemplateId(testMonitoringTemplate.id())\n .metricNames(testMetric.name())\n .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)\n .state(monitoringTemplateAlarmConditionState)\n .status(monitoringTemplateAlarmConditionStatus)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMonitoringTemplateAlarmConditions:\n fn::invoke:\n function: oci:StackMonitoring:getMonitoringTemplateAlarmConditions\n arguments:\n monitoringTemplateId: ${testMonitoringTemplate.id}\n metricNames: ${testMetric.name}\n resourceTypes: ${monitoringTemplateAlarmConditionResourceTypes}\n state: ${monitoringTemplateAlarmConditionState}\n status: ${monitoringTemplateAlarmConditionStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getMonitoringTemplateAlarmConditions.\n", + "properties": { + "alarmConditionId": { + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionsFilter:getMonitoringTemplateAlarmConditionsFilter" + }, + "willReplaceOnChanges": true + }, + "metricNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "metricName filter.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n" + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Multiple resource types filter.\n" + }, + "state": { + "type": "string", + "description": "A filter to return alarm condition based on Lifecycle State.\n" + }, + "status": { + "type": "string", + "description": "A filter to return alarm condition based on input status.\n" + } + }, + "type": "object", + "required": [ + "alarmConditionId", + "monitoringTemplateId" + ] + }, + "outputs": { + "description": "A collection of values returned by getMonitoringTemplateAlarmConditions.\n", + "properties": { + "alarmConditionCollections": { + "description": "The list of alarm_condition_collection.\n", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionsAlarmConditionCollection:getMonitoringTemplateAlarmConditionsAlarmConditionCollection" + }, + "type": "array" + }, + "alarmConditionId": { + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplateAlarmConditionsFilter:getMonitoringTemplateAlarmConditionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "metricNames": { + "description": "The metric name.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "monitoringTemplateId": { + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template.\n", + "type": "string" + }, + "resourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "The current lifecycle state of the monitoring template\n", + "type": "string" + }, + "status": { + "description": "The current status of the monitoring template i.e. whether it is Published or Unpublished\n", + "type": "string" + } + }, + "required": [ + "alarmConditionCollections", + "alarmConditionId", + "monitoringTemplateId", + "id" + ], + "type": "object" + } + }, + "oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates": { + "description": "This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service.\n\nReturns a list of Monitoring Templates.\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 testMonitoringTemplates = oci.StackMonitoring.getMonitoringTemplates({\n compartmentId: compartmentId,\n displayName: monitoringTemplateDisplayName,\n metricNames: testMetric.name,\n monitoringTemplateId: testMonitoringTemplate.id,\n namespaces: monitoringTemplateNamespace,\n resourceTypes: monitoringTemplateResourceTypes,\n state: monitoringTemplateState,\n status: monitoringTemplateStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_monitoring_templates = oci.StackMonitoring.get_monitoring_templates(compartment_id=compartment_id,\n display_name=monitoring_template_display_name,\n metric_names=test_metric[\"name\"],\n monitoring_template_id=test_monitoring_template[\"id\"],\n namespaces=monitoring_template_namespace,\n resource_types=monitoring_template_resource_types,\n state=monitoring_template_state,\n status=monitoring_template_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 testMonitoringTemplates = Oci.StackMonitoring.GetMonitoringTemplates.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = monitoringTemplateDisplayName,\n MetricNames = testMetric.Name,\n MonitoringTemplateId = testMonitoringTemplate.Id,\n Namespaces = monitoringTemplateNamespace,\n ResourceTypes = monitoringTemplateResourceTypes,\n State = monitoringTemplateState,\n Status = monitoringTemplateStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetMonitoringTemplates(ctx, \u0026stackmonitoring.GetMonitoringTemplatesArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tDisplayName: pulumi.StringRef(monitoringTemplateDisplayName),\n\t\t\tMetricNames: testMetric.Name,\n\t\t\tMonitoringTemplateId: pulumi.StringRef(testMonitoringTemplate.Id),\n\t\t\tNamespaces: monitoringTemplateNamespace,\n\t\t\tResourceTypes: monitoringTemplateResourceTypes,\n\t\t\tState: pulumi.StringRef(monitoringTemplateState),\n\t\t\tStatus: pulumi.StringRef(monitoringTemplateStatus),\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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;\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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()\n .compartmentId(compartmentId)\n .displayName(monitoringTemplateDisplayName)\n .metricNames(testMetric.name())\n .monitoringTemplateId(testMonitoringTemplate.id())\n .namespaces(monitoringTemplateNamespace)\n .resourceTypes(monitoringTemplateResourceTypes)\n .state(monitoringTemplateState)\n .status(monitoringTemplateStatus)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testMonitoringTemplates:\n fn::invoke:\n function: oci:StackMonitoring:getMonitoringTemplates\n arguments:\n compartmentId: ${compartmentId}\n displayName: ${monitoringTemplateDisplayName}\n metricNames: ${testMetric.name}\n monitoringTemplateId: ${testMonitoringTemplate.id}\n namespaces: ${monitoringTemplateNamespace}\n resourceTypes: ${monitoringTemplateResourceTypes}\n state: ${monitoringTemplateState}\n status: ${monitoringTemplateStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getMonitoringTemplates.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which data is listed.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return monitoring template based on name.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplatesFilter:getMonitoringTemplatesFilter" + }, + "willReplaceOnChanges": true + }, + "metricNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "metricName filter.\n" + }, + "monitoringTemplateId": { + "type": "string", + "description": "A filter to return monitoring template based on input monitoringTemplateId\n" + }, + "namespaces": { + "type": "array", + "items": { + "type": "string" + }, + "description": "namespace filter.\n" + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Multiple resource types filter.\n" + }, + "state": { + "type": "string", + "description": "A filter to return monitoring template based on Lifecycle State\n" + }, + "status": { + "type": "string", + "description": "A filter to return monitoring template based on input status\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getMonitoringTemplates.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment containing the monitoringTemplate.\n", + "type": "string" + }, + "displayName": { + "description": "A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplatesFilter:getMonitoringTemplatesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "metricNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "monitoringTemplateCollections": { + "description": "The list of monitoring_template_collection.\n", + "items": { + "$ref": "#/types/oci:StackMonitoring/getMonitoringTemplatesMonitoringTemplateCollection:getMonitoringTemplatesMonitoringTemplateCollection" + }, + "type": "array" + }, + "monitoringTemplateId": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "resourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "The current lifecycle state of the monitoring template.\n", + "type": "string" + }, + "status": { + "description": "The current status of the monitoring template i.e. whether it is Applied or NotApplied.\n", + "type": "string" + } + }, + "required": [ + "monitoringTemplateCollections", + "id" + ], + "type": "object" + } + }, "oci:StackMonitoring/getProcessSet:getProcessSet": { "description": "This data source provides details about a specific Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.\n\nAPI to get the details of a Process Set 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 testProcessSet = oci.StackMonitoring.getProcessSet({\n processSetId: testProcessSetOciStackMonitoringProcessSet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_process_set = oci.StackMonitoring.get_process_set(process_set_id=test_process_set_oci_stack_monitoring_process_set[\"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 testProcessSet = Oci.StackMonitoring.GetProcessSet.Invoke(new()\n {\n ProcessSetId = testProcessSetOciStackMonitoringProcessSet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring\"\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 := stackmonitoring.GetProcessSet(ctx, \u0026stackmonitoring.GetProcessSetArgs{\n\t\t\tProcessSetId: testProcessSetOciStackMonitoringProcessSet.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.StackMonitoring.StackMonitoringFunctions;\nimport com.pulumi.oci.StackMonitoring.inputs.GetProcessSetArgs;\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 testProcessSet = StackMonitoringFunctions.getProcessSet(GetProcessSetArgs.builder()\n .processSetId(testProcessSetOciStackMonitoringProcessSet.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testProcessSet:\n fn::invoke:\n function: oci:StackMonitoring:getProcessSet\n arguments:\n processSetId: ${testProcessSetOciStackMonitoringProcessSet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -767305,6 +773355,1931 @@ "type": "object" } }, + "oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription": { + "description": "This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGet the assigned subscription details by assigned subscription 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 testAssignedSubscription = oci.Tenantmanagercontrolplane.getAssignedSubscription({\n assignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_assigned_subscription = oci.Tenantmanagercontrolplane.get_assigned_subscription(assigned_subscription_id=test_assigned_subscription_oci_tenantmanagercontrolplane_assigned_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 testAssignedSubscription = Oci.Tenantmanagercontrolplane.GetAssignedSubscription.Invoke(new()\n {\n AssignedSubscriptionId = testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetAssignedSubscription(ctx, \u0026tenantmanagercontrolplane.GetAssignedSubscriptionArgs{\n\t\t\tAssignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;\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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()\n .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAssignedSubscription:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getAssignedSubscription\n arguments:\n assignedSubscriptionId: ${testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAssignedSubscription.\n", + "properties": { + "assignedSubscriptionId": { + "type": "string", + "description": "OCID of the assigned Oracle Cloud Subscription.\n" + } + }, + "type": "object", + "required": [ + "assignedSubscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAssignedSubscription.\n", + "properties": { + "assignedSubscriptionId": { + "type": "string" + }, + "classicSubscriptionId": { + "description": "Subscription ID.\n", + "type": "string" + }, + "cloudAmountCurrency": { + "description": "The currency code for the customer associated with the subscription.\n", + "type": "string" + }, + "compartmentId": { + "description": "The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "csiNumber": { + "description": "Customer service identifier for the customer associated with the subscription.\n", + "type": "string" + }, + "currencyCode": { + "description": "Currency code. For example USD, MXN.\n", + "type": "string" + }, + "customerCountryCode": { + "description": "The country code for the customer associated with the subscription.\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" + }, + "endDate": { + "description": "Date and time when the SKU ended.\n", + "type": "string" + }, + "entityVersion": { + "description": "The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).\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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isClassicSubscription": { + "description": "Specifies whether or not the subscription is legacy.\n", + "type": "boolean" + }, + "isGovernmentSubscription": { + "description": "Specifies whether or not the subscription is a government subscription.\n", + "type": "boolean" + }, + "managedBy": { + "description": "Service or component which is used to provision and manage the subscription.\n", + "type": "string" + }, + "orderIds": { + "description": "List of subscription order OCIDs that contributed to this subscription.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "programType": { + "description": "Specifies any program that is associated with the subscription.\n", + "type": "string" + }, + "promotions": { + "description": "List of promotions related to the subscription.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionPromotion:getAssignedSubscriptionPromotion" + }, + "type": "array" + }, + "purchaseEntitlementId": { + "description": "Purchase entitlement ID associated with the subscription.\n", + "type": "string" + }, + "regionAssignment": { + "description": "Region for the subscription.\n", + "type": "string" + }, + "serviceName": { + "description": "The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'.\n", + "type": "string" + }, + "skuses": { + "description": "List of SKUs linked to the subscription.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionSkus:getAssignedSubscriptionSkus" + }, + "type": "array" + }, + "startDate": { + "description": "Subscription start time.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the subscription.\n", + "type": "string" + }, + "subscriptionNumber": { + "description": "Unique Oracle Cloud Subscriptions identifier that is immutable on creation.\n", + "type": "string" + }, + "subscriptionTier": { + "description": "Tier for the subscription, whether a free promotion subscription or a paid subscription.\n", + "type": "string" + }, + "timeCreated": { + "description": "The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n", + "type": "string" + }, + "timeUpdated": { + "description": "The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n", + "type": "string" + } + }, + "required": [ + "assignedSubscriptionId", + "classicSubscriptionId", + "cloudAmountCurrency", + "compartmentId", + "csiNumber", + "currencyCode", + "customerCountryCode", + "definedTags", + "endDate", + "entityVersion", + "freeformTags", + "isClassicSubscription", + "isGovernmentSubscription", + "managedBy", + "orderIds", + "programType", + "promotions", + "purchaseEntitlementId", + "regionAssignment", + "serviceName", + "skuses", + "startDate", + "state", + "subscriptionNumber", + "subscriptionTier", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems": { + "description": "This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nList line item summaries that a assigned subscription owns.\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 testAssignedSubscriptionLineItems = oci.Tenantmanagercontrolplane.getAssignedSubscriptionLineItems({\n assignedSubscriptionId: testAssignedSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_assigned_subscription_line_items = oci.Tenantmanagercontrolplane.get_assigned_subscription_line_items(assigned_subscription_id=test_assigned_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 testAssignedSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItems.Invoke(new()\n {\n AssignedSubscriptionId = testAssignedSubscription.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetAssignedSubscriptionLineItems(ctx, \u0026tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsArgs{\n\t\t\tAssignedSubscriptionId: testAssignedSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;\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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()\n .assignedSubscriptionId(testAssignedSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAssignedSubscriptionLineItems:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getAssignedSubscriptionLineItems\n arguments:\n assignedSubscriptionId: ${testAssignedSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAssignedSubscriptionLineItems.\n", + "properties": { + "assignedSubscriptionId": { + "type": "string", + "description": "OCID of the assigned Oracle Cloud Subscription.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsFilter:getAssignedSubscriptionLineItemsFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "assignedSubscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAssignedSubscriptionLineItems.\n", + "properties": { + "assignedSubscriptionId": { + "type": "string" + }, + "assignedSubscriptionLineItemCollections": { + "description": "The list of assigned_subscription_line_item_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection:getAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection" + }, + "type": "array" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItemsFilter:getAssignedSubscriptionLineItemsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "assignedSubscriptionId", + "assignedSubscriptionLineItemCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions": { + "description": "This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nLists subscriptions that are consumed by the compartment. Only the root compartment is allowed.\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 testAssignedSubscriptions = oci.Tenantmanagercontrolplane.getAssignedSubscriptions({\n compartmentId: compartmentId,\n entityVersion: assignedSubscriptionEntityVersion,\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_assigned_subscriptions = oci.Tenantmanagercontrolplane.get_assigned_subscriptions(compartment_id=compartment_id,\n entity_version=assigned_subscription_entity_version,\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 testAssignedSubscriptions = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptions.Invoke(new()\n {\n CompartmentId = compartmentId,\n EntityVersion = assignedSubscriptionEntityVersion,\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/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetAssignedSubscriptions(ctx, \u0026tenantmanagercontrolplane.GetAssignedSubscriptionsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tEntityVersion: pulumi.StringRef(assignedSubscriptionEntityVersion),\n\t\t\tSubscriptionId: pulumi.StringRef(testSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;\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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()\n .compartmentId(compartmentId)\n .entityVersion(assignedSubscriptionEntityVersion)\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAssignedSubscriptions:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getAssignedSubscriptions\n arguments:\n compartmentId: ${compartmentId}\n entityVersion: ${assignedSubscriptionEntityVersion}\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAssignedSubscriptions.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "entityVersion": { + "type": "string", + "description": "The version of the subscription entity.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsFilter:getAssignedSubscriptionsFilter" + }, + "willReplaceOnChanges": true + }, + "subscriptionId": { + "type": "string", + "description": "The ID of the subscription to which the tenancy is associated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAssignedSubscriptions.\n", + "properties": { + "assignedSubscriptionCollections": { + "description": "The list of assigned_subscription_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsAssignedSubscriptionCollection:getAssignedSubscriptionsAssignedSubscriptionCollection" + }, + "type": "array" + }, + "compartmentId": { + "description": "The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "entityVersion": { + "description": "The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getAssignedSubscriptionsFilter:getAssignedSubscriptionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "assignedSubscriptionCollections", + "compartmentId", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getDomain:getDomain": { + "description": "This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the domain.\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 testDomain = oci.Tenantmanagercontrolplane.getDomain({\n domainId: testDomainOciTenantmanagercontrolplaneDomain.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_domain = oci.Tenantmanagercontrolplane.get_domain(domain_id=test_domain_oci_tenantmanagercontrolplane_domain[\"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 testDomain = Oci.Tenantmanagercontrolplane.GetDomain.Invoke(new()\n {\n DomainId = testDomainOciTenantmanagercontrolplaneDomain.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetDomain(ctx, \u0026tenantmanagercontrolplane.GetDomainArgs{\n\t\t\tDomainId: testDomainOciTenantmanagercontrolplaneDomain.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;\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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()\n .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDomain:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getDomain\n arguments:\n domainId: ${testDomainOciTenantmanagercontrolplaneDomain.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDomain.\n", + "properties": { + "domainId": { + "type": "string", + "description": "The domain OCID.\n" + } + }, + "type": "object", + "required": [ + "domainId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDomain.\n", + "properties": { + "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" + }, + "domainId": { + "type": "string" + }, + "domainName": { + "description": "The domain 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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "ownerId": { + "description": "The OCID of the tenancy that has started the registration process for this domain.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the domain.\n", + "type": "string" + }, + "status": { + "description": "Status of the domain.\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": "Date-time when this domain was created. An RFC 3339-formatted date and time string.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date-time when this domain was last updated. An RFC 3339-formatted date and time string.\n", + "type": "string" + }, + "txtRecord": { + "description": "The code that the owner of the domain will need to add as a TXT record to their domain.\n", + "type": "string" + } + }, + "required": [ + "definedTags", + "domainId", + "domainName", + "freeformTags", + "ownerId", + "state", + "status", + "systemTags", + "timeCreated", + "timeUpdated", + "txtRecord", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance": { + "description": "This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the domain governance entity.\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 testDomainGovernance = oci.Tenantmanagercontrolplane.getDomainGovernance({\n domainGovernanceId: testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_domain_governance = oci.Tenantmanagercontrolplane.get_domain_governance(domain_governance_id=test_domain_governance_oci_tenantmanagercontrolplane_domain_governance[\"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 testDomainGovernance = Oci.Tenantmanagercontrolplane.GetDomainGovernance.Invoke(new()\n {\n DomainGovernanceId = testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetDomainGovernance(ctx, \u0026tenantmanagercontrolplane.GetDomainGovernanceArgs{\n\t\t\tDomainGovernanceId: testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;\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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()\n .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDomainGovernance:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getDomainGovernance\n arguments:\n domainGovernanceId: ${testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDomainGovernance.\n", + "properties": { + "domainGovernanceId": { + "type": "string", + "description": "The domain governance OCID.\n" + } + }, + "type": "object", + "required": [ + "domainGovernanceId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDomainGovernance.\n", + "properties": { + "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" + }, + "domainGovernanceId": { + "type": "string" + }, + "domainId": { + "description": "The OCID of the domain associated with this domain governance entity.\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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isGovernanceEnabled": { + "description": "Indicates whether governance is enabled for this domain.\n", + "type": "boolean" + }, + "onsSubscriptionId": { + "description": "The ONS subscription associated with this domain governance entity.\n", + "type": "string" + }, + "onsTopicId": { + "description": "The ONS topic associated with this domain governance entity.\n", + "type": "string" + }, + "ownerId": { + "description": "The OCID of the tenancy that owns this domain governance entity.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the domain governance entity.\n", + "type": "string" + }, + "subscriptionEmail": { + "description": "Email address to be used to notify the user, and that the ONS subscription will be created with.\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": "Date-time when this domain governance was created. An RFC 3339-formatted date and time string.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string.\n", + "type": "string" + } + }, + "required": [ + "definedTags", + "domainGovernanceId", + "domainId", + "freeformTags", + "isGovernanceEnabled", + "onsSubscriptionId", + "onsTopicId", + "ownerId", + "state", + "subscriptionEmail", + "systemTags", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances": { + "description": "This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nReturn a (paginated) list of domain governance entities.\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 testDomainGovernances = oci.Tenantmanagercontrolplane.getDomainGovernances({\n compartmentId: compartmentId,\n domainGovernanceId: testDomainGovernance.id,\n domainId: testDomain.id,\n name: domainGovernanceName,\n state: domainGovernanceState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_domain_governances = oci.Tenantmanagercontrolplane.get_domain_governances(compartment_id=compartment_id,\n domain_governance_id=test_domain_governance[\"id\"],\n domain_id=test_domain[\"id\"],\n name=domain_governance_name,\n state=domain_governance_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 testDomainGovernances = Oci.Tenantmanagercontrolplane.GetDomainGovernances.Invoke(new()\n {\n CompartmentId = compartmentId,\n DomainGovernanceId = testDomainGovernance.Id,\n DomainId = testDomain.Id,\n Name = domainGovernanceName,\n State = domainGovernanceState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetDomainGovernances(ctx, \u0026tenantmanagercontrolplane.GetDomainGovernancesArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDomainGovernanceId: pulumi.StringRef(testDomainGovernance.Id),\n\t\t\tDomainId: pulumi.StringRef(testDomain.Id),\n\t\t\tName: pulumi.StringRef(domainGovernanceName),\n\t\t\tState: pulumi.StringRef(domainGovernanceState),\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;\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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()\n .compartmentId(compartmentId)\n .domainGovernanceId(testDomainGovernance.id())\n .domainId(testDomain.id())\n .name(domainGovernanceName)\n .state(domainGovernanceState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDomainGovernances:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getDomainGovernances\n arguments:\n compartmentId: ${compartmentId}\n domainGovernanceId: ${testDomainGovernance.id}\n domainId: ${testDomain.id}\n name: ${domainGovernanceName}\n state: ${domainGovernanceState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDomainGovernances.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "domainGovernanceId": { + "type": "string", + "description": "The domain governance OCID.\n" + }, + "domainId": { + "type": "string", + "description": "The domain OCID.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainGovernancesFilter:getDomainGovernancesFilter" + }, + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "A filter to return only resources that exactly match the name given.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDomainGovernances.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "domainGovernanceCollections": { + "description": "The list of domain_governance_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainGovernancesDomainGovernanceCollection:getDomainGovernancesDomainGovernanceCollection" + }, + "type": "array" + }, + "domainGovernanceId": { + "type": "string" + }, + "domainId": { + "description": "The OCID of the domain associated with this domain governance entity.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainGovernancesFilter:getDomainGovernancesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "type": "string" + }, + "state": { + "description": "Lifecycle state of the domain governance entity.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "domainGovernanceCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getDomains:getDomains": { + "description": "This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nReturn a (paginated) list of domains.\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 testDomains = oci.Tenantmanagercontrolplane.getDomains({\n compartmentId: compartmentId,\n domainId: testDomain.id,\n name: domainName,\n state: domainState,\n status: domainStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_domains = oci.Tenantmanagercontrolplane.get_domains(compartment_id=compartment_id,\n domain_id=test_domain[\"id\"],\n name=domain_name,\n state=domain_state,\n status=domain_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 testDomains = Oci.Tenantmanagercontrolplane.GetDomains.Invoke(new()\n {\n CompartmentId = compartmentId,\n DomainId = testDomain.Id,\n Name = domainName,\n State = domainState,\n Status = domainStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetDomains(ctx, \u0026tenantmanagercontrolplane.GetDomainsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDomainId: pulumi.StringRef(testDomain.Id),\n\t\t\tName: pulumi.StringRef(domainName),\n\t\t\tState: pulumi.StringRef(domainState),\n\t\t\tStatus: pulumi.StringRef(domainStatus),\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;\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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()\n .compartmentId(compartmentId)\n .domainId(testDomain.id())\n .name(domainName)\n .state(domainState)\n .status(domainStatus)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDomains:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getDomains\n arguments:\n compartmentId: ${compartmentId}\n domainId: ${testDomain.id}\n name: ${domainName}\n state: ${domainState}\n status: ${domainStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDomains.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "domainId": { + "type": "string", + "description": "The domain OCID.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainsFilter:getDomainsFilter" + }, + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "A filter to return only resources that exactly match the name given.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the domain.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDomains.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "domainCollections": { + "description": "The list of domain_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainsDomainCollection:getDomainsDomainCollection" + }, + "type": "array" + }, + "domainId": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getDomainsFilter:getDomainsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "type": "string" + }, + "state": { + "description": "Lifecycle state of the domain.\n", + "type": "string" + }, + "status": { + "description": "Status of the domain.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "domainCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getLink:getLink": { + "description": "This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the link.\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 testLink = oci.Tenantmanagercontrolplane.getLink({\n linkId: testLinkOciTenantmanagercontrolplaneLink.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_link = oci.Tenantmanagercontrolplane.get_link(link_id=test_link_oci_tenantmanagercontrolplane_link[\"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 testLink = Oci.Tenantmanagercontrolplane.GetLink.Invoke(new()\n {\n LinkId = testLinkOciTenantmanagercontrolplaneLink.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetLink(ctx, \u0026tenantmanagercontrolplane.GetLinkArgs{\n\t\t\tLinkId: testLinkOciTenantmanagercontrolplaneLink.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;\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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()\n .linkId(testLinkOciTenantmanagercontrolplaneLink.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testLink:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getLink\n arguments:\n linkId: ${testLinkOciTenantmanagercontrolplaneLink.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getLink.\n", + "properties": { + "linkId": { + "type": "string", + "description": "OCID of the link to retrieve.\n" + } + }, + "type": "object", + "required": [ + "linkId" + ] + }, + "outputs": { + "description": "A collection of values returned by getLink.\n", + "properties": { + "childTenancyId": { + "description": "OCID of the child tenancy.\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "linkId": { + "type": "string" + }, + "parentTenancyId": { + "description": "OCID of the parent tenancy.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the link.\n", + "type": "string" + }, + "timeCreated": { + "description": "Date-time when this link was created.\n", + "type": "string" + }, + "timeTerminated": { + "description": "Date-time when this link was terminated.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date-time when this link was last updated.\n", + "type": "string" + } + }, + "required": [ + "childTenancyId", + "linkId", + "parentTenancyId", + "state", + "timeCreated", + "timeTerminated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getLinks:getLinks": { + "description": "This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nReturn a (paginated) list of links.\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 testLinks = oci.Tenantmanagercontrolplane.getLinks({\n childTenancyId: testTenancy.id,\n parentTenancyId: testTenancy.id,\n state: linkState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_links = oci.Tenantmanagercontrolplane.get_links(child_tenancy_id=test_tenancy[\"id\"],\n parent_tenancy_id=test_tenancy[\"id\"],\n state=link_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 testLinks = Oci.Tenantmanagercontrolplane.GetLinks.Invoke(new()\n {\n ChildTenancyId = testTenancy.Id,\n ParentTenancyId = testTenancy.Id,\n State = linkState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetLinks(ctx, \u0026tenantmanagercontrolplane.GetLinksArgs{\n\t\t\tChildTenancyId: pulumi.StringRef(testTenancy.Id),\n\t\t\tParentTenancyId: pulumi.StringRef(testTenancy.Id),\n\t\t\tState: pulumi.StringRef(linkState),\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;\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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()\n .childTenancyId(testTenancy.id())\n .parentTenancyId(testTenancy.id())\n .state(linkState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testLinks:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getLinks\n arguments:\n childTenancyId: ${testTenancy.id}\n parentTenancyId: ${testTenancy.id}\n state: ${linkState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getLinks.\n", + "properties": { + "childTenancyId": { + "type": "string", + "description": "The ID of the child tenancy this link is associated with.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getLinksFilter:getLinksFilter" + }, + "willReplaceOnChanges": true + }, + "parentTenancyId": { + "type": "string", + "description": "The ID of the parent tenancy this link is associated with.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getLinks.\n", + "properties": { + "childTenancyId": { + "description": "OCID of the child tenancy.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getLinksFilter:getLinksFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "linkCollections": { + "description": "The list of link_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getLinksLinkCollection:getLinksLinkCollection" + }, + "type": "array" + }, + "parentTenancyId": { + "description": "OCID of the parent tenancy.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the link.\n", + "type": "string" + } + }, + "required": [ + "linkCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getOrganization:getOrganization": { + "description": "This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the organization.\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 testOrganization = oci.Tenantmanagercontrolplane.getOrganization({\n organizationId: testOrganizationOciTenantmanagercontrolplaneOrganization.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_organization = oci.Tenantmanagercontrolplane.get_organization(organization_id=test_organization_oci_tenantmanagercontrolplane_organization[\"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 testOrganization = Oci.Tenantmanagercontrolplane.GetOrganization.Invoke(new()\n {\n OrganizationId = testOrganizationOciTenantmanagercontrolplaneOrganization.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetOrganization(ctx, \u0026tenantmanagercontrolplane.GetOrganizationArgs{\n\t\t\tOrganizationId: testOrganizationOciTenantmanagercontrolplaneOrganization.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;\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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()\n .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testOrganization:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getOrganization\n arguments:\n organizationId: ${testOrganizationOciTenantmanagercontrolplaneOrganization.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getOrganization.\n", + "properties": { + "organizationId": { + "type": "string", + "description": "OCID of the organization to retrieve.\n" + } + }, + "type": "object", + "required": [ + "organizationId" + ] + }, + "outputs": { + "description": "A collection of values returned by getOrganization.\n", + "properties": { + "compartmentId": { + "description": "OCID of the compartment containing the organization. Always a tenancy OCID.\n", + "type": "string" + }, + "defaultUcmSubscriptionId": { + "description": "OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned.\n", + "type": "string" + }, + "displayName": { + "description": "A display name for the organization. Avoid entering confidential information.\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "parentName": { + "description": "The name of the tenancy that is the organization parent.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the organization.\n", + "type": "string" + }, + "timeCreated": { + "description": "Date and time when the organization was created.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date and time when the organization was last updated.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "defaultUcmSubscriptionId", + "displayName", + "organizationId", + "parentName", + "state", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies": { + "description": "This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets a list of tenancies in the organization.\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 testOrganizationTenancies = oci.Tenantmanagercontrolplane.getOrganizationTenancies({\n organizationId: testOrganization.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_organization_tenancies = oci.Tenantmanagercontrolplane.get_organization_tenancies(organization_id=test_organization[\"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 testOrganizationTenancies = Oci.Tenantmanagercontrolplane.GetOrganizationTenancies.Invoke(new()\n {\n OrganizationId = testOrganization.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetOrganizationTenancies(ctx, \u0026tenantmanagercontrolplane.GetOrganizationTenanciesArgs{\n\t\t\tOrganizationId: testOrganization.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;\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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()\n .organizationId(testOrganization.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testOrganizationTenancies:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getOrganizationTenancies\n arguments:\n organizationId: ${testOrganization.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getOrganizationTenancies.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationTenanciesFilter:getOrganizationTenanciesFilter" + }, + "willReplaceOnChanges": true + }, + "organizationId": { + "type": "string", + "description": "OCID of the organization.\n" + } + }, + "type": "object", + "required": [ + "organizationId" + ] + }, + "outputs": { + "description": "A collection of values returned by getOrganizationTenancies.\n", + "properties": { + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationTenanciesFilter:getOrganizationTenanciesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "organizationTenancyCollections": { + "description": "The list of organization_tenancy_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationTenanciesOrganizationTenancyCollection:getOrganizationTenanciesOrganizationTenancyCollection" + }, + "type": "array" + } + }, + "required": [ + "organizationId", + "organizationTenancyCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy": { + "description": "This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the organization's tenancy.\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 testOrganizationTenancy = oci.Tenantmanagercontrolplane.getOrganizationTenancy({\n organizationId: testOrganization.id,\n tenancyId: testTenancy.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_organization_tenancy = oci.Tenantmanagercontrolplane.get_organization_tenancy(organization_id=test_organization[\"id\"],\n tenancy_id=test_tenancy[\"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 testOrganizationTenancy = Oci.Tenantmanagercontrolplane.GetOrganizationTenancy.Invoke(new()\n {\n OrganizationId = testOrganization.Id,\n TenancyId = testTenancy.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetOrganizationTenancy(ctx, \u0026tenantmanagercontrolplane.GetOrganizationTenancyArgs{\n\t\t\tOrganizationId: testOrganization.Id,\n\t\t\tTenancyId: testTenancy.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;\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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()\n .organizationId(testOrganization.id())\n .tenancyId(testTenancy.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testOrganizationTenancy:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getOrganizationTenancy\n arguments:\n organizationId: ${testOrganization.id}\n tenancyId: ${testTenancy.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getOrganizationTenancy.\n", + "properties": { + "organizationId": { + "type": "string", + "description": "OCID of the organization.\n" + }, + "tenancyId": { + "type": "string", + "description": "OCID of the tenancy to retrieve.\n" + } + }, + "type": "object", + "required": [ + "organizationId", + "tenancyId" + ] + }, + "outputs": { + "description": "A collection of values returned by getOrganizationTenancy.\n", + "properties": { + "governanceStatus": { + "description": "The governance status of the tenancy.\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isApprovedForTransfer": { + "description": "Parameter to indicate the tenancy is approved for transfer to another organization.\n", + "type": "boolean" + }, + "name": { + "description": "Name of the tenancy.\n", + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "role": { + "description": "Role of the organization tenancy.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the organization tenancy.\n", + "type": "string" + }, + "tenancyId": { + "description": "OCID of the tenancy.\n", + "type": "string" + }, + "timeJoined": { + "description": "Date and time when the tenancy joined the organization.\n", + "type": "string" + }, + "timeLeft": { + "description": "Date and time when the tenancy left the organization.\n", + "type": "string" + } + }, + "required": [ + "governanceStatus", + "isApprovedForTransfer", + "name", + "organizationId", + "role", + "state", + "tenancyId", + "timeJoined", + "timeLeft", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations": { + "description": "This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nLists organizations associated with the caller.\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 testOrganizations = oci.Tenantmanagercontrolplane.getOrganizations({\n compartmentId: compartmentId,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_organizations = oci.Tenantmanagercontrolplane.get_organizations(compartment_id=compartment_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testOrganizations = Oci.Tenantmanagercontrolplane.GetOrganizations.Invoke(new()\n {\n CompartmentId = compartmentId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetOrganizations(ctx, \u0026tenantmanagercontrolplane.GetOrganizationsArgs{\n\t\t\tCompartmentId: compartmentId,\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;\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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()\n .compartmentId(compartmentId)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testOrganizations:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getOrganizations\n arguments:\n compartmentId: ${compartmentId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getOrganizations.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationsFilter:getOrganizationsFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getOrganizations.\n", + "properties": { + "compartmentId": { + "description": "OCID of the compartment containing the organization. Always a tenancy OCID.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationsFilter:getOrganizationsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "organizationCollections": { + "description": "The list of organization_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getOrganizationsOrganizationCollection:getOrganizationsOrganizationCollection" + }, + "type": "array" + } + }, + "required": [ + "compartmentId", + "organizationCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation": { + "description": "This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the recipient invitation.\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 testRecipientInvitation = oci.Tenantmanagercontrolplane.getRecipientInvitation({\n recipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation[\"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 testRecipientInvitation = Oci.Tenantmanagercontrolplane.GetRecipientInvitation.Invoke(new()\n {\n RecipientInvitationId = testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetRecipientInvitation(ctx, \u0026tenantmanagercontrolplane.GetRecipientInvitationArgs{\n\t\t\tRecipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;\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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()\n .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testRecipientInvitation:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getRecipientInvitation\n arguments:\n recipientInvitationId: ${testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getRecipientInvitation.\n", + "properties": { + "recipientInvitationId": { + "type": "string", + "description": "OCID of the recipient invitation to retrieve.\n" + } + }, + "type": "object", + "required": [ + "recipientInvitationId" + ] + }, + "outputs": { + "description": "A collection of values returned by getRecipientInvitation.\n", + "properties": { + "compartmentId": { + "description": "OCID of the recipient tenancy.\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": "A user-created name to describe the invitation. Avoid entering confidential information.\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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "recipientEmailAddress": { + "description": "Email address of the recipient.\n", + "type": "string" + }, + "recipientInvitationId": { + "type": "string" + }, + "senderInvitationId": { + "description": "OCID of the corresponding sender invitation.\n", + "type": "string" + }, + "senderTenancyId": { + "description": "OCID of the sender tenancy.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the recipient invitation.\n", + "type": "string" + }, + "status": { + "description": "Status of the recipient invitation.\n", + "type": "string" + }, + "subjects": { + "description": "The list of subjects the invitation contains.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "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": "Date and time when the recipient invitation was created.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date and time when the recipient invitation was last updated.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "recipientEmailAddress", + "recipientInvitationId", + "senderInvitationId", + "senderTenancyId", + "state", + "status", + "subjects", + "systemTags", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations": { + "description": "This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nReturn a (paginated) list of recipient invitations.\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 testRecipientInvitations = oci.Tenantmanagercontrolplane.getRecipientInvitations({\n compartmentId: compartmentId,\n senderTenancyId: testTenancy.id,\n state: recipientInvitationState,\n status: recipientInvitationStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_recipient_invitations = oci.Tenantmanagercontrolplane.get_recipient_invitations(compartment_id=compartment_id,\n sender_tenancy_id=test_tenancy[\"id\"],\n state=recipient_invitation_state,\n status=recipient_invitation_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 testRecipientInvitations = Oci.Tenantmanagercontrolplane.GetRecipientInvitations.Invoke(new()\n {\n CompartmentId = compartmentId,\n SenderTenancyId = testTenancy.Id,\n State = recipientInvitationState,\n Status = recipientInvitationStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetRecipientInvitations(ctx, \u0026tenantmanagercontrolplane.GetRecipientInvitationsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tSenderTenancyId: pulumi.StringRef(testTenancy.Id),\n\t\t\tState: pulumi.StringRef(recipientInvitationState),\n\t\t\tStatus: pulumi.StringRef(recipientInvitationStatus),\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;\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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()\n .compartmentId(compartmentId)\n .senderTenancyId(testTenancy.id())\n .state(recipientInvitationState)\n .status(recipientInvitationStatus)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testRecipientInvitations:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getRecipientInvitations\n arguments:\n compartmentId: ${compartmentId}\n senderTenancyId: ${testTenancy.id}\n state: ${recipientInvitationState}\n status: ${recipientInvitationStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getRecipientInvitations.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getRecipientInvitationsFilter:getRecipientInvitationsFilter" + }, + "willReplaceOnChanges": true + }, + "senderTenancyId": { + "type": "string", + "description": "The tenancy that sent the invitation.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the recipient invitation.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getRecipientInvitations.\n", + "properties": { + "compartmentId": { + "description": "OCID of the recipient tenancy.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getRecipientInvitationsFilter:getRecipientInvitationsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "recipientInvitationCollections": { + "description": "The list of recipient_invitation_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getRecipientInvitationsRecipientInvitationCollection:getRecipientInvitationsRecipientInvitationCollection" + }, + "type": "array" + }, + "senderTenancyId": { + "description": "OCID of the sender tenancy.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the recipient invitation.\n", + "type": "string" + }, + "status": { + "description": "Status of the recipient invitation.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "recipientInvitationCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation": { + "description": "This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets information about the sender invitation.\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 testSenderInvitation = oci.Tenantmanagercontrolplane.getSenderInvitation({\n senderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sender_invitation = oci.Tenantmanagercontrolplane.get_sender_invitation(sender_invitation_id=test_sender_invitation_oci_tenantmanagercontrolplane_sender_invitation[\"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 testSenderInvitation = Oci.Tenantmanagercontrolplane.GetSenderInvitation.Invoke(new()\n {\n SenderInvitationId = testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSenderInvitation(ctx, \u0026tenantmanagercontrolplane.GetSenderInvitationArgs{\n\t\t\tSenderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;\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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()\n .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSenderInvitation:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSenderInvitation\n arguments:\n senderInvitationId: ${testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSenderInvitation.\n", + "properties": { + "senderInvitationId": { + "type": "string", + "description": "OCID of the sender invitation to retrieve.\n" + } + }, + "type": "object", + "required": [ + "senderInvitationId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSenderInvitation.\n", + "properties": { + "compartmentId": { + "description": "OCID of the sender tenancy.\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": "A user-created name to describe the invitation. Avoid entering confidential information.\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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "recipientEmailAddress": { + "description": "Email address of the recipient.\n", + "type": "string" + }, + "recipientInvitationId": { + "description": "OCID of the corresponding recipient invitation.\n", + "type": "string" + }, + "recipientTenancyId": { + "description": "OCID of the recipient tenancy.\n", + "type": "string" + }, + "senderInvitationId": { + "type": "string" + }, + "state": { + "description": "Lifecycle state of the sender invitation.\n", + "type": "string" + }, + "status": { + "description": "Status of the sender invitation.\n", + "type": "string" + }, + "subjects": { + "description": "The list of subjects the invitation contains.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "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": "Date and time when the sender invitation was created.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date and time when the sender invitation was last updated.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "recipientEmailAddress", + "recipientInvitationId", + "recipientTenancyId", + "senderInvitationId", + "state", + "status", + "subjects", + "systemTags", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations": { + "description": "This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nReturn a (paginated) list of sender invitations.\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 testSenderInvitations = oci.Tenantmanagercontrolplane.getSenderInvitations({\n compartmentId: compartmentId,\n displayName: senderInvitationDisplayName,\n recipientTenancyId: testTenancy.id,\n state: senderInvitationState,\n status: senderInvitationStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sender_invitations = oci.Tenantmanagercontrolplane.get_sender_invitations(compartment_id=compartment_id,\n display_name=sender_invitation_display_name,\n recipient_tenancy_id=test_tenancy[\"id\"],\n state=sender_invitation_state,\n status=sender_invitation_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 testSenderInvitations = Oci.Tenantmanagercontrolplane.GetSenderInvitations.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = senderInvitationDisplayName,\n RecipientTenancyId = testTenancy.Id,\n State = senderInvitationState,\n Status = senderInvitationStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSenderInvitations(ctx, \u0026tenantmanagercontrolplane.GetSenderInvitationsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(senderInvitationDisplayName),\n\t\t\tRecipientTenancyId: pulumi.StringRef(testTenancy.Id),\n\t\t\tState: pulumi.StringRef(senderInvitationState),\n\t\t\tStatus: pulumi.StringRef(senderInvitationStatus),\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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;\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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()\n .compartmentId(compartmentId)\n .displayName(senderInvitationDisplayName)\n .recipientTenancyId(testTenancy.id())\n .state(senderInvitationState)\n .status(senderInvitationStatus)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSenderInvitations:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSenderInvitations\n arguments:\n compartmentId: ${compartmentId}\n displayName: ${senderInvitationDisplayName}\n recipientTenancyId: ${testTenancy.id}\n state: ${senderInvitationState}\n status: ${senderInvitationStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSenderInvitations.\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 resources that match the entire display name given.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSenderInvitationsFilter:getSenderInvitationsFilter" + }, + "willReplaceOnChanges": true + }, + "recipientTenancyId": { + "type": "string", + "description": "The tenancy that the invitation is addressed to.\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "status": { + "type": "string", + "description": "The status of the sender invitation.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSenderInvitations.\n", + "properties": { + "compartmentId": { + "description": "OCID of the sender tenancy.\n", + "type": "string" + }, + "displayName": { + "description": "A user-created name to describe the invitation. Avoid entering confidential information.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSenderInvitationsFilter:getSenderInvitationsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "recipientTenancyId": { + "description": "OCID of the recipient tenancy.\n", + "type": "string" + }, + "senderInvitationCollections": { + "description": "The list of sender_invitation_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSenderInvitationsSenderInvitationCollection:getSenderInvitationsSenderInvitationCollection" + }, + "type": "array" + }, + "state": { + "description": "Lifecycle state of the sender invitation.\n", + "type": "string" + }, + "status": { + "description": "Status of the sender invitation.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "senderInvitationCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscription:getSubscription": { + "description": "This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGets the subscription details by subscription 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 testSubscription = oci.Tenantmanagercontrolplane.getSubscription({\n subscriptionId: testSubscriptionOciTenantmanagercontrolplaneSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription = oci.Tenantmanagercontrolplane.get_subscription(subscription_id=test_subscription_oci_tenantmanagercontrolplane_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 testSubscription = Oci.Tenantmanagercontrolplane.GetSubscription.Invoke(new()\n {\n SubscriptionId = testSubscriptionOciTenantmanagercontrolplaneSubscription.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscription(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionArgs{\n\t\t\tSubscriptionId: testSubscriptionOciTenantmanagercontrolplaneSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;\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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()\n .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscription:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscription\n arguments:\n subscriptionId: ${testSubscriptionOciTenantmanagercontrolplaneSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscription.\n", + "properties": { + "subscriptionId": { + "type": "string", + "description": "OCID of the subscription.\n" + } + }, + "type": "object", + "required": [ + "subscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubscription.\n", + "properties": { + "classicSubscriptionId": { + "description": "Classic subscription ID.\n", + "type": "string" + }, + "cloudAmountCurrency": { + "description": "The currency code for the customer associated with the subscription.\n", + "type": "string" + }, + "compartmentId": { + "description": "The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "csiNumber": { + "description": "Customer service identifier for the customer associated with the subscription.\n", + "type": "string" + }, + "currencyCode": { + "description": "Currency code. For example USD, MXN.\n", + "type": "string" + }, + "customerCountryCode": { + "description": "The country code for the customer associated with the subscription.\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" + }, + "endDate": { + "description": "Date and time when the SKU ended.\n", + "type": "string" + }, + "entityVersion": { + "description": "The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).\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 provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isClassicSubscription": { + "description": "Specifies whether or not the subscription is from classic systems.\n", + "type": "boolean" + }, + "isGovernmentSubscription": { + "description": "Specifies whether or not the subscription is a government subscription.\n", + "type": "boolean" + }, + "paymentModel": { + "description": "The pay model of the subscription, such as 'Pay as you go' or 'Monthly'.\n", + "type": "string" + }, + "programType": { + "description": "Specifies any program that is associated with the subscription.\n", + "type": "string" + }, + "promotions": { + "description": "List of promotions related to the subscription.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionPromotion:getSubscriptionPromotion" + }, + "type": "array" + }, + "purchaseEntitlementId": { + "description": "Purchase entitlement ID associated with the subscription.\n", + "type": "string" + }, + "regionAssignment": { + "description": "Region for the subscription.\n", + "type": "string" + }, + "serviceName": { + "description": "The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'.\n", + "type": "string" + }, + "skuses": { + "description": "List of SKUs linked to this subscription.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionSkus:getSubscriptionSkus" + }, + "type": "array" + }, + "startDate": { + "description": "Subscription start time.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the subscription.\n", + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "subscriptionNumber": { + "description": "Unique Oracle Cloud Subscriptions identifier that is immutable on creation.\n", + "type": "string" + }, + "subscriptionTier": { + "description": "Tier for the subscription, whether a free promotion subscription or a paid subscription.\n", + "type": "string" + }, + "timeCreated": { + "description": "The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n", + "type": "string" + }, + "timeUpdated": { + "description": "The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.\n", + "type": "string" + } + }, + "required": [ + "classicSubscriptionId", + "cloudAmountCurrency", + "compartmentId", + "csiNumber", + "currencyCode", + "customerCountryCode", + "definedTags", + "endDate", + "entityVersion", + "freeformTags", + "isClassicSubscription", + "isGovernmentSubscription", + "paymentModel", + "programType", + "promotions", + "purchaseEntitlementId", + "regionAssignment", + "serviceName", + "skuses", + "startDate", + "state", + "subscriptionId", + "subscriptionNumber", + "subscriptionTier", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions": { + "description": "This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nList the available regions based on subscription 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 testSubscriptionAvailableRegions = oci.Tenantmanagercontrolplane.getSubscriptionAvailableRegions({\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_available_regions = oci.Tenantmanagercontrolplane.get_subscription_available_regions(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 testSubscriptionAvailableRegions = Oci.Tenantmanagercontrolplane.GetSubscriptionAvailableRegions.Invoke(new()\n {\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/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscriptionAvailableRegions(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionAvailableRegionsArgs{\n\t\t\tSubscriptionId: testSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;\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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscriptionAvailableRegions:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscriptionAvailableRegions\n arguments:\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscriptionAvailableRegions.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsFilter:getSubscriptionAvailableRegionsFilter" + }, + "willReplaceOnChanges": true + }, + "subscriptionId": { + "type": "string", + "description": "OCID of the subscription.\n" + } + }, + "type": "object", + "required": [ + "subscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubscriptionAvailableRegions.\n", + "properties": { + "availableRegionCollections": { + "description": "The list of available_region_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsAvailableRegionCollection:getSubscriptionAvailableRegionsAvailableRegionCollection" + }, + "type": "array" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegionsFilter:getSubscriptionAvailableRegionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "availableRegionCollections", + "subscriptionId", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems": { + "description": "This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nLists the line items in a subscription.\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 testSubscriptionLineItems = oci.Tenantmanagercontrolplane.getSubscriptionLineItems({\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_line_items = oci.Tenantmanagercontrolplane.get_subscription_line_items(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 testSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetSubscriptionLineItems.Invoke(new()\n {\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/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscriptionLineItems(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionLineItemsArgs{\n\t\t\tSubscriptionId: testSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;\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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscriptionLineItems:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscriptionLineItems\n arguments:\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscriptionLineItems.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionLineItemsFilter:getSubscriptionLineItemsFilter" + }, + "willReplaceOnChanges": true + }, + "subscriptionId": { + "type": "string", + "description": "OCID of the subscription.\n" + } + }, + "type": "object", + "required": [ + "subscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubscriptionLineItems.\n", + "properties": { + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionLineItemsFilter:getSubscriptionLineItemsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "subscriptionLineItemCollections": { + "description": "The list of subscription_line_item_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionLineItemsSubscriptionLineItemCollection:getSubscriptionLineItemsSubscriptionLineItemCollection" + }, + "type": "array" + } + }, + "required": [ + "subscriptionId", + "subscriptionLineItemCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping": { + "description": "This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nGet the subscription mapping details by subscription mapping 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 testSubscriptionMapping = oci.Tenantmanagercontrolplane.getSubscriptionMapping({\n subscriptionMappingId: testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_mapping = oci.Tenantmanagercontrolplane.get_subscription_mapping(subscription_mapping_id=test_subscription_mapping_oci_tenantmanagercontrolplane_subscription_mapping[\"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 testSubscriptionMapping = Oci.Tenantmanagercontrolplane.GetSubscriptionMapping.Invoke(new()\n {\n SubscriptionMappingId = testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscriptionMapping(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionMappingArgs{\n\t\t\tSubscriptionMappingId: testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;\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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()\n .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscriptionMapping:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscriptionMapping\n arguments:\n subscriptionMappingId: ${testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscriptionMapping.\n", + "properties": { + "subscriptionMappingId": { + "type": "string", + "description": "OCID of the subscriptionMappingId.\n" + } + }, + "type": "object", + "required": [ + "subscriptionMappingId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubscriptionMapping.\n", + "properties": { + "compartmentId": { + "description": "OCID of the compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "id": { + "description": "OCID of the mapping between subscription and compartment identified by the tenancy.\n", + "type": "string" + }, + "isExplicitlyAssigned": { + "description": "Denotes if the subscription is explicity assigned to the root compartment or tenancy.\n", + "type": "boolean" + }, + "state": { + "description": "Lifecycle state of the subscriptionMapping.\n", + "type": "string" + }, + "subscriptionId": { + "description": "OCID of the subscription.\n", + "type": "string" + }, + "subscriptionMappingId": { + "type": "string" + }, + "timeCreated": { + "description": "Date-time when subscription mapping was created.\n", + "type": "string" + }, + "timeTerminated": { + "description": "Date-time when subscription mapping was terminated.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Date-time when subscription mapping was updated.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "id", + "isExplicitlyAssigned", + "state", + "subscriptionId", + "subscriptionMappingId", + "timeCreated", + "timeTerminated", + "timeUpdated" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings": { + "description": "This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nLists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed.\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 testSubscriptionMappings = oci.Tenantmanagercontrolplane.getSubscriptionMappings({\n subscriptionId: testSubscription.id,\n compartmentId: compartmentId,\n state: subscriptionMappingState,\n subscriptionMappingId: testSubscriptionMapping.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscription_mappings = oci.Tenantmanagercontrolplane.get_subscription_mappings(subscription_id=test_subscription[\"id\"],\n compartment_id=compartment_id,\n state=subscription_mapping_state,\n subscription_mapping_id=test_subscription_mapping[\"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 testSubscriptionMappings = Oci.Tenantmanagercontrolplane.GetSubscriptionMappings.Invoke(new()\n {\n SubscriptionId = testSubscription.Id,\n CompartmentId = compartmentId,\n State = subscriptionMappingState,\n SubscriptionMappingId = testSubscriptionMapping.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscriptionMappings(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionMappingsArgs{\n\t\t\tSubscriptionId: testSubscription.Id,\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tState: pulumi.StringRef(subscriptionMappingState),\n\t\t\tSubscriptionMappingId: pulumi.StringRef(testSubscriptionMapping.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;\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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()\n .subscriptionId(testSubscription.id())\n .compartmentId(compartmentId)\n .state(subscriptionMappingState)\n .subscriptionMappingId(testSubscriptionMapping.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscriptionMappings:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscriptionMappings\n arguments:\n subscriptionId: ${testSubscription.id}\n compartmentId: ${compartmentId}\n state: ${subscriptionMappingState}\n subscriptionMappingId: ${testSubscriptionMapping.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscriptionMappings.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionMappingsFilter:getSubscriptionMappingsFilter" + }, + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "The lifecycle state of the resource.\n" + }, + "subscriptionId": { + "type": "string", + "description": "OCID of the subscription.\n" + }, + "subscriptionMappingId": { + "type": "string", + "description": "A unique ID for subscription and tenancy mapping.\n" + } + }, + "type": "object", + "required": [ + "subscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubscriptionMappings.\n", + "properties": { + "compartmentId": { + "description": "OCID of the compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionMappingsFilter:getSubscriptionMappingsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "state": { + "description": "Lifecycle state of the subscriptionMapping.\n", + "type": "string" + }, + "subscriptionId": { + "description": "OCID of the subscription.\n", + "type": "string" + }, + "subscriptionMappingCollections": { + "description": "The list of subscription_mapping_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionMappingsSubscriptionMappingCollection:getSubscriptionMappingsSubscriptionMappingCollection" + }, + "type": "array" + }, + "subscriptionMappingId": { + "type": "string" + } + }, + "required": [ + "subscriptionId", + "subscriptionMappingCollections", + "id" + ], + "type": "object" + } + }, + "oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions": { + "description": "This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.\n\nList the subscriptions that a compartment owns. Only the root compartment is allowed.\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 testSubscriptions = oci.Tenantmanagercontrolplane.getSubscriptions({\n compartmentId: compartmentId,\n entityVersion: subscriptionEntityVersion,\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_subscriptions = oci.Tenantmanagercontrolplane.get_subscriptions(compartment_id=compartment_id,\n entity_version=subscription_entity_version,\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 testSubscriptions = Oci.Tenantmanagercontrolplane.GetSubscriptions.Invoke(new()\n {\n CompartmentId = compartmentId,\n EntityVersion = subscriptionEntityVersion,\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/tenantmanagercontrolplane\"\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 := tenantmanagercontrolplane.GetSubscriptions(ctx, \u0026tenantmanagercontrolplane.GetSubscriptionsArgs{\n\t\t\tCompartmentId: pulumi.StringRef(compartmentId),\n\t\t\tEntityVersion: pulumi.StringRef(subscriptionEntityVersion),\n\t\t\tSubscriptionId: pulumi.StringRef(testSubscription.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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;\nimport com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;\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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()\n .compartmentId(compartmentId)\n .entityVersion(subscriptionEntityVersion)\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSubscriptions:\n fn::invoke:\n function: oci:Tenantmanagercontrolplane:getSubscriptions\n arguments:\n compartmentId: ${compartmentId}\n entityVersion: ${subscriptionEntityVersion}\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSubscriptions.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The ID of the compartment in which to list resources.\n" + }, + "entityVersion": { + "type": "string", + "description": "The version of the subscription entity.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsFilter:getSubscriptionsFilter" + }, + "willReplaceOnChanges": true + }, + "subscriptionId": { + "type": "string", + "description": "The ID of the subscription to which the tenancy is associated.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getSubscriptions.\n", + "properties": { + "compartmentId": { + "description": "The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.\n", + "type": "string" + }, + "entityVersion": { + "description": "The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsFilter:getSubscriptionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "subscriptionCollections": { + "description": "The list of subscription_collection.\n", + "items": { + "$ref": "#/types/oci:Tenantmanagercontrolplane/getSubscriptionsSubscriptionCollection:getSubscriptionsSubscriptionCollection" + }, + "type": "array" + }, + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "subscriptionCollections", + "id" + ], + "type": "object" + } + }, "oci:UsageProxy/getResourceQuotas:getResourceQuotas": { "description": "This data source provides the list of Resource Quotas in Oracle Cloud Infrastructure Usage Proxy service.\n\nReturns the resource quota details under a tenancy\n\u003e **Important**: Calls to this API will only succeed against the endpoint in the home region.\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 testResourceQuotas = oci.UsageProxy.getResourceQuotas({\n compartmentId: compartmentId,\n serviceName: testService.name,\n serviceEntitlement: resourceQuotaServiceEntitlement,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_resource_quotas = oci.UsageProxy.get_resource_quotas(compartment_id=compartment_id,\n service_name=test_service[\"name\"],\n service_entitlement=resource_quota_service_entitlement)\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 testResourceQuotas = Oci.UsageProxy.GetResourceQuotas.Invoke(new()\n {\n CompartmentId = compartmentId,\n ServiceName = testService.Name,\n ServiceEntitlement = resourceQuotaServiceEntitlement,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/usageproxy\"\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 := usageproxy.GetResourceQuotas(ctx, \u0026usageproxy.GetResourceQuotasArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tServiceName: testService.Name,\n\t\t\tServiceEntitlement: pulumi.StringRef(resourceQuotaServiceEntitlement),\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.UsageProxy.UsageProxyFunctions;\nimport com.pulumi.oci.UsageProxy.inputs.GetResourceQuotasArgs;\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 testResourceQuotas = UsageProxyFunctions.getResourceQuotas(GetResourceQuotasArgs.builder()\n .compartmentId(compartmentId)\n .serviceName(testService.name())\n .serviceEntitlement(resourceQuotaServiceEntitlement)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testResourceQuotas:\n fn::invoke:\n function: oci:UsageProxy:getResourceQuotas\n arguments:\n compartmentId: ${compartmentId}\n serviceName: ${testService.name}\n serviceEntitlement: ${resourceQuotaServiceEntitlement}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -768094,6 +776069,9 @@ "description": "A brief description of the secret. Avoid entering confidential information.\n", "type": "string" }, + "enableAutoGeneration": { + "type": "boolean" + }, "freeformTags": { "additionalProperties": { "type": "string" @@ -768105,6 +776083,10 @@ "description": "The OCID of the secret.\n", "type": "string" }, + "isAutoGenerationEnabled": { + "description": "The value of this flag determines whether or not secret content will be generated automatically.\n", + "type": "boolean" + }, "keyId": { "description": "The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.\n", "type": "string" @@ -768145,6 +776127,13 @@ }, "type": "array" }, + "secretGenerationContexts": { + "description": "Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.\n", + "items": { + "$ref": "#/types/oci:Vault/getSecretSecretGenerationContext:getSecretSecretGenerationContext" + }, + "type": "array" + }, "secretId": { "type": "string" }, @@ -768185,8 +776174,10 @@ "currentVersionNumber", "definedTags", "description", + "enableAutoGeneration", "freeformTags", "id", + "isAutoGenerationEnabled", "keyId", "lastRotationTime", "lifecycleDetails", @@ -768195,6 +776186,7 @@ "rotationConfigs", "rotationStatus", "secretContents", + "secretGenerationContexts", "secretId", "secretName", "secretRules", @@ -768207,18 +776199,15 @@ "type": "object" } }, - "oci:Vault/getSecretVersion:getSecretVersion": { - "description": "This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service.\n\nGets information about the specified version of a secret.\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 testSecretVersion = oci.Vault.getSecretVersion({\n secretId: testSecret.id,\n secretVersionNumber: secretVersionSecretVersionNumber,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_secret_version = oci.Vault.get_secret_version(secret_id=test_secret[\"id\"],\n secret_version_number=secret_version_secret_version_number)\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 testSecretVersion = Oci.Vault.GetSecretVersion.Invoke(new()\n {\n SecretId = testSecret.Id,\n SecretVersionNumber = secretVersionSecretVersionNumber,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/vault\"\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 := vault.GetSecretVersion(ctx, \u0026vault.GetSecretVersionArgs{\n\t\t\tSecretId: testSecret.Id,\n\t\t\tSecretVersionNumber: secretVersionSecretVersionNumber,\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.Vault.VaultFunctions;\nimport com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;\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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()\n .secretId(testSecret.id())\n .secretVersionNumber(secretVersionSecretVersionNumber)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSecretVersion:\n fn::invoke:\n function: oci:Vault:getSecretVersion\n arguments:\n secretId: ${testSecret.id}\n secretVersionNumber: ${secretVersionSecretVersionNumber}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2": { "inputs": { - "description": "A collection of arguments for invoking getSecretVersion.\n", + "description": "A collection of arguments for invoking getSecretVersionSdkV2.\n", "properties": { "secretId": { - "type": "string", - "description": "The OCID of the secret.\n" + "type": "string" }, "secretVersionNumber": { - "type": "string", - "description": "The version number of the secret.\n" + "type": "string" } }, "type": "object", @@ -768228,53 +776217,49 @@ ] }, "outputs": { - "description": "A collection of values returned by getSecretVersion.\n", + "description": "A collection of values returned by getSecretVersionSdkV2.\n", "properties": { "contentType": { - "description": "The content type of the secret version's secret contents.\n", "type": "string" }, "id": { "description": "The provider-assigned unique ID for this managed resource.\n", "type": "string" }, + "isContentAutoGenerated": { + "type": "boolean" + }, "name": { - "description": "The name of the secret version. A name is unique across versions of a secret.\n", "type": "string" }, "secretId": { - "description": "The OCID of the secret.\n", "type": "string" }, "secretVersionNumber": { "type": "string" }, "stages": { - "description": "A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion.\n", "items": { "type": "string" }, "type": "array" }, "timeCreated": { - "description": "A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`\n", "type": "string" }, "timeOfCurrentVersionExpiry": { - "description": "An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`\n", "type": "string" }, "timeOfDeletion": { - "description": "An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`\n", "type": "string" }, "versionNumber": { - "description": "The version number of the secret.\n", "type": "string" } }, "required": [ "contentType", + "isContentAutoGenerated", "name", "secretId", "secretVersionNumber", diff --git a/provider/go.mod b/provider/go.mod index b54a9f409c..faccd60294 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -11,14 +11,14 @@ replace ( ) require ( - github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe // indirect + github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a // indirect github.com/oracle/terraform-provider-oci/shim v0.0.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.103.0 github.com/pulumi/pulumi/pkg/v3 v3.148.0 // indirect github.com/pulumi/pulumi/sdk/v3 v3.148.0 ) -require github.com/oracle/oci-go-sdk/v65 v65.83.0 // indirect +require github.com/oracle/oci-go-sdk/v65 v65.83.2 // indirect require ( cloud.google.com/go v0.112.2 // indirect @@ -78,31 +78,27 @@ require ( github.com/googleapis/gax-go/v2 v2.12.4 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect github.com/hashicorp/go-getter v1.7.5 // indirect github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.6.2 // indirect - github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.7.0 // indirect - github.com/hashicorp/hc-install v0.9.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.22.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.21.0 // indirect github.com/hashicorp/terraform-json v0.23.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.12.0 // indirect + github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 // indirect github.com/hashicorp/terraform-plugin-go v0.26.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-sdk v1.9.1 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect - github.com/hashicorp/terraform-registry-address v0.2.4 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect - github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.3 // indirect github.com/iancoleman/strcase v0.3.0 // indirect github.com/imdario/mergo v0.3.15 // indirect @@ -133,7 +129,6 @@ require ( github.com/muesli/reflow v0.3.0 // indirect github.com/muesli/termenv v0.15.2 // indirect github.com/natefinch/atomic v1.0.1 // indirect - github.com/oklog/run v1.1.0 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect @@ -183,15 +178,15 @@ require ( go.opentelemetry.io/otel/metric v1.31.0 // indirect go.opentelemetry.io/otel/trace v1.31.0 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.32.0 // indirect + golang.org/x/crypto v0.33.0 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect golang.org/x/mod v0.21.0 // indirect - golang.org/x/net v0.34.0 // indirect + golang.org/x/net v0.35.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect - golang.org/x/sync v0.10.0 // indirect - golang.org/x/sys v0.29.0 // indirect - golang.org/x/term v0.28.0 // indirect - golang.org/x/text v0.21.0 // indirect + golang.org/x/sync v0.11.0 // indirect + golang.org/x/sys v0.30.0 // indirect + golang.org/x/term v0.29.0 // indirect + golang.org/x/text v0.22.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.23.0 // indirect google.golang.org/api v0.178.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index e180325ddb..f39a7691f2 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1462,7 +1462,6 @@ github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdn github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= @@ -1796,7 +1795,6 @@ github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1817,7 +1815,6 @@ github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHh github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.6.2 h1:zdGAEd0V1lCaU0u+MxWQhtSDQmahpkwOun8U8EiRVog= github.com/hashicorp/go-plugin v1.6.2/go.mod h1:CkgLQ5CZqNmdL9U9JzM532t8ZiYQ35+pj3b1FD37R0Q= github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= @@ -1862,6 +1859,10 @@ github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8j github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= github.com/hashicorp/terraform-json v0.23.0 h1:sniCkExU4iKtTADReHzACkk8fnpQXrdD2xoR+lppBkI= github.com/hashicorp/terraform-json v0.23.0/go.mod h1:MHdXbBAbSg0GvzuWazEGKAn/cyNfIB7mN6y7KJN6y2c= +github.com/hashicorp/terraform-plugin-framework v1.12.0 h1:7HKaueHPaikX5/7cbC1r9d1m12iYHY+FlNZEGxQ42CQ= +github.com/hashicorp/terraform-plugin-framework v1.12.0/go.mod h1:N/IOQ2uYjW60Jp39Cp3mw7I/OpC/GfZ0385R0YibmkE= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 h1:bxZfGo9DIUoLLtHMElsu+zwqI4IsMZQBRRy4iLzZJ8E= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0/go.mod h1:wGeI02gEhj9nPANU62F2jCaHjXulejm/X+af4PdZaNo= github.com/hashicorp/terraform-plugin-go v0.25.0/go.mod h1:+SYagMYadJP86Kvn+TGeV+ofr/R3g4/If0O5sO96MVw= github.com/hashicorp/terraform-plugin-go v0.26.0 h1:cuIzCv4qwigug3OS7iKhpGAbZTiypAfFQmw8aE65O2M= github.com/hashicorp/terraform-plugin-go v0.26.0/go.mod h1:+CXjuLDiFgqR+GcrM5a2E2Kal5t5q2jb0E3D57tTdNY= @@ -1872,8 +1873,6 @@ github.com/hashicorp/terraform-plugin-sdk v1.9.1 h1:AgHnd6yPCg7o57XWrv4L7tIMdF0K github.com/hashicorp/terraform-plugin-sdk v1.9.1/go.mod h1:C/AXwmDHqbc3h6URiHpIsVKrwV4PS0Sh0+VTaeEkShw= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= -github.com/hashicorp/terraform-registry-address v0.2.4 h1:JXu/zHB2Ymg/TGVCRu10XqNa4Sh2bWcqCNyKWjnCPJA= -github.com/hashicorp/terraform-registry-address v0.2.4/go.mod h1:tUNYTVyCtU4OIGXXMDp7WNcJ+0W1B4nmstVDgHMjfAU= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= @@ -1881,7 +1880,6 @@ github.com/hashicorp/vault/api v1.12.0 h1:meCpJSesvzQyao8FCOgk2fGdoADAnbDu2WPJN1 github.com/hashicorp/vault/api v1.12.0/go.mod h1:si+lJCYO7oGkIoNPAN8j3azBLTn9SjMGS+jFaHd1Cck= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= @@ -1913,7 +1911,6 @@ github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSl github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E= -github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -2048,8 +2045,6 @@ github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatR github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= -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/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -2093,10 +2088,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.83.0 h1:KFI0oyyCTPmgevHF+QlN02Zdf23Jx1p1X+4KPyH14H8= -github.com/oracle/oci-go-sdk/v65 v65.83.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe h1:Lqfjriv1mzJGzVlKSM1y6u25nKwJLs3/o9XKeNwMegY= -github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe/go.mod h1:7hMsoiHfaeeM9Zqwy87SZYz8EYIc6jJkTvOJ+jPT67E= +github.com/oracle/oci-go-sdk/v65 v65.83.2 h1:4DtSCVe/AaHcqb08wXgjplOM8+tc4pqNwcUYZmplbv8= +github.com/oracle/oci-go-sdk/v65 v65.83.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a h1:3hz2aLtfT/hQyKigiiMC4yNMZbApQ5hzeG8aFwclIHU= +github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a/go.mod h1:E0dIYXj8vKN7IqDLJ8vUmt8cBZ5S5pAz0fgvQGL6Ilk= 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= @@ -2389,8 +2384,8 @@ golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= -golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc= -golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= +golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= +golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2545,8 +2540,8 @@ golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= -golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= +golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= +golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2613,8 +2608,8 @@ golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= -golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= +golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2733,8 +2728,8 @@ golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= -golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= +golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2760,8 +2755,8 @@ golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= -golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg= -golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= +golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= +golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2787,8 +2782,8 @@ golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= -golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= +golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= +golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/provider/resources.go b/provider/resources.go index cb46014596..12e354ab9c 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -273,6 +273,7 @@ var mappedMods = map[string]string{ "service_mesh": serviceMeshMod, "stack_monitoring": stackMonitoringMod, "streaming": streamingMod, + "tenantmanagercontrolplane": "Tenantmanagercontrolplane", "usage_proxy": usageProxyMod, "vault": vaultMod, "vbs": vbsMod, @@ -1755,6 +1756,7 @@ func Provider() tfbridge.ProviderInfo { "oci_objectstorage_namespace_metadata", "oci_objectstorage_private_endpoint", "oci_objectstorage_private_endpoint_summaries", + "oci_vault_secret_version_sdk_v2", } for _, tk := range datasourcesMissingDocs { d, ok := prov.DataSources[tk] diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 8932c4647d..235fe7fb1a 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -3,41 +3,34 @@ module github.com/oracle/terraform-provider-oci/shim go 1.21 require ( - github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 - github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe + github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 + github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a ) replace github.com/hashicorp/terraform-exec => github.com/hashicorp/terraform-exec v0.14.0 require ( cloud.google.com/go/storage v1.41.0 // indirect - github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect - github.com/cloudflare/circl v1.3.7 // indirect github.com/fatih/color v1.16.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/go-cmp v0.6.0 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-checkpoint v0.5.0 // indirect - github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-hclog v1.5.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.6.0 // indirect + github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect - github.com/hashicorp/go-version v1.6.0 // indirect - github.com/hashicorp/hc-install v0.6.3 // indirect - github.com/hashicorp/hcl/v2 v2.19.1 // indirect + github.com/hashicorp/go-version v1.7.0 // indirect + github.com/hashicorp/hcl/v2 v2.21.0 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-exec v0.20.0 // indirect - github.com/hashicorp/terraform-json v0.21.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.22.0 // indirect + github.com/hashicorp/terraform-exec v0.21.0 // indirect + github.com/hashicorp/terraform-json v0.22.1 // indirect + github.com/hashicorp/terraform-plugin-framework v1.10.0 // indirect + github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-registry-address v0.2.3 // indirect - github.com/hashicorp/terraform-svchost v0.1.1 // indirect - github.com/hashicorp/yamux v0.1.1 // indirect + github.com/kr/pretty v0.3.1 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect @@ -45,23 +38,21 @@ require ( github.com/mitchellh/go-wordwrap v1.0.1 // indirect 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.83.0 // indirect + github.com/oracle/oci-go-sdk/v65 v65.83.2 // indirect + github.com/rogpeppe/go-internal v1.11.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 github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - github.com/zclconf/go-cty v1.14.2 // indirect - golang.org/x/crypto v0.22.0 // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/net v0.24.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + github.com/zclconf/go-cty v1.14.4 // indirect + golang.org/x/mod v0.20.0 // indirect + golang.org/x/sync v0.11.0 // indirect + golang.org/x/sys v0.30.0 // indirect + golang.org/x/text v0.22.0 // indirect + golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect google.golang.org/api v0.178.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect - google.golang.org/grpc v1.63.2 // indirect google.golang.org/protobuf v1.35.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 17d2577793..5d18991e8e 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -11,7 +11,6 @@ cloud.google.com/go/auth v0.3.0/go.mod h1:lBv6NKTWp8E3LPzmO1TbiiRKc4drLOfHsgmlH9 cloud.google.com/go/auth/oauth2adapt v0.2.2 h1:+TTV8aXpjeChS9M+aTtN/TjdQnzJvmzKFt//oWu7HX4= cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg= cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= @@ -31,8 +30,8 @@ github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugX github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= -github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0= -github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= @@ -50,8 +49,6 @@ github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3A github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= -github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= @@ -82,8 +79,8 @@ github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+ github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= -github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= @@ -131,8 +128,6 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m github.com/googleapis/gax-go/v2 v2.12.4 h1:9gWcmF85Wvq4ryPFvGFaOgPIs1AQX0d0bcbGw4Z96qg= github.com/googleapis/gax-go/v2 v2.12.4/go.mod h1:KYEYLorsnIGDi/rPC8b5TdlB9kbKoFubselGIoBMCwI= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -142,13 +137,9 @@ github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUK github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.5.3 h1:NF5+zOlQegim+w/EUhSLh6QhXHmZMEeHLQzllkQ3ROU= github.com/hashicorp/go-getter v1.5.3/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI= -github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= -github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= +github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= -github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= @@ -156,41 +147,35 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= -github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= +github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hc-install v0.6.3 h1:yE/r1yJvWbtrJ0STwScgEnCanb0U9v7zp0Gbkmcoxqs= -github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= -github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= -github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= +github.com/hashicorp/hcl/v2 v2.21.0 h1:lve4q/o/2rqwYOgUg3y3V2YPyD1/zkCLGjIV74Jit14= +github.com/hashicorp/hcl/v2 v2.21.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/terraform-exec v0.14.0 h1:UQoUcxKTZZXhyyK68Cwn4mApT4mnFPmEXPiqaHL9r+w= github.com/hashicorp/terraform-exec v0.14.0/go.mod h1:qrAASDq28KZiMPDnQ02sFS9udcqEkRly002EA2izXTA= github.com/hashicorp/terraform-json v0.12.0/go.mod h1:pmbq9o4EuL43db5+0ogX10Yofv1nozM+wskr/bGFJpI= -github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= -github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= -github.com/hashicorp/terraform-plugin-go v0.22.0 h1:1OS1Jk5mO0f5hrziWJGXXIxBrMe2j/B8E+DVGw43Xmc= -github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= +github.com/hashicorp/terraform-json v0.22.1 h1:xft84GZR0QzjPVWs4lRUwvTcPnegqlyS7orfb5Ltvec= +github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= +github.com/hashicorp/terraform-plugin-framework v1.10.0 h1:xXhICE2Fns1RYZxEQebwkB2+kXouLC932Li9qelozrc= +github.com/hashicorp/terraform-plugin-framework v1.10.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 h1:bxZfGo9DIUoLLtHMElsu+zwqI4IsMZQBRRy4iLzZJ8E= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0/go.mod h1:wGeI02gEhj9nPANU62F2jCaHjXulejm/X+af4PdZaNo= +github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= +github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 h1:qHprzXy/As0rxedphECBEQAh3R4yp6pKksKHcqZx5G8= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A= -github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= -github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= -github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= -github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= -github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= -github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 h1:kJiWGx2kiQVo97Y5IOGR4EMcZ8DtMswHhUuFibsCQQE= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0/go.mod h1:sl/UoabMc37HA6ICVMmGO+/0wofkVIRxf+BMb/dnoIg= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= -github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8 h1:12VvqtR6Aowv3l/EQUlocDHW2Cp4G9WJVH7uyH8QFJE= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= @@ -201,15 +186,14 @@ github.com/klauspost/compress v1.11.2 h1:MiK62aErc3gIiVEtyzKfeOHgW7atJb5g/KNX5m3 github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -242,26 +226,29 @@ github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= 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.83.0 h1:KFI0oyyCTPmgevHF+QlN02Zdf23Jx1p1X+4KPyH14H8= -github.com/oracle/oci-go-sdk/v65 v65.83.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe h1:Lqfjriv1mzJGzVlKSM1y6u25nKwJLs3/o9XKeNwMegY= -github.com/oracle/terraform-provider-oci v1.0.19-0.20250205091602-78e1baf285fe/go.mod h1:7hMsoiHfaeeM9Zqwy87SZYz8EYIc6jJkTvOJ+jPT67E= +github.com/oracle/oci-go-sdk/v65 v65.83.2 h1:4DtSCVe/AaHcqb08wXgjplOM8+tc4pqNwcUYZmplbv8= +github.com/oracle/oci-go-sdk/v65 v65.83.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a h1:3hz2aLtfT/hQyKigiiMC4yNMZbApQ5hzeG8aFwclIHU= +github.com/oracle/terraform-provider-oci v1.0.19-0.20250219134306-140712a0448a/go.mod h1:E0dIYXj8vKN7IqDLJ8vUmt8cBZ5S5pAz0fgvQGL6Ilk= 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/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= -github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/sony/gobreaker v0.5.0 h1:dRCvqm0P490vZPmy7ppEk2qCnCieBooFJ+YoXGYB+yg= github.com/sony/gobreaker v0.5.0/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -299,9 +286,11 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.8.4/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI= -github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= +github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= +github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= +github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= @@ -323,8 +312,8 @@ golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= +golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= @@ -335,8 +324,8 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -352,8 +341,8 @@ golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= -golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= +golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -365,8 +354,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= +golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -393,8 +382,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= +golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -404,8 +393,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= +golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= @@ -422,8 +411,8 @@ golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 3c1fae1f35..dac63cbecb 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -157,6 +157,13 @@ public static string? TenancyOcid set => _tenancyOcid.Set(value); } + private static readonly __Value _testTimeMaintenanceRebootDue = new __Value(() => __config.Get("testTimeMaintenanceRebootDue")); + public static string? TestTimeMaintenanceRebootDue + { + get => _testTimeMaintenanceRebootDue.Get(); + set => _testTimeMaintenanceRebootDue.Set(value); + } + private static readonly __Value _userOcid = new __Value(() => __config.Get("userOcid")); /// /// (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if diff --git a/sdk/dotnet/ContainerEngine/Cluster.cs b/sdk/dotnet/ContainerEngine/Cluster.cs index 107bda8803..4683a26fe3 100644 --- a/sdk/dotnet/ContainerEngine/Cluster.cs +++ b/sdk/dotnet/ContainerEngine/Cluster.cs @@ -74,6 +74,7 @@ namespace Pulumi.Oci.ContainerEngine /// { /// IsPodSecurityPolicyEnabled = clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled, /// }, + /// IpFamilies = clusterOptionsIpFamilies, /// KubernetesNetworkConfig = new Oci.ContainerEngine.Inputs.ClusterOptionsKubernetesNetworkConfigArgs /// { /// PodsCidr = clusterOptionsKubernetesNetworkConfigPodsCidr, diff --git a/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointArgs.cs b/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointArgs.cs index c3c2505ed6..2de9697057 100644 --- a/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointArgs.cs +++ b/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.ContainerEngine.Inputs public sealed class ClusterEndpointArgs : global::Pulumi.ResourceArgs { + /// + /// The IPv6 networking Kubernetes API server endpoint. + /// + [Input("ipv6endpoint")] + public Input? Ipv6endpoint { get; set; } + /// /// The non-native networking Kubernetes API server endpoint. /// diff --git a/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointGetArgs.cs b/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointGetArgs.cs index 2fb1b87191..9d1085267d 100644 --- a/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointGetArgs.cs +++ b/sdk/dotnet/ContainerEngine/Inputs/ClusterEndpointGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.ContainerEngine.Inputs public sealed class ClusterEndpointGetArgs : global::Pulumi.ResourceArgs { + /// + /// The IPv6 networking Kubernetes API server endpoint. + /// + [Input("ipv6endpoint")] + public Input? Ipv6endpoint { get; set; } + /// /// The non-native networking Kubernetes API server endpoint. /// diff --git a/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsArgs.cs b/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsArgs.cs index b3f521decd..365baf2af9 100644 --- a/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsArgs.cs +++ b/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsArgs.cs @@ -24,6 +24,18 @@ public sealed class ClusterOptionsArgs : global::Pulumi.ResourceArgs [Input("admissionControllerOptions")] public Input? AdmissionControllerOptions { get; set; } + [Input("ipFamilies")] + private InputList? _ipFamilies; + + /// + /// IP family to use for single stack or define the order of IP families for dual-stack + /// + public InputList IpFamilies + { + get => _ipFamilies ?? (_ipFamilies = new InputList()); + set => _ipFamilies = value; + } + /// /// Network configuration for Kubernetes. /// diff --git a/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsGetArgs.cs b/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsGetArgs.cs index 9861b083fe..bc1450b003 100644 --- a/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsGetArgs.cs +++ b/sdk/dotnet/ContainerEngine/Inputs/ClusterOptionsGetArgs.cs @@ -24,6 +24,18 @@ public sealed class ClusterOptionsGetArgs : global::Pulumi.ResourceArgs [Input("admissionControllerOptions")] public Input? AdmissionControllerOptions { get; set; } + [Input("ipFamilies")] + private InputList? _ipFamilies; + + /// + /// IP family to use for single stack or define the order of IP families for dual-stack + /// + public InputList IpFamilies + { + get => _ipFamilies ?? (_ipFamilies = new InputList()); + set => _ipFamilies = value; + } + /// /// Network configuration for Kubernetes. /// diff --git a/sdk/dotnet/ContainerEngine/Outputs/ClusterEndpoint.cs b/sdk/dotnet/ContainerEngine/Outputs/ClusterEndpoint.cs index a73984c84b..c6d905dc02 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/ClusterEndpoint.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/ClusterEndpoint.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.ContainerEngine.Outputs [OutputType] public sealed class ClusterEndpoint { + /// + /// The IPv6 networking Kubernetes API server endpoint. + /// + public readonly string? Ipv6endpoint; /// /// The non-native networking Kubernetes API server endpoint. /// @@ -32,6 +36,8 @@ public sealed class ClusterEndpoint [OutputConstructor] private ClusterEndpoint( + string? ipv6endpoint, + string? kubernetes, string? privateEndpoint, @@ -40,6 +46,7 @@ private ClusterEndpoint( string? vcnHostnameEndpoint) { + Ipv6endpoint = ipv6endpoint; Kubernetes = kubernetes; PrivateEndpoint = privateEndpoint; PublicEndpoint = publicEndpoint; diff --git a/sdk/dotnet/ContainerEngine/Outputs/ClusterOptions.cs b/sdk/dotnet/ContainerEngine/Outputs/ClusterOptions.cs index d2cdf717b4..413dfd05db 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/ClusterOptions.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/ClusterOptions.cs @@ -22,6 +22,10 @@ public sealed class ClusterOptions /// public readonly Outputs.ClusterOptionsAdmissionControllerOptions? AdmissionControllerOptions; /// + /// IP family to use for single stack or define the order of IP families for dual-stack + /// + public readonly ImmutableArray IpFamilies; + /// /// Network configuration for Kubernetes. /// public readonly Outputs.ClusterOptionsKubernetesNetworkConfig? KubernetesNetworkConfig; @@ -52,6 +56,8 @@ private ClusterOptions( Outputs.ClusterOptionsAdmissionControllerOptions? admissionControllerOptions, + ImmutableArray ipFamilies, + Outputs.ClusterOptionsKubernetesNetworkConfig? kubernetesNetworkConfig, Outputs.ClusterOptionsOpenIdConnectDiscovery? openIdConnectDiscovery, @@ -66,6 +72,7 @@ private ClusterOptions( { AddOns = addOns; AdmissionControllerOptions = admissionControllerOptions; + IpFamilies = ipFamilies; KubernetesNetworkConfig = kubernetesNetworkConfig; OpenIdConnectDiscovery = openIdConnectDiscovery; OpenIdConnectTokenAuthenticationConfig = openIdConnectTokenAuthenticationConfig; diff --git a/sdk/dotnet/ContainerEngine/Outputs/GetClusterEndpointResult.cs b/sdk/dotnet/ContainerEngine/Outputs/GetClusterEndpointResult.cs index 980813345e..77242a5623 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/GetClusterEndpointResult.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/GetClusterEndpointResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.ContainerEngine.Outputs [OutputType] public sealed class GetClusterEndpointResult { + /// + /// The IPv6 networking Kubernetes API server endpoint. + /// + public readonly string Ipv6endpoint; /// /// The non-native networking Kubernetes API server endpoint. /// @@ -32,6 +36,8 @@ public sealed class GetClusterEndpointResult [OutputConstructor] private GetClusterEndpointResult( + string ipv6endpoint, + string kubernetes, string privateEndpoint, @@ -40,6 +46,7 @@ private GetClusterEndpointResult( string vcnHostnameEndpoint) { + Ipv6endpoint = ipv6endpoint; Kubernetes = kubernetes; PrivateEndpoint = privateEndpoint; PublicEndpoint = publicEndpoint; diff --git a/sdk/dotnet/ContainerEngine/Outputs/GetClusterOptionResult.cs b/sdk/dotnet/ContainerEngine/Outputs/GetClusterOptionResult.cs index d895e3949a..1c664740e4 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/GetClusterOptionResult.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/GetClusterOptionResult.cs @@ -22,6 +22,10 @@ public sealed class GetClusterOptionResult /// public readonly ImmutableArray AdmissionControllerOptions; /// + /// IP family to use for single stack or define the order of IP families for dual-stack + /// + public readonly ImmutableArray IpFamilies; + /// /// Network configuration for Kubernetes. /// public readonly ImmutableArray KubernetesNetworkConfigs; @@ -46,6 +50,8 @@ private GetClusterOptionResult( ImmutableArray admissionControllerOptions, + ImmutableArray ipFamilies, + ImmutableArray kubernetesNetworkConfigs, ImmutableArray openIdConnectDiscoveries, @@ -60,6 +66,7 @@ private GetClusterOptionResult( { AddOns = addOns; AdmissionControllerOptions = admissionControllerOptions; + IpFamilies = ipFamilies; KubernetesNetworkConfigs = kubernetesNetworkConfigs; OpenIdConnectDiscoveries = openIdConnectDiscoveries; OpenIdConnectTokenAuthenticationConfigs = openIdConnectTokenAuthenticationConfigs; diff --git a/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterEndpointResult.cs b/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterEndpointResult.cs index c4f7dbff4e..b8e7999aab 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterEndpointResult.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterEndpointResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.ContainerEngine.Outputs [OutputType] public sealed class GetClustersClusterEndpointResult { + /// + /// The IPv6 networking Kubernetes API server endpoint. + /// + public readonly string Ipv6endpoint; /// /// The non-native networking Kubernetes API server endpoint. /// @@ -32,6 +36,8 @@ public sealed class GetClustersClusterEndpointResult [OutputConstructor] private GetClustersClusterEndpointResult( + string ipv6endpoint, + string kubernetes, string privateEndpoint, @@ -40,6 +46,7 @@ private GetClustersClusterEndpointResult( string vcnHostnameEndpoint) { + Ipv6endpoint = ipv6endpoint; Kubernetes = kubernetes; PrivateEndpoint = privateEndpoint; PublicEndpoint = publicEndpoint; diff --git a/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterOptionResult.cs b/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterOptionResult.cs index 22d740095c..724e6ea295 100644 --- a/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterOptionResult.cs +++ b/sdk/dotnet/ContainerEngine/Outputs/GetClustersClusterOptionResult.cs @@ -22,6 +22,10 @@ public sealed class GetClustersClusterOptionResult /// public readonly ImmutableArray AdmissionControllerOptions; /// + /// IP family to use for single stack or define the order of IP families for dual-stack + /// + public readonly ImmutableArray IpFamilies; + /// /// Network configuration for Kubernetes. /// public readonly ImmutableArray KubernetesNetworkConfigs; @@ -52,6 +56,8 @@ private GetClustersClusterOptionResult( ImmutableArray admissionControllerOptions, + ImmutableArray ipFamilies, + ImmutableArray kubernetesNetworkConfigs, ImmutableArray openIdConnectDiscoveries, @@ -66,6 +72,7 @@ private GetClustersClusterOptionResult( { AddOns = addOns; AdmissionControllerOptions = admissionControllerOptions; + IpFamilies = ipFamilies; KubernetesNetworkConfigs = kubernetesNetworkConfigs; OpenIdConnectDiscoveries = openIdConnectDiscoveries; OpenIdConnectTokenAuthenticationConfigs = openIdConnectTokenAuthenticationConfigs; diff --git a/sdk/dotnet/Database/AutonomousContainerDatabase.cs b/sdk/dotnet/Database/AutonomousContainerDatabase.cs index 113cc99bfd..d66812b5b6 100644 --- a/sdk/dotnet/Database/AutonomousContainerDatabase.cs +++ b/sdk/dotnet/Database/AutonomousContainerDatabase.cs @@ -25,6 +25,12 @@ namespace Pulumi.Oci.Database [OciResourceType("oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase")] public partial class AutonomousContainerDatabase : global::Pulumi.CustomResource { + /// + /// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + /// + [Output("associatedBackupConfigurationDetails")] + public Output> AssociatedBackupConfigurationDetails { get; private set; } = null!; + /// /// **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. /// @@ -55,6 +61,12 @@ public partial class AutonomousContainerDatabase : global::Pulumi.CustomResource [Output("backupConfig")] public Output BackupConfig { get; private set; } = null!; + /// + /// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + /// + [Output("backupDestinationPropertiesLists")] + public Output> BackupDestinationPropertiesLists { get; private set; } = null!; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. /// @@ -300,6 +312,7 @@ public partial class AutonomousContainerDatabase : global::Pulumi.CustomResource /// /// The number of CPUs provisioned in an Autonomous Container Database. + /// <<<<<<< ours /// [Output("provisionedCpus")] public Output ProvisionedCpus { get; private set; } = null!; @@ -308,10 +321,17 @@ public partial class AutonomousContainerDatabase : global::Pulumi.CustomResource /// For Autonomous Databases on Dedicated Exadata Infrastructure: /// * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. /// * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + /// >>>>>>> theirs /// [Output("reclaimableCpus")] public Output ReclaimableCpus { get; private set; } = null!; + /// + /// Information about the recovery appliance configuration associated with the Autonomous Container Database. + /// + [Output("recoveryApplianceDetails")] + public Output> RecoveryApplianceDetails { get; private set; } = null!; + /// /// The number of CPUs reserved in an Autonomous Container Database. /// * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. @@ -677,6 +697,18 @@ public AutonomousContainerDatabaseArgs() public sealed class AutonomousContainerDatabaseState : global::Pulumi.ResourceArgs { + [Input("associatedBackupConfigurationDetails")] + private InputList? _associatedBackupConfigurationDetails; + + /// + /// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + /// + public InputList AssociatedBackupConfigurationDetails + { + get => _associatedBackupConfigurationDetails ?? (_associatedBackupConfigurationDetails = new InputList()); + set => _associatedBackupConfigurationDetails = value; + } + /// /// **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. /// @@ -707,6 +739,18 @@ public sealed class AutonomousContainerDatabaseState : global::Pulumi.ResourceAr [Input("backupConfig")] public Input? BackupConfig { get; set; } + [Input("backupDestinationPropertiesLists")] + private InputList? _backupDestinationPropertiesLists; + + /// + /// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + /// + public InputList BackupDestinationPropertiesLists + { + get => _backupDestinationPropertiesLists ?? (_backupDestinationPropertiesLists = new InputList()); + set => _backupDestinationPropertiesLists = value; + } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. /// @@ -988,6 +1032,7 @@ public InputList ProvisionableCpuses /// /// The number of CPUs provisioned in an Autonomous Container Database. + /// <<<<<<< ours /// [Input("provisionedCpus")] public Input? ProvisionedCpus { get; set; } @@ -996,10 +1041,23 @@ public InputList ProvisionableCpuses /// For Autonomous Databases on Dedicated Exadata Infrastructure: /// * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. /// * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + /// >>>>>>> theirs /// [Input("reclaimableCpus")] public Input? ReclaimableCpus { get; set; } + [Input("recoveryApplianceDetails")] + private InputList? _recoveryApplianceDetails; + + /// + /// Information about the recovery appliance configuration associated with the Autonomous Container Database. + /// + public InputList RecoveryApplianceDetails + { + get => _recoveryApplianceDetails ?? (_recoveryApplianceDetails = new InputList()); + set => _recoveryApplianceDetails = value; + } + /// /// The number of CPUs reserved in an Autonomous Container Database. /// * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. diff --git a/sdk/dotnet/Database/AutonomousDatabase.cs b/sdk/dotnet/Database/AutonomousDatabase.cs index c82915684a..4754d4a4dd 100644 --- a/sdk/dotnet/Database/AutonomousDatabase.cs +++ b/sdk/dotnet/Database/AutonomousDatabase.cs @@ -125,13 +125,21 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource /// /// For an Autonomous Database on dedicated infrastructure, the allowed values are: /// + /// <<<<<<< ours /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS /// [Output("characterSet")] public Output CharacterSet { get; private set; } = null!; + /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// + [Output("cloneTableSpaceLists")] + public Output> CloneTableSpaceLists { get; private set; } = null!; + /// /// The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + /// >>>>>>> theirs /// * `FULL` - This option creates a new database that includes all source database data. /// * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. /// @@ -507,13 +515,13 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource public Output LocalAdgAutoFailoverMaxDataLossLimit { get; private set; } = null!; /// - /// Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + /// 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. /// [Output("localDisasterRecoveryType")] public Output LocalDisasterRecoveryType { get; private set; } = null!; /// - /// Autonomous Data Guard local (same region) standby database details. + /// Autonomous Data Guard standby database details. /// [Output("localStandbyDbs")] public Output> LocalStandbyDbs { get; private set; } = null!; @@ -524,6 +532,12 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource [Output("longTermBackupSchedules")] public Output> LongTermBackupSchedules { get; private set; } = null!; + /// + /// The component chosen for maintenance. + /// + [Output("maintenanceTargetComponent")] + public Output MaintenanceTargetComponent { get; private set; } = null!; + /// /// (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. /// @@ -1085,13 +1099,27 @@ public Input? AdminPassword /// /// For an Autonomous Database on dedicated infrastructure, the allowed values are: /// + /// <<<<<<< ours /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS /// [Input("characterSet")] public Input? CharacterSet { get; set; } + [Input("cloneTableSpaceLists")] + private InputList? _cloneTableSpaceLists; + + /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// + public InputList CloneTableSpaceLists + { + get => _cloneTableSpaceLists ?? (_cloneTableSpaceLists = new InputList()); + set => _cloneTableSpaceLists = value; + } + /// /// The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + /// >>>>>>> theirs /// * `FULL` - This option creates a new database that includes all source database data. /// * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. /// @@ -1799,13 +1827,27 @@ public InputList BackupConfigs /// /// For an Autonomous Database on dedicated infrastructure, the allowed values are: /// + /// <<<<<<< ours /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS /// [Input("characterSet")] public Input? CharacterSet { get; set; } + [Input("cloneTableSpaceLists")] + private InputList? _cloneTableSpaceLists; + + /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// + public InputList CloneTableSpaceLists + { + get => _cloneTableSpaceLists ?? (_cloneTableSpaceLists = new InputList()); + set => _cloneTableSpaceLists = value; + } + /// /// The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + /// >>>>>>> theirs /// * `FULL` - This option creates a new database that includes all source database data. /// * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. /// @@ -2229,7 +2271,7 @@ public InputList KeyHistoryEntr public Input? LocalAdgAutoFailoverMaxDataLossLimit { get; set; } /// - /// Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + /// 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. /// [Input("localDisasterRecoveryType")] public Input? LocalDisasterRecoveryType { get; set; } @@ -2238,7 +2280,7 @@ public InputList KeyHistoryEntr private InputList? _localStandbyDbs; /// - /// Autonomous Data Guard local (same region) standby database details. + /// Autonomous Data Guard standby database details. /// public InputList LocalStandbyDbs { @@ -2258,6 +2300,12 @@ public InputList LongTer set => _longTermBackupSchedules = value; } + /// + /// The component chosen for maintenance. + /// + [Input("maintenanceTargetComponent")] + public Input? MaintenanceTargetComponent { get; set; } + /// /// (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. /// diff --git a/sdk/dotnet/Database/BackupDestination.cs b/sdk/dotnet/Database/BackupDestination.cs index 895b07065a..e86a288ac4 100644 --- a/sdk/dotnet/Database/BackupDestination.cs +++ b/sdk/dotnet/Database/BackupDestination.cs @@ -138,18 +138,36 @@ public partial class BackupDestination : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// The time when the total storage size and the utilized storage size of the backup destination are updated. + /// + [Output("timeAtWhichStorageDetailsAreUpdated")] + public Output TimeAtWhichStorageDetailsAreUpdated { get; private set; } = null!; + /// /// The date and time the backup destination was created. /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; + /// + /// The total storage size of the backup destination in GBs, rounded to the nearest integer. + /// + [Output("totalStorageSizeInGbs")] + public Output TotalStorageSizeInGbs { get; private set; } = null!; + /// /// Type of the backup destination. /// [Output("type")] public Output Type { get; private set; } = null!; + /// + /// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + /// + [Output("utilizedStorageSizeInGbs")] + public Output UtilizedStorageSizeInGbs { get; private set; } = null!; + /// /// (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. /// @@ -392,18 +410,36 @@ public InputList NfsServers [Input("state")] public Input? State { get; set; } + /// + /// The time when the total storage size and the utilized storage size of the backup destination are updated. + /// + [Input("timeAtWhichStorageDetailsAreUpdated")] + public Input? TimeAtWhichStorageDetailsAreUpdated { get; set; } + /// /// The date and time the backup destination was created. /// [Input("timeCreated")] public Input? TimeCreated { get; set; } + /// + /// The total storage size of the backup destination in GBs, rounded to the nearest integer. + /// + [Input("totalStorageSizeInGbs")] + public Input? TotalStorageSizeInGbs { get; set; } + /// /// Type of the backup destination. /// [Input("type")] public Input? Type { get; set; } + /// + /// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + /// + [Input("utilizedStorageSizeInGbs")] + public Input? UtilizedStorageSizeInGbs { get; set; } + [Input("vpcUsers")] private InputList? _vpcUsers; diff --git a/sdk/dotnet/Database/DataGuardAssociation.cs b/sdk/dotnet/Database/DataGuardAssociation.cs index c5af1c7d0b..901e9e023d 100644 --- a/sdk/dotnet/Database/DataGuardAssociation.cs +++ b/sdk/dotnet/Database/DataGuardAssociation.cs @@ -68,6 +68,7 @@ namespace Pulumi.Oci.Database /// PeerSidPrefix = dataGuardAssociationPeerSidPrefix, /// PeerVmClusterId = testVmCluster.Id, /// PrivateIp = dataGuardAssociationPrivateIp, + /// PrivateIpV6 = dataGuardAssociationPrivateIpV6, /// Shape = dataGuardAssociationShape, /// StorageVolumePerformanceMode = dataGuardAssociationStorageVolumePerformanceMode, /// SubnetId = testSubnet.Id, @@ -315,6 +316,12 @@ public partial class DataGuardAssociation : global::Pulumi.CustomResource [Output("privateIp")] public Output PrivateIp { get; private set; } = null!; + /// + /// The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + /// + [Output("privateIpV6")] + public Output PrivateIpV6 { get; private set; } = null!; + /// /// (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. /// @@ -686,6 +693,12 @@ public InputList NsgIds [Input("privateIp")] public Input? PrivateIp { get; set; } + /// + /// The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + /// + [Input("privateIpV6")] + public Input? PrivateIpV6 { get; set; } + /// /// (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. /// @@ -1033,6 +1046,12 @@ public InputList NsgIds [Input("privateIp")] public Input? PrivateIp { get; set; } + /// + /// The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + /// + [Input("privateIpV6")] + public Input? PrivateIpV6 { get; set; } + /// /// (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. /// diff --git a/sdk/dotnet/Database/DbSystem.cs b/sdk/dotnet/Database/DbSystem.cs index 430a7e4add..2ff0a33c81 100644 --- a/sdk/dotnet/Database/DbSystem.cs +++ b/sdk/dotnet/Database/DbSystem.cs @@ -310,6 +310,12 @@ public partial class DbSystem : global::Pulumi.CustomResource [Output("privateIp")] public Output PrivateIp { get; private set; } = null!; + /// + /// A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + /// + [Output("privateIpV6")] + public Output PrivateIpV6 { get; private set; } = null!; + /// /// The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. /// @@ -329,11 +335,17 @@ public partial class DbSystem : global::Pulumi.CustomResource public Output ScanDnsRecordId { get; private set; } = null!; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. /// [Output("scanIpIds")] public Output> ScanIpIds { get; private set; } = null!; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// + [Output("scanIpv6ids")] + public Output> ScanIpv6ids { get; private set; } = null!; + /// /// (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` /// @@ -421,11 +433,17 @@ public partial class DbSystem : global::Pulumi.CustomResource public Output Version { get; private set; } = null!; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. /// [Output("vipIds")] public Output> VipIds { get; private set; } = null!; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// + [Output("vipv6ids")] + public Output> Vipv6ids { get; private set; } = null!; + /// /// The OCID of the zone the DB system is associated with. /// @@ -693,6 +711,12 @@ public InputList NsgIds [Input("privateIp")] public Input? PrivateIp { get; set; } + /// + /// A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + /// + [Input("privateIpV6")] + public Input? PrivateIpV6 { get; set; } + /// /// The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. /// @@ -1074,6 +1098,12 @@ public InputList NsgIds [Input("privateIp")] public Input? PrivateIp { get; set; } + /// + /// A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + /// + [Input("privateIpV6")] + public Input? PrivateIpV6 { get; set; } + /// /// The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. /// @@ -1096,7 +1126,7 @@ public InputList NsgIds private InputList? _scanIpIds; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. /// public InputList ScanIpIds { @@ -1104,6 +1134,18 @@ public InputList ScanIpIds set => _scanIpIds = value; } + [Input("scanIpv6ids")] + private InputList? _scanIpv6ids; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// + public InputList ScanIpv6ids + { + get => _scanIpv6ids ?? (_scanIpv6ids = new InputList()); + set => _scanIpv6ids = value; + } + [Input("securityAttributes")] private InputMap? _securityAttributes; @@ -1206,7 +1248,7 @@ public InputList SshPublicKeys private InputList? _vipIds; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. /// public InputList VipIds { @@ -1214,6 +1256,18 @@ public InputList VipIds set => _vipIds = value; } + [Input("vipv6ids")] + private InputList? _vipv6ids; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// + public InputList Vipv6ids + { + get => _vipv6ids ?? (_vipv6ids = new InputList()); + set => _vipv6ids = value; + } + /// /// The OCID of the zone the DB system is associated with. /// diff --git a/sdk/dotnet/Database/GetAutonomousContainerDatabase.cs b/sdk/dotnet/Database/GetAutonomousContainerDatabase.cs index cbce3c4802..218c2286e5 100644 --- a/sdk/dotnet/Database/GetAutonomousContainerDatabase.cs +++ b/sdk/dotnet/Database/GetAutonomousContainerDatabase.cs @@ -123,6 +123,10 @@ public GetAutonomousContainerDatabaseInvokeArgs() [OutputType] public sealed class GetAutonomousContainerDatabaseResult { + /// + /// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + /// + public readonly ImmutableArray AssociatedBackupConfigurationDetails; public readonly string AutonomousContainerDatabaseId; /// /// **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`. @@ -145,6 +149,10 @@ public sealed class GetAutonomousContainerDatabaseResult /// public readonly ImmutableArray BackupConfigs; /// + /// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + /// + public readonly ImmutableArray BackupDestinationPropertiesLists; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. /// public readonly string CloudAutonomousVmClusterId; @@ -286,6 +294,10 @@ public sealed class GetAutonomousContainerDatabaseResult /// public readonly double ReclaimableCpus; /// + /// Information about the recovery appliance configuration associated with the Autonomous Container Database. + /// + public readonly ImmutableArray RecoveryApplianceDetails; + /// /// The number of CPUs reserved in an Autonomous Container Database. /// public readonly double ReservedCpus; @@ -337,6 +349,8 @@ public sealed class GetAutonomousContainerDatabaseResult [OutputConstructor] private GetAutonomousContainerDatabaseResult( + ImmutableArray associatedBackupConfigurationDetails, + string autonomousContainerDatabaseId, string autonomousExadataInfrastructureId, @@ -349,6 +363,8 @@ private GetAutonomousContainerDatabaseResult( ImmutableArray backupConfigs, + ImmutableArray backupDestinationPropertiesLists, + string cloudAutonomousVmClusterId, string compartmentId, @@ -439,6 +455,8 @@ private GetAutonomousContainerDatabaseResult( double reclaimableCpus, + ImmutableArray recoveryApplianceDetails, + double reservedCpus, string role, @@ -465,12 +483,14 @@ private GetAutonomousContainerDatabaseResult( int vmFailoverReservation) { + AssociatedBackupConfigurationDetails = associatedBackupConfigurationDetails; AutonomousContainerDatabaseId = autonomousContainerDatabaseId; AutonomousExadataInfrastructureId = autonomousExadataInfrastructureId; AutonomousVmClusterId = autonomousVmClusterId; AvailabilityDomain = availabilityDomain; AvailableCpus = availableCpus; BackupConfigs = backupConfigs; + BackupDestinationPropertiesLists = backupDestinationPropertiesLists; CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; CompartmentId = compartmentId; ComputeModel = computeModel; @@ -516,6 +536,7 @@ private GetAutonomousContainerDatabaseResult( ProvisionableCpuses = provisionableCpuses; ProvisionedCpus = provisionedCpus; ReclaimableCpus = reclaimableCpus; + RecoveryApplianceDetails = recoveryApplianceDetails; ReservedCpus = reservedCpus; Role = role; RotateKeyTrigger = rotateKeyTrigger; diff --git a/sdk/dotnet/Database/GetAutonomousDatabase.cs b/sdk/dotnet/Database/GetAutonomousDatabase.cs index e08c8d32fc..c8c0f9522f 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabase.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabase.cs @@ -182,6 +182,13 @@ public sealed class GetAutonomousDatabaseResult /// The character set for the autonomous database. The default is AL32UTF8. Allowed values are: /// public readonly string CharacterSet; + /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// ======= + /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + /// >>>>>>> theirs + /// + public readonly ImmutableArray CloneTableSpaceLists; public readonly string CloneType; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -426,6 +433,10 @@ public sealed class GetAutonomousDatabaseResult /// public readonly ImmutableArray LongTermBackupSchedules; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. /// public readonly int MaxCpuCoreCount; @@ -702,6 +713,8 @@ private GetAutonomousDatabaseResult( string characterSet, + ImmutableArray cloneTableSpaceLists, + string cloneType, string clusterPlacementGroupId, @@ -826,6 +839,8 @@ private GetAutonomousDatabaseResult( ImmutableArray longTermBackupSchedules, + string maintenanceTargetComponent, + int maxCpuCoreCount, int memoryPerOracleComputeUnitInGbs, @@ -977,6 +992,7 @@ private GetAutonomousDatabaseResult( BackupRetentionPeriodInDays = backupRetentionPeriodInDays; ByolComputeCountLimit = byolComputeCountLimit; CharacterSet = characterSet; + CloneTableSpaceLists = cloneTableSpaceLists; CloneType = cloneType; ClusterPlacementGroupId = clusterPlacementGroupId; CompartmentId = compartmentId; @@ -1039,6 +1055,7 @@ private GetAutonomousDatabaseResult( LocalDisasterRecoveryType = localDisasterRecoveryType; LocalStandbyDbs = localStandbyDbs; LongTermBackupSchedules = longTermBackupSchedules; + MaintenanceTargetComponent = maintenanceTargetComponent; MaxCpuCoreCount = maxCpuCoreCount; MemoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; NcharacterSet = ncharacterSet; diff --git a/sdk/dotnet/Database/GetAutonomousDatabases.cs b/sdk/dotnet/Database/GetAutonomousDatabases.cs index 93d5de6a2d..64f71f8ab0 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabases.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabases.cs @@ -12,19 +12,6 @@ namespace Pulumi.Oci.Database public static class GetAutonomousDatabases { /// - /// ## - /// - /// --- - /// ## 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. @@ -64,19 +51,6 @@ public static Task InvokeAsync(GetAutonomousDataba => 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. @@ -116,19 +90,6 @@ public static Output Invoke(GetAutonomousDatabases => global::Pulumi.Deployment.Instance.Invoke("oci:Database/getAutonomousDatabases:getAutonomousDatabases", args ?? new GetAutonomousDatabasesInvokeArgs(), 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. diff --git a/sdk/dotnet/Database/GetBackupDestination.cs b/sdk/dotnet/Database/GetBackupDestination.cs index 3c3aa4bb69..5840670739 100644 --- a/sdk/dotnet/Database/GetBackupDestination.cs +++ b/sdk/dotnet/Database/GetBackupDestination.cs @@ -181,14 +181,26 @@ public sealed class GetBackupDestinationResult /// public readonly string State; /// + /// The time when the total storage size and the utilized storage size of the backup destination are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + /// /// The date and time the backup destination was created. /// public readonly string TimeCreated; /// + /// The total storage size of the backup destination in GBs, rounded to the nearest integer. + /// + public readonly int TotalStorageSizeInGbs; + /// /// Type of the backup destination. /// public readonly string Type; /// + /// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + /// + public readonly int UtilizedStorageSizeInGbs; + /// /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. /// public readonly ImmutableArray VpcUsers; @@ -225,10 +237,16 @@ private GetBackupDestinationResult( string state, + string timeAtWhichStorageDetailsAreUpdated, + string timeCreated, + int totalStorageSizeInGbs, + string type, + int utilizedStorageSizeInGbs, + ImmutableArray vpcUsers) { AssociatedDatabases = associatedDatabases; @@ -246,8 +264,11 @@ private GetBackupDestinationResult( NfsServerExport = nfsServerExport; NfsServers = nfsServers; State = state; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; TimeCreated = timeCreated; + TotalStorageSizeInGbs = totalStorageSizeInGbs; Type = type; + UtilizedStorageSizeInGbs = utilizedStorageSizeInGbs; VpcUsers = vpcUsers; } } diff --git a/sdk/dotnet/Database/GetDataGuardAssociation.cs b/sdk/dotnet/Database/GetDataGuardAssociation.cs index e0206e01ae..dfe79e21e9 100644 --- a/sdk/dotnet/Database/GetDataGuardAssociation.cs +++ b/sdk/dotnet/Database/GetDataGuardAssociation.cs @@ -212,6 +212,7 @@ public sealed class GetDataGuardAssociationResult public readonly string PeerSidPrefix; public readonly string PeerVmClusterId; public readonly string PrivateIp; + public readonly string PrivateIpV6; /// /// The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. /// @@ -315,6 +316,8 @@ private GetDataGuardAssociationResult( string privateIp, + string privateIpV6, + string protectionMode, string role, @@ -371,6 +374,7 @@ private GetDataGuardAssociationResult( PeerSidPrefix = peerSidPrefix; PeerVmClusterId = peerVmClusterId; PrivateIp = privateIp; + PrivateIpV6 = privateIpV6; ProtectionMode = protectionMode; Role = role; Shape = shape; diff --git a/sdk/dotnet/Database/GetMaintenanceRuns.cs b/sdk/dotnet/Database/GetMaintenanceRuns.cs index c8993e4e38..c47b95d673 100644 --- a/sdk/dotnet/Database/GetMaintenanceRuns.cs +++ b/sdk/dotnet/Database/GetMaintenanceRuns.cs @@ -31,6 +31,7 @@ public static class GetMaintenanceRuns /// { /// CompartmentId = compartmentId, /// AvailabilityDomain = maintenanceRunAvailabilityDomain, + /// IsLocalAdg = maintenanceRunIsLocalAdg, /// MaintenanceSubtype = maintenanceRunMaintenanceSubtype, /// MaintenanceType = maintenanceRunMaintenanceType, /// State = maintenanceRunState, @@ -64,6 +65,7 @@ public static Task InvokeAsync(GetMaintenanceRunsArgs /// { /// CompartmentId = compartmentId, /// AvailabilityDomain = maintenanceRunAvailabilityDomain, + /// IsLocalAdg = maintenanceRunIsLocalAdg, /// MaintenanceSubtype = maintenanceRunMaintenanceSubtype, /// MaintenanceType = maintenanceRunMaintenanceType, /// State = maintenanceRunState, @@ -97,6 +99,7 @@ public static Output Invoke(GetMaintenanceRunsInvokeAr /// { /// CompartmentId = compartmentId, /// AvailabilityDomain = maintenanceRunAvailabilityDomain, + /// IsLocalAdg = maintenanceRunIsLocalAdg, /// MaintenanceSubtype = maintenanceRunMaintenanceSubtype, /// MaintenanceType = maintenanceRunMaintenanceType, /// State = maintenanceRunState, @@ -134,6 +137,12 @@ public List Filters set => _filters = value; } + /// + /// A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + /// + [Input("isLocalAdg")] + public bool? IsLocalAdg { get; set; } + /// /// The sub-type of the maintenance run. /// @@ -192,6 +201,12 @@ public InputList Filters set => _filters = value; } + /// + /// A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + /// + [Input("isLocalAdg")] + public Input? IsLocalAdg { get; set; } + /// /// The sub-type of the maintenance run. /// @@ -242,6 +257,7 @@ public sealed class GetMaintenanceRunsResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; + public readonly bool? IsLocalAdg; /// /// The list of maintenance_runs. /// @@ -277,6 +293,8 @@ private GetMaintenanceRunsResult( string id, + bool? isLocalAdg, + ImmutableArray maintenanceRuns, string? maintenanceSubtype, @@ -293,6 +311,7 @@ private GetMaintenanceRunsResult( CompartmentId = compartmentId; Filters = filters; Id = id; + IsLocalAdg = isLocalAdg; MaintenanceRuns = maintenanceRuns; MaintenanceSubtype = maintenanceSubtype; MaintenanceType = maintenanceType; diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.cs new file mode 100644 index 0000000000..b2c45900e7 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.cs @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs : global::Pulumi.ResourceArgs + { + [Input("backupDestinationAttachHistories")] + private InputList? _backupDestinationAttachHistories; + + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public InputList BackupDestinationAttachHistories + { + get => _backupDestinationAttachHistories ?? (_backupDestinationAttachHistories = new InputList()); + set => _backupDestinationAttachHistories = value; + } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + /// + [Input("dbrsPolicyId")] + public Input? DbrsPolicyId { get; set; } + + /// + /// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Proxy URL to connect to object store. + /// + [Input("internetProxy")] + public Input? InternetProxy { get; set; } + + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + [Input("recoveryWindowInDays")] + public Input? RecoveryWindowInDays { get; set; } + + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + [Input("spaceUtilizedInGbs")] + public Input? SpaceUtilizedInGbs { get; set; } + + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + [Input("timeAtWhichStorageDetailsAreUpdated")] + public Input? TimeAtWhichStorageDetailsAreUpdated { get; set; } + + /// + /// Type of the database backup destination. + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + /// + [Input("vpcPassword")] + public Input? VpcPassword { get; set; } + + /// + /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + /// + [Input("vpcUser")] + public Input? VpcUser { get; set; } + + public AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs() + { + } + public static new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs Empty => new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs.cs new file mode 100644 index 0000000000..50e0e4a349 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs.cs @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs : global::Pulumi.ResourceArgs + { + [Input("backupDestinationAttachHistories")] + private InputList? _backupDestinationAttachHistories; + + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public InputList BackupDestinationAttachHistories + { + get => _backupDestinationAttachHistories ?? (_backupDestinationAttachHistories = new InputList()); + set => _backupDestinationAttachHistories = value; + } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + /// + [Input("dbrsPolicyId")] + public Input? DbrsPolicyId { get; set; } + + /// + /// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Proxy URL to connect to object store. + /// + [Input("internetProxy")] + public Input? InternetProxy { get; set; } + + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + [Input("recoveryWindowInDays")] + public Input? RecoveryWindowInDays { get; set; } + + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + [Input("spaceUtilizedInGbs")] + public Input? SpaceUtilizedInGbs { get; set; } + + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + [Input("timeAtWhichStorageDetailsAreUpdated")] + public Input? TimeAtWhichStorageDetailsAreUpdated { get; set; } + + /// + /// Type of the database backup destination. + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + /// + [Input("vpcPassword")] + public Input? VpcPassword { get; set; } + + /// + /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + /// + [Input("vpcUser")] + public Input? VpcUser { get; set; } + + public AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs() + { + } + public static new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs Empty => new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailGetArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.cs new file mode 100644 index 0000000000..e1316f3307 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.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.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseBackupDestinationPropertiesListArgs : global::Pulumi.ResourceArgs + { + [Input("backupDestinationAttachHistories")] + private InputList? _backupDestinationAttachHistories; + + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public InputList BackupDestinationAttachHistories + { + get => _backupDestinationAttachHistories ?? (_backupDestinationAttachHistories = new InputList()); + set => _backupDestinationAttachHistories = value; + } + + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + [Input("spaceUtilizedInGbs")] + public Input? SpaceUtilizedInGbs { get; set; } + + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + [Input("timeAtWhichStorageDetailsAreUpdated")] + public Input? TimeAtWhichStorageDetailsAreUpdated { get; set; } + + public AutonomousContainerDatabaseBackupDestinationPropertiesListArgs() + { + } + public static new AutonomousContainerDatabaseBackupDestinationPropertiesListArgs Empty => new AutonomousContainerDatabaseBackupDestinationPropertiesListArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs.cs new file mode 100644 index 0000000000..5410ebf524 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs.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.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs : global::Pulumi.ResourceArgs + { + [Input("backupDestinationAttachHistories")] + private InputList? _backupDestinationAttachHistories; + + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public InputList BackupDestinationAttachHistories + { + get => _backupDestinationAttachHistories ?? (_backupDestinationAttachHistories = new InputList()); + set => _backupDestinationAttachHistories = value; + } + + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + [Input("spaceUtilizedInGbs")] + public Input? SpaceUtilizedInGbs { get; set; } + + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + [Input("timeAtWhichStorageDetailsAreUpdated")] + public Input? TimeAtWhichStorageDetailsAreUpdated { get; set; } + + public AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs() + { + } + public static new AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs Empty => new AutonomousContainerDatabaseBackupDestinationPropertiesListGetArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.cs new file mode 100644 index 0000000000..834aa91956 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseRecoveryApplianceDetailArgs : global::Pulumi.ResourceArgs + { + /// + /// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + /// + [Input("allocatedStorageSizeInGbs")] + public Input? AllocatedStorageSizeInGbs { get; set; } + + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + [Input("recoveryWindowInDays")] + public Input? RecoveryWindowInDays { get; set; } + + /// + /// The time when the recovery appliance details are updated. + /// ======= + /// + [Input("timeRecoveryApplianceDetailsUpdated")] + public Input? TimeRecoveryApplianceDetailsUpdated { get; set; } + + public AutonomousContainerDatabaseRecoveryApplianceDetailArgs() + { + } + public static new AutonomousContainerDatabaseRecoveryApplianceDetailArgs Empty => new AutonomousContainerDatabaseRecoveryApplianceDetailArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs.cs new file mode 100644 index 0000000000..b35a1414e5 --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + /// + [Input("allocatedStorageSizeInGbs")] + public Input? AllocatedStorageSizeInGbs { get; set; } + + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + [Input("recoveryWindowInDays")] + public Input? RecoveryWindowInDays { get; set; } + + /// + /// The time when the recovery appliance details are updated. + /// ======= + /// + [Input("timeRecoveryApplianceDetailsUpdated")] + public Input? TimeRecoveryApplianceDetailsUpdated { get; set; } + + public AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs() + { + } + public static new AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs Empty => new AutonomousContainerDatabaseRecoveryApplianceDetailGetArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs index 21adc2d87c..eaff13c686 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs @@ -30,6 +30,12 @@ public sealed class AutonomousDatabaseLocalStandbyDbArgs : global::Pulumi.Resour [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The component chosen for maintenance. + /// + [Input("maintenanceTargetComponent")] + public Input? MaintenanceTargetComponent { get; set; } + /// /// The current state of the Autonomous Database. /// @@ -48,6 +54,18 @@ public sealed class AutonomousDatabaseLocalStandbyDbArgs : global::Pulumi.Resour [Input("timeDisasterRecoveryRoleChanged")] public Input? TimeDisasterRecoveryRoleChanged { get; set; } + /// + /// The date and time when maintenance will begin. + /// + [Input("timeMaintenanceBegin")] + public Input? TimeMaintenanceBegin { get; set; } + + /// + /// The date and time when maintenance will end. + /// + [Input("timeMaintenanceEnd")] + public Input? TimeMaintenanceEnd { get; set; } + public AutonomousDatabaseLocalStandbyDbArgs() { } diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs index 86b71509d8..a1ecbd44e5 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs @@ -30,6 +30,12 @@ public sealed class AutonomousDatabaseLocalStandbyDbGetArgs : global::Pulumi.Res [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The component chosen for maintenance. + /// + [Input("maintenanceTargetComponent")] + public Input? MaintenanceTargetComponent { get; set; } + /// /// The current state of the Autonomous Database. /// @@ -48,6 +54,18 @@ public sealed class AutonomousDatabaseLocalStandbyDbGetArgs : global::Pulumi.Res [Input("timeDisasterRecoveryRoleChanged")] public Input? TimeDisasterRecoveryRoleChanged { get; set; } + /// + /// The date and time when maintenance will begin. + /// + [Input("timeMaintenanceBegin")] + public Input? TimeMaintenanceBegin { get; set; } + + /// + /// The date and time when maintenance will end. + /// + [Input("timeMaintenanceEnd")] + public Input? TimeMaintenanceEnd { get; set; } + public AutonomousDatabaseLocalStandbyDbGetArgs() { } diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs index 85aeaa5ee1..5164e3b6c1 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs @@ -30,6 +30,12 @@ public sealed class AutonomousDatabaseStandbyDbArgs : global::Pulumi.ResourceArg [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The component chosen for maintenance. + /// + [Input("maintenanceTargetComponent")] + public Input? MaintenanceTargetComponent { get; set; } + /// /// The current state of the Autonomous Database. /// @@ -48,6 +54,18 @@ public sealed class AutonomousDatabaseStandbyDbArgs : global::Pulumi.ResourceArg [Input("timeDisasterRecoveryRoleChanged")] public Input? TimeDisasterRecoveryRoleChanged { get; set; } + /// + /// The date and time when maintenance will begin. + /// + [Input("timeMaintenanceBegin")] + public Input? TimeMaintenanceBegin { get; set; } + + /// + /// The date and time when maintenance will end. + /// + [Input("timeMaintenanceEnd")] + public Input? TimeMaintenanceEnd { get; set; } + public AutonomousDatabaseStandbyDbArgs() { } diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs index fd0cb5c34c..93512cdaef 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs @@ -30,6 +30,12 @@ public sealed class AutonomousDatabaseStandbyDbGetArgs : global::Pulumi.Resource [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The component chosen for maintenance. + /// + [Input("maintenanceTargetComponent")] + public Input? MaintenanceTargetComponent { get; set; } + /// /// The current state of the Autonomous Database. /// @@ -48,6 +54,18 @@ public sealed class AutonomousDatabaseStandbyDbGetArgs : global::Pulumi.Resource [Input("timeDisasterRecoveryRoleChanged")] public Input? TimeDisasterRecoveryRoleChanged { get; set; } + /// + /// The date and time when maintenance will begin. + /// + [Input("timeMaintenanceBegin")] + public Input? TimeMaintenanceBegin { get; set; } + + /// + /// The date and time when maintenance will end. + /// + [Input("timeMaintenanceEnd")] + public Input? TimeMaintenanceEnd { get; set; } + public AutonomousDatabaseStandbyDbGetArgs() { } diff --git a/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.cs b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.cs new file mode 100644 index 0000000000..bed19e8511 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class AutonomousContainerDatabaseAssociatedBackupConfigurationDetail + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + /// + public readonly string? DbrsPolicyId; + /// + /// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + /// + public readonly string? Id; + /// + /// Proxy URL to connect to object store. + /// + public readonly string? InternetProxy; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int? RecoveryWindowInDays; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int? SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string? TimeAtWhichStorageDetailsAreUpdated; + /// + /// Type of the database backup destination. + /// + public readonly string? Type; + /// + /// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + /// + public readonly string? VpcPassword; + /// + /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + /// + public readonly string? VpcUser; + + [OutputConstructor] + private AutonomousContainerDatabaseAssociatedBackupConfigurationDetail( + ImmutableArray backupDestinationAttachHistories, + + string? dbrsPolicyId, + + string? id, + + string? internetProxy, + + int? recoveryWindowInDays, + + int? spaceUtilizedInGbs, + + string? timeAtWhichStorageDetailsAreUpdated, + + string? type, + + string? vpcPassword, + + string? vpcUser) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + DbrsPolicyId = dbrsPolicyId; + Id = id; + InternetProxy = internetProxy; + RecoveryWindowInDays = recoveryWindowInDays; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + Type = type; + VpcPassword = vpcPassword; + VpcUser = vpcUser; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.cs b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.cs new file mode 100644 index 0000000000..7047845706 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.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.Database.Outputs +{ + + [OutputType] + public sealed class AutonomousContainerDatabaseBackupDestinationPropertiesList + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int? SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string? TimeAtWhichStorageDetailsAreUpdated; + + [OutputConstructor] + private AutonomousContainerDatabaseBackupDestinationPropertiesList( + ImmutableArray backupDestinationAttachHistories, + + int? spaceUtilizedInGbs, + + string? timeAtWhichStorageDetailsAreUpdated) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.cs b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.cs new file mode 100644 index 0000000000..a51962cc6b --- /dev/null +++ b/sdk/dotnet/Database/Outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class AutonomousContainerDatabaseRecoveryApplianceDetail + { + /// + /// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + /// + public readonly int? AllocatedStorageSizeInGbs; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int? RecoveryWindowInDays; + /// + /// The time when the recovery appliance details are updated. + /// ======= + /// + public readonly string? TimeRecoveryApplianceDetailsUpdated; + + [OutputConstructor] + private AutonomousContainerDatabaseRecoveryApplianceDetail( + int? allocatedStorageSizeInGbs, + + int? recoveryWindowInDays, + + string? timeRecoveryApplianceDetailsUpdated) + { + AllocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + RecoveryWindowInDays = recoveryWindowInDays; + TimeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs b/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs index 01d673420a..28027b7398 100644 --- a/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs +++ b/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs @@ -26,6 +26,10 @@ public sealed class AutonomousDatabaseLocalStandbyDb /// public readonly string? LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string? MaintenanceTargetComponent; + /// /// The current state of the Autonomous Database. /// public readonly string? State; @@ -37,6 +41,14 @@ public sealed class AutonomousDatabaseLocalStandbyDb /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string? TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string? TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string? TimeMaintenanceEnd; [OutputConstructor] private AutonomousDatabaseLocalStandbyDb( @@ -46,18 +58,27 @@ private AutonomousDatabaseLocalStandbyDb( string? lifecycleDetails, + string? maintenanceTargetComponent, + string? state, string? timeDataGuardRoleChanged, - string? timeDisasterRecoveryRoleChanged) + string? timeDisasterRecoveryRoleChanged, + + string? timeMaintenanceBegin, + + string? timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs b/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs index 7006a2d87e..a25cc66fb6 100644 --- a/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs +++ b/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs @@ -26,6 +26,10 @@ public sealed class AutonomousDatabaseStandbyDb /// public readonly string? LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string? MaintenanceTargetComponent; + /// /// The current state of the Autonomous Database. /// public readonly string? State; @@ -37,6 +41,14 @@ public sealed class AutonomousDatabaseStandbyDb /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string? TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string? TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string? TimeMaintenanceEnd; [OutputConstructor] private AutonomousDatabaseStandbyDb( @@ -46,18 +58,27 @@ private AutonomousDatabaseStandbyDb( string? lifecycleDetails, + string? maintenanceTargetComponent, + string? state, string? timeDataGuardRoleChanged, - string? timeDisasterRecoveryRoleChanged) + string? timeDisasterRecoveryRoleChanged, + + string? timeMaintenanceBegin, + + string? timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs new file mode 100644 index 0000000000..4aed2404c5 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + /// + public readonly string DbrsPolicyId; + /// + /// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + /// + public readonly string Id; + /// + /// Proxy URL to connect to object store. + /// + public readonly string InternetProxy; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int RecoveryWindowInDays; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + /// + /// Type of the database backup destination. + /// + public readonly string Type; + /// + /// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + /// + public readonly string VpcPassword; + /// + /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + /// + public readonly string VpcUser; + + [OutputConstructor] + private GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult( + ImmutableArray backupDestinationAttachHistories, + + string dbrsPolicyId, + + string id, + + string internetProxy, + + int recoveryWindowInDays, + + int spaceUtilizedInGbs, + + string timeAtWhichStorageDetailsAreUpdated, + + string type, + + string vpcPassword, + + string vpcUser) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + DbrsPolicyId = dbrsPolicyId; + Id = id; + InternetProxy = internetProxy; + RecoveryWindowInDays = recoveryWindowInDays; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + Type = type; + VpcPassword = vpcPassword; + VpcUser = vpcUser; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupConfigResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupConfigResult.cs index c480a4de58..d472d470e2 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupConfigResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupConfigResult.cs @@ -18,7 +18,7 @@ public sealed class GetAutonomousContainerDatabaseBackupConfigResult /// public readonly ImmutableArray BackupDestinationDetails; /// - /// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + /// Number of days between the current and earliest point of recoverability covered by automatic backups. /// public readonly int RecoveryWindowInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult.cs new file mode 100644 index 0000000000..fa1133073a --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult.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.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + + [OutputConstructor] + private GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult( + ImmutableArray backupDestinationAttachHistories, + + int spaceUtilizedInGbs, + + string timeAtWhichStorageDetailsAreUpdated) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs index 607db955ee..05d02eac5a 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs @@ -18,7 +18,7 @@ public sealed class GetAutonomousContainerDatabasePeerAutonomousContainerDatabas /// public readonly ImmutableArray BackupDestinationDetails; /// - /// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + /// Number of days between the current and earliest point of recoverability covered by automatic backups. /// public readonly int RecoveryWindowInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseRecoveryApplianceDetailResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseRecoveryApplianceDetailResult.cs new file mode 100644 index 0000000000..80a2d26d9a --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabaseRecoveryApplianceDetailResult.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.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabaseRecoveryApplianceDetailResult + { + /// + /// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + /// + public readonly int AllocatedStorageSizeInGbs; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int RecoveryWindowInDays; + /// + /// The time when the recovery appliance details are updated. + /// + public readonly string TimeRecoveryApplianceDetailsUpdated; + + [OutputConstructor] + private GetAutonomousContainerDatabaseRecoveryApplianceDetailResult( + int allocatedStorageSizeInGbs, + + int recoveryWindowInDays, + + string timeRecoveryApplianceDetailsUpdated) + { + AllocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + RecoveryWindowInDays = recoveryWindowInDays; + TimeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs new file mode 100644 index 0000000000..f45bf58dbb --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + /// + public readonly string DbrsPolicyId; + /// + /// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + /// + public readonly string Id; + /// + /// Proxy URL to connect to object store. + /// + public readonly string InternetProxy; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int RecoveryWindowInDays; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + /// + /// Type of the database backup destination. + /// + public readonly string Type; + /// + /// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + /// + public readonly string VpcPassword; + /// + /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + /// + public readonly string VpcUser; + + [OutputConstructor] + private GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult( + ImmutableArray backupDestinationAttachHistories, + + string dbrsPolicyId, + + string id, + + string internetProxy, + + int recoveryWindowInDays, + + int spaceUtilizedInGbs, + + string timeAtWhichStorageDetailsAreUpdated, + + string type, + + string vpcPassword, + + string vpcUser) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + DbrsPolicyId = dbrsPolicyId; + Id = id; + InternetProxy = internetProxy; + RecoveryWindowInDays = recoveryWindowInDays; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + Type = type; + VpcPassword = vpcPassword; + VpcUser = vpcUser; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult.cs index e98441e9e4..e92ad0a437 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult.cs @@ -18,7 +18,7 @@ public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseBa /// public readonly ImmutableArray BackupDestinationDetails; /// - /// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + /// Number of days between the current and earliest point of recoverability covered by automatic backups. /// public readonly int RecoveryWindowInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult.cs new file mode 100644 index 0000000000..6292c50a44 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult.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.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult + { + /// + /// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + /// + public readonly ImmutableArray BackupDestinationAttachHistories; + /// + /// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + /// + public readonly int SpaceUtilizedInGbs; + /// + /// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + + [OutputConstructor] + private GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult( + ImmutableArray backupDestinationAttachHistories, + + int spaceUtilizedInGbs, + + string timeAtWhichStorageDetailsAreUpdated) + { + BackupDestinationAttachHistories = backupDestinationAttachHistories; + SpaceUtilizedInGbs = spaceUtilizedInGbs; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs index 53993f5840..e42acdf47e 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult.cs @@ -18,7 +18,7 @@ public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabasePe /// public readonly ImmutableArray BackupDestinationDetails; /// - /// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + /// Number of days between the current and earliest point of recoverability covered by automatic backups. /// public readonly int RecoveryWindowInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult.cs new file mode 100644 index 0000000000..3a36470b67 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult.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.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult + { + /// + /// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + /// + public readonly int AllocatedStorageSizeInGbs; + /// + /// Number of days between the current and earliest point of recoverability covered by automatic backups. + /// + public readonly int RecoveryWindowInDays; + /// + /// The time when the recovery appliance details are updated. + /// + public readonly string TimeRecoveryApplianceDetailsUpdated; + + [OutputConstructor] + private GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult( + int allocatedStorageSizeInGbs, + + int recoveryWindowInDays, + + string timeRecoveryApplianceDetailsUpdated) + { + AllocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + RecoveryWindowInDays = recoveryWindowInDays; + TimeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult.cs index 76255e0101..dc2813a7aa 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult { + /// + /// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + /// + public readonly ImmutableArray AssociatedBackupConfigurationDetails; /// /// The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// @@ -34,6 +38,10 @@ public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseRe /// public readonly ImmutableArray BackupConfigs; /// + /// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + /// + public readonly ImmutableArray BackupDestinationPropertiesLists; + /// /// The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// public readonly string CloudAutonomousVmClusterId; @@ -172,6 +180,10 @@ public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseRe /// public readonly double ReclaimableCpus; /// + /// Information about the recovery appliance configuration associated with the Autonomous Container Database. + /// + public readonly ImmutableArray RecoveryApplianceDetails; + /// /// The number of CPUs reserved in an Autonomous Container Database. /// public readonly double ReservedCpus; @@ -223,6 +235,8 @@ public sealed class GetAutonomousContainerDatabasesAutonomousContainerDatabaseRe [OutputConstructor] private GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult( + ImmutableArray associatedBackupConfigurationDetails, + string autonomousExadataInfrastructureId, string autonomousVmClusterId, @@ -233,6 +247,8 @@ private GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult( ImmutableArray backupConfigs, + ImmutableArray backupDestinationPropertiesLists, + string cloudAutonomousVmClusterId, string compartmentId, @@ -323,6 +339,8 @@ private GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult( double reclaimableCpus, + ImmutableArray recoveryApplianceDetails, + double reservedCpus, string role, @@ -349,11 +367,13 @@ private GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult( int vmFailoverReservation) { + AssociatedBackupConfigurationDetails = associatedBackupConfigurationDetails; AutonomousExadataInfrastructureId = autonomousExadataInfrastructureId; AutonomousVmClusterId = autonomousVmClusterId; AvailabilityDomain = availabilityDomain; AvailableCpus = availableCpus; BackupConfigs = backupConfigs; + BackupDestinationPropertiesLists = backupDestinationPropertiesLists; CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; CompartmentId = compartmentId; ComputeModel = computeModel; @@ -399,6 +419,7 @@ private GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult( ProvisionableCpuses = provisionableCpuses; ProvisionedCpus = provisionedCpus; ReclaimableCpus = reclaimableCpus; + RecoveryApplianceDetails = recoveryApplianceDetails; ReservedCpus = reservedCpus; Role = role; RotateKeyTrigger = rotateKeyTrigger; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs index 14cc90c4ac..ef60895131 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs @@ -26,6 +26,10 @@ public sealed class GetAutonomousDatabaseLocalStandbyDbResult /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// The current state of the Autonomous Database. /// public readonly string State; @@ -37,6 +41,14 @@ public sealed class GetAutonomousDatabaseLocalStandbyDbResult /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabaseLocalStandbyDbResult( @@ -46,18 +58,27 @@ private GetAutonomousDatabaseLocalStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs index 565a85878b..104e15615e 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs @@ -26,6 +26,10 @@ public sealed class GetAutonomousDatabaseStandbyDbResult /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// The current state of the Autonomous Database. /// public readonly string State; @@ -37,6 +41,14 @@ public sealed class GetAutonomousDatabaseStandbyDbResult /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabaseStandbyDbResult( @@ -46,18 +58,27 @@ private GetAutonomousDatabaseStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs index 6dc0af85c0..c06ce13bbd 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs @@ -26,6 +26,10 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// A filter to return only resources that match the given lifecycle state exactly. /// public readonly string State; @@ -37,6 +41,14 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult( @@ -46,18 +58,27 @@ private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs index 9721b93dfc..f8a4fdb453 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs @@ -69,6 +69,13 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// The character set for the autonomous database. The default is AL32UTF8. Allowed values are: /// public readonly string CharacterSet; + /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// ======= + /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + /// >>>>>>> theirs + /// + public readonly ImmutableArray CloneTableSpaceLists; public readonly string CloneType; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -307,6 +314,10 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly ImmutableArray LongTermBackupSchedules; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. /// public readonly int MaxCpuCoreCount; @@ -583,6 +594,8 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( string characterSet, + ImmutableArray cloneTableSpaceLists, + string cloneType, string clusterPlacementGroupId, @@ -707,6 +720,8 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( ImmutableArray longTermBackupSchedules, + string maintenanceTargetComponent, + int maxCpuCoreCount, int memoryPerOracleComputeUnitInGbs, @@ -858,6 +873,7 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( BackupRetentionPeriodInDays = backupRetentionPeriodInDays; ByolComputeCountLimit = byolComputeCountLimit; CharacterSet = characterSet; + CloneTableSpaceLists = cloneTableSpaceLists; CloneType = cloneType; ClusterPlacementGroupId = clusterPlacementGroupId; CompartmentId = compartmentId; @@ -920,6 +936,7 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( LocalDisasterRecoveryType = localDisasterRecoveryType; LocalStandbyDbs = localStandbyDbs; LongTermBackupSchedules = longTermBackupSchedules; + MaintenanceTargetComponent = maintenanceTargetComponent; MaxCpuCoreCount = maxCpuCoreCount; MemoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; NcharacterSet = ncharacterSet; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs index f5edde64a7..7655e446da 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs @@ -26,6 +26,10 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// A filter to return only resources that match the given lifecycle state exactly. /// public readonly string State; @@ -37,6 +41,14 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult( @@ -46,18 +58,27 @@ private GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs index 12542271f0..cf8be1783c 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs @@ -23,6 +23,10 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// A filter to return only resources that match the given lifecycle state exactly. /// public readonly string State; @@ -34,6 +38,14 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult( @@ -43,18 +55,27 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs index a9a39faa9f..2256de4d8a 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs @@ -64,6 +64,13 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly string CharacterSet; /// + /// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + /// ======= + /// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + /// >>>>>>> theirs + /// + public readonly ImmutableArray CloneTableSpaceLists; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. /// public readonly string ClusterPlacementGroupId; @@ -288,6 +295,10 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly ImmutableArray LongTermBackupSchedules; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. /// public readonly int MaxCpuCoreCount; @@ -535,6 +546,8 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( string characterSet, + ImmutableArray cloneTableSpaceLists, + string clusterPlacementGroupId, string compartmentId, @@ -645,6 +658,8 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( ImmutableArray longTermBackupSchedules, + string maintenanceTargetComponent, + int maxCpuCoreCount, int memoryPerOracleComputeUnitInGbs, @@ -767,6 +782,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( BackupRetentionPeriodInDays = backupRetentionPeriodInDays; ByolComputeCountLimit = byolComputeCountLimit; CharacterSet = characterSet; + CloneTableSpaceLists = cloneTableSpaceLists; ClusterPlacementGroupId = clusterPlacementGroupId; CompartmentId = compartmentId; ComputeCount = computeCount; @@ -822,6 +838,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( LocalDisasterRecoveryType = localDisasterRecoveryType; LocalStandbyDbs = localStandbyDbs; LongTermBackupSchedules = longTermBackupSchedules; + MaintenanceTargetComponent = maintenanceTargetComponent; MaxCpuCoreCount = maxCpuCoreCount; MemoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; NcharacterSet = ncharacterSet; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs index 0e5be7d917..220ad79904 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs @@ -23,6 +23,10 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResul /// public readonly string LifecycleDetails; /// + /// The component chosen for maintenance. + /// + public readonly string MaintenanceTargetComponent; + /// /// A filter to return only resources that match the given lifecycle state exactly. /// public readonly string State; @@ -34,6 +38,14 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResul /// The date and time the Disaster Recovery role was switched for the standby Autonomous Database. /// public readonly string TimeDisasterRecoveryRoleChanged; + /// + /// The date and time when maintenance will begin. + /// + public readonly string TimeMaintenanceBegin; + /// + /// The date and time when maintenance will end. + /// + public readonly string TimeMaintenanceEnd; [OutputConstructor] private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult( @@ -43,18 +55,27 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult( string lifecycleDetails, + string maintenanceTargetComponent, + string state, string timeDataGuardRoleChanged, - string timeDisasterRecoveryRoleChanged) + string timeDisasterRecoveryRoleChanged, + + string timeMaintenanceBegin, + + string timeMaintenanceEnd) { AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; + MaintenanceTargetComponent = maintenanceTargetComponent; State = state; TimeDataGuardRoleChanged = timeDataGuardRoleChanged; TimeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + TimeMaintenanceBegin = timeMaintenanceBegin; + TimeMaintenanceEnd = timeMaintenanceEnd; } } } diff --git a/sdk/dotnet/Database/Outputs/GetBackupDestinationsBackupDestinationResult.cs b/sdk/dotnet/Database/Outputs/GetBackupDestinationsBackupDestinationResult.cs index 17fab69b52..51cb94a912 100644 --- a/sdk/dotnet/Database/Outputs/GetBackupDestinationsBackupDestinationResult.cs +++ b/sdk/dotnet/Database/Outputs/GetBackupDestinationsBackupDestinationResult.cs @@ -67,14 +67,26 @@ public sealed class GetBackupDestinationsBackupDestinationResult /// public readonly string State; /// + /// The time when the total storage size and the utilized storage size of the backup destination are updated. + /// + public readonly string TimeAtWhichStorageDetailsAreUpdated; + /// /// The date and time the backup destination was created. /// public readonly string TimeCreated; /// + /// The total storage size of the backup destination in GBs, rounded to the nearest integer. + /// + public readonly int TotalStorageSizeInGbs; + /// /// A filter to return only resources that match the given type of the Backup Destination. /// public readonly string Type; /// + /// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + /// + public readonly int UtilizedStorageSizeInGbs; + /// /// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. /// public readonly ImmutableArray VpcUsers; @@ -109,10 +121,16 @@ private GetBackupDestinationsBackupDestinationResult( string state, + string timeAtWhichStorageDetailsAreUpdated, + string timeCreated, + int totalStorageSizeInGbs, + string type, + int utilizedStorageSizeInGbs, + ImmutableArray vpcUsers) { AssociatedDatabases = associatedDatabases; @@ -129,8 +147,11 @@ private GetBackupDestinationsBackupDestinationResult( NfsServerExport = nfsServerExport; NfsServers = nfsServers; State = state; + TimeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; TimeCreated = timeCreated; + TotalStorageSizeInGbs = totalStorageSizeInGbs; Type = type; + UtilizedStorageSizeInGbs = utilizedStorageSizeInGbs; VpcUsers = vpcUsers; } } diff --git a/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs b/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs index 89bd5abda3..debf586e72 100644 --- a/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs +++ b/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs @@ -83,6 +83,7 @@ public sealed class GetDataGuardAssociationsDataGuardAssociationResult public readonly string PeerSidPrefix; public readonly string PeerVmClusterId; public readonly string PrivateIp; + public readonly string PrivateIpV6; /// /// The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. /// @@ -184,6 +185,8 @@ private GetDataGuardAssociationsDataGuardAssociationResult( string privateIp, + string privateIpV6, + string protectionMode, string role, @@ -239,6 +242,7 @@ private GetDataGuardAssociationsDataGuardAssociationResult( PeerSidPrefix = peerSidPrefix; PeerVmClusterId = peerVmClusterId; PrivateIp = privateIp; + PrivateIpV6 = privateIpV6; ProtectionMode = protectionMode; Role = role; Shape = shape; diff --git a/sdk/dotnet/Database/Outputs/GetDbSystemsDbSystemResult.cs b/sdk/dotnet/Database/Outputs/GetDbSystemsDbSystemResult.cs index 3870175dc4..affe42c3ea 100644 --- a/sdk/dotnet/Database/Outputs/GetDbSystemsDbSystemResult.cs +++ b/sdk/dotnet/Database/Outputs/GetDbSystemsDbSystemResult.cs @@ -147,6 +147,7 @@ public sealed class GetDbSystemsDbSystemResult /// public readonly string PointInTimeDataDiskCloneTimestamp; public readonly string PrivateIp; + public readonly string PrivateIpV6; /// /// The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. /// @@ -160,10 +161,14 @@ public sealed class GetDbSystemsDbSystemResult /// public readonly string ScanDnsRecordId; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. /// public readonly ImmutableArray ScanIpIds; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + /// + public readonly ImmutableArray ScanIpv6ids; + /// /// Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` /// public readonly ImmutableDictionary SecurityAttributes; @@ -211,10 +216,14 @@ public sealed class GetDbSystemsDbSystemResult /// public readonly string Version; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. /// public readonly ImmutableArray VipIds; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + /// + public readonly ImmutableArray Vipv6ids; + /// /// The OCID of the zone the DB system is associated with. /// public readonly string ZoneId; @@ -295,6 +304,8 @@ private GetDbSystemsDbSystemResult( string privateIp, + string privateIpV6, + int recoStorageSizeInGb, string scanDnsName, @@ -303,6 +314,8 @@ private GetDbSystemsDbSystemResult( ImmutableArray scanIpIds, + ImmutableArray scanIpv6ids, + ImmutableDictionary securityAttributes, string shape, @@ -329,6 +342,8 @@ private GetDbSystemsDbSystemResult( ImmutableArray vipIds, + ImmutableArray vipv6ids, + string zoneId) { AvailabilityDomain = availabilityDomain; @@ -368,10 +383,12 @@ private GetDbSystemsDbSystemResult( OsVersion = osVersion; PointInTimeDataDiskCloneTimestamp = pointInTimeDataDiskCloneTimestamp; PrivateIp = privateIp; + PrivateIpV6 = privateIpV6; RecoStorageSizeInGb = recoStorageSizeInGb; ScanDnsName = scanDnsName; ScanDnsRecordId = scanDnsRecordId; ScanIpIds = scanIpIds; + ScanIpv6ids = scanIpv6ids; SecurityAttributes = securityAttributes; Shape = shape; Source = source; @@ -385,6 +402,7 @@ private GetDbSystemsDbSystemResult( TimeZone = timeZone; Version = version; VipIds = vipIds; + Vipv6ids = vipv6ids; ZoneId = zoneId; } } diff --git a/sdk/dotnet/FileStorage/FileSystem.cs b/sdk/dotnet/FileStorage/FileSystem.cs index f1db59e901..f13da88119 100644 --- a/sdk/dotnet/FileStorage/FileSystem.cs +++ b/sdk/dotnet/FileStorage/FileSystem.cs @@ -224,6 +224,12 @@ public partial class FileSystem : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + /// /// The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// @@ -530,6 +536,18 @@ public InputList SourceDetails [Input("state")] public Input? State { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// diff --git a/sdk/dotnet/FileStorage/FilesystemSnapshotPolicy.cs b/sdk/dotnet/FileStorage/FilesystemSnapshotPolicy.cs index 7a72c31495..2b3bfd2f86 100644 --- a/sdk/dotnet/FileStorage/FilesystemSnapshotPolicy.cs +++ b/sdk/dotnet/FileStorage/FilesystemSnapshotPolicy.cs @@ -146,6 +146,12 @@ public partial class FilesystemSnapshotPolicy : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + /// /// The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// @@ -380,6 +386,18 @@ public InputList Schedules [Input("state")] public Input? State { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// diff --git a/sdk/dotnet/FileStorage/GetFilesystemSnapshotPolicy.cs b/sdk/dotnet/FileStorage/GetFilesystemSnapshotPolicy.cs index 10e2bb7d5a..a38977c612 100644 --- a/sdk/dotnet/FileStorage/GetFilesystemSnapshotPolicy.cs +++ b/sdk/dotnet/FileStorage/GetFilesystemSnapshotPolicy.cs @@ -166,6 +166,10 @@ public sealed class GetFilesystemSnapshotPolicyResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -196,6 +200,8 @@ private GetFilesystemSnapshotPolicyResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -210,6 +216,7 @@ private GetFilesystemSnapshotPolicyResult( PolicyPrefix = policyPrefix; Schedules = schedules; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/GetOutboundConnector.cs b/sdk/dotnet/FileStorage/GetOutboundConnector.cs index f2e866c878..e33c6e8382 100644 --- a/sdk/dotnet/FileStorage/GetOutboundConnector.cs +++ b/sdk/dotnet/FileStorage/GetOutboundConnector.cs @@ -178,6 +178,10 @@ public sealed class GetOutboundConnectorResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -214,6 +218,8 @@ private GetOutboundConnectorResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -231,6 +237,7 @@ private GetOutboundConnectorResult( PasswordSecretId = passwordSecretId; PasswordSecretVersion = passwordSecretVersion; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/GetReplication.cs b/sdk/dotnet/FileStorage/GetReplication.cs index 002b717913..939f201849 100644 --- a/sdk/dotnet/FileStorage/GetReplication.cs +++ b/sdk/dotnet/FileStorage/GetReplication.cs @@ -190,6 +190,10 @@ public sealed class GetReplicationResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. /// public readonly string TargetId; @@ -236,6 +240,8 @@ private GetReplicationResult( string state, + ImmutableDictionary systemTags, + string targetId, string timeCreated) @@ -258,6 +264,7 @@ private GetReplicationResult( ReplicationTargetId = replicationTargetId; SourceId = sourceId; State = state; + SystemTags = systemTags; TargetId = targetId; TimeCreated = timeCreated; } diff --git a/sdk/dotnet/FileStorage/GetReplicationTarget.cs b/sdk/dotnet/FileStorage/GetReplicationTarget.cs index 8d0921bcac..2fee88113d 100644 --- a/sdk/dotnet/FileStorage/GetReplicationTarget.cs +++ b/sdk/dotnet/FileStorage/GetReplicationTarget.cs @@ -181,6 +181,10 @@ public sealed class GetReplicationTargetResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. /// public readonly string TargetId; @@ -221,6 +225,8 @@ private GetReplicationTargetResult( string state, + ImmutableDictionary systemTags, + string targetId, string timeCreated) @@ -240,6 +246,7 @@ private GetReplicationTargetResult( ReplicationTargetId = replicationTargetId; SourceId = sourceId; State = state; + SystemTags = systemTags; TargetId = targetId; TimeCreated = timeCreated; } diff --git a/sdk/dotnet/FileStorage/GetSnapshot.cs b/sdk/dotnet/FileStorage/GetSnapshot.cs index c2f2c606df..ca30edc674 100644 --- a/sdk/dotnet/FileStorage/GetSnapshot.cs +++ b/sdk/dotnet/FileStorage/GetSnapshot.cs @@ -185,6 +185,10 @@ public sealed class GetSnapshotResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -223,6 +227,8 @@ private GetSnapshotResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { DefinedTags = definedTags; @@ -241,6 +247,7 @@ private GetSnapshotResult( SnapshotTime = snapshotTime; SnapshotType = snapshotType; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/MountTarget.cs b/sdk/dotnet/FileStorage/MountTarget.cs index 26c81394b3..5fa5d6431e 100644 --- a/sdk/dotnet/FileStorage/MountTarget.cs +++ b/sdk/dotnet/FileStorage/MountTarget.cs @@ -256,6 +256,12 @@ public partial class MountTarget : global::Pulumi.CustomResource [Output("subnetId")] public Output SubnetId { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { 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` /// @@ -612,6 +618,18 @@ public InputList PrivateIpIds [Input("subnetId")] public Input? SubnetId { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// 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` /// diff --git a/sdk/dotnet/FileStorage/OutboundConnector.cs b/sdk/dotnet/FileStorage/OutboundConnector.cs index 9342fc3e27..421c09a34b 100644 --- a/sdk/dotnet/FileStorage/OutboundConnector.cs +++ b/sdk/dotnet/FileStorage/OutboundConnector.cs @@ -173,6 +173,12 @@ public partial class OutboundConnector : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + /// /// The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// @@ -433,6 +439,18 @@ public InputList Locks [Input("state")] public Input? State { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// diff --git a/sdk/dotnet/FileStorage/Outputs/GetFileSystemsFileSystemResult.cs b/sdk/dotnet/FileStorage/Outputs/GetFileSystemsFileSystemResult.cs index fa464c4592..5f89429210 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetFileSystemsFileSystemResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetFileSystemsFileSystemResult.cs @@ -96,6 +96,10 @@ public sealed class GetFileSystemsFileSystemResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -146,6 +150,8 @@ private GetFileSystemsFileSystemResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -170,6 +176,7 @@ private GetFileSystemsFileSystemResult( SourceDetails = sourceDetails; SourceSnapshotId = sourceSnapshotId; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/Outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult.cs b/sdk/dotnet/FileStorage/Outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult.cs index 516bc243f6..794c211f10 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult.cs @@ -55,6 +55,10 @@ public sealed class GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -83,6 +87,8 @@ private GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -96,6 +102,7 @@ private GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult( PolicyPrefix = policyPrefix; Schedules = schedules; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs b/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs index b988eb7d17..d39a6e1d20 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs @@ -93,6 +93,10 @@ public sealed class GetMountTargetsMountTargetResult /// public readonly string SubnetId; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// 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; @@ -147,6 +151,8 @@ private GetMountTargetsMountTargetResult( string subnetId, + ImmutableDictionary systemTags, + string timeBillingCycleEnd, string timeCreated) @@ -173,6 +179,7 @@ private GetMountTargetsMountTargetResult( ReservedStorageCapacity = reservedStorageCapacity; State = state; SubnetId = subnetId; + SystemTags = systemTags; TimeBillingCycleEnd = timeBillingCycleEnd; TimeCreated = timeCreated; } diff --git a/sdk/dotnet/FileStorage/Outputs/GetOutboundConnectorsOutboundConnectorResult.cs b/sdk/dotnet/FileStorage/Outputs/GetOutboundConnectorsOutboundConnectorResult.cs index 36ce08f587..5cf2e0e3ab 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetOutboundConnectorsOutboundConnectorResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetOutboundConnectorsOutboundConnectorResult.cs @@ -67,6 +67,10 @@ public sealed class GetOutboundConnectorsOutboundConnectorResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -101,6 +105,8 @@ private GetOutboundConnectorsOutboundConnectorResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -117,6 +123,7 @@ private GetOutboundConnectorsOutboundConnectorResult( PasswordSecretId = passwordSecretId; PasswordSecretVersion = passwordSecretVersion; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/Outputs/GetReplicationTargetsReplicationTargetResult.cs b/sdk/dotnet/FileStorage/Outputs/GetReplicationTargetsReplicationTargetResult.cs index 339675bd48..a34a6e0bd0 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetReplicationTargetsReplicationTargetResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetReplicationTargetsReplicationTargetResult.cs @@ -70,6 +70,10 @@ public sealed class GetReplicationTargetsReplicationTargetResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. /// public readonly string TargetId; @@ -108,6 +112,8 @@ private GetReplicationTargetsReplicationTargetResult( string state, + ImmutableDictionary systemTags, + string targetId, string timeCreated) @@ -126,6 +132,7 @@ private GetReplicationTargetsReplicationTargetResult( ReplicationId = replicationId; SourceId = sourceId; State = state; + SystemTags = systemTags; TargetId = targetId; TimeCreated = timeCreated; } diff --git a/sdk/dotnet/FileStorage/Outputs/GetReplicationsReplicationResult.cs b/sdk/dotnet/FileStorage/Outputs/GetReplicationsReplicationResult.cs index 3d46866066..488095cdee 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetReplicationsReplicationResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetReplicationsReplicationResult.cs @@ -79,6 +79,10 @@ public sealed class GetReplicationsReplicationResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. /// public readonly string TargetId; @@ -123,6 +127,8 @@ private GetReplicationsReplicationResult( string state, + ImmutableDictionary systemTags, + string targetId, string timeCreated) @@ -144,6 +150,7 @@ private GetReplicationsReplicationResult( ReplicationTargetId = replicationTargetId; SourceId = sourceId; State = state; + SystemTags = systemTags; TargetId = targetId; TimeCreated = timeCreated; } diff --git a/sdk/dotnet/FileStorage/Outputs/GetSnapshotsSnapshotResult.cs b/sdk/dotnet/FileStorage/Outputs/GetSnapshotsSnapshotResult.cs index d2b1b7aeef..9553a207f6 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetSnapshotsSnapshotResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetSnapshotsSnapshotResult.cs @@ -74,6 +74,10 @@ public sealed class GetSnapshotsSnapshotResult /// public readonly string State; /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// public readonly string TimeCreated; @@ -110,6 +114,8 @@ private GetSnapshotsSnapshotResult( string state, + ImmutableDictionary systemTags, + string timeCreated) { DefinedTags = definedTags; @@ -127,6 +133,7 @@ private GetSnapshotsSnapshotResult( SnapshotTime = snapshotTime; SnapshotType = snapshotType; State = state; + SystemTags = systemTags; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FileStorage/Replication.cs b/sdk/dotnet/FileStorage/Replication.cs index d03e192621..5d5c7d6a8a 100644 --- a/sdk/dotnet/FileStorage/Replication.cs +++ b/sdk/dotnet/FileStorage/Replication.cs @@ -184,6 +184,12 @@ public partial class Replication : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. /// @@ -438,6 +444,18 @@ public InputList Locks [Input("state")] public Input? State { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. /// diff --git a/sdk/dotnet/FileStorage/Snapshot.cs b/sdk/dotnet/FileStorage/Snapshot.cs index e7ea1752dd..851f62006b 100644 --- a/sdk/dotnet/FileStorage/Snapshot.cs +++ b/sdk/dotnet/FileStorage/Snapshot.cs @@ -156,6 +156,12 @@ public partial class Snapshot : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + /// /// The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// @@ -391,6 +397,18 @@ public InputList Locks [Input("state")] public Input? State { get; set; } + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + /// /// The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` /// diff --git a/sdk/dotnet/GoldenGate/Connection.cs b/sdk/dotnet/GoldenGate/Connection.cs index 6b0a4dffc6..b916fd51da 100644 --- a/sdk/dotnet/GoldenGate/Connection.cs +++ b/sdk/dotnet/GoldenGate/Connection.cs @@ -122,6 +122,7 @@ namespace Pulumi.Oci.GoldenGate /// ServiceAccountKeyFileSecretId = testSecret.Id, /// SessionMode = connectionSessionMode, /// ShouldUseJndi = connectionShouldUseJndi, + /// ShouldUseResourcePrincipal = connectionShouldUseResourcePrincipal, /// ShouldValidateServerCertificate = connectionShouldValidateServerCertificate, /// SslCa = connectionSslCa, /// SslCert = connectionSslCert, @@ -136,9 +137,16 @@ namespace Pulumi.Oci.GoldenGate /// SslKeySecretId = testSecret.Id, /// SslMode = connectionSslMode, /// SslServerCertificate = connectionSslServerCertificate, + /// StorageCredentialName = connectionStorageCredentialName, /// StreamPoolId = testStreamPool.Id, /// SubnetId = testSubnet.Id, /// TenancyId = testTenancy.Id, + /// TenantId = testTenant.Id, + /// TlsCaFile = connectionTlsCaFile, + /// TlsCertificateKeyFile = connectionTlsCertificateKeyFile, + /// TlsCertificateKeyFilePassword = connectionTlsCertificateKeyFilePassword, + /// TlsCertificateKeyFilePasswordSecretId = testSecret.Id, + /// TlsCertificateKeyFileSecretId = testSecret.Id, /// TrustStore = connectionTrustStore, /// TrustStorePassword = connectionTrustStorePassword, /// TrustStorePasswordSecretId = testSecret.Id, @@ -173,7 +181,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output AccessKeyId { get; private set; } = null!; /// - /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. /// [Output("accountKey")] public Output AccountKey { get; private set; } = null!; @@ -227,13 +235,13 @@ public partial class Connection : global::Pulumi.CustomResource public Output ClientId { get; private set; } = null!; /// - /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. /// [Output("clientSecret")] public Output ClientSecret { get; private set; } = null!; /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. /// [Output("clientSecretSecretId")] public Output ClientSecretSecretId { get; private set; } = null!; @@ -263,7 +271,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output ConnectionType { get; private set; } = null!; /// - /// (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + /// (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' /// [Output("connectionUrl")] public Output ConnectionUrl { get; private set; } = null!; @@ -329,7 +337,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output DoesUseSecretIds { get; private set; } = null!; /// - /// (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + /// (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com /// [Output("endpoint")] public Output Endpoint { get; private set; } = null!; @@ -381,7 +389,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output JndiProviderUrl { get; private set; } = null!; /// - /// (Updatable) The password associated to the principal. + /// (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. /// [Output("jndiSecurityCredentials")] public Output JndiSecurityCredentials { get; private set; } = null!; @@ -405,13 +413,13 @@ public partial class Connection : global::Pulumi.CustomResource public Output KeyId { get; private set; } = null!; /// - /// (Updatable) The base64 encoded content of the KeyStore file. + /// (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. /// [Output("keyStore")] public Output KeyStore { get; private set; } = null!; /// - /// (Updatable) The KeyStore password. + /// (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. /// [Output("keyStorePassword")] public Output KeyStorePassword { get; private set; } = null!; @@ -447,7 +455,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output> NsgIds { get; private set; } = null!; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// [Output("password")] public Output Password { get; private set; } = null!; @@ -473,7 +481,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output PrivateIp { get; private set; } = null!; /// - /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. /// [Output("privateKeyFile")] public Output PrivateKeyFile { get; private set; } = null!; @@ -485,7 +493,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output PrivateKeyFileSecretId { get; private set; } = null!; /// - /// (Updatable) Password if the private key file is encrypted. + /// (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. /// [Output("privateKeyPassphrase")] public Output PrivateKeyPassphrase { get; private set; } = null!; @@ -515,7 +523,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output RedisClusterId { get; private set; } = null!; /// - /// (Updatable) The name of the region. e.g.: us-ashburn-1 + /// (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -527,7 +535,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output RoutingMethod { get; private set; } = null!; /// - /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. /// [Output("sasToken")] public Output SasToken { get; private set; } = null!; @@ -539,7 +547,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output SasTokenSecretId { get; private set; } = null!; /// - /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. /// [Output("secretAccessKey")] public Output SecretAccessKey { get; private set; } = null!; @@ -563,7 +571,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output Servers { get; private set; } = null!; /// - /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. /// [Output("serviceAccountKeyFile")] public Output ServiceAccountKeyFile { get; private set; } = null!; @@ -586,6 +594,12 @@ public partial class Connection : global::Pulumi.CustomResource [Output("shouldUseJndi")] public Output ShouldUseJndi { get; private set; } = null!; + /// + /// (Updatable) Indicates that the user intents to connect to the instance through resource principal. + /// + [Output("shouldUseResourcePrincipal")] + public Output ShouldUseResourcePrincipal { get; private set; } = null!; + /// /// (Updatable) If set to true, the driver validates the certificate that is sent by the database server. /// @@ -605,7 +619,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output SslCert { get; private set; } = null!; /// - /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. /// [Output("sslClientKeystash")] public Output SslClientKeystash { get; private set; } = null!; @@ -617,7 +631,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output SslClientKeystashSecretId { get; private set; } = null!; /// - /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. /// [Output("sslClientKeystoredb")] public Output SslClientKeystoredb { get; private set; } = null!; @@ -635,13 +649,13 @@ public partial class Connection : global::Pulumi.CustomResource public Output SslCrl { get; private set; } = null!; /// - /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. /// [Output("sslKey")] public Output SslKey { get; private set; } = null!; /// - /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. /// [Output("sslKeyPassword")] public Output SslKeyPassword { get; private set; } = null!; @@ -677,6 +691,12 @@ public partial class Connection : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + /// + [Output("storageCredentialName")] + public Output StorageCredentialName { get; private set; } = null!; + /// /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. /// @@ -707,6 +727,12 @@ public partial class Connection : global::Pulumi.CustomResource [Output("tenancyId")] public Output TenancyId { get; private set; } = null!; + /// + /// (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + /// /// The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// @@ -719,6 +745,37 @@ public partial class Connection : global::Pulumi.CustomResource [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; + /// + /// (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + /// + [Output("tlsCaFile")] + public Output TlsCaFile { get; private set; } = null!; + + /// + /// (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + /// + [Output("tlsCertificateKeyFile")] + public Output TlsCertificateKeyFile { get; private set; } = null!; + + /// + /// (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + /// + [Output("tlsCertificateKeyFilePassword")] + public Output TlsCertificateKeyFilePassword { get; private set; } = null!; + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + /// + [Output("tlsCertificateKeyFilePasswordSecretId")] + public Output TlsCertificateKeyFilePasswordSecretId { get; private set; } = null!; + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + /// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + /// + [Output("tlsCertificateKeyFileSecretId")] + public Output TlsCertificateKeyFileSecretId { get; private set; } = null!; + /// /// (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). /// @@ -730,13 +787,13 @@ public partial class Connection : global::Pulumi.CustomResource public Output TriggerRefresh { get; private set; } = null!; /// - /// (Updatable) The base64 encoded content of the TrustStore file. + /// (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. /// [Output("trustStore")] public Output TrustStore { get; private set; } = null!; /// - /// (Updatable) The TrustStore password. + /// (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. /// [Output("trustStorePassword")] public Output TrustStorePassword { get; private set; } = null!; @@ -760,7 +817,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output Url { get; private set; } = null!; /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. /// [Output("userId")] public Output UserId { get; private set; } = null!; @@ -778,7 +835,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output VaultId { get; private set; } = null!; /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// [Output("wallet")] public Output Wallet { get; private set; } = null!; @@ -829,6 +886,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "sslClientKeystoredb", "sslKey", "sslKeyPassword", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", "trustStore", "trustStorePassword", "wallet", @@ -866,7 +925,7 @@ public sealed class ConnectionArgs : global::Pulumi.ResourceArgs private Input? _accountKey; /// - /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. /// public Input? AccountKey { @@ -942,7 +1001,7 @@ public InputList BootstrapServers private Input? _clientSecret; /// - /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. /// public Input? ClientSecret { @@ -955,7 +1014,7 @@ public Input? ClientSecret } /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. /// [Input("clientSecretSecretId")] public Input? ClientSecretSecretId { get; set; } @@ -985,7 +1044,7 @@ public Input? ClientSecret public Input ConnectionType { get; set; } = null!; /// - /// (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + /// (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' /// [Input("connectionUrl")] public Input? ConnectionUrl { get; set; } @@ -1057,7 +1116,7 @@ public InputMap DefinedTags public Input? DoesUseSecretIds { get; set; } /// - /// (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + /// (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com /// [Input("endpoint")] public Input? Endpoint { get; set; } @@ -1112,7 +1171,7 @@ public InputMap FreeformTags private Input? _jndiSecurityCredentials; /// - /// (Updatable) The password associated to the principal. + /// (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. /// public Input? JndiSecurityCredentials { @@ -1146,7 +1205,7 @@ public Input? JndiSecurityCredentials private Input? _keyStore; /// - /// (Updatable) The base64 encoded content of the KeyStore file. + /// (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. /// public Input? KeyStore { @@ -1162,7 +1221,7 @@ public Input? KeyStore private Input? _keyStorePassword; /// - /// (Updatable) The KeyStore password. + /// (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. /// public Input? KeyStorePassword { @@ -1214,7 +1273,7 @@ public InputList NsgIds private Input? _password; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// public Input? Password { @@ -1250,7 +1309,7 @@ public Input? Password private Input? _privateKeyFile; /// - /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. /// public Input? PrivateKeyFile { @@ -1272,7 +1331,7 @@ public Input? PrivateKeyFile private Input? _privateKeyPassphrase; /// - /// (Updatable) Password if the private key file is encrypted. + /// (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. /// public Input? PrivateKeyPassphrase { @@ -1309,7 +1368,7 @@ public Input? PrivateKeyPassphrase public Input? RedisClusterId { get; set; } /// - /// (Updatable) The name of the region. e.g.: us-ashburn-1 + /// (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. /// [Input("region")] public Input? Region { get; set; } @@ -1324,7 +1383,7 @@ public Input? PrivateKeyPassphrase private Input? _sasToken; /// - /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. /// public Input? SasToken { @@ -1346,7 +1405,7 @@ public Input? SasToken private Input? _secretAccessKey; /// - /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. /// public Input? SecretAccessKey { @@ -1380,7 +1439,7 @@ public Input? SecretAccessKey private Input? _serviceAccountKeyFile; /// - /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. /// public Input? ServiceAccountKeyFile { @@ -1410,6 +1469,12 @@ public Input? ServiceAccountKeyFile [Input("shouldUseJndi")] public Input? ShouldUseJndi { get; set; } + /// + /// (Updatable) Indicates that the user intents to connect to the instance through resource principal. + /// + [Input("shouldUseResourcePrincipal")] + public Input? ShouldUseResourcePrincipal { get; set; } + /// /// (Updatable) If set to true, the driver validates the certificate that is sent by the database server. /// @@ -1432,7 +1497,7 @@ public Input? ServiceAccountKeyFile private Input? _sslClientKeystash; /// - /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. /// public Input? SslClientKeystash { @@ -1454,7 +1519,7 @@ public Input? SslClientKeystash private Input? _sslClientKeystoredb; /// - /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. /// public Input? SslClientKeystoredb { @@ -1482,7 +1547,7 @@ public Input? SslClientKeystoredb private Input? _sslKey; /// - /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. /// public Input? SslKey { @@ -1498,7 +1563,7 @@ public Input? SslKey private Input? _sslKeyPassword; /// - /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. /// public Input? SslKeyPassword { @@ -1535,6 +1600,12 @@ public Input? SslKeyPassword [Input("sslServerCertificate")] public Input? SslServerCertificate { get; set; } + /// + /// (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + /// + [Input("storageCredentialName")] + public Input? StorageCredentialName { get; set; } + /// /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. /// @@ -1559,6 +1630,63 @@ public Input? SslKeyPassword [Input("tenancyId")] public Input? TenancyId { get; set; } + /// + /// (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + /// + [Input("tlsCaFile")] + public Input? TlsCaFile { get; set; } + + /// + /// (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + /// + [Input("tlsCertificateKeyFile")] + public Input? TlsCertificateKeyFile { get; set; } + + [Input("tlsCertificateKeyFilePassword")] + private Input? _tlsCertificateKeyFilePassword; + + /// + /// (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + /// + public Input? TlsCertificateKeyFilePassword + { + get => _tlsCertificateKeyFilePassword; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsCertificateKeyFilePassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tlsCertificateKeyFilePasswordSecretId")] + private Input? _tlsCertificateKeyFilePasswordSecretId; + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + /// + public Input? TlsCertificateKeyFilePasswordSecretId + { + get => _tlsCertificateKeyFilePasswordSecretId; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsCertificateKeyFilePasswordSecretId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + /// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + /// + [Input("tlsCertificateKeyFileSecretId")] + public Input? TlsCertificateKeyFileSecretId { get; set; } + /// /// (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). /// @@ -1573,7 +1701,7 @@ public Input? SslKeyPassword private Input? _trustStore; /// - /// (Updatable) The base64 encoded content of the TrustStore file. + /// (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. /// public Input? TrustStore { @@ -1589,7 +1717,7 @@ public Input? TrustStore private Input? _trustStorePassword; /// - /// (Updatable) The TrustStore password. + /// (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. /// public Input? TrustStorePassword { @@ -1620,7 +1748,7 @@ public Input? TrustStorePassword public Input? Url { get; set; } /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. /// [Input("userId")] public Input? UserId { get; set; } @@ -1641,7 +1769,7 @@ public Input? TrustStorePassword private Input? _wallet; /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// public Input? Wallet { @@ -1677,7 +1805,7 @@ public sealed class ConnectionState : global::Pulumi.ResourceArgs private Input? _accountKey; /// - /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + /// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. /// public Input? AccountKey { @@ -1753,7 +1881,7 @@ public InputList BootstrapServers private Input? _clientSecret; /// - /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + /// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. /// public Input? ClientSecret { @@ -1766,7 +1894,7 @@ public Input? ClientSecret } /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. /// [Input("clientSecretSecretId")] public Input? ClientSecretSecretId { get; set; } @@ -1796,7 +1924,7 @@ public Input? ClientSecret public Input? ConnectionType { get; set; } /// - /// (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + /// (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' /// [Input("connectionUrl")] public Input? ConnectionUrl { get; set; } @@ -1868,7 +1996,7 @@ public InputMap DefinedTags public Input? DoesUseSecretIds { get; set; } /// - /// (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + /// (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com /// [Input("endpoint")] public Input? Endpoint { get; set; } @@ -1935,7 +2063,7 @@ public InputList IngressIps private Input? _jndiSecurityCredentials; /// - /// (Updatable) The password associated to the principal. + /// (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. /// public Input? JndiSecurityCredentials { @@ -1969,7 +2097,7 @@ public Input? JndiSecurityCredentials private Input? _keyStore; /// - /// (Updatable) The base64 encoded content of the KeyStore file. + /// (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. /// public Input? KeyStore { @@ -1985,7 +2113,7 @@ public Input? KeyStore private Input? _keyStorePassword; /// - /// (Updatable) The KeyStore password. + /// (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. /// public Input? KeyStorePassword { @@ -2043,7 +2171,7 @@ public InputList NsgIds private Input? _password; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// public Input? Password { @@ -2079,7 +2207,7 @@ public Input? Password private Input? _privateKeyFile; /// - /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + /// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. /// public Input? PrivateKeyFile { @@ -2101,7 +2229,7 @@ public Input? PrivateKeyFile private Input? _privateKeyPassphrase; /// - /// (Updatable) Password if the private key file is encrypted. + /// (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. /// public Input? PrivateKeyPassphrase { @@ -2138,7 +2266,7 @@ public Input? PrivateKeyPassphrase public Input? RedisClusterId { get; set; } /// - /// (Updatable) The name of the region. e.g.: us-ashburn-1 + /// (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. /// [Input("region")] public Input? Region { get; set; } @@ -2153,7 +2281,7 @@ public Input? PrivateKeyPassphrase private Input? _sasToken; /// - /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + /// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. /// public Input? SasToken { @@ -2175,7 +2303,7 @@ public Input? SasToken private Input? _secretAccessKey; /// - /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + /// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. /// public Input? SecretAccessKey { @@ -2209,7 +2337,7 @@ public Input? SecretAccessKey private Input? _serviceAccountKeyFile; /// - /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + /// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. /// public Input? ServiceAccountKeyFile { @@ -2239,6 +2367,12 @@ public Input? ServiceAccountKeyFile [Input("shouldUseJndi")] public Input? ShouldUseJndi { get; set; } + /// + /// (Updatable) Indicates that the user intents to connect to the instance through resource principal. + /// + [Input("shouldUseResourcePrincipal")] + public Input? ShouldUseResourcePrincipal { get; set; } + /// /// (Updatable) If set to true, the driver validates the certificate that is sent by the database server. /// @@ -2261,7 +2395,7 @@ public Input? ServiceAccountKeyFile private Input? _sslClientKeystash; /// - /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + /// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. /// public Input? SslClientKeystash { @@ -2283,7 +2417,7 @@ public Input? SslClientKeystash private Input? _sslClientKeystoredb; /// - /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + /// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. /// public Input? SslClientKeystoredb { @@ -2311,7 +2445,7 @@ public Input? SslClientKeystoredb private Input? _sslKey; /// - /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + /// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. /// public Input? SslKey { @@ -2327,7 +2461,7 @@ public Input? SslKey private Input? _sslKeyPassword; /// - /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + /// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. /// public Input? SslKeyPassword { @@ -2370,6 +2504,12 @@ public Input? SslKeyPassword [Input("state")] public Input? State { get; set; } + /// + /// (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + /// + [Input("storageCredentialName")] + public Input? StorageCredentialName { get; set; } + /// /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. /// @@ -2406,6 +2546,12 @@ public InputMap SystemTags [Input("tenancyId")] public Input? TenancyId { get; set; } + /// + /// (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + /// /// The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// @@ -2418,6 +2564,57 @@ public InputMap SystemTags [Input("timeUpdated")] public Input? TimeUpdated { get; set; } + /// + /// (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + /// + [Input("tlsCaFile")] + public Input? TlsCaFile { get; set; } + + /// + /// (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + /// + [Input("tlsCertificateKeyFile")] + public Input? TlsCertificateKeyFile { get; set; } + + [Input("tlsCertificateKeyFilePassword")] + private Input? _tlsCertificateKeyFilePassword; + + /// + /// (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + /// + public Input? TlsCertificateKeyFilePassword + { + get => _tlsCertificateKeyFilePassword; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsCertificateKeyFilePassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tlsCertificateKeyFilePasswordSecretId")] + private Input? _tlsCertificateKeyFilePasswordSecretId; + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + /// + public Input? TlsCertificateKeyFilePasswordSecretId + { + get => _tlsCertificateKeyFilePasswordSecretId; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsCertificateKeyFilePasswordSecretId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + /// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + /// + [Input("tlsCertificateKeyFileSecretId")] + public Input? TlsCertificateKeyFileSecretId { get; set; } + /// /// (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). /// @@ -2432,7 +2629,7 @@ public InputMap SystemTags private Input? _trustStore; /// - /// (Updatable) The base64 encoded content of the TrustStore file. + /// (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. /// public Input? TrustStore { @@ -2448,7 +2645,7 @@ public Input? TrustStore private Input? _trustStorePassword; /// - /// (Updatable) The TrustStore password. + /// (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. /// public Input? TrustStorePassword { @@ -2479,7 +2676,7 @@ public Input? TrustStorePassword public Input? Url { get; set; } /// - /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. /// [Input("userId")] public Input? UserId { get; set; } @@ -2500,7 +2697,7 @@ public Input? TrustStorePassword private Input? _wallet; /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// public Input? Wallet { diff --git a/sdk/dotnet/GoldenGate/DatabaseRegistration.cs b/sdk/dotnet/GoldenGate/DatabaseRegistration.cs index fb6579eec1..38463a593e 100644 --- a/sdk/dotnet/GoldenGate/DatabaseRegistration.cs +++ b/sdk/dotnet/GoldenGate/DatabaseRegistration.cs @@ -140,7 +140,7 @@ public partial class DatabaseRegistration : global::Pulumi.CustomResource public Output LifecycleDetails { get; private set; } = null!; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// [Output("password")] public Output Password { get; private set; } = null!; @@ -212,7 +212,7 @@ public partial class DatabaseRegistration : global::Pulumi.CustomResource public Output VaultId { get; private set; } = null!; /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// /// /// ** IMPORTANT ** @@ -353,7 +353,7 @@ public InputMap FreeformTags private Input? _password; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// public Input? Password { @@ -396,7 +396,7 @@ public Input? Password public Input? VaultId { get; set; } /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// /// /// ** IMPORTANT ** @@ -501,7 +501,7 @@ public InputMap FreeformTags private Input? _password; /// - /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + /// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. /// public Input? Password { @@ -586,7 +586,7 @@ public InputMap SystemTags public Input? VaultId { get; set; } /// - /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + /// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. /// /// /// ** IMPORTANT ** diff --git a/sdk/dotnet/GoldenGate/GetConnection.cs b/sdk/dotnet/GoldenGate/GetConnection.cs index f395f6d386..da04fac6ac 100644 --- a/sdk/dotnet/GoldenGate/GetConnection.cs +++ b/sdk/dotnet/GoldenGate/GetConnection.cs @@ -151,6 +151,9 @@ public sealed class GetConnectionResult /// Used authentication mechanism to be provided for the following connection types: /// * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE /// * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + /// * DATABRICKS - Required fields by authentication types: + /// * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + /// * OAUTH_M2M: user must enter clientId and clientSecret /// public readonly string AuthenticationType; /// @@ -193,6 +196,7 @@ public sealed class GetConnectionResult /// * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' /// * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' /// * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + /// * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' /// public readonly string ConnectionUrl; /// @@ -232,6 +236,9 @@ public sealed class GetConnectionResult /// Indicates that sensitive attributes are provided via Secrets. /// public readonly bool DoesUseSecretIds; + /// + /// Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + /// public readonly string Endpoint; public readonly string Fingerprint; /// @@ -334,7 +341,7 @@ public sealed class GetConnectionResult /// public readonly string RedisClusterId; /// - /// The name of the region. e.g.: us-ashburn-1 + /// The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. /// public readonly string Region; /// @@ -376,11 +383,15 @@ public sealed class GetConnectionResult /// public readonly bool ShouldUseJndi; /// + /// Indicates that the user intents to connect to the instance through resource principal. + /// + public readonly bool ShouldUseResourcePrincipal; + /// /// If set to true, the driver validates the certificate that is sent by the database server. /// public readonly bool ShouldValidateServerCertificate; /// - /// Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + /// Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). /// public readonly string SslCa; public readonly string SslCert; @@ -416,6 +427,10 @@ public sealed class GetConnectionResult /// public readonly string State; /// + /// Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + /// + public readonly string StorageCredentialName; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. /// public readonly string StreamPoolId; @@ -436,6 +451,10 @@ public sealed class GetConnectionResult /// public readonly string TenancyId; /// + /// Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + /// + public readonly string TenantId; + /// /// The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// public readonly string TimeCreated; @@ -443,6 +462,18 @@ public sealed class GetConnectionResult /// The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// public readonly string TimeUpdated; + public readonly string TlsCaFile; + public readonly string TlsCertificateKeyFile; + public readonly string TlsCertificateKeyFilePassword; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + /// + public readonly string TlsCertificateKeyFilePasswordSecretId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + /// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + /// + public readonly string TlsCertificateKeyFileSecretId; public readonly bool TriggerRefresh; public readonly string TrustStore; public readonly string TrustStorePassword; @@ -451,7 +482,7 @@ public sealed class GetConnectionResult /// public readonly string TrustStorePasswordSecretId; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. /// public readonly string TrustStoreSecretId; /// @@ -459,11 +490,11 @@ public sealed class GetConnectionResult /// public readonly string Url; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. /// public readonly string UserId; /// - /// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + /// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. /// public readonly string Username; /// @@ -622,6 +653,8 @@ private GetConnectionResult( bool shouldUseJndi, + bool shouldUseResourcePrincipal, + bool shouldValidateServerCertificate, string sslCa, @@ -652,6 +685,8 @@ private GetConnectionResult( string state, + string storageCredentialName, + string streamPoolId, string subnetId, @@ -662,10 +697,22 @@ private GetConnectionResult( string tenancyId, + string tenantId, + string timeCreated, string timeUpdated, + string tlsCaFile, + + string tlsCertificateKeyFile, + + string tlsCertificateKeyFilePassword, + + string tlsCertificateKeyFilePasswordSecretId, + + string tlsCertificateKeyFileSecretId, + bool triggerRefresh, string trustStore, @@ -760,6 +807,7 @@ private GetConnectionResult( ServiceAccountKeyFileSecretId = serviceAccountKeyFileSecretId; SessionMode = sessionMode; ShouldUseJndi = shouldUseJndi; + ShouldUseResourcePrincipal = shouldUseResourcePrincipal; ShouldValidateServerCertificate = shouldValidateServerCertificate; SslCa = sslCa; SslCert = sslCert; @@ -775,13 +823,20 @@ private GetConnectionResult( SslMode = sslMode; SslServerCertificate = sslServerCertificate; State = state; + StorageCredentialName = storageCredentialName; StreamPoolId = streamPoolId; SubnetId = subnetId; SystemTags = systemTags; TechnologyType = technologyType; TenancyId = tenancyId; + TenantId = tenantId; TimeCreated = timeCreated; TimeUpdated = timeUpdated; + TlsCaFile = tlsCaFile; + TlsCertificateKeyFile = tlsCertificateKeyFile; + TlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + TlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + TlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; TriggerRefresh = triggerRefresh; TrustStore = trustStore; TrustStorePassword = trustStorePassword; diff --git a/sdk/dotnet/GoldenGate/Outputs/GetConnectionsConnectionCollectionItemResult.cs b/sdk/dotnet/GoldenGate/Outputs/GetConnectionsConnectionCollectionItemResult.cs index 32b4ae44c1..a78825c484 100644 --- a/sdk/dotnet/GoldenGate/Outputs/GetConnectionsConnectionCollectionItemResult.cs +++ b/sdk/dotnet/GoldenGate/Outputs/GetConnectionsConnectionCollectionItemResult.cs @@ -38,6 +38,9 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// Used authentication mechanism to be provided for the following connection types: /// * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS /// * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + /// * DATABRICKS - Required fields by authentication types: + /// * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + /// * OAUTH_M2M: user must enter clientId and clientSecret /// public readonly string AuthenticationType; /// @@ -79,6 +82,7 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' /// * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' /// * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + /// * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' /// public readonly string ConnectionUrl; /// @@ -119,7 +123,7 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly bool DoesUseSecretIds; /// - /// Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + /// Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com /// public readonly string Endpoint; public readonly string Fingerprint; @@ -223,7 +227,7 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly string RedisClusterId; /// - /// The name of the region. e.g.: us-ashburn-1 + /// The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. /// public readonly string Region; /// @@ -265,11 +269,15 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly bool ShouldUseJndi; /// + /// Indicates that the user intents to connect to the instance through resource principal. + /// + public readonly bool ShouldUseResourcePrincipal; + /// /// If set to true, the driver validates the certificate that is sent by the database server. /// public readonly bool ShouldValidateServerCertificate; /// - /// Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + /// Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). /// public readonly string SslCa; public readonly string SslCert; @@ -305,6 +313,10 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly string State; /// + /// Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + /// + public readonly string StorageCredentialName; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. /// public readonly string StreamPoolId; @@ -325,6 +337,10 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly string TenancyId; /// + /// Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + /// + public readonly string TenantId; + /// /// The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// public readonly string TimeCreated; @@ -332,6 +348,18 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. /// public readonly string TimeUpdated; + public readonly string TlsCaFile; + public readonly string TlsCertificateKeyFile; + public readonly string TlsCertificateKeyFilePassword; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + /// + public readonly string TlsCertificateKeyFilePasswordSecretId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + /// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + /// + public readonly string TlsCertificateKeyFileSecretId; public readonly bool TriggerRefresh; public readonly string TrustStore; public readonly string TrustStorePassword; @@ -348,11 +376,11 @@ public sealed class GetConnectionsConnectionCollectionItemResult /// public readonly string Url; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. /// public readonly string UserId; /// - /// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + /// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. /// public readonly string Username; /// @@ -509,6 +537,8 @@ private GetConnectionsConnectionCollectionItemResult( bool shouldUseJndi, + bool shouldUseResourcePrincipal, + bool shouldValidateServerCertificate, string sslCa, @@ -539,6 +569,8 @@ private GetConnectionsConnectionCollectionItemResult( string state, + string storageCredentialName, + string streamPoolId, string subnetId, @@ -549,10 +581,22 @@ private GetConnectionsConnectionCollectionItemResult( string tenancyId, + string tenantId, + string timeCreated, string timeUpdated, + string tlsCaFile, + + string tlsCertificateKeyFile, + + string tlsCertificateKeyFilePassword, + + string tlsCertificateKeyFilePasswordSecretId, + + string tlsCertificateKeyFileSecretId, + bool triggerRefresh, string trustStore, @@ -646,6 +690,7 @@ private GetConnectionsConnectionCollectionItemResult( ServiceAccountKeyFileSecretId = serviceAccountKeyFileSecretId; SessionMode = sessionMode; ShouldUseJndi = shouldUseJndi; + ShouldUseResourcePrincipal = shouldUseResourcePrincipal; ShouldValidateServerCertificate = shouldValidateServerCertificate; SslCa = sslCa; SslCert = sslCert; @@ -661,13 +706,20 @@ private GetConnectionsConnectionCollectionItemResult( SslMode = sslMode; SslServerCertificate = sslServerCertificate; State = state; + StorageCredentialName = storageCredentialName; StreamPoolId = streamPoolId; SubnetId = subnetId; SystemTags = systemTags; TechnologyType = technologyType; TenancyId = tenancyId; + TenantId = tenantId; TimeCreated = timeCreated; TimeUpdated = timeUpdated; + TlsCaFile = tlsCaFile; + TlsCertificateKeyFile = tlsCertificateKeyFile; + TlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + TlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + TlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; TriggerRefresh = triggerRefresh; TrustStore = trustStore; TrustStorePassword = trustStorePassword; diff --git a/sdk/dotnet/Jms/GetFleetErrorAnalytics.cs b/sdk/dotnet/Jms/GetFleetErrorAnalytics.cs new file mode 100644 index 0000000000..17ac8ab7d3 --- /dev/null +++ b/sdk/dotnet/Jms/GetFleetErrorAnalytics.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Jms +{ + public static class GetFleetErrorAnalytics + { + /// + /// This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of FleetErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrorAnalytics = Oci.Jms.GetFleetErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetFleetErrorAnalyticsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", args ?? new GetFleetErrorAnalyticsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of FleetErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrorAnalytics = Oci.Jms.GetFleetErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetFleetErrorAnalyticsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", args ?? new GetFleetErrorAnalyticsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of FleetErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrorAnalytics = Oci.Jms.GetFleetErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetFleetErrorAnalyticsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", args ?? new GetFleetErrorAnalyticsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetErrorAnalyticsArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetFleetErrorAnalyticsArgs() + { + } + public static new GetFleetErrorAnalyticsArgs Empty => new GetFleetErrorAnalyticsArgs(); + } + + public sealed class GetFleetErrorAnalyticsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetFleetErrorAnalyticsInvokeArgs() + { + } + public static new GetFleetErrorAnalyticsInvokeArgs Empty => new GetFleetErrorAnalyticsInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetErrorAnalyticsResult + { + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + public readonly ImmutableArray Filters; + /// + /// The list of fleet_error_aggregation_collection. + /// + public readonly ImmutableArray FleetErrorAggregationCollections; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetFleetErrorAnalyticsResult( + string? compartmentId, + + bool? compartmentIdInSubtree, + + ImmutableArray filters, + + ImmutableArray fleetErrorAggregationCollections, + + string id) + { + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + Filters = filters; + FleetErrorAggregationCollections = fleetErrorAggregationCollections; + Id = id; + } + } +} diff --git a/sdk/dotnet/Jms/GetFleetErrors.cs b/sdk/dotnet/Jms/GetFleetErrors.cs new file mode 100644 index 0000000000..d39d853b47 --- /dev/null +++ b/sdk/dotnet/Jms/GetFleetErrors.cs @@ -0,0 +1,289 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Jms +{ + public static class GetFleetErrors + { + /// + /// This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of fleet errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrors = Oci.Jms.GetFleetErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorCompartmentIdInSubtree, + /// FleetId = testFleet.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = fleetErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = fleetErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = fleetErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = fleetErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetFleetErrorsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Jms/getFleetErrors:getFleetErrors", args ?? new GetFleetErrorsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of fleet errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrors = Oci.Jms.GetFleetErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorCompartmentIdInSubtree, + /// FleetId = testFleet.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = fleetErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = fleetErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = fleetErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = fleetErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetFleetErrorsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getFleetErrors:getFleetErrors", args ?? new GetFleetErrorsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of fleet errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testFleetErrors = Oci.Jms.GetFleetErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = fleetErrorCompartmentIdInSubtree, + /// FleetId = testFleet.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = fleetErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = fleetErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = fleetErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = fleetErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetFleetErrorsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getFleetErrors:getFleetErrors", args ?? new GetFleetErrorsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetErrorsArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The ID of the Fleet. + /// + [Input("fleetId")] + public string? FleetId { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenGreaterThanOrEqualTo")] + public string? TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenLessThanOrEqualTo")] + public string? TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenGreaterThanOrEqualTo")] + public string? TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenLessThanOrEqualTo")] + public string? TimeLastSeenLessThanOrEqualTo { get; set; } + + public GetFleetErrorsArgs() + { + } + public static new GetFleetErrorsArgs Empty => new GetFleetErrorsArgs(); + } + + public sealed class GetFleetErrorsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The ID of the Fleet. + /// + [Input("fleetId")] + public Input? FleetId { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenGreaterThanOrEqualTo")] + public Input? TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenLessThanOrEqualTo")] + public Input? TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenGreaterThanOrEqualTo")] + public Input? TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenLessThanOrEqualTo")] + public Input? TimeLastSeenLessThanOrEqualTo { get; set; } + + public GetFleetErrorsInvokeArgs() + { + } + public static new GetFleetErrorsInvokeArgs Empty => new GetFleetErrorsInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetErrorsResult + { + /// + /// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + public readonly ImmutableArray Filters; + /// + /// The list of fleet_error_collection. + /// + public readonly ImmutableArray FleetErrorCollections; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + public readonly string? FleetId; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? TimeFirstSeenGreaterThanOrEqualTo; + public readonly string? TimeFirstSeenLessThanOrEqualTo; + public readonly string? TimeLastSeenGreaterThanOrEqualTo; + public readonly string? TimeLastSeenLessThanOrEqualTo; + + [OutputConstructor] + private GetFleetErrorsResult( + string? compartmentId, + + bool? compartmentIdInSubtree, + + ImmutableArray filters, + + ImmutableArray fleetErrorCollections, + + string? fleetId, + + string id, + + string? timeFirstSeenGreaterThanOrEqualTo, + + string? timeFirstSeenLessThanOrEqualTo, + + string? timeLastSeenGreaterThanOrEqualTo, + + string? timeLastSeenLessThanOrEqualTo) + { + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + Filters = filters; + FleetErrorCollections = fleetErrorCollections; + FleetId = fleetId; + Id = id; + TimeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo; + TimeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo; + TimeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo; + TimeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo; + } + } +} diff --git a/sdk/dotnet/Jms/GetFleetPerformanceTuningAnalysisResults.cs b/sdk/dotnet/Jms/GetFleetPerformanceTuningAnalysisResults.cs index 0bc98e0a45..b86af76260 100644 --- a/sdk/dotnet/Jms/GetFleetPerformanceTuningAnalysisResults.cs +++ b/sdk/dotnet/Jms/GetFleetPerformanceTuningAnalysisResults.cs @@ -30,6 +30,7 @@ public static class GetFleetPerformanceTuningAnalysisResults /// { /// FleetId = testFleet.Id, /// ApplicationId = fleetPerformanceTuningAnalysisResultApplicationId, + /// ApplicationName = fleetPerformanceTuningAnalysisResultApplicationName, /// HostName = fleetPerformanceTuningAnalysisResultHostName, /// ManagedInstanceId = fleetPerformanceTuningAnalysisResultManagedInstanceId, /// TimeEnd = fleetPerformanceTuningAnalysisResultTimeEnd, @@ -61,6 +62,7 @@ public static Task InvokeAsync(G /// { /// FleetId = testFleet.Id, /// ApplicationId = fleetPerformanceTuningAnalysisResultApplicationId, + /// ApplicationName = fleetPerformanceTuningAnalysisResultApplicationName, /// HostName = fleetPerformanceTuningAnalysisResultHostName, /// ManagedInstanceId = fleetPerformanceTuningAnalysisResultManagedInstanceId, /// TimeEnd = fleetPerformanceTuningAnalysisResultTimeEnd, @@ -92,6 +94,7 @@ public static Output Invoke(GetF /// { /// FleetId = testFleet.Id, /// ApplicationId = fleetPerformanceTuningAnalysisResultApplicationId, + /// ApplicationName = fleetPerformanceTuningAnalysisResultApplicationName, /// HostName = fleetPerformanceTuningAnalysisResultHostName, /// ManagedInstanceId = fleetPerformanceTuningAnalysisResultManagedInstanceId, /// TimeEnd = fleetPerformanceTuningAnalysisResultTimeEnd, @@ -114,6 +117,12 @@ public sealed class GetFleetPerformanceTuningAnalysisResultsArgs : global::Pulum [Input("applicationId")] public string? ApplicationId { get; set; } + /// + /// The name of the application. + /// + [Input("applicationName")] + public string? ApplicationName { get; set; } + [Input("filters")] private List? _filters; public List Filters @@ -166,6 +175,12 @@ public sealed class GetFleetPerformanceTuningAnalysisResultsInvokeArgs : global: [Input("applicationId")] public Input? ApplicationId { get; set; } + /// + /// The name of the application. + /// + [Input("applicationName")] + public Input? ApplicationName { get; set; } + [Input("filters")] private InputList? _filters; public InputList Filters @@ -218,6 +233,10 @@ public sealed class GetFleetPerformanceTuningAnalysisResultsResult /// The OCID of the application for which the report has been generated. /// public readonly string? ApplicationId; + /// + /// The name of the application for which the report has been generated. + /// + public readonly string? ApplicationName; public readonly ImmutableArray Filters; /// /// The fleet OCID. @@ -246,6 +265,8 @@ public sealed class GetFleetPerformanceTuningAnalysisResultsResult private GetFleetPerformanceTuningAnalysisResultsResult( string? applicationId, + string? applicationName, + ImmutableArray filters, string fleetId, @@ -263,6 +284,7 @@ private GetFleetPerformanceTuningAnalysisResultsResult( string? timeStart) { ApplicationId = applicationId; + ApplicationName = applicationName; Filters = filters; FleetId = fleetId; HostName = hostName; diff --git a/sdk/dotnet/Jms/GetJmsPlugins.cs b/sdk/dotnet/Jms/GetJmsPlugins.cs index bb16918248..7cb84e0f50 100644 --- a/sdk/dotnet/Jms/GetJmsPlugins.cs +++ b/sdk/dotnet/Jms/GetJmsPlugins.cs @@ -29,6 +29,7 @@ public static class GetJmsPlugins /// var testJmsPlugins = Oci.Jms.GetJmsPlugins.Invoke(new() /// { /// AgentId = jmsPluginAgentId, + /// AgentType = jmsPluginAgentType, /// AvailabilityStatus = jmsPluginAvailabilityStatus, /// CompartmentId = compartmentId, /// CompartmentIdInSubtree = jmsPluginCompartmentIdInSubtree, @@ -64,6 +65,7 @@ public static Task InvokeAsync(GetJmsPluginsArgs? args = nu /// var testJmsPlugins = Oci.Jms.GetJmsPlugins.Invoke(new() /// { /// AgentId = jmsPluginAgentId, + /// AgentType = jmsPluginAgentType, /// AvailabilityStatus = jmsPluginAvailabilityStatus, /// CompartmentId = compartmentId, /// CompartmentIdInSubtree = jmsPluginCompartmentIdInSubtree, @@ -99,6 +101,7 @@ public static Output Invoke(GetJmsPluginsInvokeArgs? args = /// var testJmsPlugins = Oci.Jms.GetJmsPlugins.Invoke(new() /// { /// AgentId = jmsPluginAgentId, + /// AgentType = jmsPluginAgentType, /// AvailabilityStatus = jmsPluginAvailabilityStatus, /// CompartmentId = compartmentId, /// CompartmentIdInSubtree = jmsPluginCompartmentIdInSubtree, @@ -126,6 +129,12 @@ public sealed class GetJmsPluginsArgs : global::Pulumi.InvokeArgs [Input("agentId")] public string? AgentId { get; set; } + /// + /// Filter JmsPlugin with agent type. + /// + [Input("agentType")] + public string? AgentType { get; set; } + /// /// Filter JmsPlugin with its availability status. /// @@ -202,6 +211,12 @@ public sealed class GetJmsPluginsInvokeArgs : global::Pulumi.InvokeArgs [Input("agentId")] public Input? AgentId { get; set; } + /// + /// Filter JmsPlugin with agent type. + /// + [Input("agentType")] + public Input? AgentType { get; set; } + /// /// Filter JmsPlugin with its availability status. /// @@ -279,6 +294,10 @@ public sealed class GetJmsPluginsResult /// public readonly string? AgentId; /// + /// The agent type. + /// + public readonly string? AgentType; + /// /// The availability status. /// public readonly string? AvailabilityStatus; @@ -312,6 +331,8 @@ public sealed class GetJmsPluginsResult private GetJmsPluginsResult( string? agentId, + string? agentType, + string? availabilityStatus, string? compartmentId, @@ -335,6 +356,7 @@ private GetJmsPluginsResult( string? timeRegisteredLessThanOrEqualTo) { AgentId = agentId; + AgentType = agentType; AvailabilityStatus = availabilityStatus; CompartmentId = compartmentId; CompartmentIdInSubtree = compartmentIdInSubtree; diff --git a/sdk/dotnet/Jms/GetPluginErrorAnalytics.cs b/sdk/dotnet/Jms/GetPluginErrorAnalytics.cs new file mode 100644 index 0000000000..2ef0d746a4 --- /dev/null +++ b/sdk/dotnet/Jms/GetPluginErrorAnalytics.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Jms +{ + public static class GetPluginErrorAnalytics + { + /// + /// This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of PluginErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrorAnalytics = Oci.Jms.GetPluginErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPluginErrorAnalyticsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", args ?? new GetPluginErrorAnalyticsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of PluginErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrorAnalytics = Oci.Jms.GetPluginErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPluginErrorAnalyticsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", args ?? new GetPluginErrorAnalyticsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a high level summary of PluginErrors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrorAnalytics = Oci.Jms.GetPluginErrorAnalytics.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorAnalyticCompartmentIdInSubtree, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPluginErrorAnalyticsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", args ?? new GetPluginErrorAnalyticsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPluginErrorAnalyticsArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetPluginErrorAnalyticsArgs() + { + } + public static new GetPluginErrorAnalyticsArgs Empty => new GetPluginErrorAnalyticsArgs(); + } + + public sealed class GetPluginErrorAnalyticsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetPluginErrorAnalyticsInvokeArgs() + { + } + public static new GetPluginErrorAnalyticsInvokeArgs Empty => new GetPluginErrorAnalyticsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPluginErrorAnalyticsResult + { + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The list of plugin_error_aggregation_collection. + /// + public readonly ImmutableArray PluginErrorAggregationCollections; + + [OutputConstructor] + private GetPluginErrorAnalyticsResult( + string? compartmentId, + + bool? compartmentIdInSubtree, + + ImmutableArray filters, + + string id, + + ImmutableArray pluginErrorAggregationCollections) + { + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + Filters = filters; + Id = id; + PluginErrorAggregationCollections = pluginErrorAggregationCollections; + } + } +} diff --git a/sdk/dotnet/Jms/GetPluginErrors.cs b/sdk/dotnet/Jms/GetPluginErrors.cs new file mode 100644 index 0000000000..b9a048bf6e --- /dev/null +++ b/sdk/dotnet/Jms/GetPluginErrors.cs @@ -0,0 +1,289 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Jms +{ + public static class GetPluginErrors + { + /// + /// This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of plugin errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrors = Oci.Jms.GetPluginErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorCompartmentIdInSubtree, + /// ManagedInstanceId = testManagedInstance.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = pluginErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = pluginErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = pluginErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = pluginErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPluginErrorsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Jms/getPluginErrors:getPluginErrors", args ?? new GetPluginErrorsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of plugin errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrors = Oci.Jms.GetPluginErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorCompartmentIdInSubtree, + /// ManagedInstanceId = testManagedInstance.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = pluginErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = pluginErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = pluginErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = pluginErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPluginErrorsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getPluginErrors:getPluginErrors", args ?? new GetPluginErrorsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + /// + /// Returns a list of plugin errors that describe all detected errors. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPluginErrors = Oci.Jms.GetPluginErrors.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CompartmentIdInSubtree = pluginErrorCompartmentIdInSubtree, + /// ManagedInstanceId = testManagedInstance.Id, + /// TimeFirstSeenGreaterThanOrEqualTo = pluginErrorTimeFirstSeenGreaterThanOrEqualTo, + /// TimeFirstSeenLessThanOrEqualTo = pluginErrorTimeFirstSeenLessThanOrEqualTo, + /// TimeLastSeenGreaterThanOrEqualTo = pluginErrorTimeLastSeenGreaterThanOrEqualTo, + /// TimeLastSeenLessThanOrEqualTo = pluginErrorTimeLastSeenLessThanOrEqualTo, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPluginErrorsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Jms/getPluginErrors:getPluginErrors", args ?? new GetPluginErrorsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPluginErrorsArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The Fleet-unique identifier of the managed instance. + /// + [Input("managedInstanceId")] + public string? ManagedInstanceId { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenGreaterThanOrEqualTo")] + public string? TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenLessThanOrEqualTo")] + public string? TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenGreaterThanOrEqualTo")] + public string? TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenLessThanOrEqualTo")] + public string? TimeLastSeenLessThanOrEqualTo { get; set; } + + public GetPluginErrorsArgs() + { + } + public static new GetPluginErrorsArgs Empty => new GetPluginErrorsArgs(); + } + + public sealed class GetPluginErrorsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The Fleet-unique identifier of the managed instance. + /// + [Input("managedInstanceId")] + public Input? ManagedInstanceId { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenGreaterThanOrEqualTo")] + public Input? TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeFirstSeenLessThanOrEqualTo")] + public Input? TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenGreaterThanOrEqualTo")] + public Input? TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Input("timeLastSeenLessThanOrEqualTo")] + public Input? TimeLastSeenLessThanOrEqualTo { get; set; } + + public GetPluginErrorsInvokeArgs() + { + } + public static new GetPluginErrorsInvokeArgs Empty => new GetPluginErrorsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPluginErrorsResult + { + /// + /// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. + /// + public readonly string? ManagedInstanceId; + /// + /// The list of plugin_error_collection. + /// + public readonly ImmutableArray PluginErrorCollections; + public readonly string? TimeFirstSeenGreaterThanOrEqualTo; + public readonly string? TimeFirstSeenLessThanOrEqualTo; + public readonly string? TimeLastSeenGreaterThanOrEqualTo; + public readonly string? TimeLastSeenLessThanOrEqualTo; + + [OutputConstructor] + private GetPluginErrorsResult( + string? compartmentId, + + bool? compartmentIdInSubtree, + + ImmutableArray filters, + + string id, + + string? managedInstanceId, + + ImmutableArray pluginErrorCollections, + + string? timeFirstSeenGreaterThanOrEqualTo, + + string? timeFirstSeenLessThanOrEqualTo, + + string? timeLastSeenGreaterThanOrEqualTo, + + string? timeLastSeenLessThanOrEqualTo) + { + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + Filters = filters; + Id = id; + ManagedInstanceId = managedInstanceId; + PluginErrorCollections = pluginErrorCollections; + TimeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo; + TimeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo; + TimeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo; + TimeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo; + } + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilter.cs b/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilter.cs new file mode 100644 index 0000000000..f3e1e7f232 --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilter.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.Jms.Inputs +{ + + public sealed class GetFleetErrorAnalyticsFilterArgs : 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 GetFleetErrorAnalyticsFilterArgs() + { + } + public static new GetFleetErrorAnalyticsFilterArgs Empty => new GetFleetErrorAnalyticsFilterArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilterArgs.cs b/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilterArgs.cs new file mode 100644 index 0000000000..695cb57b12 --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetFleetErrorAnalyticsFilterArgs.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.Jms.Inputs +{ + + public sealed class GetFleetErrorAnalyticsFilterInputArgs : 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 GetFleetErrorAnalyticsFilterInputArgs() + { + } + public static new GetFleetErrorAnalyticsFilterInputArgs Empty => new GetFleetErrorAnalyticsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilter.cs b/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilter.cs new file mode 100644 index 0000000000..54d5fdab6a --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilter.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.Jms.Inputs +{ + + public sealed class GetFleetErrorsFilterArgs : 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 GetFleetErrorsFilterArgs() + { + } + public static new GetFleetErrorsFilterArgs Empty => new GetFleetErrorsFilterArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilterArgs.cs b/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilterArgs.cs new file mode 100644 index 0000000000..460e91e8bd --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetFleetErrorsFilterArgs.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.Jms.Inputs +{ + + public sealed class GetFleetErrorsFilterInputArgs : 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 GetFleetErrorsFilterInputArgs() + { + } + public static new GetFleetErrorsFilterInputArgs Empty => new GetFleetErrorsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilter.cs b/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilter.cs new file mode 100644 index 0000000000..6849843f30 --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilter.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.Jms.Inputs +{ + + public sealed class GetPluginErrorAnalyticsFilterArgs : 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 GetPluginErrorAnalyticsFilterArgs() + { + } + public static new GetPluginErrorAnalyticsFilterArgs Empty => new GetPluginErrorAnalyticsFilterArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilterArgs.cs b/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilterArgs.cs new file mode 100644 index 0000000000..40d2db75b7 --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetPluginErrorAnalyticsFilterArgs.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.Jms.Inputs +{ + + public sealed class GetPluginErrorAnalyticsFilterInputArgs : 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 GetPluginErrorAnalyticsFilterInputArgs() + { + } + public static new GetPluginErrorAnalyticsFilterInputArgs Empty => new GetPluginErrorAnalyticsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilter.cs b/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilter.cs new file mode 100644 index 0000000000..a0c6f4133c --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilter.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.Jms.Inputs +{ + + public sealed class GetPluginErrorsFilterArgs : 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 GetPluginErrorsFilterArgs() + { + } + public static new GetPluginErrorsFilterArgs Empty => new GetPluginErrorsFilterArgs(); + } +} diff --git a/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilterArgs.cs b/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilterArgs.cs new file mode 100644 index 0000000000..add1dfff20 --- /dev/null +++ b/sdk/dotnet/Jms/Inputs/GetPluginErrorsFilterArgs.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.Jms.Inputs +{ + + public sealed class GetPluginErrorsFilterInputArgs : 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 GetPluginErrorsFilterInputArgs() + { + } + public static new GetPluginErrorsFilterInputArgs Empty => new GetPluginErrorsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFilterResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFilterResult.cs new file mode 100644 index 0000000000..088d761906 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFilterResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorAnalyticsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetFleetErrorAnalyticsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult.cs new file mode 100644 index 0000000000..d770a108be --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult + { + /// + /// Number of FleetErrors encountered for the specific reason. + /// + public readonly int FleetErrorAnalyticCount; + /// + /// Enum that uniquely identifies the fleet error. + /// + public readonly string Reason; + + [OutputConstructor] + private GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult( + int fleetErrorAnalyticCount, + + string reason) + { + FleetErrorAnalyticCount = fleetErrorAnalyticCount; + Reason = reason; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult.cs new file mode 100644 index 0000000000..0cf1833981 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult + { + /// + /// List of fleet error aggregations. + /// + public readonly ImmutableArray FleetErrorAggregations; + /// + /// Count of fleets with no problems. + /// + public readonly int HealthyFleetCount; + + [OutputConstructor] + private GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult( + ImmutableArray fleetErrorAggregations, + + int healthyFleetCount) + { + FleetErrorAggregations = fleetErrorAggregations; + HealthyFleetCount = healthyFleetCount; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult.cs new file mode 100644 index 0000000000..141144de03 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult + { + /// + /// A list of FleetErrorAggregationSummary. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorsFilterResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFilterResult.cs new file mode 100644 index 0000000000..d533bd50e9 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFilterResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetFleetErrorsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemErrorResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemErrorResult.cs new file mode 100644 index 0000000000..72ea874266 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemErrorResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorsFleetErrorCollectionItemErrorResult + { + /// + /// Optional string containing additional details. + /// + public readonly string Details; + /// + /// The fleet error reason. + /// + public readonly string Reason; + /// + /// The timestamp of the last time an error was detected. + /// + public readonly string TimeLastSeen; + + [OutputConstructor] + private GetFleetErrorsFleetErrorCollectionItemErrorResult( + string details, + + string reason, + + string timeLastSeen) + { + Details = details; + Reason = reason; + TimeLastSeen = timeLastSeen; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemResult.cs new file mode 100644 index 0000000000..8d2ea89bad --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionItemResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorsFleetErrorCollectionItemResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// List of fleet error details. + /// + public readonly ImmutableArray Errors; + /// + /// The ID of the Fleet. + /// + public readonly string FleetId; + /// + /// The display name of the Fleet. + /// + public readonly string FleetName; + /// + /// The timestamp of the first time an error was detected. + /// + public readonly string TimeFirstSeen; + /// + /// The timestamp of the last time an error was detected. + /// + public readonly string TimeLastSeen; + + [OutputConstructor] + private GetFleetErrorsFleetErrorCollectionItemResult( + string compartmentId, + + ImmutableArray errors, + + string fleetId, + + string fleetName, + + string timeFirstSeen, + + string timeLastSeen) + { + CompartmentId = compartmentId; + Errors = errors; + FleetId = fleetId; + FleetName = fleetName; + TimeFirstSeen = timeFirstSeen; + TimeLastSeen = timeLastSeen; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionResult.cs new file mode 100644 index 0000000000..fbf528d57b --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetFleetErrorsFleetErrorCollectionResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetFleetErrorsFleetErrorCollectionResult + { + /// + /// A list of FleetErrorSummary. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetFleetErrorsFleetErrorCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult.cs index 421b52b1c0..e0fbb77fc5 100644 --- a/sdk/dotnet/Jms/Outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult.cs +++ b/sdk/dotnet/Jms/Outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult.cs @@ -26,7 +26,7 @@ public sealed class GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAna /// public readonly string ApplicationInstallationPath; /// - /// The name of the application for which the report has been generated. + /// The name of the application. /// public readonly string ApplicationName; /// diff --git a/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemJreResult.cs b/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemJreResult.cs index 0cf22b374e..000984eb8d 100644 --- a/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemJreResult.cs +++ b/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemJreResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Jms.Outputs public sealed class GetInstallationSitesInstallationSiteCollectionItemItemJreResult { /// - /// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + /// The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. /// public readonly string Distribution; /// diff --git a/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult.cs b/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult.cs index 4f392fab77..ca4d0a1bee 100644 --- a/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult.cs +++ b/sdk/dotnet/Jms/Outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult.cs @@ -18,6 +18,10 @@ public sealed class GetInstallationSitesInstallationSiteCollectionItemItemOperat /// public readonly string Architecture; /// + /// The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + /// + public readonly string Distribution; + /// /// The operating system type, such as Windows, Linux or macOS /// public readonly string Family; @@ -38,6 +42,8 @@ public sealed class GetInstallationSitesInstallationSiteCollectionItemItemOperat private GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult( string architecture, + string distribution, + string family, int managedInstanceCount, @@ -47,6 +53,7 @@ private GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemRes string version) { Architecture = architecture; + Distribution = distribution; Family = family; ManagedInstanceCount = managedInstanceCount; Name = name; diff --git a/sdk/dotnet/Jms/Outputs/GetJmsPluginsJmsPluginCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetJmsPluginsJmsPluginCollectionItemResult.cs index bdf6b60c12..764e66776f 100644 --- a/sdk/dotnet/Jms/Outputs/GetJmsPluginsJmsPluginCollectionItemResult.cs +++ b/sdk/dotnet/Jms/Outputs/GetJmsPluginsJmsPluginCollectionItemResult.cs @@ -18,7 +18,7 @@ public sealed class GetJmsPluginsJmsPluginCollectionItemResult /// public readonly string AgentId; /// - /// The agent type. + /// Filter JmsPlugin with agent type. /// public readonly string AgentType; /// diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsFilterResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsFilterResult.cs new file mode 100644 index 0000000000..e3ae6485af --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsFilterResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorAnalyticsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetPluginErrorAnalyticsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult.cs new file mode 100644 index 0000000000..ac34e22054 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult + { + /// + /// Number of FleetErrors encountered for the specific reason. + /// + public readonly int PluginErrorAnalyticCount; + /// + /// Enum that uniquely identifies the plugin error. + /// + public readonly string Reason; + + [OutputConstructor] + private GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult( + int pluginErrorAnalyticCount, + + string reason) + { + PluginErrorAnalyticCount = pluginErrorAnalyticCount; + Reason = reason; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult.cs new file mode 100644 index 0000000000..7c41dbe482 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult + { + /// + /// Count of plugins with no problems. + /// + public readonly int HealthyPluginCount; + /// + /// List of plugin aggregation errors. + /// + public readonly ImmutableArray PluginErrorAggregations; + + [OutputConstructor] + private GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult( + int healthyPluginCount, + + ImmutableArray pluginErrorAggregations) + { + HealthyPluginCount = healthyPluginCount; + PluginErrorAggregations = pluginErrorAggregations; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult.cs new file mode 100644 index 0000000000..f5e0fd2c59 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult + { + /// + /// A list of PluginErrorAggregationSummary. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorsFilterResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorsFilterResult.cs new file mode 100644 index 0000000000..13b59dae30 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorsFilterResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetPluginErrorsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemErrorResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemErrorResult.cs new file mode 100644 index 0000000000..a8018eec17 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemErrorResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorsPluginErrorCollectionItemErrorResult + { + /// + /// Optional string containing additional details. + /// + public readonly string Details; + /// + /// The plugin error reason. + /// + public readonly string Reason; + /// + /// The timestamp of the last time an error was detected. + /// + public readonly string TimeLastSeen; + + [OutputConstructor] + private GetPluginErrorsPluginErrorCollectionItemErrorResult( + string details, + + string reason, + + string timeLastSeen) + { + Details = details; + Reason = reason; + TimeLastSeen = timeLastSeen; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemResult.cs new file mode 100644 index 0000000000..7378de5b30 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionItemResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorsPluginErrorCollectionItemResult + { + /// + /// The agent type. + /// + public readonly string AgentType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// List of plugin error details. + /// + public readonly ImmutableArray Errors; + /// + /// The HostName or Compute Instance name of the Managed Instance running the plugin. + /// + public readonly string HostName; + /// + /// The Fleet-unique identifier of the managed instance. + /// + public readonly string ManagedInstanceId; + /// + /// The timestamp of the first time an error was detected. + /// + public readonly string TimeFirstSeen; + /// + /// The timestamp of the last time an error was detected. + /// + public readonly string TimeLastSeen; + + [OutputConstructor] + private GetPluginErrorsPluginErrorCollectionItemResult( + string agentType, + + string compartmentId, + + ImmutableArray errors, + + string hostName, + + string managedInstanceId, + + string timeFirstSeen, + + string timeLastSeen) + { + AgentType = agentType; + CompartmentId = compartmentId; + Errors = errors; + HostName = hostName; + ManagedInstanceId = managedInstanceId; + TimeFirstSeen = timeFirstSeen; + TimeLastSeen = timeLastSeen; + } + } +} diff --git a/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionResult.cs b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionResult.cs new file mode 100644 index 0000000000..33b86908f4 --- /dev/null +++ b/sdk/dotnet/Jms/Outputs/GetPluginErrorsPluginErrorCollectionResult.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.Jms.Outputs +{ + + [OutputType] + public sealed class GetPluginErrorsPluginErrorCollectionResult + { + /// + /// A list of PluginErrorSummary. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetPluginErrorsPluginErrorCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs index cef949105d..4a7a9b3a31 100644 --- a/sdk/dotnet/Provider.cs +++ b/sdk/dotnet/Provider.cs @@ -71,6 +71,9 @@ public partial class Provider : global::Pulumi.ProviderResource [Output("tenancyOcid")] public Output TenancyOcid { get; private set; } = null!; + [Output("testTimeMaintenanceRebootDue")] + public Output TestTimeMaintenanceRebootDue { get; private set; } = null!; + /// /// (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if /// auth is set to 'ApiKey', ignored otherwise. @@ -213,6 +216,9 @@ public Input? PrivateKeyPassword [Input("tenancyOcid")] public Input? TenancyOcid { get; set; } + [Input("testTimeMaintenanceRebootDue")] + public Input? TestTimeMaintenanceRebootDue { get; set; } + /// /// (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if /// auth is set to 'ApiKey', ignored otherwise. diff --git a/sdk/dotnet/StackMonitoring/GetDefinedMonitoringTemplates.cs b/sdk/dotnet/StackMonitoring/GetDefinedMonitoringTemplates.cs new file mode 100644 index 0000000000..e915466e4a --- /dev/null +++ b/sdk/dotnet/StackMonitoring/GetDefinedMonitoringTemplates.cs @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + public static class GetDefinedMonitoringTemplates + { + /// + /// This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// List Defined Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDefinedMonitoringTemplates = Oci.StackMonitoring.GetDefinedMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = definedMonitoringTemplateDisplayName, + /// ResourceTypes = definedMonitoringTemplateResourceTypes, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDefinedMonitoringTemplatesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", args ?? new GetDefinedMonitoringTemplatesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// List Defined Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDefinedMonitoringTemplates = Oci.StackMonitoring.GetDefinedMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = definedMonitoringTemplateDisplayName, + /// ResourceTypes = definedMonitoringTemplateResourceTypes, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDefinedMonitoringTemplatesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", args ?? new GetDefinedMonitoringTemplatesInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// List Defined Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDefinedMonitoringTemplates = Oci.StackMonitoring.GetDefinedMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = definedMonitoringTemplateDisplayName, + /// ResourceTypes = definedMonitoringTemplateResourceTypes, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDefinedMonitoringTemplatesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", args ?? new GetDefinedMonitoringTemplatesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDefinedMonitoringTemplatesArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// A filter to return monitoring template based on name. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + [Input("resourceTypes")] + private List? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public List ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new List()); + set => _resourceTypes = value; + } + + public GetDefinedMonitoringTemplatesArgs() + { + } + public static new GetDefinedMonitoringTemplatesArgs Empty => new GetDefinedMonitoringTemplatesArgs(); + } + + public sealed class GetDefinedMonitoringTemplatesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// A filter to return monitoring template based on name. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + [Input("resourceTypes")] + private InputList? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public InputList ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new InputList()); + set => _resourceTypes = value; + } + + public GetDefinedMonitoringTemplatesInvokeArgs() + { + } + public static new GetDefinedMonitoringTemplatesInvokeArgs Empty => new GetDefinedMonitoringTemplatesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesResult + { + public readonly string CompartmentId; + /// + /// The list of defined_monitoring_template_collection. + /// + public readonly ImmutableArray DefinedMonitoringTemplateCollections; + /// + /// The name of the definedMonitoringTemplate. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly ImmutableArray ResourceTypes; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesResult( + string compartmentId, + + ImmutableArray definedMonitoringTemplateCollections, + + string? displayName, + + ImmutableArray filters, + + string id, + + ImmutableArray resourceTypes) + { + CompartmentId = compartmentId; + DefinedMonitoringTemplateCollections = definedMonitoringTemplateCollections; + DisplayName = displayName; + Filters = filters; + Id = id; + ResourceTypes = resourceTypes; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/GetMetricExtension.cs b/sdk/dotnet/StackMonitoring/GetMetricExtension.cs index 603a5fd5c1..73e4456d8b 100644 --- a/sdk/dotnet/StackMonitoring/GetMetricExtension.cs +++ b/sdk/dotnet/StackMonitoring/GetMetricExtension.cs @@ -148,7 +148,7 @@ public sealed class GetMetricExtensionResult /// public readonly string DisplayName; /// - /// List of resource objects on which this metric extension is enabled. + /// List of resource details objects having resourceIds on which this metric extension is enabled. /// public readonly ImmutableArray EnabledOnResources; /// diff --git a/sdk/dotnet/StackMonitoring/GetMonitoredResourceType.cs b/sdk/dotnet/StackMonitoring/GetMonitoredResourceType.cs index 2ae1744971..82926bdd89 100644 --- a/sdk/dotnet/StackMonitoring/GetMonitoredResourceType.cs +++ b/sdk/dotnet/StackMonitoring/GetMonitoredResourceType.cs @@ -123,6 +123,10 @@ public GetMonitoredResourceTypeInvokeArgs() [OutputType] public sealed class GetMonitoredResourceTypeResult { + /// + /// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + /// + public readonly ImmutableDictionary AdditionalNamespaceMap; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. /// @@ -187,6 +191,8 @@ public sealed class GetMonitoredResourceTypeResult [OutputConstructor] private GetMonitoredResourceTypeResult( + ImmutableDictionary additionalNamespaceMap, + string compartmentId, ImmutableDictionary definedTags, @@ -219,6 +225,7 @@ private GetMonitoredResourceTypeResult( string timeUpdated) { + AdditionalNamespaceMap = additionalNamespaceMap; CompartmentId = compartmentId; DefinedTags = definedTags; Description = description; diff --git a/sdk/dotnet/StackMonitoring/GetMonitoringTemplate.cs b/sdk/dotnet/StackMonitoring/GetMonitoringTemplate.cs new file mode 100644 index 0000000000..cafc06c7a5 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/GetMonitoringTemplate.cs @@ -0,0 +1,275 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + public static class GetMonitoringTemplate + { + /// + /// This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Monitoring Template by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplate = Oci.StackMonitoring.GetMonitoringTemplate.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplateOciStackMonitoringMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetMonitoringTemplateArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", args ?? new GetMonitoringTemplateArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Monitoring Template by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplate = Oci.StackMonitoring.GetMonitoringTemplate.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplateOciStackMonitoringMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", args ?? new GetMonitoringTemplateInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Monitoring Template by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplate = Oci.StackMonitoring.GetMonitoringTemplate.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplateOciStackMonitoringMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", args ?? new GetMonitoringTemplateInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMonitoringTemplateArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public string MonitoringTemplateId { get; set; } = null!; + + public GetMonitoringTemplateArgs() + { + } + public static new GetMonitoringTemplateArgs Empty => new GetMonitoringTemplateArgs(); + } + + public sealed class GetMonitoringTemplateInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public Input MonitoringTemplateId { get; set; } = null!; + + public GetMonitoringTemplateInvokeArgs() + { + } + public static new GetMonitoringTemplateInvokeArgs Empty => new GetMonitoringTemplateInvokeArgs(); + } + + + [OutputType] + public sealed class GetMonitoringTemplateResult + { + /// + /// The OCID of the compartment containing the monitoringTemplate. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + /// + public readonly ImmutableArray Destinations; + /// + /// A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of the resourceInstance/resourceType/resourceGroup + /// + public readonly string Id; + /// + /// Whether the alarm is enabled or disabled. Default value is enabled. + /// + public readonly bool IsAlarmsEnabled; + /// + /// Whether the alarm notification is enabled or disabled, it will be Enabled by default. + /// + public readonly bool IsSplitNotificationEnabled; + /// + /// List of members of this monitoring template. + /// + public readonly ImmutableArray Members; + /// + /// The format to use for alarm notifications. + /// + public readonly string MessageFormat; + public readonly string MonitoringTemplateId; + /// + /// The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + /// + public readonly string RepeatNotificationDuration; + /// + /// The current lifecycle state of the monitoring template. + /// + public readonly string State; + /// + /// The current status of the monitoring template i.e. whether it is Applied or NotApplied. + /// + public readonly string Status; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + /// + public readonly string TenantId; + /// + /// The date and time the monitoringTemplate was created. Format defined by RFC3339. + /// + public readonly string TimeCreated; + /// + /// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + /// + public readonly string TimeUpdated; + /// + /// Total Alarm Conditions + /// + public readonly double TotalAlarmConditions; + /// + /// Total Applied Alarm Conditions + /// + public readonly double TotalAppliedAlarmConditions; + + [OutputConstructor] + private GetMonitoringTemplateResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + ImmutableArray destinations, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + bool isAlarmsEnabled, + + bool isSplitNotificationEnabled, + + ImmutableArray members, + + string messageFormat, + + string monitoringTemplateId, + + string repeatNotificationDuration, + + string state, + + string status, + + ImmutableDictionary systemTags, + + string tenantId, + + string timeCreated, + + string timeUpdated, + + double totalAlarmConditions, + + double totalAppliedAlarmConditions) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + Destinations = destinations; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + IsAlarmsEnabled = isAlarmsEnabled; + IsSplitNotificationEnabled = isSplitNotificationEnabled; + Members = members; + MessageFormat = messageFormat; + MonitoringTemplateId = monitoringTemplateId; + RepeatNotificationDuration = repeatNotificationDuration; + State = state; + Status = status; + SystemTags = systemTags; + TenantId = tenantId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + TotalAlarmConditions = totalAlarmConditions; + TotalAppliedAlarmConditions = totalAppliedAlarmConditions; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmCondition.cs b/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmCondition.cs new file mode 100644 index 0000000000..48e770a470 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmCondition.cs @@ -0,0 +1,255 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + public static class GetMonitoringTemplateAlarmCondition + { + /// + /// This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Alarm Condition by identifier. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmCondition = Oci.StackMonitoring.GetMonitoringTemplateAlarmCondition.Invoke(new() + /// { + /// AlarmConditionId = testAlarmCondition.Id, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetMonitoringTemplateAlarmConditionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", args ?? new GetMonitoringTemplateAlarmConditionArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Alarm Condition by identifier. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmCondition = Oci.StackMonitoring.GetMonitoringTemplateAlarmCondition.Invoke(new() + /// { + /// AlarmConditionId = testAlarmCondition.Id, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateAlarmConditionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", args ?? new GetMonitoringTemplateAlarmConditionInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Gets a Alarm Condition by identifier. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmCondition = Oci.StackMonitoring.GetMonitoringTemplateAlarmCondition.Invoke(new() + /// { + /// AlarmConditionId = testAlarmCondition.Id, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateAlarmConditionInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", args ?? new GetMonitoringTemplateAlarmConditionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMonitoringTemplateAlarmConditionArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + /// + [Input("alarmConditionId", required: true)] + public string AlarmConditionId { get; set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public string MonitoringTemplateId { get; set; } = null!; + + public GetMonitoringTemplateAlarmConditionArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionArgs Empty => new GetMonitoringTemplateAlarmConditionArgs(); + } + + public sealed class GetMonitoringTemplateAlarmConditionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + /// + [Input("alarmConditionId", required: true)] + public Input AlarmConditionId { get; set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public Input MonitoringTemplateId { get; set; } = null!; + + public GetMonitoringTemplateAlarmConditionInvokeArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionInvokeArgs Empty => new GetMonitoringTemplateAlarmConditionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionResult + { + public readonly string AlarmConditionId; + /// + /// The OCID of the composite resource type like EBS/PEOPLE_SOFT. + /// + public readonly string CompositeType; + /// + /// Type of defined monitoring template. + /// + public readonly string ConditionType; + /// + /// Monitoring template conditions + /// + public readonly ImmutableArray Conditions; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + /// + public readonly string Id; + /// + /// The metric name. + /// + public readonly string MetricName; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + public readonly string MonitoringTemplateId; + /// + /// The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + public readonly string Namespace; + /// + /// The resource type OCID. + /// + public readonly string ResourceType; + /// + /// The current lifecycle state of the monitoring template + /// + public readonly string State; + /// + /// The current status of the monitoring template i.e. whether it is Published or Unpublished + /// + public readonly string Status; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// The date and time the alarm condition was created. Format defined by RFC3339. + /// + public readonly string TimeCreated; + /// + /// The date and time the alarm condition was updated. Format defined by RFC3339. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionResult( + string alarmConditionId, + + string compositeType, + + string conditionType, + + ImmutableArray conditions, + + ImmutableDictionary definedTags, + + ImmutableDictionary freeformTags, + + string id, + + string metricName, + + string monitoringTemplateId, + + string @namespace, + + string resourceType, + + string state, + + string status, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + AlarmConditionId = alarmConditionId; + CompositeType = compositeType; + ConditionType = conditionType; + Conditions = conditions; + DefinedTags = definedTags; + FreeformTags = freeformTags; + Id = id; + MetricName = metricName; + MonitoringTemplateId = monitoringTemplateId; + Namespace = @namespace; + ResourceType = resourceType; + State = state; + Status = status; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmConditions.cs b/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmConditions.cs new file mode 100644 index 0000000000..a04a9adc35 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/GetMonitoringTemplateAlarmConditions.cs @@ -0,0 +1,301 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + public static class GetMonitoringTemplateAlarmConditions + { + /// + /// This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Alarm Conditions. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmConditions = Oci.StackMonitoring.GetMonitoringTemplateAlarmConditions.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// MetricNames = testMetric.Name, + /// ResourceTypes = monitoringTemplateAlarmConditionResourceTypes, + /// State = monitoringTemplateAlarmConditionState, + /// Status = monitoringTemplateAlarmConditionStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetMonitoringTemplateAlarmConditionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", args ?? new GetMonitoringTemplateAlarmConditionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Alarm Conditions. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmConditions = Oci.StackMonitoring.GetMonitoringTemplateAlarmConditions.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// MetricNames = testMetric.Name, + /// ResourceTypes = monitoringTemplateAlarmConditionResourceTypes, + /// State = monitoringTemplateAlarmConditionState, + /// Status = monitoringTemplateAlarmConditionStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateAlarmConditionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", args ?? new GetMonitoringTemplateAlarmConditionsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Alarm Conditions. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmConditions = Oci.StackMonitoring.GetMonitoringTemplateAlarmConditions.Invoke(new() + /// { + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// MetricNames = testMetric.Name, + /// ResourceTypes = monitoringTemplateAlarmConditionResourceTypes, + /// State = monitoringTemplateAlarmConditionState, + /// Status = monitoringTemplateAlarmConditionStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplateAlarmConditionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", args ?? new GetMonitoringTemplateAlarmConditionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMonitoringTemplateAlarmConditionsArgs : global::Pulumi.InvokeArgs + { + [Input("alarmConditionId", required: true)] + public string AlarmConditionId { get; set; } = null!; + + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + [Input("metricNames")] + private List? _metricNames; + + /// + /// metricName filter. + /// + public List MetricNames + { + get => _metricNames ?? (_metricNames = new List()); + set => _metricNames = value; + } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public string MonitoringTemplateId { get; set; } = null!; + + [Input("resourceTypes")] + private List? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public List ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new List()); + set => _resourceTypes = value; + } + + /// + /// A filter to return alarm condition based on Lifecycle State. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// A filter to return alarm condition based on input status. + /// + [Input("status")] + public string? Status { get; set; } + + public GetMonitoringTemplateAlarmConditionsArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionsArgs Empty => new GetMonitoringTemplateAlarmConditionsArgs(); + } + + public sealed class GetMonitoringTemplateAlarmConditionsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("alarmConditionId", required: true)] + public Input AlarmConditionId { get; set; } = null!; + + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + [Input("metricNames")] + private InputList? _metricNames; + + /// + /// metricName filter. + /// + public InputList MetricNames + { + get => _metricNames ?? (_metricNames = new InputList()); + set => _metricNames = value; + } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public Input MonitoringTemplateId { get; set; } = null!; + + [Input("resourceTypes")] + private InputList? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public InputList ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new InputList()); + set => _resourceTypes = value; + } + + /// + /// A filter to return alarm condition based on Lifecycle State. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// A filter to return alarm condition based on input status. + /// + [Input("status")] + public Input? Status { get; set; } + + public GetMonitoringTemplateAlarmConditionsInvokeArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionsInvokeArgs Empty => new GetMonitoringTemplateAlarmConditionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionsResult + { + /// + /// The list of alarm_condition_collection. + /// + public readonly ImmutableArray AlarmConditionCollections; + public readonly string AlarmConditionId; + public readonly string? CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The metric name. + /// + public readonly ImmutableArray MetricNames; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + public readonly string MonitoringTemplateId; + public readonly ImmutableArray ResourceTypes; + /// + /// The current lifecycle state of the monitoring template + /// + public readonly string? State; + /// + /// The current status of the monitoring template i.e. whether it is Published or Unpublished + /// + public readonly string? Status; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionsResult( + ImmutableArray alarmConditionCollections, + + string alarmConditionId, + + string? compartmentId, + + ImmutableArray filters, + + string id, + + ImmutableArray metricNames, + + string monitoringTemplateId, + + ImmutableArray resourceTypes, + + string? state, + + string? status) + { + AlarmConditionCollections = alarmConditionCollections; + AlarmConditionId = alarmConditionId; + CompartmentId = compartmentId; + Filters = filters; + Id = id; + MetricNames = metricNames; + MonitoringTemplateId = monitoringTemplateId; + ResourceTypes = resourceTypes; + State = state; + Status = status; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/GetMonitoringTemplates.cs b/sdk/dotnet/StackMonitoring/GetMonitoringTemplates.cs new file mode 100644 index 0000000000..7d23710a8f --- /dev/null +++ b/sdk/dotnet/StackMonitoring/GetMonitoringTemplates.cs @@ -0,0 +1,350 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + public static class GetMonitoringTemplates + { + /// + /// This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplates = Oci.StackMonitoring.GetMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = monitoringTemplateDisplayName, + /// MetricNames = testMetric.Name, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// Namespaces = monitoringTemplateNamespace, + /// ResourceTypes = monitoringTemplateResourceTypes, + /// State = monitoringTemplateState, + /// Status = monitoringTemplateStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetMonitoringTemplatesArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", args ?? new GetMonitoringTemplatesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplates = Oci.StackMonitoring.GetMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = monitoringTemplateDisplayName, + /// MetricNames = testMetric.Name, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// Namespaces = monitoringTemplateNamespace, + /// ResourceTypes = monitoringTemplateResourceTypes, + /// State = monitoringTemplateState, + /// Status = monitoringTemplateStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplatesInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", args ?? new GetMonitoringTemplatesInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Returns a list of Monitoring Templates. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplates = Oci.StackMonitoring.GetMonitoringTemplates.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = monitoringTemplateDisplayName, + /// MetricNames = testMetric.Name, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// Namespaces = monitoringTemplateNamespace, + /// ResourceTypes = monitoringTemplateResourceTypes, + /// State = monitoringTemplateState, + /// Status = monitoringTemplateStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMonitoringTemplatesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", args ?? new GetMonitoringTemplatesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMonitoringTemplatesArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which data is listed. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// A filter to return monitoring template based on name. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + [Input("metricNames")] + private List? _metricNames; + + /// + /// metricName filter. + /// + public List MetricNames + { + get => _metricNames ?? (_metricNames = new List()); + set => _metricNames = value; + } + + /// + /// A filter to return monitoring template based on input monitoringTemplateId + /// + [Input("monitoringTemplateId")] + public string? MonitoringTemplateId { get; set; } + + [Input("namespaces")] + private List? _namespaces; + + /// + /// namespace filter. + /// + public List Namespaces + { + get => _namespaces ?? (_namespaces = new List()); + set => _namespaces = value; + } + + [Input("resourceTypes")] + private List? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public List ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new List()); + set => _resourceTypes = value; + } + + /// + /// A filter to return monitoring template based on Lifecycle State + /// + [Input("state")] + public string? State { get; set; } + + /// + /// A filter to return monitoring template based on input status + /// + [Input("status")] + public string? Status { get; set; } + + public GetMonitoringTemplatesArgs() + { + } + public static new GetMonitoringTemplatesArgs Empty => new GetMonitoringTemplatesArgs(); + } + + public sealed class GetMonitoringTemplatesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which data is listed. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// A filter to return monitoring template based on name. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + [Input("metricNames")] + private InputList? _metricNames; + + /// + /// metricName filter. + /// + public InputList MetricNames + { + get => _metricNames ?? (_metricNames = new InputList()); + set => _metricNames = value; + } + + /// + /// A filter to return monitoring template based on input monitoringTemplateId + /// + [Input("monitoringTemplateId")] + public Input? MonitoringTemplateId { get; set; } + + [Input("namespaces")] + private InputList? _namespaces; + + /// + /// namespace filter. + /// + public InputList Namespaces + { + get => _namespaces ?? (_namespaces = new InputList()); + set => _namespaces = value; + } + + [Input("resourceTypes")] + private InputList? _resourceTypes; + + /// + /// Multiple resource types filter. + /// + public InputList ResourceTypes + { + get => _resourceTypes ?? (_resourceTypes = new InputList()); + set => _resourceTypes = value; + } + + /// + /// A filter to return monitoring template based on Lifecycle State + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// A filter to return monitoring template based on input status + /// + [Input("status")] + public Input? Status { get; set; } + + public GetMonitoringTemplatesInvokeArgs() + { + } + public static new GetMonitoringTemplatesInvokeArgs Empty => new GetMonitoringTemplatesInvokeArgs(); + } + + + [OutputType] + public sealed class GetMonitoringTemplatesResult + { + /// + /// The OCID of the compartment containing the monitoringTemplate. + /// + public readonly string? CompartmentId; + /// + /// A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly ImmutableArray MetricNames; + /// + /// The list of monitoring_template_collection. + /// + public readonly ImmutableArray MonitoringTemplateCollections; + public readonly string? MonitoringTemplateId; + public readonly ImmutableArray Namespaces; + public readonly ImmutableArray ResourceTypes; + /// + /// The current lifecycle state of the monitoring template. + /// + public readonly string? State; + /// + /// The current status of the monitoring template i.e. whether it is Applied or NotApplied. + /// + public readonly string? Status; + + [OutputConstructor] + private GetMonitoringTemplatesResult( + string? compartmentId, + + string? displayName, + + ImmutableArray filters, + + string id, + + ImmutableArray metricNames, + + ImmutableArray monitoringTemplateCollections, + + string? monitoringTemplateId, + + ImmutableArray namespaces, + + ImmutableArray resourceTypes, + + string? state, + + string? status) + { + CompartmentId = compartmentId; + DisplayName = displayName; + Filters = filters; + Id = id; + MetricNames = metricNames; + MonitoringTemplateCollections = monitoringTemplateCollections; + MonitoringTemplateId = monitoringTemplateId; + Namespaces = namespaces; + ResourceTypes = resourceTypes; + State = state; + Status = status; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilter.cs b/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilter.cs new file mode 100644 index 0000000000..ad5739742f --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilter.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.StackMonitoring.Inputs +{ + + public sealed class GetDefinedMonitoringTemplatesFilterArgs : 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 GetDefinedMonitoringTemplatesFilterArgs() + { + } + public static new GetDefinedMonitoringTemplatesFilterArgs Empty => new GetDefinedMonitoringTemplatesFilterArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilterArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilterArgs.cs new file mode 100644 index 0000000000..f2ed2c5a24 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetDefinedMonitoringTemplatesFilterArgs.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.StackMonitoring.Inputs +{ + + public sealed class GetDefinedMonitoringTemplatesFilterInputArgs : 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 GetDefinedMonitoringTemplatesFilterInputArgs() + { + } + public static new GetDefinedMonitoringTemplatesFilterInputArgs Empty => new GetDefinedMonitoringTemplatesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilter.cs b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilter.cs new file mode 100644 index 0000000000..12103de12e --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilter.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.StackMonitoring.Inputs +{ + + public sealed class GetMonitoringTemplateAlarmConditionsFilterArgs : 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 GetMonitoringTemplateAlarmConditionsFilterArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionsFilterArgs Empty => new GetMonitoringTemplateAlarmConditionsFilterArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.cs new file mode 100644 index 0000000000..cb88406f3a --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.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.StackMonitoring.Inputs +{ + + public sealed class GetMonitoringTemplateAlarmConditionsFilterInputArgs : 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 GetMonitoringTemplateAlarmConditionsFilterInputArgs() + { + } + public static new GetMonitoringTemplateAlarmConditionsFilterInputArgs Empty => new GetMonitoringTemplateAlarmConditionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilter.cs b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilter.cs new file mode 100644 index 0000000000..a69c31cc11 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilter.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.StackMonitoring.Inputs +{ + + public sealed class GetMonitoringTemplatesFilterArgs : 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 GetMonitoringTemplatesFilterArgs() + { + } + public static new GetMonitoringTemplatesFilterArgs Empty => new GetMonitoringTemplatesFilterArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilterArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilterArgs.cs new file mode 100644 index 0000000000..af002a5531 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/GetMonitoringTemplatesFilterArgs.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.StackMonitoring.Inputs +{ + + public sealed class GetMonitoringTemplatesFilterInputArgs : 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 GetMonitoringTemplatesFilterInputArgs() + { + } + public static new GetMonitoringTemplatesFilterInputArgs Empty => new GetMonitoringTemplatesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataArgs.cs index 533fa2e3ef..39f8260077 100644 --- a/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataArgs.cs +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataArgs.cs @@ -91,6 +91,18 @@ public InputMap ValidPropertyValues set => _validPropertyValues = value; } + [Input("validSubResourceTypes")] + private InputList? _validSubResourceTypes; + + /// + /// (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + /// + public InputList ValidSubResourceTypes + { + get => _validSubResourceTypes ?? (_validSubResourceTypes = new InputList()); + set => _validSubResourceTypes = value; + } + public MonitoredResourceTypeMetadataArgs() { } diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataGetArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataGetArgs.cs index 358d8cd802..db4a63b7e0 100644 --- a/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataGetArgs.cs +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoredResourceTypeMetadataGetArgs.cs @@ -91,6 +91,18 @@ public InputMap ValidPropertyValues set => _validPropertyValues = value; } + [Input("validSubResourceTypes")] + private InputList? _validSubResourceTypes; + + /// + /// (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + /// + public InputList ValidSubResourceTypes + { + get => _validSubResourceTypes ?? (_validSubResourceTypes = new InputList()); + set => _validSubResourceTypes = value; + } + public MonitoredResourceTypeMetadataGetArgs() { } diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionArgs.cs new file mode 100644 index 0000000000..65dd40b6b0 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionArgs.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.StackMonitoring.Inputs +{ + + public sealed class MonitoringTemplateAlarmConditionConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + /// + /// (Updatable) Severity - Critical/Warning + /// + [Input("severity", required: true)] + public Input Severity { get; set; } = null!; + + /// + /// (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + [Input("shouldAppendNote")] + public Input? ShouldAppendNote { get; set; } + + /// + /// (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + [Input("shouldAppendUrl")] + public Input? ShouldAppendUrl { get; set; } + + /// + /// (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + [Input("triggerDelay")] + public Input? TriggerDelay { get; set; } + + public MonitoringTemplateAlarmConditionConditionArgs() + { + } + public static new MonitoringTemplateAlarmConditionConditionArgs Empty => new MonitoringTemplateAlarmConditionConditionArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionGetArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionGetArgs.cs new file mode 100644 index 0000000000..e483919cac --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateAlarmConditionConditionGetArgs.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.StackMonitoring.Inputs +{ + + public sealed class MonitoringTemplateAlarmConditionConditionGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + /// + /// (Updatable) Severity - Critical/Warning + /// + [Input("severity", required: true)] + public Input Severity { get; set; } = null!; + + /// + /// (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + [Input("shouldAppendNote")] + public Input? ShouldAppendNote { get; set; } + + /// + /// (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + [Input("shouldAppendUrl")] + public Input? ShouldAppendUrl { get; set; } + + /// + /// (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + [Input("triggerDelay")] + public Input? TriggerDelay { get; set; } + + public MonitoringTemplateAlarmConditionConditionGetArgs() + { + } + public static new MonitoringTemplateAlarmConditionConditionGetArgs Empty => new MonitoringTemplateAlarmConditionConditionGetArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberArgs.cs new file mode 100644 index 0000000000..29b3d999ef --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberArgs.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.StackMonitoring.Inputs +{ + + public sealed class MonitoringTemplateMemberArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + /// + [Input("compositeType")] + public Input? CompositeType { get; set; } + + /// + /// (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public MonitoringTemplateMemberArgs() + { + } + public static new MonitoringTemplateMemberArgs Empty => new MonitoringTemplateMemberArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberGetArgs.cs b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberGetArgs.cs new file mode 100644 index 0000000000..3a227e5b1e --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Inputs/MonitoringTemplateMemberGetArgs.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.StackMonitoring.Inputs +{ + + public sealed class MonitoringTemplateMemberGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + /// + [Input("compositeType")] + public Input? CompositeType { get; set; } + + /// + /// (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public MonitoringTemplateMemberGetArgs() + { + } + public static new MonitoringTemplateMemberGetArgs Empty => new MonitoringTemplateMemberGetArgs(); + } +} diff --git a/sdk/dotnet/StackMonitoring/MetricExtension.cs b/sdk/dotnet/StackMonitoring/MetricExtension.cs index f3169d5a2b..5a86a2074b 100644 --- a/sdk/dotnet/StackMonitoring/MetricExtension.cs +++ b/sdk/dotnet/StackMonitoring/MetricExtension.cs @@ -140,7 +140,7 @@ public partial class MetricExtension : global::Pulumi.CustomResource public Output DisplayName { get; private set; } = null!; /// - /// List of resource objects on which this metric extension is enabled. + /// List of resource details objects having resourceIds on which this metric extension is enabled. /// [Output("enabledOnResources")] public Output> EnabledOnResources { get; private set; } = null!; @@ -385,7 +385,7 @@ public sealed class MetricExtensionState : global::Pulumi.ResourceArgs private InputList? _enabledOnResources; /// - /// List of resource objects on which this metric extension is enabled. + /// List of resource details objects having resourceIds on which this metric extension is enabled. /// public InputList EnabledOnResources { diff --git a/sdk/dotnet/StackMonitoring/MonitoredResourceType.cs b/sdk/dotnet/StackMonitoring/MonitoredResourceType.cs index 91c0ad4127..6c3caa9540 100644 --- a/sdk/dotnet/StackMonitoring/MonitoredResourceType.cs +++ b/sdk/dotnet/StackMonitoring/MonitoredResourceType.cs @@ -53,6 +53,7 @@ namespace Pulumi.Oci.StackMonitoring /// ValidPropertiesForCreates = monitoredResourceTypeMetadataValidPropertiesForCreate, /// ValidPropertiesForUpdates = monitoredResourceTypeMetadataValidPropertiesForUpdate, /// ValidPropertyValues = monitoredResourceTypeMetadataValidPropertyValues, + /// ValidSubResourceTypes = monitoredResourceTypeMetadataValidSubResourceTypes, /// }, /// MetricNamespace = monitoredResourceTypeMetricNamespace, /// ResourceCategory = monitoredResourceTypeResourceCategory, @@ -73,6 +74,12 @@ namespace Pulumi.Oci.StackMonitoring [OciResourceType("oci:StackMonitoring/monitoredResourceType:MonitoredResourceType")] public partial class MonitoredResourceType : global::Pulumi.CustomResource { + /// + /// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + /// + [Output("additionalNamespaceMap")] + public Output> AdditionalNamespaceMap { get; private set; } = null!; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. /// @@ -291,6 +298,18 @@ public MonitoredResourceTypeArgs() public sealed class MonitoredResourceTypeState : global::Pulumi.ResourceArgs { + [Input("additionalNamespaceMap")] + private InputMap? _additionalNamespaceMap; + + /// + /// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + /// + public InputMap AdditionalNamespaceMap + { + get => _additionalNamespaceMap ?? (_additionalNamespaceMap = new InputMap()); + set => _additionalNamespaceMap = value; + } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. /// diff --git a/sdk/dotnet/StackMonitoring/MonitoringTemplate.cs b/sdk/dotnet/StackMonitoring/MonitoringTemplate.cs new file mode 100644 index 0000000000..00147a12d7 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/MonitoringTemplate.cs @@ -0,0 +1,489 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + /// + /// This resource provides the Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Creates a new monitoring template for a given compartment. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplate = new Oci.StackMonitoring.MonitoringTemplate("test_monitoring_template", new() + /// { + /// CompartmentId = compartmentId, + /// Destinations = monitoringTemplateDestinations, + /// DisplayName = monitoringTemplateDisplayName, + /// Members = new[] + /// { + /// new Oci.StackMonitoring.Inputs.MonitoringTemplateMemberArgs + /// { + /// Id = monitoringTemplateMembersId, + /// Type = monitoringTemplateMembersType, + /// CompositeType = monitoringTemplateMembersCompositeType, + /// }, + /// }, + /// DefinedTags = + /// { + /// { "foo-namespace.bar-key", "value" }, + /// }, + /// Description = monitoringTemplateDescription, + /// FreeformTags = + /// { + /// { "bar-key", "value" }, + /// }, + /// IsAlarmsEnabled = monitoringTemplateIsAlarmsEnabled, + /// IsSplitNotificationEnabled = monitoringTemplateIsSplitNotificationEnabled, + /// MessageFormat = monitoringTemplateMessageFormat, + /// RepeatNotificationDuration = monitoringTemplateRepeatNotificationDuration, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// MonitoringTemplates can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "id" + /// ``` + /// + [OciResourceType("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate")] + public partial class MonitoringTemplate : global::Pulumi.CustomResource + { + /// + /// The OCID of the compartment containing the monitoringTemplate. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + /// + [Output("destinations")] + public Output> Destinations { get; private set; } = null!; + + /// + /// (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + /// + [Output("isAlarmsEnabled")] + public Output IsAlarmsEnabled { get; private set; } = null!; + + /// + /// (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + /// + [Output("isSplitNotificationEnabled")] + public Output IsSplitNotificationEnabled { get; private set; } = null!; + + /// + /// (Updatable) List of members of this monitoring template + /// + [Output("members")] + public Output> Members { get; private set; } = null!; + + /// + /// (Updatable) The format to use for alarm notifications. + /// + [Output("messageFormat")] + public Output MessageFormat { get; private set; } = null!; + + /// + /// (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + /// + /// + /// ** IMPORTANT ** + /// 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("repeatNotificationDuration")] + public Output RepeatNotificationDuration { get; private set; } = null!; + + /// + /// The current lifecycle state of the monitoring template. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The current status of the monitoring template i.e. whether it is Applied or NotApplied. + /// + [Output("status")] + public Output Status { 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!; + + /// + /// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The date and time the monitoringTemplate was created. Format defined by RFC3339. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + /// + /// Total Alarm Conditions + /// + [Output("totalAlarmConditions")] + public Output TotalAlarmConditions { get; private set; } = null!; + + /// + /// Total Applied Alarm Conditions + /// + [Output("totalAppliedAlarmConditions")] + public Output TotalAppliedAlarmConditions { get; private set; } = null!; + + + /// + /// Create a MonitoringTemplate 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 MonitoringTemplate(string name, MonitoringTemplateArgs args, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", name, args ?? new MonitoringTemplateArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringTemplate(string name, Input id, MonitoringTemplateState? state = null, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", 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 MonitoringTemplate 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 MonitoringTemplate Get(string name, Input id, MonitoringTemplateState? state = null, CustomResourceOptions? options = null) + { + return new MonitoringTemplate(name, id, state, options); + } + } + + public sealed class MonitoringTemplateArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment containing the monitoringTemplate. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("destinations", required: true)] + private InputList? _destinations; + + /// + /// (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + /// + public InputList Destinations + { + get => _destinations ?? (_destinations = new InputList()); + set => _destinations = value; + } + + /// + /// (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + /// + [Input("isAlarmsEnabled")] + public Input? IsAlarmsEnabled { get; set; } + + /// + /// (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + /// + [Input("isSplitNotificationEnabled")] + public Input? IsSplitNotificationEnabled { get; set; } + + [Input("members", required: true)] + private InputList? _members; + + /// + /// (Updatable) List of members of this monitoring template + /// + public InputList Members + { + get => _members ?? (_members = new InputList()); + set => _members = value; + } + + /// + /// (Updatable) The format to use for alarm notifications. + /// + [Input("messageFormat")] + public Input? MessageFormat { get; set; } + + /// + /// (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + /// + /// + /// ** IMPORTANT ** + /// 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("repeatNotificationDuration")] + public Input? RepeatNotificationDuration { get; set; } + + public MonitoringTemplateArgs() + { + } + public static new MonitoringTemplateArgs Empty => new MonitoringTemplateArgs(); + } + + public sealed class MonitoringTemplateState : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment containing the monitoringTemplate. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("destinations")] + private InputList? _destinations; + + /// + /// (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + /// + public InputList Destinations + { + get => _destinations ?? (_destinations = new InputList()); + set => _destinations = value; + } + + /// + /// (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + /// + [Input("isAlarmsEnabled")] + public Input? IsAlarmsEnabled { get; set; } + + /// + /// (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + /// + [Input("isSplitNotificationEnabled")] + public Input? IsSplitNotificationEnabled { get; set; } + + [Input("members")] + private InputList? _members; + + /// + /// (Updatable) List of members of this monitoring template + /// + public InputList Members + { + get => _members ?? (_members = new InputList()); + set => _members = value; + } + + /// + /// (Updatable) The format to use for alarm notifications. + /// + [Input("messageFormat")] + public Input? MessageFormat { get; set; } + + /// + /// (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + /// + /// + /// ** IMPORTANT ** + /// 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("repeatNotificationDuration")] + public Input? RepeatNotificationDuration { get; set; } + + /// + /// The current lifecycle state of the monitoring template. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The current status of the monitoring template i.e. whether it is Applied or NotApplied. + /// + [Input("status")] + public Input? Status { 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; + } + + /// + /// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// The date and time the monitoringTemplate was created. Format defined by RFC3339. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + /// + /// Total Alarm Conditions + /// + [Input("totalAlarmConditions")] + public Input? TotalAlarmConditions { get; set; } + + /// + /// Total Applied Alarm Conditions + /// + [Input("totalAppliedAlarmConditions")] + public Input? TotalAppliedAlarmConditions { get; set; } + + public MonitoringTemplateState() + { + } + public static new MonitoringTemplateState Empty => new MonitoringTemplateState(); + } +} diff --git a/sdk/dotnet/StackMonitoring/MonitoringTemplateAlarmCondition.cs b/sdk/dotnet/StackMonitoring/MonitoringTemplateAlarmCondition.cs new file mode 100644 index 0000000000..91269d6f5d --- /dev/null +++ b/sdk/dotnet/StackMonitoring/MonitoringTemplateAlarmCondition.cs @@ -0,0 +1,406 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + /// + /// This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Create a new alarm condition in same monitoringTemplate compartment. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateAlarmCondition = new Oci.StackMonitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition", new() + /// { + /// ConditionType = monitoringTemplateAlarmConditionConditionType, + /// Conditions = new[] + /// { + /// new Oci.StackMonitoring.Inputs.MonitoringTemplateAlarmConditionConditionArgs + /// { + /// Query = monitoringTemplateAlarmConditionConditionsQuery, + /// Severity = monitoringTemplateAlarmConditionConditionsSeverity, + /// Body = monitoringTemplateAlarmConditionConditionsBody, + /// ShouldAppendNote = monitoringTemplateAlarmConditionConditionsShouldAppendNote, + /// ShouldAppendUrl = monitoringTemplateAlarmConditionConditionsShouldAppendUrl, + /// TriggerDelay = monitoringTemplateAlarmConditionConditionsTriggerDelay, + /// }, + /// }, + /// MetricName = testMetric.Name, + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// Namespace = monitoringTemplateAlarmConditionNamespace, + /// ResourceType = monitoringTemplateAlarmConditionResourceType, + /// CompositeType = monitoringTemplateAlarmConditionCompositeType, + /// DefinedTags = + /// { + /// { "foo-namespace.bar-key", "value" }, + /// }, + /// FreeformTags = + /// { + /// { "bar-key", "value" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" + /// ``` + /// + [OciResourceType("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition")] + public partial class MonitoringTemplateAlarmCondition : global::Pulumi.CustomResource + { + /// + /// (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + /// + [Output("compositeType")] + public Output CompositeType { get; private set; } = null!; + + /// + /// (Updatable) Type of defined monitoring template. + /// + [Output("conditionType")] + public Output ConditionType { get; private set; } = null!; + + /// + /// (Updatable) Monitoring template conditions. + /// + [Output("conditions")] + public Output> Conditions { 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) 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) The metric name. + /// + [Output("metricName")] + public Output MetricName { get; private set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Output("monitoringTemplateId")] + public Output MonitoringTemplateId { get; private set; } = null!; + + /// + /// (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + [Output("namespace")] + public Output Namespace { get; private set; } = null!; + + /// + /// (Updatable) The resource group 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 + /// + [Output("resourceType")] + public Output ResourceType { get; private set; } = null!; + + /// + /// The current lifecycle state of the monitoring template + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The current status of the monitoring template i.e. whether it is Published or Unpublished + /// + [Output("status")] + public Output Status { 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 date and time the alarm condition was created. Format defined by RFC3339. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The date and time the alarm condition was updated. Format defined by RFC3339. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a MonitoringTemplateAlarmCondition 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 MonitoringTemplateAlarmCondition(string name, MonitoringTemplateAlarmConditionArgs args, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", name, args ?? new MonitoringTemplateAlarmConditionArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringTemplateAlarmCondition(string name, Input id, MonitoringTemplateAlarmConditionState? state = null, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", 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 MonitoringTemplateAlarmCondition 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 MonitoringTemplateAlarmCondition Get(string name, Input id, MonitoringTemplateAlarmConditionState? state = null, CustomResourceOptions? options = null) + { + return new MonitoringTemplateAlarmCondition(name, id, state, options); + } + } + + public sealed class MonitoringTemplateAlarmConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + /// + [Input("compositeType")] + public Input? CompositeType { get; set; } + + /// + /// (Updatable) Type of defined monitoring template. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + [Input("conditions", required: true)] + private InputList? _conditions; + + /// + /// (Updatable) Monitoring template conditions. + /// + public InputList Conditions + { + get => _conditions ?? (_conditions = new InputList()); + set => _conditions = value; + } + + [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; + } + + [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) The metric name. + /// + [Input("metricName", required: true)] + public Input MetricName { get; set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public Input MonitoringTemplateId { get; set; } = null!; + + /// + /// (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + [Input("namespace", required: true)] + public Input Namespace { get; set; } = null!; + + /// + /// (Updatable) The resource group 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("resourceType", required: true)] + public Input ResourceType { get; set; } = null!; + + public MonitoringTemplateAlarmConditionArgs() + { + } + public static new MonitoringTemplateAlarmConditionArgs Empty => new MonitoringTemplateAlarmConditionArgs(); + } + + public sealed class MonitoringTemplateAlarmConditionState : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + /// + [Input("compositeType")] + public Input? CompositeType { get; set; } + + /// + /// (Updatable) Type of defined monitoring template. + /// + [Input("conditionType")] + public Input? ConditionType { get; set; } + + [Input("conditions")] + private InputList? _conditions; + + /// + /// (Updatable) Monitoring template conditions. + /// + public InputList Conditions + { + get => _conditions ?? (_conditions = new InputList()); + set => _conditions = value; + } + + [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; + } + + [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) The metric name. + /// + [Input("metricName")] + public Input? MetricName { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId")] + public Input? MonitoringTemplateId { get; set; } + + /// + /// (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + [Input("namespace")] + public Input? Namespace { get; set; } + + /// + /// (Updatable) The resource group 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("resourceType")] + public Input? ResourceType { get; set; } + + /// + /// The current lifecycle state of the monitoring template + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The current status of the monitoring template i.e. whether it is Published or Unpublished + /// + [Input("status")] + public Input? Status { 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 date and time the alarm condition was created. Format defined by RFC3339. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The date and time the alarm condition was updated. Format defined by RFC3339. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public MonitoringTemplateAlarmConditionState() + { + } + public static new MonitoringTemplateAlarmConditionState Empty => new MonitoringTemplateAlarmConditionState(); + } +} diff --git a/sdk/dotnet/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.cs b/sdk/dotnet/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.cs new file mode 100644 index 0000000000..948dc98cb0 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring +{ + /// + /// This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. + /// + /// Apply the Monitoring Template identified by the id + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new Oci.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management", new() + /// { + /// MonitoringTemplateId = testMonitoringTemplate.Id, + /// EnableMonitoringTemplateOnGivenResources = enableMonitoringTemplateOnGivenResources, + /// }); + /// + /// }); + /// ``` + /// + [OciResourceType("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement")] + public partial class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement : global::Pulumi.CustomResource + { + /// + /// (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("enableMonitoringTemplateOnGivenResources")] + public Output EnableMonitoringTemplateOnGivenResources { get; private set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Output("monitoringTemplateId")] + public Output MonitoringTemplateId { get; private set; } = null!; + + + /// + /// Create a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(string name, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs args, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", name, args ?? new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(string name, Input id, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement Get(string name, Input id, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState? state = null, CustomResourceOptions? options = null) + { + return new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(name, id, state, options); + } + } + + public sealed class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// (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("enableMonitoringTemplateOnGivenResources", required: true)] + public Input EnableMonitoringTemplateOnGivenResources { get; set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId", required: true)] + public Input MonitoringTemplateId { get; set; } = null!; + + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs() + { + } + public static new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs Empty => new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(); + } + + public sealed class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState : global::Pulumi.ResourceArgs + { + /// + /// (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("enableMonitoringTemplateOnGivenResources")] + public Input? EnableMonitoringTemplateOnGivenResources { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + [Input("monitoringTemplateId")] + public Input? MonitoringTemplateId { get; set; } + + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState() + { + } + public static new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState Empty => new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState(); + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult.cs new file mode 100644 index 0000000000..a0e5db4ed6 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult + { + /// + /// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + public readonly string Body; + /// + /// The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + public readonly string Query; + /// + /// Severity - Critical/Warning + /// + public readonly string Severity; + /// + /// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendNote; + /// + /// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendUrl; + /// + /// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + public readonly string TriggerDelay; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult( + string body, + + string query, + + string severity, + + bool shouldAppendNote, + + bool shouldAppendUrl, + + string triggerDelay) + { + Body = body; + Query = query; + Severity = severity; + ShouldAppendNote = shouldAppendNote; + ShouldAppendUrl = shouldAppendUrl; + TriggerDelay = triggerDelay; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult.cs new file mode 100644 index 0000000000..22b4ea89f8 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult + { + /// + /// Type of defined monitoring template. + /// + public readonly string ConditionType; + /// + /// Monitoring template conditions. + /// + public readonly ImmutableArray Conditions; + /// + /// The metric name. + /// + public readonly string MetricName; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult( + string conditionType, + + ImmutableArray conditions, + + string metricName) + { + ConditionType = conditionType; + Conditions = conditions; + MetricName = metricName; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult.cs new file mode 100644 index 0000000000..a4e7cc5704 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult + { + /// + /// Type of composite resource type OCID like EBS/PEOPLE_SOFT. + /// + public readonly string CompositeType; + /// + /// Defined Monitoring template alarm conditions + /// + public readonly ImmutableArray DefinedAlarmConditions; + /// + /// A filter to return monitoring template based on name. + /// + public readonly string DisplayName; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + /// + public readonly string Id; + /// + /// The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + public readonly string Namespace; + /// + /// The resource types OCID. + /// + public readonly string ResourceType; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// The date and time the monitoringTemplate was created. Format defined by RFC3339. + /// + public readonly string TimeCreated; + /// + /// The date and time the monitoringTemplate was updated. Format defined by RFC3339. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult( + string compositeType, + + ImmutableArray definedAlarmConditions, + + string displayName, + + string id, + + string @namespace, + + string resourceType, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompositeType = compositeType; + DefinedAlarmConditions = definedAlarmConditions; + DisplayName = displayName; + Id = id; + Namespace = @namespace; + ResourceType = resourceType; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult.cs new file mode 100644 index 0000000000..274948800c --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult + { + /// + /// List of defined Monitoring Template. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesFilterResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesFilterResult.cs new file mode 100644 index 0000000000..d8e4b54ab7 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetDefinedMonitoringTemplatesFilterResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetDefinedMonitoringTemplatesFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDefinedMonitoringTemplatesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMetricExtensionsMetricExtensionCollectionItemResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMetricExtensionsMetricExtensionCollectionItemResult.cs index ae5dde010d..5e98e40217 100644 --- a/sdk/dotnet/StackMonitoring/Outputs/GetMetricExtensionsMetricExtensionCollectionItemResult.cs +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMetricExtensionsMetricExtensionCollectionItemResult.cs @@ -38,7 +38,7 @@ public sealed class GetMetricExtensionsMetricExtensionCollectionItemResult /// public readonly string DisplayName; /// - /// List of resource objects on which this metric extension is enabled. + /// List of resource details objects having resourceIds on which this metric extension is enabled. /// public readonly ImmutableArray EnabledOnResources; /// diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypeMetadataResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypeMetadataResult.cs index e88e364b30..89da02ef17 100644 --- a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypeMetadataResult.cs +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypeMetadataResult.cs @@ -42,6 +42,10 @@ public sealed class GetMonitoredResourceTypeMetadataResult /// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` /// public readonly ImmutableDictionary ValidPropertyValues; + /// + /// List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + /// + public readonly ImmutableArray ValidSubResourceTypes; [OutputConstructor] private GetMonitoredResourceTypeMetadataResult( @@ -57,7 +61,9 @@ private GetMonitoredResourceTypeMetadataResult( ImmutableArray validPropertiesForUpdates, - ImmutableDictionary validPropertyValues) + ImmutableDictionary validPropertyValues, + + ImmutableArray validSubResourceTypes) { AgentProperties = agentProperties; Format = format; @@ -66,6 +72,7 @@ private GetMonitoredResourceTypeMetadataResult( ValidPropertiesForCreates = validPropertiesForCreates; ValidPropertiesForUpdates = validPropertiesForUpdates; ValidPropertyValues = validPropertyValues; + ValidSubResourceTypes = validSubResourceTypes; } } } diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult.cs index 27631c1d3e..3a46b4da88 100644 --- a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult.cs +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult.cs @@ -42,6 +42,10 @@ public sealed class GetMonitoredResourceTypesMonitoredResourceTypesCollectionIte /// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` /// public readonly ImmutableDictionary ValidPropertyValues; + /// + /// List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + /// + public readonly ImmutableArray ValidSubResourceTypes; [OutputConstructor] private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult( @@ -57,7 +61,9 @@ private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataRes ImmutableArray validPropertiesForUpdates, - ImmutableDictionary validPropertyValues) + ImmutableDictionary validPropertyValues, + + ImmutableArray validSubResourceTypes) { AgentProperties = agentProperties; Format = format; @@ -66,6 +72,7 @@ private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataRes ValidPropertiesForCreates = validPropertiesForCreates; ValidPropertiesForUpdates = validPropertiesForUpdates; ValidPropertyValues = validPropertyValues; + ValidSubResourceTypes = validSubResourceTypes; } } } diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult.cs index db35a04ee3..ee8e57b6f9 100644 --- a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult.cs +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.StackMonitoring.Outputs [OutputType] public sealed class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult { + /// + /// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + /// + public readonly ImmutableDictionary AdditionalNamespaceMap; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. /// @@ -76,6 +80,8 @@ public sealed class GetMonitoredResourceTypesMonitoredResourceTypesCollectionIte [OutputConstructor] private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult( + ImmutableDictionary additionalNamespaceMap, + string compartmentId, ImmutableDictionary definedTags, @@ -106,6 +112,7 @@ private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult( string timeUpdated) { + AdditionalNamespaceMap = additionalNamespaceMap; CompartmentId = compartmentId; DefinedTags = definedTags; Description = description; diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionConditionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionConditionResult.cs new file mode 100644 index 0000000000..8e4a3cab42 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionConditionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionConditionResult + { + /// + /// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + public readonly string Body; + /// + /// The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + public readonly string Query; + /// + /// Severity - Critical/Warning + /// + public readonly string Severity; + /// + /// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendNote; + /// + /// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendUrl; + /// + /// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + public readonly string TriggerDelay; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionConditionResult( + string body, + + string query, + + string severity, + + bool shouldAppendNote, + + bool shouldAppendUrl, + + string triggerDelay) + { + Body = body; + Query = query; + Severity = severity; + ShouldAppendNote = shouldAppendNote; + ShouldAppendUrl = shouldAppendUrl; + TriggerDelay = triggerDelay; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult.cs new file mode 100644 index 0000000000..6736d9286e --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult + { + /// + /// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + public readonly string Body; + /// + /// The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + public readonly string Query; + /// + /// Severity - Critical/Warning + /// + public readonly string Severity; + /// + /// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendNote; + /// + /// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool ShouldAppendUrl; + /// + /// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + public readonly string TriggerDelay; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult( + string body, + + string query, + + string severity, + + bool shouldAppendNote, + + bool shouldAppendUrl, + + string triggerDelay) + { + Body = body; + Query = query; + Severity = severity; + ShouldAppendNote = shouldAppendNote; + ShouldAppendUrl = shouldAppendUrl; + TriggerDelay = triggerDelay; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult.cs new file mode 100644 index 0000000000..45d4744d6f --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult + { + /// + /// The OCID of the composite resource type like EBS/PEOPLE_SOFT. + /// + public readonly string CompositeType; + /// + /// Type of defined monitoring template. + /// + public readonly string ConditionType; + /// + /// Monitoring template conditions + /// + public readonly ImmutableArray Conditions; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + /// + public readonly string Id; + /// + /// metricName filter. + /// + public readonly string MetricName; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + /// + public readonly string MonitoringTemplateId; + /// + /// The stack monitoring service or application emitting the metric that is evaluated by the alarm. + /// + public readonly string Namespace; + /// + /// The resource type OCID. + /// + public readonly string ResourceType; + /// + /// A filter to return alarm condition based on Lifecycle State. + /// + public readonly string State; + /// + /// A filter to return alarm condition based on input status. + /// + public readonly string Status; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// The date and time the alarm condition was created. Format defined by RFC3339. + /// + public readonly string TimeCreated; + /// + /// The date and time the alarm condition was updated. Format defined by RFC3339. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult( + string compositeType, + + string conditionType, + + ImmutableArray conditions, + + ImmutableDictionary definedTags, + + ImmutableDictionary freeformTags, + + string id, + + string metricName, + + string monitoringTemplateId, + + string @namespace, + + string resourceType, + + string state, + + string status, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompositeType = compositeType; + ConditionType = conditionType; + Conditions = conditions; + DefinedTags = definedTags; + FreeformTags = freeformTags; + Id = id; + MetricName = metricName; + MonitoringTemplateId = monitoringTemplateId; + Namespace = @namespace; + ResourceType = resourceType; + State = state; + Status = status; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult.cs new file mode 100644 index 0000000000..6f0fbb7002 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsFilterResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsFilterResult.cs new file mode 100644 index 0000000000..b8e4d92f30 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateAlarmConditionsFilterResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateAlarmConditionsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetMonitoringTemplateAlarmConditionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateMemberResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateMemberResult.cs new file mode 100644 index 0000000000..4d46c5bf34 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplateMemberResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplateMemberResult + { + /// + /// The OCID of the composite resource type like EBS or Peoplesoft. + /// + public readonly string CompositeType; + /// + /// The OCID of the resourceInstance/resourceType/resourceGroup + /// + public readonly string Id; + /// + /// Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + /// + public readonly string Type; + + [OutputConstructor] + private GetMonitoringTemplateMemberResult( + string compositeType, + + string id, + + string type) + { + CompositeType = compositeType; + Id = id; + Type = type; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesFilterResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesFilterResult.cs new file mode 100644 index 0000000000..3ac34b03b1 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesFilterResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplatesFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetMonitoringTemplatesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult.cs new file mode 100644 index 0000000000..788df1edd3 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult + { + /// + /// The OCID of the composite resource type like EBS or Peoplesoft. + /// + public readonly string CompositeType; + /// + /// The OCID of the resourceInstance/resourceType/resourceGroup + /// + public readonly string Id; + /// + /// Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + /// + public readonly string Type; + + [OutputConstructor] + private GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult( + string compositeType, + + string id, + + string type) + { + CompositeType = compositeType; + Id = id; + Type = type; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemResult.cs new file mode 100644 index 0000000000..83dfc6830c --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemResult.cs @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplatesMonitoringTemplateCollectionItemResult + { + /// + /// The ID of the compartment in which data is listed. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + /// + public readonly ImmutableArray Destinations; + /// + /// A filter to return monitoring template based on 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 OCID of the resourceInstance/resourceType/resourceGroup + /// + public readonly string Id; + /// + /// Whether the alarm is enabled or disabled. Default value is enabled. + /// + public readonly bool IsAlarmsEnabled; + /// + /// Whether the alarm notification is enabled or disabled, it will be Enabled by default. + /// + public readonly bool IsSplitNotificationEnabled; + /// + /// List of members of this monitoring template. + /// + public readonly ImmutableArray Members; + /// + /// The format to use for alarm notifications. + /// + public readonly string MessageFormat; + /// + /// The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + /// + public readonly string RepeatNotificationDuration; + /// + /// A filter to return monitoring template based on Lifecycle State + /// + public readonly string State; + /// + /// A filter to return monitoring template based on input status + /// + public readonly string Status; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + /// + public readonly string TenantId; + /// + /// The date and time the monitoringTemplate was created. Format defined by RFC3339. + /// + public readonly string TimeCreated; + /// + /// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + /// + public readonly string TimeUpdated; + /// + /// Total Alarm Conditions + /// + public readonly double TotalAlarmConditions; + /// + /// Total Applied Alarm Conditions + /// + public readonly double TotalAppliedAlarmConditions; + + [OutputConstructor] + private GetMonitoringTemplatesMonitoringTemplateCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + ImmutableArray destinations, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + bool isAlarmsEnabled, + + bool isSplitNotificationEnabled, + + ImmutableArray members, + + string messageFormat, + + string repeatNotificationDuration, + + string state, + + string status, + + ImmutableDictionary systemTags, + + string tenantId, + + string timeCreated, + + string timeUpdated, + + double totalAlarmConditions, + + double totalAppliedAlarmConditions) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + Destinations = destinations; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + IsAlarmsEnabled = isAlarmsEnabled; + IsSplitNotificationEnabled = isSplitNotificationEnabled; + Members = members; + MessageFormat = messageFormat; + RepeatNotificationDuration = repeatNotificationDuration; + State = state; + Status = status; + SystemTags = systemTags; + TenantId = tenantId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + TotalAlarmConditions = totalAlarmConditions; + TotalAppliedAlarmConditions = totalAppliedAlarmConditions; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionResult.cs b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionResult.cs new file mode 100644 index 0000000000..1907036225 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/GetMonitoringTemplatesMonitoringTemplateCollectionResult.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class GetMonitoringTemplatesMonitoringTemplateCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetMonitoringTemplatesMonitoringTemplateCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/MonitoredResourceTypeMetadata.cs b/sdk/dotnet/StackMonitoring/Outputs/MonitoredResourceTypeMetadata.cs index 24dc19d4f2..60571fd1fe 100644 --- a/sdk/dotnet/StackMonitoring/Outputs/MonitoredResourceTypeMetadata.cs +++ b/sdk/dotnet/StackMonitoring/Outputs/MonitoredResourceTypeMetadata.cs @@ -42,6 +42,10 @@ public sealed class MonitoredResourceTypeMetadata /// (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` /// public readonly ImmutableDictionary? ValidPropertyValues; + /// + /// (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + /// + public readonly ImmutableArray ValidSubResourceTypes; [OutputConstructor] private MonitoredResourceTypeMetadata( @@ -57,7 +61,9 @@ private MonitoredResourceTypeMetadata( ImmutableArray validPropertiesForUpdates, - ImmutableDictionary? validPropertyValues) + ImmutableDictionary? validPropertyValues, + + ImmutableArray validSubResourceTypes) { AgentProperties = agentProperties; Format = format; @@ -66,6 +72,7 @@ private MonitoredResourceTypeMetadata( ValidPropertiesForCreates = validPropertiesForCreates; ValidPropertiesForUpdates = validPropertiesForUpdates; ValidPropertyValues = validPropertyValues; + ValidSubResourceTypes = validSubResourceTypes; } } } diff --git a/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateAlarmConditionCondition.cs b/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateAlarmConditionCondition.cs new file mode 100644 index 0000000000..81ff8e5621 --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateAlarmConditionCondition.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class MonitoringTemplateAlarmConditionCondition + { + /// + /// (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + /// + public readonly string? Body; + /// + /// (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + /// + public readonly string Query; + /// + /// (Updatable) Severity - Critical/Warning + /// + public readonly string Severity; + /// + /// (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool? ShouldAppendNote; + /// + /// (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + /// + public readonly bool? ShouldAppendUrl; + /// + /// (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + /// + public readonly string? TriggerDelay; + + [OutputConstructor] + private MonitoringTemplateAlarmConditionCondition( + string? body, + + string query, + + string severity, + + bool? shouldAppendNote, + + bool? shouldAppendUrl, + + string? triggerDelay) + { + Body = body; + Query = query; + Severity = severity; + ShouldAppendNote = shouldAppendNote; + ShouldAppendUrl = shouldAppendUrl; + TriggerDelay = triggerDelay; + } + } +} diff --git a/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateMember.cs b/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateMember.cs new file mode 100644 index 0000000000..737f75c21d --- /dev/null +++ b/sdk/dotnet/StackMonitoring/Outputs/MonitoringTemplateMember.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.StackMonitoring.Outputs +{ + + [OutputType] + public sealed class MonitoringTemplateMember + { + /// + /// (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + /// + public readonly string? CompositeType; + /// + /// (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + /// + public readonly string Id; + /// + /// (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + /// + public readonly string Type; + + [OutputConstructor] + private MonitoringTemplateMember( + string? compositeType, + + string id, + + string type) + { + CompositeType = compositeType; + Id = id; + Type = type; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscription.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscription.cs new file mode 100644 index 0000000000..76f2a4bb94 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscription.cs @@ -0,0 +1,324 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetAssignedSubscription + { + /// + /// This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the assigned subscription details by assigned subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscription = Oci.Tenantmanagercontrolplane.GetAssignedSubscription.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAssignedSubscriptionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", args ?? new GetAssignedSubscriptionArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the assigned subscription details by assigned subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscription = Oci.Tenantmanagercontrolplane.GetAssignedSubscription.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", args ?? new GetAssignedSubscriptionInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the assigned subscription details by assigned subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscription = Oci.Tenantmanagercontrolplane.GetAssignedSubscription.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", args ?? new GetAssignedSubscriptionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAssignedSubscriptionArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the assigned Oracle Cloud Subscription. + /// + [Input("assignedSubscriptionId", required: true)] + public string AssignedSubscriptionId { get; set; } = null!; + + public GetAssignedSubscriptionArgs() + { + } + public static new GetAssignedSubscriptionArgs Empty => new GetAssignedSubscriptionArgs(); + } + + public sealed class GetAssignedSubscriptionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the assigned Oracle Cloud Subscription. + /// + [Input("assignedSubscriptionId", required: true)] + public Input AssignedSubscriptionId { get; set; } = null!; + + public GetAssignedSubscriptionInvokeArgs() + { + } + public static new GetAssignedSubscriptionInvokeArgs Empty => new GetAssignedSubscriptionInvokeArgs(); + } + + + [OutputType] + public sealed class GetAssignedSubscriptionResult + { + public readonly string AssignedSubscriptionId; + /// + /// Subscription ID. + /// + public readonly string ClassicSubscriptionId; + /// + /// The currency code for the customer associated with the subscription. + /// + public readonly string CloudAmountCurrency; + /// + /// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + /// + public readonly string CompartmentId; + /// + /// Customer service identifier for the customer associated with the subscription. + /// + public readonly string CsiNumber; + /// + /// Currency code. For example USD, MXN. + /// + public readonly string CurrencyCode; + /// + /// The country code for the customer associated with the subscription. + /// + public readonly string CustomerCountryCode; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + /// + public readonly string EntityVersion; + /// + /// 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 provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Specifies whether or not the subscription is legacy. + /// + public readonly bool IsClassicSubscription; + /// + /// Specifies whether or not the subscription is a government subscription. + /// + public readonly bool IsGovernmentSubscription; + /// + /// Service or component which is used to provision and manage the subscription. + /// + public readonly string ManagedBy; + /// + /// List of subscription order OCIDs that contributed to this subscription. + /// + public readonly ImmutableArray OrderIds; + /// + /// Specifies any program that is associated with the subscription. + /// + public readonly string ProgramType; + /// + /// List of promotions related to the subscription. + /// + public readonly ImmutableArray Promotions; + /// + /// Purchase entitlement ID associated with the subscription. + /// + public readonly string PurchaseEntitlementId; + /// + /// Region for the subscription. + /// + public readonly string RegionAssignment; + /// + /// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + /// + public readonly string ServiceName; + /// + /// List of SKUs linked to the subscription. + /// + public readonly ImmutableArray Skuses; + /// + /// Subscription start time. + /// + public readonly string StartDate; + /// + /// Lifecycle state of the subscription. + /// + public readonly string State; + /// + /// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + /// + public readonly string SubscriptionNumber; + /// + /// Tier for the subscription, whether a free promotion subscription or a paid subscription. + /// + public readonly string SubscriptionTier; + /// + /// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeCreated; + /// + /// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetAssignedSubscriptionResult( + string assignedSubscriptionId, + + string classicSubscriptionId, + + string cloudAmountCurrency, + + string compartmentId, + + string csiNumber, + + string currencyCode, + + string customerCountryCode, + + ImmutableDictionary definedTags, + + string endDate, + + string entityVersion, + + ImmutableDictionary freeformTags, + + string id, + + bool isClassicSubscription, + + bool isGovernmentSubscription, + + string managedBy, + + ImmutableArray orderIds, + + string programType, + + ImmutableArray promotions, + + string purchaseEntitlementId, + + string regionAssignment, + + string serviceName, + + ImmutableArray skuses, + + string startDate, + + string state, + + string subscriptionNumber, + + string subscriptionTier, + + string timeCreated, + + string timeUpdated) + { + AssignedSubscriptionId = assignedSubscriptionId; + ClassicSubscriptionId = classicSubscriptionId; + CloudAmountCurrency = cloudAmountCurrency; + CompartmentId = compartmentId; + CsiNumber = csiNumber; + CurrencyCode = currencyCode; + CustomerCountryCode = customerCountryCode; + DefinedTags = definedTags; + EndDate = endDate; + EntityVersion = entityVersion; + FreeformTags = freeformTags; + Id = id; + IsClassicSubscription = isClassicSubscription; + IsGovernmentSubscription = isGovernmentSubscription; + ManagedBy = managedBy; + OrderIds = orderIds; + ProgramType = programType; + Promotions = promotions; + PurchaseEntitlementId = purchaseEntitlementId; + RegionAssignment = regionAssignment; + ServiceName = serviceName; + Skuses = skuses; + StartDate = startDate; + State = state; + SubscriptionNumber = subscriptionNumber; + SubscriptionTier = subscriptionTier; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptionLineItems.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptionLineItems.cs new file mode 100644 index 0000000000..3147d11777 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptionLineItems.cs @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetAssignedSubscriptionLineItems + { + /// + /// This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List line item summaries that a assigned subscription owns. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItems.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAssignedSubscriptionLineItemsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", args ?? new GetAssignedSubscriptionLineItemsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List line item summaries that a assigned subscription owns. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItems.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionLineItemsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", args ?? new GetAssignedSubscriptionLineItemsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List line item summaries that a assigned subscription owns. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItems.Invoke(new() + /// { + /// AssignedSubscriptionId = testAssignedSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionLineItemsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", args ?? new GetAssignedSubscriptionLineItemsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAssignedSubscriptionLineItemsArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the assigned Oracle Cloud Subscription. + /// + [Input("assignedSubscriptionId", required: true)] + public string AssignedSubscriptionId { get; set; } = null!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetAssignedSubscriptionLineItemsArgs() + { + } + public static new GetAssignedSubscriptionLineItemsArgs Empty => new GetAssignedSubscriptionLineItemsArgs(); + } + + public sealed class GetAssignedSubscriptionLineItemsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the assigned Oracle Cloud Subscription. + /// + [Input("assignedSubscriptionId", required: true)] + public Input AssignedSubscriptionId { get; set; } = null!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetAssignedSubscriptionLineItemsInvokeArgs() + { + } + public static new GetAssignedSubscriptionLineItemsInvokeArgs Empty => new GetAssignedSubscriptionLineItemsInvokeArgs(); + } + + + [OutputType] + public sealed class GetAssignedSubscriptionLineItemsResult + { + public readonly string AssignedSubscriptionId; + /// + /// The list of assigned_subscription_line_item_collection. + /// + public readonly ImmutableArray AssignedSubscriptionLineItemCollections; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetAssignedSubscriptionLineItemsResult( + string assignedSubscriptionId, + + ImmutableArray assignedSubscriptionLineItemCollections, + + ImmutableArray filters, + + string id) + { + AssignedSubscriptionId = assignedSubscriptionId; + AssignedSubscriptionLineItemCollections = assignedSubscriptionLineItemCollections; + Filters = filters; + Id = id; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptions.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptions.cs new file mode 100644 index 0000000000..c897e6c167 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetAssignedSubscriptions.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetAssignedSubscriptions + { + /// + /// This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptions = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = assignedSubscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAssignedSubscriptionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", args ?? new GetAssignedSubscriptionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptions = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = assignedSubscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", args ?? new GetAssignedSubscriptionsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAssignedSubscriptions = Oci.Tenantmanagercontrolplane.GetAssignedSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = assignedSubscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAssignedSubscriptionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", args ?? new GetAssignedSubscriptionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAssignedSubscriptionsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The version of the subscription entity. + /// + [Input("entityVersion")] + public string? EntityVersion { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The ID of the subscription to which the tenancy is associated. + /// + [Input("subscriptionId")] + public string? SubscriptionId { get; set; } + + public GetAssignedSubscriptionsArgs() + { + } + public static new GetAssignedSubscriptionsArgs Empty => new GetAssignedSubscriptionsArgs(); + } + + public sealed class GetAssignedSubscriptionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The version of the subscription entity. + /// + [Input("entityVersion")] + public Input? EntityVersion { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The ID of the subscription to which the tenancy is associated. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public GetAssignedSubscriptionsInvokeArgs() + { + } + public static new GetAssignedSubscriptionsInvokeArgs Empty => new GetAssignedSubscriptionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetAssignedSubscriptionsResult + { + /// + /// The list of assigned_subscription_collection. + /// + public readonly ImmutableArray AssignedSubscriptionCollections; + /// + /// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + /// + public readonly string CompartmentId; + /// + /// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + /// + public readonly string? EntityVersion; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? SubscriptionId; + + [OutputConstructor] + private GetAssignedSubscriptionsResult( + ImmutableArray assignedSubscriptionCollections, + + string compartmentId, + + string? entityVersion, + + ImmutableArray filters, + + string id, + + string? subscriptionId) + { + AssignedSubscriptionCollections = assignedSubscriptionCollections; + CompartmentId = compartmentId; + EntityVersion = entityVersion; + Filters = filters; + Id = id; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetDomain.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetDomain.cs new file mode 100644 index 0000000000..8060dff52e --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetDomain.cs @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetDomain + { + /// + /// This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomain = Oci.Tenantmanagercontrolplane.GetDomain.Invoke(new() + /// { + /// DomainId = testDomainOciTenantmanagercontrolplaneDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDomainArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getDomain:getDomain", args ?? new GetDomainArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomain = Oci.Tenantmanagercontrolplane.GetDomain.Invoke(new() + /// { + /// DomainId = testDomainOciTenantmanagercontrolplaneDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", args ?? new GetDomainInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomain = Oci.Tenantmanagercontrolplane.GetDomain.Invoke(new() + /// { + /// DomainId = testDomainOciTenantmanagercontrolplaneDomain.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", args ?? new GetDomainInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDomainArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain OCID. + /// + [Input("domainId", required: true)] + public string DomainId { get; set; } = null!; + + public GetDomainArgs() + { + } + public static new GetDomainArgs Empty => new GetDomainArgs(); + } + + public sealed class GetDomainInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain OCID. + /// + [Input("domainId", required: true)] + public Input DomainId { get; set; } = null!; + + public GetDomainInvokeArgs() + { + } + public static new GetDomainInvokeArgs Empty => new GetDomainInvokeArgs(); + } + + + [OutputType] + public sealed class GetDomainResult + { + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + public readonly string DomainId; + /// + /// The domain name. + /// + public readonly string DomainName; + /// + /// 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 provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The OCID of the tenancy that has started the registration process for this domain. + /// + public readonly string OwnerId; + /// + /// Lifecycle state of the domain. + /// + public readonly string State; + /// + /// Status of the domain. + /// + public readonly string Status; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date-time when this domain was created. An RFC 3339-formatted date and time string. + /// + public readonly string TimeCreated; + /// + /// Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + /// + public readonly string TimeUpdated; + /// + /// The code that the owner of the domain will need to add as a TXT record to their domain. + /// + public readonly string TxtRecord; + + [OutputConstructor] + private GetDomainResult( + ImmutableDictionary definedTags, + + string domainId, + + string domainName, + + ImmutableDictionary freeformTags, + + string id, + + string ownerId, + + string state, + + string status, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated, + + string txtRecord) + { + DefinedTags = definedTags; + DomainId = domainId; + DomainName = domainName; + FreeformTags = freeformTags; + Id = id; + OwnerId = ownerId; + State = state; + Status = status; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + TxtRecord = txtRecord; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernance.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernance.cs new file mode 100644 index 0000000000..183aa4b258 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernance.cs @@ -0,0 +1,226 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetDomainGovernance + { + /// + /// This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain governance entity. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernance = Oci.Tenantmanagercontrolplane.GetDomainGovernance.Invoke(new() + /// { + /// DomainGovernanceId = testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDomainGovernanceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", args ?? new GetDomainGovernanceArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain governance entity. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernance = Oci.Tenantmanagercontrolplane.GetDomainGovernance.Invoke(new() + /// { + /// DomainGovernanceId = testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainGovernanceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", args ?? new GetDomainGovernanceInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the domain governance entity. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernance = Oci.Tenantmanagercontrolplane.GetDomainGovernance.Invoke(new() + /// { + /// DomainGovernanceId = testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainGovernanceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", args ?? new GetDomainGovernanceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDomainGovernanceArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain governance OCID. + /// + [Input("domainGovernanceId", required: true)] + public string DomainGovernanceId { get; set; } = null!; + + public GetDomainGovernanceArgs() + { + } + public static new GetDomainGovernanceArgs Empty => new GetDomainGovernanceArgs(); + } + + public sealed class GetDomainGovernanceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The domain governance OCID. + /// + [Input("domainGovernanceId", required: true)] + public Input DomainGovernanceId { get; set; } = null!; + + public GetDomainGovernanceInvokeArgs() + { + } + public static new GetDomainGovernanceInvokeArgs Empty => new GetDomainGovernanceInvokeArgs(); + } + + + [OutputType] + public sealed class GetDomainGovernanceResult + { + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + public readonly string DomainGovernanceId; + /// + /// The OCID of the domain associated with this domain governance entity. + /// + public readonly string DomainId; + /// + /// 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 provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Indicates whether governance is enabled for this domain. + /// + public readonly bool IsGovernanceEnabled; + /// + /// The ONS subscription associated with this domain governance entity. + /// + public readonly string OnsSubscriptionId; + /// + /// The ONS topic associated with this domain governance entity. + /// + public readonly string OnsTopicId; + /// + /// The OCID of the tenancy that owns this domain governance entity. + /// + public readonly string OwnerId; + /// + /// Lifecycle state of the domain governance entity. + /// + public readonly string State; + /// + /// Email address to be used to notify the user, and that the ONS subscription will be created with. + /// + public readonly string SubscriptionEmail; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + /// + public readonly string TimeCreated; + /// + /// Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDomainGovernanceResult( + ImmutableDictionary definedTags, + + string domainGovernanceId, + + string domainId, + + ImmutableDictionary freeformTags, + + string id, + + bool isGovernanceEnabled, + + string onsSubscriptionId, + + string onsTopicId, + + string ownerId, + + string state, + + string subscriptionEmail, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + DefinedTags = definedTags; + DomainGovernanceId = domainGovernanceId; + DomainId = domainId; + FreeformTags = freeformTags; + Id = id; + IsGovernanceEnabled = isGovernanceEnabled; + OnsSubscriptionId = onsSubscriptionId; + OnsTopicId = onsTopicId; + OwnerId = ownerId; + State = state; + SubscriptionEmail = subscriptionEmail; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernances.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernances.cs new file mode 100644 index 0000000000..756853b197 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetDomainGovernances.cs @@ -0,0 +1,254 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetDomainGovernances + { + /// + /// This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domain governance entities. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernances = Oci.Tenantmanagercontrolplane.GetDomainGovernances.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainGovernanceId = testDomainGovernance.Id, + /// DomainId = testDomain.Id, + /// Name = domainGovernanceName, + /// State = domainGovernanceState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDomainGovernancesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", args ?? new GetDomainGovernancesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domain governance entities. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernances = Oci.Tenantmanagercontrolplane.GetDomainGovernances.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainGovernanceId = testDomainGovernance.Id, + /// DomainId = testDomain.Id, + /// Name = domainGovernanceName, + /// State = domainGovernanceState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainGovernancesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", args ?? new GetDomainGovernancesInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domain governance entities. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomainGovernances = Oci.Tenantmanagercontrolplane.GetDomainGovernances.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainGovernanceId = testDomainGovernance.Id, + /// DomainId = testDomain.Id, + /// Name = domainGovernanceName, + /// State = domainGovernanceState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainGovernancesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", args ?? new GetDomainGovernancesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDomainGovernancesArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The domain governance OCID. + /// + [Input("domainGovernanceId")] + public string? DomainGovernanceId { get; set; } + + /// + /// The domain OCID. + /// + [Input("domainId")] + public string? DomainId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only resources that exactly match the name given. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + public GetDomainGovernancesArgs() + { + } + public static new GetDomainGovernancesArgs Empty => new GetDomainGovernancesArgs(); + } + + public sealed class GetDomainGovernancesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The domain governance OCID. + /// + [Input("domainGovernanceId")] + public Input? DomainGovernanceId { get; set; } + + /// + /// The domain OCID. + /// + [Input("domainId")] + public Input? DomainId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only resources that exactly match the name given. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDomainGovernancesInvokeArgs() + { + } + public static new GetDomainGovernancesInvokeArgs Empty => new GetDomainGovernancesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDomainGovernancesResult + { + public readonly string CompartmentId; + /// + /// The list of domain_governance_collection. + /// + public readonly ImmutableArray DomainGovernanceCollections; + public readonly string? DomainGovernanceId; + /// + /// The OCID of the domain associated with this domain governance entity. + /// + public readonly string? DomainId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? Name; + /// + /// Lifecycle state of the domain governance entity. + /// + public readonly string? State; + + [OutputConstructor] + private GetDomainGovernancesResult( + string compartmentId, + + ImmutableArray domainGovernanceCollections, + + string? domainGovernanceId, + + string? domainId, + + ImmutableArray filters, + + string id, + + string? name, + + string? state) + { + CompartmentId = compartmentId; + DomainGovernanceCollections = domainGovernanceCollections; + DomainGovernanceId = domainGovernanceId; + DomainId = domainId; + Filters = filters; + Id = id; + Name = name; + State = state; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetDomains.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetDomains.cs new file mode 100644 index 0000000000..b53a22d30a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetDomains.cs @@ -0,0 +1,254 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetDomains + { + /// + /// This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domains. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomains = Oci.Tenantmanagercontrolplane.GetDomains.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainId = testDomain.Id, + /// Name = domainName, + /// State = domainState, + /// Status = domainStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDomainsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getDomains:getDomains", args ?? new GetDomainsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domains. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomains = Oci.Tenantmanagercontrolplane.GetDomains.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainId = testDomain.Id, + /// Name = domainName, + /// State = domainState, + /// Status = domainStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", args ?? new GetDomainsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of domains. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDomains = Oci.Tenantmanagercontrolplane.GetDomains.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DomainId = testDomain.Id, + /// Name = domainName, + /// State = domainState, + /// Status = domainStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDomainsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", args ?? new GetDomainsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDomainsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The domain OCID. + /// + [Input("domainId")] + public string? DomainId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only resources that exactly match the name given. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// The status of the domain. + /// + [Input("status")] + public string? Status { get; set; } + + public GetDomainsArgs() + { + } + public static new GetDomainsArgs Empty => new GetDomainsArgs(); + } + + public sealed class GetDomainsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The domain OCID. + /// + [Input("domainId")] + public Input? DomainId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only resources that exactly match the name given. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The status of the domain. + /// + [Input("status")] + public Input? Status { get; set; } + + public GetDomainsInvokeArgs() + { + } + public static new GetDomainsInvokeArgs Empty => new GetDomainsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDomainsResult + { + public readonly string CompartmentId; + /// + /// The list of domain_collection. + /// + public readonly ImmutableArray DomainCollections; + public readonly string? DomainId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? Name; + /// + /// Lifecycle state of the domain. + /// + public readonly string? State; + /// + /// Status of the domain. + /// + public readonly string? Status; + + [OutputConstructor] + private GetDomainsResult( + string compartmentId, + + ImmutableArray domainCollections, + + string? domainId, + + ImmutableArray filters, + + string id, + + string? name, + + string? state, + + string? status) + { + CompartmentId = compartmentId; + DomainCollections = domainCollections; + DomainId = domainId; + Filters = filters; + Id = id; + Name = name; + State = state; + Status = status; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetLink.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetLink.cs new file mode 100644 index 0000000000..792311bf43 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetLink.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetLink + { + /// + /// This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the link. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLink = Oci.Tenantmanagercontrolplane.GetLink.Invoke(new() + /// { + /// LinkId = testLinkOciTenantmanagercontrolplaneLink.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetLinkArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getLink:getLink", args ?? new GetLinkArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the link. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLink = Oci.Tenantmanagercontrolplane.GetLink.Invoke(new() + /// { + /// LinkId = testLinkOciTenantmanagercontrolplaneLink.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetLinkInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getLink:getLink", args ?? new GetLinkInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the link. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLink = Oci.Tenantmanagercontrolplane.GetLink.Invoke(new() + /// { + /// LinkId = testLinkOciTenantmanagercontrolplaneLink.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetLinkInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getLink:getLink", args ?? new GetLinkInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetLinkArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the link to retrieve. + /// + [Input("linkId", required: true)] + public string LinkId { get; set; } = null!; + + public GetLinkArgs() + { + } + public static new GetLinkArgs Empty => new GetLinkArgs(); + } + + public sealed class GetLinkInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the link to retrieve. + /// + [Input("linkId", required: true)] + public Input LinkId { get; set; } = null!; + + public GetLinkInvokeArgs() + { + } + public static new GetLinkInvokeArgs Empty => new GetLinkInvokeArgs(); + } + + + [OutputType] + public sealed class GetLinkResult + { + /// + /// OCID of the child tenancy. + /// + public readonly string ChildTenancyId; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string LinkId; + /// + /// OCID of the parent tenancy. + /// + public readonly string ParentTenancyId; + /// + /// Lifecycle state of the link. + /// + public readonly string State; + /// + /// Date-time when this link was created. + /// + public readonly string TimeCreated; + /// + /// Date-time when this link was terminated. + /// + public readonly string TimeTerminated; + /// + /// Date-time when this link was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetLinkResult( + string childTenancyId, + + string id, + + string linkId, + + string parentTenancyId, + + string state, + + string timeCreated, + + string timeTerminated, + + string timeUpdated) + { + ChildTenancyId = childTenancyId; + Id = id; + LinkId = linkId; + ParentTenancyId = parentTenancyId; + State = state; + TimeCreated = timeCreated; + TimeTerminated = timeTerminated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetLinks.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetLinks.cs new file mode 100644 index 0000000000..c7d813b12a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetLinks.cs @@ -0,0 +1,216 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetLinks + { + /// + /// This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of links. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLinks = Oci.Tenantmanagercontrolplane.GetLinks.Invoke(new() + /// { + /// ChildTenancyId = testTenancy.Id, + /// ParentTenancyId = testTenancy.Id, + /// State = linkState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetLinksArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getLinks:getLinks", args ?? new GetLinksArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of links. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLinks = Oci.Tenantmanagercontrolplane.GetLinks.Invoke(new() + /// { + /// ChildTenancyId = testTenancy.Id, + /// ParentTenancyId = testTenancy.Id, + /// State = linkState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetLinksInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", args ?? new GetLinksInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of links. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testLinks = Oci.Tenantmanagercontrolplane.GetLinks.Invoke(new() + /// { + /// ChildTenancyId = testTenancy.Id, + /// ParentTenancyId = testTenancy.Id, + /// State = linkState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetLinksInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", args ?? new GetLinksInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetLinksArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the child tenancy this link is associated with. + /// + [Input("childTenancyId")] + public string? ChildTenancyId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The ID of the parent tenancy this link is associated with. + /// + [Input("parentTenancyId")] + public string? ParentTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + public GetLinksArgs() + { + } + public static new GetLinksArgs Empty => new GetLinksArgs(); + } + + public sealed class GetLinksInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the child tenancy this link is associated with. + /// + [Input("childTenancyId")] + public Input? ChildTenancyId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The ID of the parent tenancy this link is associated with. + /// + [Input("parentTenancyId")] + public Input? ParentTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + public GetLinksInvokeArgs() + { + } + public static new GetLinksInvokeArgs Empty => new GetLinksInvokeArgs(); + } + + + [OutputType] + public sealed class GetLinksResult + { + /// + /// OCID of the child tenancy. + /// + public readonly string? ChildTenancyId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The list of link_collection. + /// + public readonly ImmutableArray LinkCollections; + /// + /// OCID of the parent tenancy. + /// + public readonly string? ParentTenancyId; + /// + /// Lifecycle state of the link. + /// + public readonly string? State; + + [OutputConstructor] + private GetLinksResult( + string? childTenancyId, + + ImmutableArray filters, + + string id, + + ImmutableArray linkCollections, + + string? parentTenancyId, + + string? state) + { + ChildTenancyId = childTenancyId; + Filters = filters; + Id = id; + LinkCollections = linkCollections; + ParentTenancyId = parentTenancyId; + State = state; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetOrganization.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganization.cs new file mode 100644 index 0000000000..cd3bab87ec --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganization.cs @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetOrganization + { + /// + /// This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganization = Oci.Tenantmanagercontrolplane.GetOrganization.Invoke(new() + /// { + /// OrganizationId = testOrganizationOciTenantmanagercontrolplaneOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetOrganizationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", args ?? new GetOrganizationArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganization = Oci.Tenantmanagercontrolplane.GetOrganization.Invoke(new() + /// { + /// OrganizationId = testOrganizationOciTenantmanagercontrolplaneOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", args ?? new GetOrganizationInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganization = Oci.Tenantmanagercontrolplane.GetOrganization.Invoke(new() + /// { + /// OrganizationId = testOrganizationOciTenantmanagercontrolplaneOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", args ?? new GetOrganizationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrganizationArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the organization to retrieve. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + public GetOrganizationArgs() + { + } + public static new GetOrganizationArgs Empty => new GetOrganizationArgs(); + } + + public sealed class GetOrganizationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the organization to retrieve. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + public GetOrganizationInvokeArgs() + { + } + public static new GetOrganizationInvokeArgs Empty => new GetOrganizationInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrganizationResult + { + /// + /// OCID of the compartment containing the organization. Always a tenancy OCID. + /// + public readonly string CompartmentId; + /// + /// OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + /// + public readonly string DefaultUcmSubscriptionId; + /// + /// A display name for the organization. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string OrganizationId; + /// + /// The name of the tenancy that is the organization parent. + /// + public readonly string ParentName; + /// + /// Lifecycle state of the organization. + /// + public readonly string State; + /// + /// Date and time when the organization was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the organization was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetOrganizationResult( + string compartmentId, + + string defaultUcmSubscriptionId, + + string displayName, + + string id, + + string organizationId, + + string parentName, + + string state, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefaultUcmSubscriptionId = defaultUcmSubscriptionId; + DisplayName = displayName; + Id = id; + OrganizationId = organizationId; + ParentName = parentName; + State = state; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancies.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancies.cs new file mode 100644 index 0000000000..8baa474010 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancies.cs @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetOrganizationTenancies + { + /// + /// This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets a list of tenancies in the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancies = Oci.Tenantmanagercontrolplane.GetOrganizationTenancies.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetOrganizationTenanciesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", args ?? new GetOrganizationTenanciesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets a list of tenancies in the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancies = Oci.Tenantmanagercontrolplane.GetOrganizationTenancies.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationTenanciesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", args ?? new GetOrganizationTenanciesInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets a list of tenancies in the organization. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancies = Oci.Tenantmanagercontrolplane.GetOrganizationTenancies.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationTenanciesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", args ?? new GetOrganizationTenanciesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrganizationTenanciesArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// OCID of the organization. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + public GetOrganizationTenanciesArgs() + { + } + public static new GetOrganizationTenanciesArgs Empty => new GetOrganizationTenanciesArgs(); + } + + public sealed class GetOrganizationTenanciesInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// OCID of the organization. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + public GetOrganizationTenanciesInvokeArgs() + { + } + public static new GetOrganizationTenanciesInvokeArgs Empty => new GetOrganizationTenanciesInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrganizationTenanciesResult + { + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string OrganizationId; + /// + /// The list of organization_tenancy_collection. + /// + public readonly ImmutableArray OrganizationTenancyCollections; + + [OutputConstructor] + private GetOrganizationTenanciesResult( + ImmutableArray filters, + + string id, + + string organizationId, + + ImmutableArray organizationTenancyCollections) + { + Filters = filters; + Id = id; + OrganizationId = organizationId; + OrganizationTenancyCollections = organizationTenancyCollections; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancy.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancy.cs new file mode 100644 index 0000000000..4c8c00709a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizationTenancy.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetOrganizationTenancy + { + /// + /// This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization's tenancy. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancy = Oci.Tenantmanagercontrolplane.GetOrganizationTenancy.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// TenancyId = testTenancy.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetOrganizationTenancyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", args ?? new GetOrganizationTenancyArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization's tenancy. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancy = Oci.Tenantmanagercontrolplane.GetOrganizationTenancy.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// TenancyId = testTenancy.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationTenancyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", args ?? new GetOrganizationTenancyInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the organization's tenancy. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizationTenancy = Oci.Tenantmanagercontrolplane.GetOrganizationTenancy.Invoke(new() + /// { + /// OrganizationId = testOrganization.Id, + /// TenancyId = testTenancy.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationTenancyInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", args ?? new GetOrganizationTenancyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrganizationTenancyArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the organization. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + /// + /// OCID of the tenancy to retrieve. + /// + [Input("tenancyId", required: true)] + public string TenancyId { get; set; } = null!; + + public GetOrganizationTenancyArgs() + { + } + public static new GetOrganizationTenancyArgs Empty => new GetOrganizationTenancyArgs(); + } + + public sealed class GetOrganizationTenancyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the organization. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// OCID of the tenancy to retrieve. + /// + [Input("tenancyId", required: true)] + public Input TenancyId { get; set; } = null!; + + public GetOrganizationTenancyInvokeArgs() + { + } + public static new GetOrganizationTenancyInvokeArgs Empty => new GetOrganizationTenancyInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrganizationTenancyResult + { + /// + /// The governance status of the tenancy. + /// + public readonly string GovernanceStatus; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Parameter to indicate the tenancy is approved for transfer to another organization. + /// + public readonly bool IsApprovedForTransfer; + /// + /// Name of the tenancy. + /// + public readonly string Name; + public readonly string OrganizationId; + /// + /// Role of the organization tenancy. + /// + public readonly string Role; + /// + /// Lifecycle state of the organization tenancy. + /// + public readonly string State; + /// + /// OCID of the tenancy. + /// + public readonly string TenancyId; + /// + /// Date and time when the tenancy joined the organization. + /// + public readonly string TimeJoined; + /// + /// Date and time when the tenancy left the organization. + /// + public readonly string TimeLeft; + + [OutputConstructor] + private GetOrganizationTenancyResult( + string governanceStatus, + + string id, + + bool isApprovedForTransfer, + + string name, + + string organizationId, + + string role, + + string state, + + string tenancyId, + + string timeJoined, + + string timeLeft) + { + GovernanceStatus = governanceStatus; + Id = id; + IsApprovedForTransfer = isApprovedForTransfer; + Name = name; + OrganizationId = organizationId; + Role = role; + State = state; + TenancyId = tenancyId; + TimeJoined = timeJoined; + TimeLeft = timeLeft; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizations.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizations.cs new file mode 100644 index 0000000000..02e3c73fb1 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetOrganizations.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.Tenantmanagercontrolplane +{ + public static class GetOrganizations + { + /// + /// This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists organizations associated with the caller. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizations = Oci.Tenantmanagercontrolplane.GetOrganizations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetOrganizationsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", args ?? new GetOrganizationsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists organizations associated with the caller. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizations = Oci.Tenantmanagercontrolplane.GetOrganizations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", args ?? new GetOrganizationsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists organizations associated with the caller. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testOrganizations = Oci.Tenantmanagercontrolplane.GetOrganizations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetOrganizationsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", args ?? new GetOrganizationsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrganizationsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetOrganizationsArgs() + { + } + public static new GetOrganizationsArgs Empty => new GetOrganizationsArgs(); + } + + public sealed class GetOrganizationsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetOrganizationsInvokeArgs() + { + } + public static new GetOrganizationsInvokeArgs Empty => new GetOrganizationsInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrganizationsResult + { + /// + /// OCID of the compartment containing the organization. Always a tenancy OCID. + /// + public readonly string CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The list of organization_collection. + /// + public readonly ImmutableArray OrganizationCollections; + + [OutputConstructor] + private GetOrganizationsResult( + string compartmentId, + + ImmutableArray filters, + + string id, + + ImmutableArray organizationCollections) + { + CompartmentId = compartmentId; + Filters = filters; + Id = id; + OrganizationCollections = organizationCollections; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitation.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitation.cs new file mode 100644 index 0000000000..0bcd8ba48a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitation.cs @@ -0,0 +1,233 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetRecipientInvitation + { + /// + /// This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the recipient invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitation = Oci.Tenantmanagercontrolplane.GetRecipientInvitation.Invoke(new() + /// { + /// RecipientInvitationId = testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetRecipientInvitationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", args ?? new GetRecipientInvitationArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the recipient invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitation = Oci.Tenantmanagercontrolplane.GetRecipientInvitation.Invoke(new() + /// { + /// RecipientInvitationId = testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRecipientInvitationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", args ?? new GetRecipientInvitationInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the recipient invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitation = Oci.Tenantmanagercontrolplane.GetRecipientInvitation.Invoke(new() + /// { + /// RecipientInvitationId = testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRecipientInvitationInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", args ?? new GetRecipientInvitationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRecipientInvitationArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the recipient invitation to retrieve. + /// + [Input("recipientInvitationId", required: true)] + public string RecipientInvitationId { get; set; } = null!; + + public GetRecipientInvitationArgs() + { + } + public static new GetRecipientInvitationArgs Empty => new GetRecipientInvitationArgs(); + } + + public sealed class GetRecipientInvitationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the recipient invitation to retrieve. + /// + [Input("recipientInvitationId", required: true)] + public Input RecipientInvitationId { get; set; } = null!; + + public GetRecipientInvitationInvokeArgs() + { + } + public static new GetRecipientInvitationInvokeArgs Empty => new GetRecipientInvitationInvokeArgs(); + } + + + [OutputType] + public sealed class GetRecipientInvitationResult + { + /// + /// OCID of the recipient tenancy. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user-created name to describe the invitation. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Email address of the recipient. + /// + public readonly string RecipientEmailAddress; + public readonly string RecipientInvitationId; + /// + /// OCID of the corresponding sender invitation. + /// + public readonly string SenderInvitationId; + /// + /// OCID of the sender tenancy. + /// + public readonly string SenderTenancyId; + /// + /// Lifecycle state of the recipient invitation. + /// + public readonly string State; + /// + /// Status of the recipient invitation. + /// + public readonly string Status; + /// + /// The list of subjects the invitation contains. + /// + public readonly ImmutableArray Subjects; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date and time when the recipient invitation was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the recipient invitation was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetRecipientInvitationResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string recipientEmailAddress, + + string recipientInvitationId, + + string senderInvitationId, + + string senderTenancyId, + + string state, + + string status, + + ImmutableArray subjects, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + RecipientEmailAddress = recipientEmailAddress; + RecipientInvitationId = recipientInvitationId; + SenderInvitationId = senderInvitationId; + SenderTenancyId = senderTenancyId; + State = state; + Status = status; + Subjects = subjects; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitations.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitations.cs new file mode 100644 index 0000000000..824ff5bc9a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetRecipientInvitations.cs @@ -0,0 +1,241 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetRecipientInvitations + { + /// + /// This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of recipient invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitations = Oci.Tenantmanagercontrolplane.GetRecipientInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// SenderTenancyId = testTenancy.Id, + /// State = recipientInvitationState, + /// Status = recipientInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetRecipientInvitationsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", args ?? new GetRecipientInvitationsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of recipient invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitations = Oci.Tenantmanagercontrolplane.GetRecipientInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// SenderTenancyId = testTenancy.Id, + /// State = recipientInvitationState, + /// Status = recipientInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRecipientInvitationsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", args ?? new GetRecipientInvitationsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of recipient invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testRecipientInvitations = Oci.Tenantmanagercontrolplane.GetRecipientInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// SenderTenancyId = testTenancy.Id, + /// State = recipientInvitationState, + /// Status = recipientInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRecipientInvitationsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", args ?? new GetRecipientInvitationsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRecipientInvitationsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [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; + } + + /// + /// The tenancy that sent the invitation. + /// + [Input("senderTenancyId")] + public string? SenderTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// The status of the recipient invitation. + /// + [Input("status")] + public string? Status { get; set; } + + public GetRecipientInvitationsArgs() + { + } + public static new GetRecipientInvitationsArgs Empty => new GetRecipientInvitationsArgs(); + } + + public sealed class GetRecipientInvitationsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [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; + } + + /// + /// The tenancy that sent the invitation. + /// + [Input("senderTenancyId")] + public Input? SenderTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The status of the recipient invitation. + /// + [Input("status")] + public Input? Status { get; set; } + + public GetRecipientInvitationsInvokeArgs() + { + } + public static new GetRecipientInvitationsInvokeArgs Empty => new GetRecipientInvitationsInvokeArgs(); + } + + + [OutputType] + public sealed class GetRecipientInvitationsResult + { + /// + /// OCID of the recipient tenancy. + /// + public readonly string CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The list of recipient_invitation_collection. + /// + public readonly ImmutableArray RecipientInvitationCollections; + /// + /// OCID of the sender tenancy. + /// + public readonly string? SenderTenancyId; + /// + /// Lifecycle state of the recipient invitation. + /// + public readonly string? State; + /// + /// Status of the recipient invitation. + /// + public readonly string? Status; + + [OutputConstructor] + private GetRecipientInvitationsResult( + string compartmentId, + + ImmutableArray filters, + + string id, + + ImmutableArray recipientInvitationCollections, + + string? senderTenancyId, + + string? state, + + string? status) + { + CompartmentId = compartmentId; + Filters = filters; + Id = id; + RecipientInvitationCollections = recipientInvitationCollections; + SenderTenancyId = senderTenancyId; + State = state; + Status = status; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitation.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitation.cs new file mode 100644 index 0000000000..bb03a671d5 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitation.cs @@ -0,0 +1,233 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSenderInvitation + { + /// + /// This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the sender invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitation = Oci.Tenantmanagercontrolplane.GetSenderInvitation.Invoke(new() + /// { + /// SenderInvitationId = testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSenderInvitationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", args ?? new GetSenderInvitationArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the sender invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitation = Oci.Tenantmanagercontrolplane.GetSenderInvitation.Invoke(new() + /// { + /// SenderInvitationId = testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSenderInvitationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", args ?? new GetSenderInvitationInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets information about the sender invitation. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitation = Oci.Tenantmanagercontrolplane.GetSenderInvitation.Invoke(new() + /// { + /// SenderInvitationId = testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSenderInvitationInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", args ?? new GetSenderInvitationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSenderInvitationArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the sender invitation to retrieve. + /// + [Input("senderInvitationId", required: true)] + public string SenderInvitationId { get; set; } = null!; + + public GetSenderInvitationArgs() + { + } + public static new GetSenderInvitationArgs Empty => new GetSenderInvitationArgs(); + } + + public sealed class GetSenderInvitationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the sender invitation to retrieve. + /// + [Input("senderInvitationId", required: true)] + public Input SenderInvitationId { get; set; } = null!; + + public GetSenderInvitationInvokeArgs() + { + } + public static new GetSenderInvitationInvokeArgs Empty => new GetSenderInvitationInvokeArgs(); + } + + + [OutputType] + public sealed class GetSenderInvitationResult + { + /// + /// OCID of the sender tenancy. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user-created name to describe the invitation. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Email address of the recipient. + /// + public readonly string RecipientEmailAddress; + /// + /// OCID of the corresponding recipient invitation. + /// + public readonly string RecipientInvitationId; + /// + /// OCID of the recipient tenancy. + /// + public readonly string RecipientTenancyId; + public readonly string SenderInvitationId; + /// + /// Lifecycle state of the sender invitation. + /// + public readonly string State; + /// + /// Status of the sender invitation. + /// + public readonly string Status; + /// + /// The list of subjects the invitation contains. + /// + public readonly ImmutableArray Subjects; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date and time when the sender invitation was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the sender invitation was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSenderInvitationResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string recipientEmailAddress, + + string recipientInvitationId, + + string recipientTenancyId, + + string senderInvitationId, + + string state, + + string status, + + ImmutableArray subjects, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + RecipientEmailAddress = recipientEmailAddress; + RecipientInvitationId = recipientInvitationId; + RecipientTenancyId = recipientTenancyId; + SenderInvitationId = senderInvitationId; + State = state; + Status = status; + Subjects = subjects; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitations.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitations.cs new file mode 100644 index 0000000000..66f909e95b --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSenderInvitations.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.Tenantmanagercontrolplane +{ + public static class GetSenderInvitations + { + /// + /// This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of sender invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitations = Oci.Tenantmanagercontrolplane.GetSenderInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = senderInvitationDisplayName, + /// RecipientTenancyId = testTenancy.Id, + /// State = senderInvitationState, + /// Status = senderInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSenderInvitationsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", args ?? new GetSenderInvitationsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of sender invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitations = Oci.Tenantmanagercontrolplane.GetSenderInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = senderInvitationDisplayName, + /// RecipientTenancyId = testTenancy.Id, + /// State = senderInvitationState, + /// Status = senderInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSenderInvitationsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", args ?? new GetSenderInvitationsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Return a (paginated) list of sender invitations. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSenderInvitations = Oci.Tenantmanagercontrolplane.GetSenderInvitations.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = senderInvitationDisplayName, + /// RecipientTenancyId = testTenancy.Id, + /// State = senderInvitationState, + /// Status = senderInvitationStatus, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSenderInvitationsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", args ?? new GetSenderInvitationsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSenderInvitationsArgs : 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 resources that match the entire display name given. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The tenancy that the invitation is addressed to. + /// + [Input("recipientTenancyId")] + public string? RecipientTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// The status of the sender invitation. + /// + [Input("status")] + public string? Status { get; set; } + + public GetSenderInvitationsArgs() + { + } + public static new GetSenderInvitationsArgs Empty => new GetSenderInvitationsArgs(); + } + + public sealed class GetSenderInvitationsInvokeArgs : 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 resources that match the entire display name given. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The tenancy that the invitation is addressed to. + /// + [Input("recipientTenancyId")] + public Input? RecipientTenancyId { get; set; } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The status of the sender invitation. + /// + [Input("status")] + public Input? Status { get; set; } + + public GetSenderInvitationsInvokeArgs() + { + } + public static new GetSenderInvitationsInvokeArgs Empty => new GetSenderInvitationsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSenderInvitationsResult + { + /// + /// OCID of the sender tenancy. + /// + public readonly string CompartmentId; + /// + /// A user-created name to describe the invitation. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// OCID of the recipient tenancy. + /// + public readonly string? RecipientTenancyId; + /// + /// The list of sender_invitation_collection. + /// + public readonly ImmutableArray SenderInvitationCollections; + /// + /// Lifecycle state of the sender invitation. + /// + public readonly string? State; + /// + /// Status of the sender invitation. + /// + public readonly string? Status; + + [OutputConstructor] + private GetSenderInvitationsResult( + string compartmentId, + + string? displayName, + + ImmutableArray filters, + + string id, + + string? recipientTenancyId, + + ImmutableArray senderInvitationCollections, + + string? state, + + string? status) + { + CompartmentId = compartmentId; + DisplayName = displayName; + Filters = filters; + Id = id; + RecipientTenancyId = recipientTenancyId; + SenderInvitationCollections = senderInvitationCollections; + State = state; + Status = status; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscription.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscription.cs new file mode 100644 index 0000000000..92d58bbd1f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscription.cs @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSubscription + { + /// + /// This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets the subscription details by subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscription = Oci.Tenantmanagercontrolplane.GetSubscription.Invoke(new() + /// { + /// SubscriptionId = testSubscriptionOciTenantmanagercontrolplaneSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", args ?? new GetSubscriptionArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets the subscription details by subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscription = Oci.Tenantmanagercontrolplane.GetSubscription.Invoke(new() + /// { + /// SubscriptionId = testSubscriptionOciTenantmanagercontrolplaneSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", args ?? new GetSubscriptionInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Gets the subscription details by subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscription = Oci.Tenantmanagercontrolplane.GetSubscription.Invoke(new() + /// { + /// SubscriptionId = testSubscriptionOciTenantmanagercontrolplaneSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", args ?? new GetSubscriptionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public string SubscriptionId { get; set; } = null!; + + public GetSubscriptionArgs() + { + } + public static new GetSubscriptionArgs Empty => new GetSubscriptionArgs(); + } + + public sealed class GetSubscriptionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public Input SubscriptionId { get; set; } = null!; + + public GetSubscriptionInvokeArgs() + { + } + public static new GetSubscriptionInvokeArgs Empty => new GetSubscriptionInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionResult + { + /// + /// Classic subscription ID. + /// + public readonly string ClassicSubscriptionId; + /// + /// The currency code for the customer associated with the subscription. + /// + public readonly string CloudAmountCurrency; + /// + /// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + /// + public readonly string CompartmentId; + /// + /// Customer service identifier for the customer associated with the subscription. + /// + public readonly string CsiNumber; + /// + /// Currency code. For example USD, MXN. + /// + public readonly string CurrencyCode; + /// + /// The country code for the customer associated with the subscription. + /// + public readonly string CustomerCountryCode; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + /// + public readonly string EntityVersion; + /// + /// 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 provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Specifies whether or not the subscription is from classic systems. + /// + public readonly bool IsClassicSubscription; + /// + /// Specifies whether or not the subscription is a government subscription. + /// + public readonly bool IsGovernmentSubscription; + /// + /// The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + /// + public readonly string PaymentModel; + /// + /// Specifies any program that is associated with the subscription. + /// + public readonly string ProgramType; + /// + /// List of promotions related to the subscription. + /// + public readonly ImmutableArray Promotions; + /// + /// Purchase entitlement ID associated with the subscription. + /// + public readonly string PurchaseEntitlementId; + /// + /// Region for the subscription. + /// + public readonly string RegionAssignment; + /// + /// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + /// + public readonly string ServiceName; + /// + /// List of SKUs linked to this subscription. + /// + public readonly ImmutableArray Skuses; + /// + /// Subscription start time. + /// + public readonly string StartDate; + /// + /// Lifecycle state of the subscription. + /// + public readonly string State; + public readonly string SubscriptionId; + /// + /// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + /// + public readonly string SubscriptionNumber; + /// + /// Tier for the subscription, whether a free promotion subscription or a paid subscription. + /// + public readonly string SubscriptionTier; + /// + /// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeCreated; + /// + /// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSubscriptionResult( + string classicSubscriptionId, + + string cloudAmountCurrency, + + string compartmentId, + + string csiNumber, + + string currencyCode, + + string customerCountryCode, + + ImmutableDictionary definedTags, + + string endDate, + + string entityVersion, + + ImmutableDictionary freeformTags, + + string id, + + bool isClassicSubscription, + + bool isGovernmentSubscription, + + string paymentModel, + + string programType, + + ImmutableArray promotions, + + string purchaseEntitlementId, + + string regionAssignment, + + string serviceName, + + ImmutableArray skuses, + + string startDate, + + string state, + + string subscriptionId, + + string subscriptionNumber, + + string subscriptionTier, + + string timeCreated, + + string timeUpdated) + { + ClassicSubscriptionId = classicSubscriptionId; + CloudAmountCurrency = cloudAmountCurrency; + CompartmentId = compartmentId; + CsiNumber = csiNumber; + CurrencyCode = currencyCode; + CustomerCountryCode = customerCountryCode; + DefinedTags = definedTags; + EndDate = endDate; + EntityVersion = entityVersion; + FreeformTags = freeformTags; + Id = id; + IsClassicSubscription = isClassicSubscription; + IsGovernmentSubscription = isGovernmentSubscription; + PaymentModel = paymentModel; + ProgramType = programType; + Promotions = promotions; + PurchaseEntitlementId = purchaseEntitlementId; + RegionAssignment = regionAssignment; + ServiceName = serviceName; + Skuses = skuses; + StartDate = startDate; + State = state; + SubscriptionId = subscriptionId; + SubscriptionNumber = subscriptionNumber; + SubscriptionTier = subscriptionTier; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionAvailableRegions.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionAvailableRegions.cs new file mode 100644 index 0000000000..122e7b7f84 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionAvailableRegions.cs @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSubscriptionAvailableRegions + { + /// + /// This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the available regions based on subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionAvailableRegions = Oci.Tenantmanagercontrolplane.GetSubscriptionAvailableRegions.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionAvailableRegionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", args ?? new GetSubscriptionAvailableRegionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the available regions based on subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionAvailableRegions = Oci.Tenantmanagercontrolplane.GetSubscriptionAvailableRegions.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionAvailableRegionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", args ?? new GetSubscriptionAvailableRegionsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the available regions based on subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionAvailableRegions = Oci.Tenantmanagercontrolplane.GetSubscriptionAvailableRegions.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionAvailableRegionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", args ?? new GetSubscriptionAvailableRegionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionAvailableRegionsArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public string SubscriptionId { get; set; } = null!; + + public GetSubscriptionAvailableRegionsArgs() + { + } + public static new GetSubscriptionAvailableRegionsArgs Empty => new GetSubscriptionAvailableRegionsArgs(); + } + + public sealed class GetSubscriptionAvailableRegionsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public Input SubscriptionId { get; set; } = null!; + + public GetSubscriptionAvailableRegionsInvokeArgs() + { + } + public static new GetSubscriptionAvailableRegionsInvokeArgs Empty => new GetSubscriptionAvailableRegionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionAvailableRegionsResult + { + /// + /// The list of available_region_collection. + /// + public readonly ImmutableArray AvailableRegionCollections; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string SubscriptionId; + + [OutputConstructor] + private GetSubscriptionAvailableRegionsResult( + ImmutableArray availableRegionCollections, + + ImmutableArray filters, + + string id, + + string subscriptionId) + { + AvailableRegionCollections = availableRegionCollections; + Filters = filters; + Id = id; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionLineItems.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionLineItems.cs new file mode 100644 index 0000000000..e98114fb82 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionLineItems.cs @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSubscriptionLineItems + { + /// + /// This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the line items in a subscription. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetSubscriptionLineItems.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionLineItemsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", args ?? new GetSubscriptionLineItemsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the line items in a subscription. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetSubscriptionLineItems.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionLineItemsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", args ?? new GetSubscriptionLineItemsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the line items in a subscription. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionLineItems = Oci.Tenantmanagercontrolplane.GetSubscriptionLineItems.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionLineItemsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", args ?? new GetSubscriptionLineItemsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionLineItemsArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public string SubscriptionId { get; set; } = null!; + + public GetSubscriptionLineItemsArgs() + { + } + public static new GetSubscriptionLineItemsArgs Empty => new GetSubscriptionLineItemsArgs(); + } + + public sealed class GetSubscriptionLineItemsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public Input SubscriptionId { get; set; } = null!; + + public GetSubscriptionLineItemsInvokeArgs() + { + } + public static new GetSubscriptionLineItemsInvokeArgs Empty => new GetSubscriptionLineItemsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionLineItemsResult + { + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string SubscriptionId; + /// + /// The list of subscription_line_item_collection. + /// + public readonly ImmutableArray SubscriptionLineItemCollections; + + [OutputConstructor] + private GetSubscriptionLineItemsResult( + ImmutableArray filters, + + string id, + + string subscriptionId, + + ImmutableArray subscriptionLineItemCollections) + { + Filters = filters; + Id = id; + SubscriptionId = subscriptionId; + SubscriptionLineItemCollections = subscriptionLineItemCollections; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMapping.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMapping.cs new file mode 100644 index 0000000000..065596750c --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMapping.cs @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSubscriptionMapping + { + /// + /// This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the subscription mapping details by subscription mapping ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMapping = Oci.Tenantmanagercontrolplane.GetSubscriptionMapping.Invoke(new() + /// { + /// SubscriptionMappingId = testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionMappingArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", args ?? new GetSubscriptionMappingArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the subscription mapping details by subscription mapping ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMapping = Oci.Tenantmanagercontrolplane.GetSubscriptionMapping.Invoke(new() + /// { + /// SubscriptionMappingId = testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionMappingInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", args ?? new GetSubscriptionMappingInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Get the subscription mapping details by subscription mapping ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMapping = Oci.Tenantmanagercontrolplane.GetSubscriptionMapping.Invoke(new() + /// { + /// SubscriptionMappingId = testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionMappingInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", args ?? new GetSubscriptionMappingInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionMappingArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the subscriptionMappingId. + /// + [Input("subscriptionMappingId", required: true)] + public string SubscriptionMappingId { get; set; } = null!; + + public GetSubscriptionMappingArgs() + { + } + public static new GetSubscriptionMappingArgs Empty => new GetSubscriptionMappingArgs(); + } + + public sealed class GetSubscriptionMappingInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// OCID of the subscriptionMappingId. + /// + [Input("subscriptionMappingId", required: true)] + public Input SubscriptionMappingId { get; set; } = null!; + + public GetSubscriptionMappingInvokeArgs() + { + } + public static new GetSubscriptionMappingInvokeArgs Empty => new GetSubscriptionMappingInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionMappingResult + { + /// + /// OCID of the compartment. Always a tenancy OCID. + /// + public readonly string CompartmentId; + /// + /// OCID of the mapping between subscription and compartment identified by the tenancy. + /// + public readonly string Id; + /// + /// Denotes if the subscription is explicity assigned to the root compartment or tenancy. + /// + public readonly bool IsExplicitlyAssigned; + /// + /// Lifecycle state of the subscriptionMapping. + /// + public readonly string State; + /// + /// OCID of the subscription. + /// + public readonly string SubscriptionId; + public readonly string SubscriptionMappingId; + /// + /// Date-time when subscription mapping was created. + /// + public readonly string TimeCreated; + /// + /// Date-time when subscription mapping was terminated. + /// + public readonly string TimeTerminated; + /// + /// Date-time when subscription mapping was updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSubscriptionMappingResult( + string compartmentId, + + string id, + + bool isExplicitlyAssigned, + + string state, + + string subscriptionId, + + string subscriptionMappingId, + + string timeCreated, + + string timeTerminated, + + string timeUpdated) + { + CompartmentId = compartmentId; + Id = id; + IsExplicitlyAssigned = isExplicitlyAssigned; + State = state; + SubscriptionId = subscriptionId; + SubscriptionMappingId = subscriptionMappingId; + TimeCreated = timeCreated; + TimeTerminated = timeTerminated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMappings.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMappings.cs new file mode 100644 index 0000000000..b82a9b39c2 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptionMappings.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.Tenantmanagercontrolplane +{ + public static class GetSubscriptionMappings + { + /// + /// This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMappings = Oci.Tenantmanagercontrolplane.GetSubscriptionMappings.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// CompartmentId = compartmentId, + /// State = subscriptionMappingState, + /// SubscriptionMappingId = testSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionMappingsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", args ?? new GetSubscriptionMappingsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMappings = Oci.Tenantmanagercontrolplane.GetSubscriptionMappings.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// CompartmentId = compartmentId, + /// State = subscriptionMappingState, + /// SubscriptionMappingId = testSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionMappingsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", args ?? new GetSubscriptionMappingsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMappings = Oci.Tenantmanagercontrolplane.GetSubscriptionMappings.Invoke(new() + /// { + /// SubscriptionId = testSubscription.Id, + /// CompartmentId = compartmentId, + /// State = subscriptionMappingState, + /// SubscriptionMappingId = testSubscriptionMapping.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionMappingsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", args ?? new GetSubscriptionMappingsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionMappingsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public string SubscriptionId { get; set; } = null!; + + /// + /// A unique ID for subscription and tenancy mapping. + /// + [Input("subscriptionMappingId")] + public string? SubscriptionMappingId { get; set; } + + public GetSubscriptionMappingsArgs() + { + } + public static new GetSubscriptionMappingsArgs Empty => new GetSubscriptionMappingsArgs(); + } + + public sealed class GetSubscriptionMappingsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// OCID of the subscription. + /// + [Input("subscriptionId", required: true)] + public Input SubscriptionId { get; set; } = null!; + + /// + /// A unique ID for subscription and tenancy mapping. + /// + [Input("subscriptionMappingId")] + public Input? SubscriptionMappingId { get; set; } + + public GetSubscriptionMappingsInvokeArgs() + { + } + public static new GetSubscriptionMappingsInvokeArgs Empty => new GetSubscriptionMappingsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionMappingsResult + { + /// + /// OCID of the compartment. Always a tenancy OCID. + /// + public readonly string? CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Lifecycle state of the subscriptionMapping. + /// + public readonly string? State; + /// + /// OCID of the subscription. + /// + public readonly string SubscriptionId; + /// + /// The list of subscription_mapping_collection. + /// + public readonly ImmutableArray SubscriptionMappingCollections; + public readonly string? SubscriptionMappingId; + + [OutputConstructor] + private GetSubscriptionMappingsResult( + string? compartmentId, + + ImmutableArray filters, + + string id, + + string? state, + + string subscriptionId, + + ImmutableArray subscriptionMappingCollections, + + string? subscriptionMappingId) + { + CompartmentId = compartmentId; + Filters = filters; + Id = id; + State = state; + SubscriptionId = subscriptionId; + SubscriptionMappingCollections = subscriptionMappingCollections; + SubscriptionMappingId = subscriptionMappingId; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptions.cs b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptions.cs new file mode 100644 index 0000000000..9cb581eb2b --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/GetSubscriptions.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + public static class GetSubscriptions + { + /// + /// This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the subscriptions that a compartment owns. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptions = Oci.Tenantmanagercontrolplane.GetSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = subscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSubscriptionsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", args ?? new GetSubscriptionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the subscriptions that a compartment owns. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptions = Oci.Tenantmanagercontrolplane.GetSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = subscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", args ?? new GetSubscriptionsInvokeArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// List the subscriptions that a compartment owns. Only the root compartment is allowed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptions = Oci.Tenantmanagercontrolplane.GetSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// EntityVersion = subscriptionEntityVersion, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSubscriptionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", args ?? new GetSubscriptionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubscriptionsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// The version of the subscription entity. + /// + [Input("entityVersion")] + public string? EntityVersion { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The ID of the subscription to which the tenancy is associated. + /// + [Input("subscriptionId")] + public string? SubscriptionId { get; set; } + + public GetSubscriptionsArgs() + { + } + public static new GetSubscriptionsArgs Empty => new GetSubscriptionsArgs(); + } + + public sealed class GetSubscriptionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The version of the subscription entity. + /// + [Input("entityVersion")] + public Input? EntityVersion { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The ID of the subscription to which the tenancy is associated. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + public GetSubscriptionsInvokeArgs() + { + } + public static new GetSubscriptionsInvokeArgs Empty => new GetSubscriptionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubscriptionsResult + { + /// + /// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + /// + public readonly string? CompartmentId; + /// + /// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + /// + public readonly string? EntityVersion; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The list of subscription_collection. + /// + public readonly ImmutableArray SubscriptionCollections; + public readonly string? SubscriptionId; + + [OutputConstructor] + private GetSubscriptionsResult( + string? compartmentId, + + string? entityVersion, + + ImmutableArray filters, + + string id, + + ImmutableArray subscriptionCollections, + + string? subscriptionId) + { + CompartmentId = compartmentId; + EntityVersion = entityVersion; + Filters = filters; + Id = id; + SubscriptionCollections = subscriptionCollections; + SubscriptionId = subscriptionId; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilter.cs new file mode 100644 index 0000000000..bc424c9f28 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetAssignedSubscriptionLineItemsFilterArgs : 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 GetAssignedSubscriptionLineItemsFilterArgs() + { + } + public static new GetAssignedSubscriptionLineItemsFilterArgs Empty => new GetAssignedSubscriptionLineItemsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilterArgs.cs new file mode 100644 index 0000000000..4173990943 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionLineItemsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetAssignedSubscriptionLineItemsFilterInputArgs : 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 GetAssignedSubscriptionLineItemsFilterInputArgs() + { + } + public static new GetAssignedSubscriptionLineItemsFilterInputArgs Empty => new GetAssignedSubscriptionLineItemsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilter.cs new file mode 100644 index 0000000000..7b3c2be4ba --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetAssignedSubscriptionsFilterArgs : 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 GetAssignedSubscriptionsFilterArgs() + { + } + public static new GetAssignedSubscriptionsFilterArgs Empty => new GetAssignedSubscriptionsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilterArgs.cs new file mode 100644 index 0000000000..bef3c876c1 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetAssignedSubscriptionsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetAssignedSubscriptionsFilterInputArgs : 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 GetAssignedSubscriptionsFilterInputArgs() + { + } + public static new GetAssignedSubscriptionsFilterInputArgs Empty => new GetAssignedSubscriptionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilter.cs new file mode 100644 index 0000000000..288a2e7480 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetDomainGovernancesFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// A filter to return only resources that exactly match the 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 GetDomainGovernancesFilterArgs() + { + } + public static new GetDomainGovernancesFilterArgs Empty => new GetDomainGovernancesFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilterArgs.cs new file mode 100644 index 0000000000..3c779de170 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainGovernancesFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetDomainGovernancesFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A filter to return only resources that exactly match the 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 GetDomainGovernancesFilterInputArgs() + { + } + public static new GetDomainGovernancesFilterInputArgs Empty => new GetDomainGovernancesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilter.cs new file mode 100644 index 0000000000..f270d73248 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetDomainsFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// A filter to return only resources that exactly match the 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 GetDomainsFilterArgs() + { + } + public static new GetDomainsFilterArgs Empty => new GetDomainsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilterArgs.cs new file mode 100644 index 0000000000..de1f0ed378 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetDomainsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetDomainsFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A filter to return only resources that exactly match the 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 GetDomainsFilterInputArgs() + { + } + public static new GetDomainsFilterInputArgs Empty => new GetDomainsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilter.cs new file mode 100644 index 0000000000..66829a15f2 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetLinksFilterArgs : 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 GetLinksFilterArgs() + { + } + public static new GetLinksFilterArgs Empty => new GetLinksFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilterArgs.cs new file mode 100644 index 0000000000..5ea0862a14 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetLinksFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetLinksFilterInputArgs : 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 GetLinksFilterInputArgs() + { + } + public static new GetLinksFilterInputArgs Empty => new GetLinksFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilter.cs new file mode 100644 index 0000000000..4321fe4d56 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetOrganizationTenanciesFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the tenancy. + /// + [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 GetOrganizationTenanciesFilterArgs() + { + } + public static new GetOrganizationTenanciesFilterArgs Empty => new GetOrganizationTenanciesFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilterArgs.cs new file mode 100644 index 0000000000..75236a3731 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationTenanciesFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetOrganizationTenanciesFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the tenancy. + /// + [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 GetOrganizationTenanciesFilterInputArgs() + { + } + public static new GetOrganizationTenanciesFilterInputArgs Empty => new GetOrganizationTenanciesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilter.cs new file mode 100644 index 0000000000..2a483fd813 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetOrganizationsFilterArgs : 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 GetOrganizationsFilterArgs() + { + } + public static new GetOrganizationsFilterArgs Empty => new GetOrganizationsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilterArgs.cs new file mode 100644 index 0000000000..3bf7920aa5 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetOrganizationsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetOrganizationsFilterInputArgs : 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 GetOrganizationsFilterInputArgs() + { + } + public static new GetOrganizationsFilterInputArgs Empty => new GetOrganizationsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilter.cs new file mode 100644 index 0000000000..1173d2682f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetRecipientInvitationsFilterArgs : 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 GetRecipientInvitationsFilterArgs() + { + } + public static new GetRecipientInvitationsFilterArgs Empty => new GetRecipientInvitationsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilterArgs.cs new file mode 100644 index 0000000000..af3a6ba872 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetRecipientInvitationsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetRecipientInvitationsFilterInputArgs : 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 GetRecipientInvitationsFilterInputArgs() + { + } + public static new GetRecipientInvitationsFilterInputArgs Empty => new GetRecipientInvitationsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilter.cs new file mode 100644 index 0000000000..25989db1fd --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSenderInvitationsFilterArgs : 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 GetSenderInvitationsFilterArgs() + { + } + public static new GetSenderInvitationsFilterArgs Empty => new GetSenderInvitationsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilterArgs.cs new file mode 100644 index 0000000000..65786b697f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSenderInvitationsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSenderInvitationsFilterInputArgs : 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 GetSenderInvitationsFilterInputArgs() + { + } + public static new GetSenderInvitationsFilterInputArgs Empty => new GetSenderInvitationsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilter.cs new file mode 100644 index 0000000000..e6d3db67dd --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionAvailableRegionsFilterArgs : 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 GetSubscriptionAvailableRegionsFilterArgs() + { + } + public static new GetSubscriptionAvailableRegionsFilterArgs Empty => new GetSubscriptionAvailableRegionsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilterArgs.cs new file mode 100644 index 0000000000..302a6d016c --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionAvailableRegionsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionAvailableRegionsFilterInputArgs : 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 GetSubscriptionAvailableRegionsFilterInputArgs() + { + } + public static new GetSubscriptionAvailableRegionsFilterInputArgs Empty => new GetSubscriptionAvailableRegionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilter.cs new file mode 100644 index 0000000000..93804bcf14 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionLineItemsFilterArgs : 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 GetSubscriptionLineItemsFilterArgs() + { + } + public static new GetSubscriptionLineItemsFilterArgs Empty => new GetSubscriptionLineItemsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilterArgs.cs new file mode 100644 index 0000000000..0be2a8ca16 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionLineItemsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionLineItemsFilterInputArgs : 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 GetSubscriptionLineItemsFilterInputArgs() + { + } + public static new GetSubscriptionLineItemsFilterInputArgs Empty => new GetSubscriptionLineItemsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilter.cs new file mode 100644 index 0000000000..b0b179a22f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionMappingsFilterArgs : 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 GetSubscriptionMappingsFilterArgs() + { + } + public static new GetSubscriptionMappingsFilterArgs Empty => new GetSubscriptionMappingsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilterArgs.cs new file mode 100644 index 0000000000..d75a7bed67 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionMappingsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionMappingsFilterInputArgs : 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 GetSubscriptionMappingsFilterInputArgs() + { + } + public static new GetSubscriptionMappingsFilterInputArgs Empty => new GetSubscriptionMappingsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilter.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilter.cs new file mode 100644 index 0000000000..0252c74f5e --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilter.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionsFilterArgs : 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 GetSubscriptionsFilterArgs() + { + } + public static new GetSubscriptionsFilterArgs Empty => new GetSubscriptionsFilterArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilterArgs.cs b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilterArgs.cs new file mode 100644 index 0000000000..8d9c03b8fb --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Inputs/GetSubscriptionsFilterArgs.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.Tenantmanagercontrolplane.Inputs +{ + + public sealed class GetSubscriptionsFilterInputArgs : 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 GetSubscriptionsFilterInputArgs() + { + } + public static new GetSubscriptionsFilterInputArgs Empty => new GetSubscriptionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult.cs new file mode 100644 index 0000000000..b72c8c03f9 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult + { + /// + /// Billing model supported by the associated line item. + /// + public readonly string BillingModel; + /// + /// Subscription line item identifier. + /// + public readonly string Id; + /// + /// Product code. + /// + public readonly string ProductCode; + /// + /// Product number. + /// + public readonly double Quantity; + /// + /// 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + /// + public readonly string TimeEnded; + /// + /// The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult( + string billingModel, + + string id, + + string productCode, + + double quantity, + + ImmutableDictionary systemTags, + + string timeEnded, + + string timeStarted) + { + BillingModel = billingModel; + Id = id; + ProductCode = productCode; + Quantity = quantity; + SystemTags = systemTags; + TimeEnded = timeEnded; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult.cs new file mode 100644 index 0000000000..779419d74f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult + { + /// + /// Array containing line item summaries in an assigned subscription. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsFilterResult.cs new file mode 100644 index 0000000000..2197dcd440 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionLineItemsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionLineItemsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetAssignedSubscriptionLineItemsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionPromotionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionPromotionResult.cs new file mode 100644 index 0000000000..8aa7da86c1 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionPromotionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionPromotionResult + { + /// + /// If a subscription is present, indicates the total amount of promotional subscription credits. + /// + public readonly double Amount; + /// + /// Currency unit associated with the promotion. + /// + public readonly string CurrencyUnit; + /// + /// Specifies how long the promotion related to the subscription, if any, is valid in duration units. + /// + public readonly int Duration; + /// + /// Unit for the duration. + /// + public readonly string DurationUnit; + /// + /// Speficies whether or not the customer intends to pay after the promotion has expired. + /// + public readonly bool IsIntentToPay; + /// + /// If a subscription is present, indicates the current status of the subscription promotion. + /// + public readonly string Status; + /// + /// Date and time when the promotion ends. + /// + public readonly string TimeExpired; + /// + /// Date and time when the promotion starts. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetAssignedSubscriptionPromotionResult( + double amount, + + string currencyUnit, + + int duration, + + string durationUnit, + + bool isIntentToPay, + + string status, + + string timeExpired, + + string timeStarted) + { + Amount = amount; + CurrencyUnit = currencyUnit; + Duration = duration; + DurationUnit = durationUnit; + IsIntentToPay = isIntentToPay; + Status = status; + TimeExpired = timeExpired; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionSkusResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionSkusResult.cs new file mode 100644 index 0000000000..f5e6da74f4 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionSkusResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionSkusResult + { + /// + /// Description of the stock units. + /// + public readonly string Description; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// Sales order line identifier. + /// + public readonly string GsiOrderLineId; + /// + /// Specifies if an additional test instance can be provisioned by the SaaS application. + /// + public readonly bool IsAdditionalInstance; + /// + /// Specifies if the SKU is considered as a parent or child. + /// + public readonly bool IsBaseServiceComponent; + /// + /// Description of the covered product belonging to this SKU. + /// + public readonly string LicensePartDescription; + /// + /// Base metric for billing the service. + /// + public readonly string MetricName; + /// + /// Quantity of the stock units. + /// + public readonly int Quantity; + /// + /// Stock Keeping Unit (SKU) ID. + /// + public readonly string Sku; + /// + /// Subscription start time. + /// + public readonly string StartDate; + + [OutputConstructor] + private GetAssignedSubscriptionSkusResult( + string description, + + string endDate, + + string gsiOrderLineId, + + bool isAdditionalInstance, + + bool isBaseServiceComponent, + + string licensePartDescription, + + string metricName, + + int quantity, + + string sku, + + string startDate) + { + Description = description; + EndDate = endDate; + GsiOrderLineId = gsiOrderLineId; + IsAdditionalInstance = isAdditionalInstance; + IsBaseServiceComponent = isBaseServiceComponent; + LicensePartDescription = licensePartDescription; + MetricName = metricName; + Quantity = quantity; + Sku = sku; + StartDate = startDate; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult.cs new file mode 100644 index 0000000000..908e284be6 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult + { + /// + /// If a subscription is present, indicates the total amount of promotional subscription credits. + /// + public readonly double Amount; + /// + /// Currency unit associated with the promotion. + /// + public readonly string CurrencyUnit; + /// + /// Specifies how long the promotion related to the subscription, if any, is valid in duration units. + /// + public readonly int Duration; + /// + /// Unit for the duration. + /// + public readonly string DurationUnit; + /// + /// Speficies whether or not the customer intends to pay after the promotion has expired. + /// + public readonly bool IsIntentToPay; + /// + /// If a subscription is present, indicates the current status of the subscription promotion. + /// + public readonly string Status; + /// + /// Date and time when the promotion ends. + /// + public readonly string TimeExpired; + /// + /// Date and time when the promotion starts. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult( + double amount, + + string currencyUnit, + + int duration, + + string durationUnit, + + bool isIntentToPay, + + string status, + + string timeExpired, + + string timeStarted) + { + Amount = amount; + CurrencyUnit = currencyUnit; + Duration = duration; + DurationUnit = durationUnit; + IsIntentToPay = isIntentToPay; + Status = status; + TimeExpired = timeExpired; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult.cs new file mode 100644 index 0000000000..9b3d4ba81d --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult.cs @@ -0,0 +1,210 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult + { + /// + /// Subscription ID. + /// + public readonly string ClassicSubscriptionId; + /// + /// The currency code for the customer associated with the subscription. + /// + public readonly string CloudAmountCurrency; + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Customer service identifier for the customer associated with the subscription. + /// + public readonly string CsiNumber; + /// + /// Currency code. For example USD, MXN. + /// + public readonly string CurrencyCode; + /// + /// The country code for the customer associated with the subscription. + /// + public readonly string CustomerCountryCode; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// The version of the subscription entity. + /// + public readonly string EntityVersion; + /// + /// 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + /// + public readonly string Id; + /// + /// Specifies whether or not the subscription is legacy. + /// + public readonly bool IsClassicSubscription; + /// + /// Specifies whether or not the subscription is a government subscription. + /// + public readonly bool IsGovernmentSubscription; + /// + /// Service or component which is used to provision and manage the subscription. + /// + public readonly string ManagedBy; + /// + /// List of subscription order OCIDs that contributed to this subscription. + /// + public readonly ImmutableArray OrderIds; + /// + /// Specifies any program that is associated with the subscription. + /// + public readonly string ProgramType; + /// + /// List of promotions related to the subscription. + /// + public readonly ImmutableArray Promotions; + /// + /// Purchase entitlement ID associated with the subscription. + /// + public readonly string PurchaseEntitlementId; + /// + /// Region for the subscription. + /// + public readonly string RegionAssignment; + /// + /// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + /// + public readonly string ServiceName; + /// + /// List of SKUs linked to the subscription. + /// + public readonly ImmutableArray Skuses; + /// + /// Subscription start time. + /// + public readonly string StartDate; + /// + /// Lifecycle state of the subscription. + /// + public readonly string State; + /// + /// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + /// + public readonly string SubscriptionNumber; + /// + /// Tier for the subscription, whether a free promotion subscription or a paid subscription. + /// + public readonly string SubscriptionTier; + /// + /// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeCreated; + /// + /// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult( + string classicSubscriptionId, + + string cloudAmountCurrency, + + string compartmentId, + + string csiNumber, + + string currencyCode, + + string customerCountryCode, + + ImmutableDictionary definedTags, + + string endDate, + + string entityVersion, + + ImmutableDictionary freeformTags, + + string id, + + bool isClassicSubscription, + + bool isGovernmentSubscription, + + string managedBy, + + ImmutableArray orderIds, + + string programType, + + ImmutableArray promotions, + + string purchaseEntitlementId, + + string regionAssignment, + + string serviceName, + + ImmutableArray skuses, + + string startDate, + + string state, + + string subscriptionNumber, + + string subscriptionTier, + + string timeCreated, + + string timeUpdated) + { + ClassicSubscriptionId = classicSubscriptionId; + CloudAmountCurrency = cloudAmountCurrency; + CompartmentId = compartmentId; + CsiNumber = csiNumber; + CurrencyCode = currencyCode; + CustomerCountryCode = customerCountryCode; + DefinedTags = definedTags; + EndDate = endDate; + EntityVersion = entityVersion; + FreeformTags = freeformTags; + Id = id; + IsClassicSubscription = isClassicSubscription; + IsGovernmentSubscription = isGovernmentSubscription; + ManagedBy = managedBy; + OrderIds = orderIds; + ProgramType = programType; + Promotions = promotions; + PurchaseEntitlementId = purchaseEntitlementId; + RegionAssignment = regionAssignment; + ServiceName = serviceName; + Skuses = skuses; + StartDate = startDate; + State = state; + SubscriptionNumber = subscriptionNumber; + SubscriptionTier = subscriptionTier; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult.cs new file mode 100644 index 0000000000..5eb06dca1a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult + { + /// + /// Description of the stock units. + /// + public readonly string Description; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// Sales order line identifier. + /// + public readonly string GsiOrderLineId; + /// + /// Specifies if an additional test instance can be provisioned by the SaaS application. + /// + public readonly bool IsAdditionalInstance; + /// + /// Specifies if the SKU is considered as a parent or child. + /// + public readonly bool IsBaseServiceComponent; + /// + /// Description of the covered product belonging to this SKU. + /// + public readonly string LicensePartDescription; + /// + /// Base metric for billing the service. + /// + public readonly string MetricName; + /// + /// Quantity of the stock units. + /// + public readonly int Quantity; + /// + /// Stock Keeping Unit (SKU) ID. + /// + public readonly string Sku; + /// + /// Subscription start time. + /// + public readonly string StartDate; + + [OutputConstructor] + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult( + string description, + + string endDate, + + string gsiOrderLineId, + + bool isAdditionalInstance, + + bool isBaseServiceComponent, + + string licensePartDescription, + + string metricName, + + int quantity, + + string sku, + + string startDate) + { + Description = description; + EndDate = endDate; + GsiOrderLineId = gsiOrderLineId; + IsAdditionalInstance = isAdditionalInstance; + IsBaseServiceComponent = isBaseServiceComponent; + LicensePartDescription = licensePartDescription; + MetricName = metricName; + Quantity = quantity; + Sku = sku; + StartDate = startDate; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionResult.cs new file mode 100644 index 0000000000..5081d8c6c7 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionsAssignedSubscriptionCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetAssignedSubscriptionsAssignedSubscriptionCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsFilterResult.cs new file mode 100644 index 0000000000..8ec85f872d --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetAssignedSubscriptionsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetAssignedSubscriptionsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetAssignedSubscriptionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionItemResult.cs new file mode 100644 index 0000000000..69020a8da8 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainGovernancesDomainGovernanceCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// The domain OCID. + /// + public readonly string DomainId; + /// + /// 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 OCID of the domain governance entity. + /// + public readonly string Id; + /// + /// Indicates whether governance is enabled for this domain. + /// + public readonly bool IsGovernanceEnabled; + /// + /// The ONS subscription associated with this domain governance entity. + /// + public readonly string OnsSubscriptionId; + /// + /// The ONS topic associated with this domain governance entity. + /// + public readonly string OnsTopicId; + /// + /// The OCID of the tenancy that owns this domain governance entity. + /// + public readonly string OwnerId; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// Email address to be used to notify the user, and that the ONS subscription will be created with. + /// + public readonly string SubscriptionEmail; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + /// + public readonly string TimeCreated; + /// + /// Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDomainGovernancesDomainGovernanceCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string domainId, + + ImmutableDictionary freeformTags, + + string id, + + bool isGovernanceEnabled, + + string onsSubscriptionId, + + string onsTopicId, + + string ownerId, + + string state, + + string subscriptionEmail, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DomainId = domainId; + FreeformTags = freeformTags; + Id = id; + IsGovernanceEnabled = isGovernanceEnabled; + OnsSubscriptionId = onsSubscriptionId; + OnsTopicId = onsTopicId; + OwnerId = ownerId; + State = state; + SubscriptionEmail = subscriptionEmail; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionResult.cs new file mode 100644 index 0000000000..e5d9896934 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesDomainGovernanceCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainGovernancesDomainGovernanceCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDomainGovernancesDomainGovernanceCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesFilterResult.cs new file mode 100644 index 0000000000..c8fcb1cdf5 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainGovernancesFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainGovernancesFilterResult + { + /// + /// A filter to return only resources that exactly match the name given. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDomainGovernancesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionItemResult.cs new file mode 100644 index 0000000000..a15c780465 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionItemResult.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainsDomainCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// The domain name. + /// + public readonly string DomainName; + /// + /// 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 OCID of the domain. + /// + public readonly string Id; + public readonly bool IsGovernanceEnabled; + /// + /// The OCID of the tenancy that has started the registration process for this domain. + /// + public readonly string OwnerId; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// The status of the domain. + /// + public readonly string Status; + public readonly string SubscriptionEmail; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date-time when this domain was created. An RFC 3339-formatted date and time string. + /// + public readonly string TimeCreated; + /// + /// Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + /// + public readonly string TimeUpdated; + /// + /// The code that the owner of the domain will need to add as a TXT record to their domain. + /// + public readonly string TxtRecord; + + [OutputConstructor] + private GetDomainsDomainCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string domainName, + + ImmutableDictionary freeformTags, + + string id, + + bool isGovernanceEnabled, + + string ownerId, + + string state, + + string status, + + string subscriptionEmail, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated, + + string txtRecord) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DomainName = domainName; + FreeformTags = freeformTags; + Id = id; + IsGovernanceEnabled = isGovernanceEnabled; + OwnerId = ownerId; + State = state; + Status = status; + SubscriptionEmail = subscriptionEmail; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + TxtRecord = txtRecord; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionResult.cs new file mode 100644 index 0000000000..868587a4f7 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsDomainCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainsDomainCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDomainsDomainCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsFilterResult.cs new file mode 100644 index 0000000000..eaffc69d1e --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetDomainsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetDomainsFilterResult + { + /// + /// A filter to return only resources that exactly match the name given. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDomainsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksFilterResult.cs new file mode 100644 index 0000000000..a265d743d6 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetLinksFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetLinksFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionItemResult.cs new file mode 100644 index 0000000000..d73c419d98 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetLinksLinkCollectionItemResult + { + /// + /// The ID of the child tenancy this link is associated with. + /// + public readonly string ChildTenancyId; + /// + /// OCID of the link. + /// + public readonly string Id; + /// + /// The ID of the parent tenancy this link is associated with. + /// + public readonly string ParentTenancyId; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// Date-time when this link was created. + /// + public readonly string TimeCreated; + /// + /// Date-time when this link was terminated. + /// + public readonly string TimeTerminated; + /// + /// Date-time when this link was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetLinksLinkCollectionItemResult( + string childTenancyId, + + string id, + + string parentTenancyId, + + string state, + + string timeCreated, + + string timeTerminated, + + string timeUpdated) + { + ChildTenancyId = childTenancyId; + Id = id; + ParentTenancyId = parentTenancyId; + State = state; + TimeCreated = timeCreated; + TimeTerminated = timeTerminated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionResult.cs new file mode 100644 index 0000000000..25fe5b71e2 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetLinksLinkCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetLinksLinkCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetLinksLinkCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesFilterResult.cs new file mode 100644 index 0000000000..7be0b67e55 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationTenanciesFilterResult + { + /// + /// Name of the tenancy. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetOrganizationTenanciesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItemResult.cs new file mode 100644 index 0000000000..1a93defe9c --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationTenanciesOrganizationTenancyCollectionItemResult + { + /// + /// The governance status of the tenancy. + /// + public readonly string GovernanceStatus; + /// + /// Parameter to indicate the tenancy is approved for transfer to another organization. + /// + public readonly bool IsApprovedForTransfer; + /// + /// Name of the tenancy. + /// + public readonly string Name; + /// + /// Role of the organization tenancy. + /// + public readonly string Role; + /// + /// Lifecycle state of the organization tenancy. + /// + public readonly string State; + /// + /// OCID of the tenancy. + /// + public readonly string TenancyId; + /// + /// Date and time when the tenancy joined the organization. + /// + public readonly string TimeJoined; + /// + /// Date and time when the tenancy left the organization. + /// + public readonly string TimeLeft; + + [OutputConstructor] + private GetOrganizationTenanciesOrganizationTenancyCollectionItemResult( + string governanceStatus, + + bool isApprovedForTransfer, + + string name, + + string role, + + string state, + + string tenancyId, + + string timeJoined, + + string timeLeft) + { + GovernanceStatus = governanceStatus; + IsApprovedForTransfer = isApprovedForTransfer; + Name = name; + Role = role; + State = state; + TenancyId = tenancyId; + TimeJoined = timeJoined; + TimeLeft = timeLeft; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionResult.cs new file mode 100644 index 0000000000..51756b89b4 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationTenanciesOrganizationTenancyCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationTenanciesOrganizationTenancyCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetOrganizationTenanciesOrganizationTenancyCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsFilterResult.cs new file mode 100644 index 0000000000..40fda772e8 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetOrganizationsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionItemResult.cs new file mode 100644 index 0000000000..ff65f21078 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationsOrganizationCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + /// + public readonly string DefaultUcmSubscriptionId; + /// + /// A display name for the organization. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// OCID of the organization. + /// + public readonly string Id; + /// + /// The name of the tenancy that is the organization parent. + /// + public readonly string ParentName; + /// + /// Lifecycle state of the organization. + /// + public readonly string State; + /// + /// Date and time when the organization was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the organization was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetOrganizationsOrganizationCollectionItemResult( + string compartmentId, + + string defaultUcmSubscriptionId, + + string displayName, + + string id, + + string parentName, + + string state, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefaultUcmSubscriptionId = defaultUcmSubscriptionId; + DisplayName = displayName; + Id = id; + ParentName = parentName; + State = state; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionResult.cs new file mode 100644 index 0000000000..21ad362e87 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetOrganizationsOrganizationCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetOrganizationsOrganizationCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetOrganizationsOrganizationCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsFilterResult.cs new file mode 100644 index 0000000000..1961500ef2 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetRecipientInvitationsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetRecipientInvitationsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionItemResult.cs new file mode 100644 index 0000000000..bfb86affe1 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetRecipientInvitationsRecipientInvitationCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user-created name to describe the invitation. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// OCID of the recipient invitation. + /// + public readonly string Id; + /// + /// Email address of the recipient. + /// + public readonly string RecipientEmailAddress; + /// + /// OCID of the corresponding sender invitation. + /// + public readonly string SenderInvitationId; + /// + /// The tenancy that sent the invitation. + /// + public readonly string SenderTenancyId; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// The status of the recipient invitation. + /// + public readonly string Status; + /// + /// The list of subjects the invitation contains. + /// + public readonly ImmutableArray Subjects; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date and time when the recipient invitation was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the recipient invitation was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetRecipientInvitationsRecipientInvitationCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string recipientEmailAddress, + + string senderInvitationId, + + string senderTenancyId, + + string state, + + string status, + + ImmutableArray subjects, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + RecipientEmailAddress = recipientEmailAddress; + SenderInvitationId = senderInvitationId; + SenderTenancyId = senderTenancyId; + State = state; + Status = status; + Subjects = subjects; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionResult.cs new file mode 100644 index 0000000000..81d316292a --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetRecipientInvitationsRecipientInvitationCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetRecipientInvitationsRecipientInvitationCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetRecipientInvitationsRecipientInvitationCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsFilterResult.cs new file mode 100644 index 0000000000..e0ef63f65b --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSenderInvitationsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetSenderInvitationsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionItemResult.cs new file mode 100644 index 0000000000..81ed10036e --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSenderInvitationsSenderInvitationCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A filter to return only resources that match the entire display name given. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// OCID of the sender invitation. + /// + public readonly string Id; + /// + /// Email address of the recipient. + /// + public readonly string RecipientEmailAddress; + /// + /// OCID of the corresponding recipient invitation. + /// + public readonly string RecipientInvitationId; + /// + /// The tenancy that the invitation is addressed to. + /// + public readonly string RecipientTenancyId; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// The status of the sender invitation. + /// + public readonly string Status; + /// + /// The list of subjects the invitation contains. + /// + public readonly ImmutableArray Subjects; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Date and time when the sender invitation was created. + /// + public readonly string TimeCreated; + /// + /// Date and time when the sender invitation was last updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSenderInvitationsSenderInvitationCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string recipientEmailAddress, + + string recipientInvitationId, + + string recipientTenancyId, + + string state, + + string status, + + ImmutableArray subjects, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + RecipientEmailAddress = recipientEmailAddress; + RecipientInvitationId = recipientInvitationId; + RecipientTenancyId = recipientTenancyId; + State = state; + Status = status; + Subjects = subjects; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionResult.cs new file mode 100644 index 0000000000..184c6caf83 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSenderInvitationsSenderInvitationCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSenderInvitationsSenderInvitationCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetSenderInvitationsSenderInvitationCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult.cs new file mode 100644 index 0000000000..40f3634c53 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult + { + /// + /// Region availability for the subscription. + /// + public readonly string RegionName; + /// + /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + + [OutputConstructor] + private GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult( + string regionName, + + ImmutableDictionary systemTags) + { + RegionName = regionName; + SystemTags = systemTags; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionResult.cs new file mode 100644 index 0000000000..75a8246387 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionAvailableRegionsAvailableRegionCollectionResult + { + /// + /// Array containing available region items. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetSubscriptionAvailableRegionsAvailableRegionCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsFilterResult.cs new file mode 100644 index 0000000000..4ff3a2b172 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionAvailableRegionsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionAvailableRegionsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetSubscriptionAvailableRegionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsFilterResult.cs new file mode 100644 index 0000000000..a6a3a0b537 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionLineItemsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetSubscriptionLineItemsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult.cs new file mode 100644 index 0000000000..c0670b10ad --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult + { + /// + /// Billing model supported by the associated line item. + /// + public readonly string BillingModel; + /// + /// Subscription line item identifier. + /// + public readonly string Id; + /// + /// Product code. + /// + public readonly string ProductCode; + /// + /// Product number. + /// + public readonly double Quantity; + /// + /// 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + /// + public readonly string TimeEnded; + /// + /// The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult( + string billingModel, + + string id, + + string productCode, + + double quantity, + + ImmutableDictionary systemTags, + + string timeEnded, + + string timeStarted) + { + BillingModel = billingModel; + Id = id; + ProductCode = productCode; + Quantity = quantity; + SystemTags = systemTags; + TimeEnded = timeEnded; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionResult.cs new file mode 100644 index 0000000000..28a43962d6 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionLineItemsSubscriptionLineItemCollectionResult + { + /// + /// Array containing line item summaries in a subscription. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetSubscriptionLineItemsSubscriptionLineItemCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsFilterResult.cs new file mode 100644 index 0000000000..873b9e3fb3 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionMappingsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetSubscriptionMappingsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItemResult.cs new file mode 100644 index 0000000000..b7f33ffee3 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItemResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionMappingsSubscriptionMappingCollectionItemResult + { + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// OCID of the mapping between subscription and compartment identified by the tenancy. + /// + public readonly string Id; + /// + /// Denotes if the subscription is explicity assigned to the root compartment or tenancy. + /// + public readonly bool IsExplicitlyAssigned; + /// + /// The lifecycle state of the resource. + /// + public readonly string State; + /// + /// OCID of the subscription. + /// + public readonly string SubscriptionId; + /// + /// Date-time when subscription mapping was created. + /// + public readonly string TimeCreated; + /// + /// Date-time when subscription mapping was terminated. + /// + public readonly string TimeTerminated; + /// + /// Date-time when subscription mapping was updated. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSubscriptionMappingsSubscriptionMappingCollectionItemResult( + string compartmentId, + + string id, + + bool isExplicitlyAssigned, + + string state, + + string subscriptionId, + + string timeCreated, + + string timeTerminated, + + string timeUpdated) + { + CompartmentId = compartmentId; + Id = id; + IsExplicitlyAssigned = isExplicitlyAssigned; + State = state; + SubscriptionId = subscriptionId; + TimeCreated = timeCreated; + TimeTerminated = timeTerminated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionResult.cs new file mode 100644 index 0000000000..d5545d971f --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionMappingsSubscriptionMappingCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionMappingsSubscriptionMappingCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetSubscriptionMappingsSubscriptionMappingCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionPromotionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionPromotionResult.cs new file mode 100644 index 0000000000..f62f489f8b --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionPromotionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionPromotionResult + { + /// + /// If a subscription is present, indicates the total amount of promotional subscription credits. + /// + public readonly double Amount; + /// + /// Currency unit associated with the promotion. + /// + public readonly string CurrencyUnit; + /// + /// Specifies how long the promotion related to the subscription, if any, is valid in duration units. + /// + public readonly int Duration; + /// + /// Unit for the duration. + /// + public readonly string DurationUnit; + /// + /// Speficies whether or not the customer intends to pay after the promotion has expired. + /// + public readonly bool IsIntentToPay; + /// + /// If a subscription is present, indicates the current status of the subscription promotion. + /// + public readonly string Status; + /// + /// Date and time when the promotion ends. + /// + public readonly string TimeExpired; + /// + /// Date and time when the promotion starts. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetSubscriptionPromotionResult( + double amount, + + string currencyUnit, + + int duration, + + string durationUnit, + + bool isIntentToPay, + + string status, + + string timeExpired, + + string timeStarted) + { + Amount = amount; + CurrencyUnit = currencyUnit; + Duration = duration; + DurationUnit = durationUnit; + IsIntentToPay = isIntentToPay; + Status = status; + TimeExpired = timeExpired; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionSkusResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionSkusResult.cs new file mode 100644 index 0000000000..c48ce36e96 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionSkusResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionSkusResult + { + /// + /// Description of the stock units. + /// + public readonly string Description; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// Sales order line identifier. + /// + public readonly string GsiOrderLineId; + /// + /// Specifies if an additional test instance can be provisioned by the SaaS application. + /// + public readonly bool IsAdditionalInstance; + /// + /// Specifies if the SKU is considered as a parent or child. + /// + public readonly bool IsBaseServiceComponent; + /// + /// Description of the covered product belonging to this SKU. + /// + public readonly string LicensePartDescription; + /// + /// Base metric for billing the service. + /// + public readonly string MetricName; + /// + /// Quantity of the stock units. + /// + public readonly int Quantity; + /// + /// Stock Keeping Unit (SKU) ID. + /// + public readonly string Sku; + /// + /// Subscription start time. + /// + public readonly string StartDate; + + [OutputConstructor] + private GetSubscriptionSkusResult( + string description, + + string endDate, + + string gsiOrderLineId, + + bool isAdditionalInstance, + + bool isBaseServiceComponent, + + string licensePartDescription, + + string metricName, + + int quantity, + + string sku, + + string startDate) + { + Description = description; + EndDate = endDate; + GsiOrderLineId = gsiOrderLineId; + IsAdditionalInstance = isAdditionalInstance; + IsBaseServiceComponent = isBaseServiceComponent; + LicensePartDescription = licensePartDescription; + MetricName = metricName; + Quantity = quantity; + Sku = sku; + StartDate = startDate; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsFilterResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsFilterResult.cs new file mode 100644 index 0000000000..8868f174e1 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsFilterResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetSubscriptionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemPromotionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemPromotionResult.cs new file mode 100644 index 0000000000..aba0768034 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemPromotionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionsSubscriptionCollectionItemPromotionResult + { + /// + /// If a subscription is present, indicates the total amount of promotional subscription credits. + /// + public readonly double Amount; + /// + /// Currency unit associated with the promotion. + /// + public readonly string CurrencyUnit; + /// + /// Specifies how long the promotion related to the subscription, if any, is valid in duration units. + /// + public readonly int Duration; + /// + /// Unit for the duration. + /// + public readonly string DurationUnit; + /// + /// Speficies whether or not the customer intends to pay after the promotion has expired. + /// + public readonly bool IsIntentToPay; + /// + /// If a subscription is present, indicates the current status of the subscription promotion. + /// + public readonly string Status; + /// + /// Date and time when the promotion ends. + /// + public readonly string TimeExpired; + /// + /// Date and time when the promotion starts. + /// + public readonly string TimeStarted; + + [OutputConstructor] + private GetSubscriptionsSubscriptionCollectionItemPromotionResult( + double amount, + + string currencyUnit, + + int duration, + + string durationUnit, + + bool isIntentToPay, + + string status, + + string timeExpired, + + string timeStarted) + { + Amount = amount; + CurrencyUnit = currencyUnit; + Duration = duration; + DurationUnit = durationUnit; + IsIntentToPay = isIntentToPay; + Status = status; + TimeExpired = timeExpired; + TimeStarted = timeStarted; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemResult.cs new file mode 100644 index 0000000000..d7b6fee809 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemResult.cs @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionsSubscriptionCollectionItemResult + { + /// + /// Classic subscription ID. + /// + public readonly string ClassicSubscriptionId; + /// + /// The currency code for the customer associated with the subscription. + /// + public readonly string CloudAmountCurrency; + /// + /// The ID of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Customer service identifier for the customer associated with the subscription. + /// + public readonly string CsiNumber; + /// + /// Currency code. For example USD, MXN. + /// + public readonly string CurrencyCode; + /// + /// The country code for the customer associated with the subscription. + /// + public readonly string CustomerCountryCode; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// The version of the subscription entity. + /// + public readonly string EntityVersion; + /// + /// 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + /// + public readonly string Id; + /// + /// Specifies whether or not the subscription is from classic systems. + /// + public readonly bool IsClassicSubscription; + /// + /// Specifies whether or not the subscription is a government subscription. + /// + public readonly bool IsGovernmentSubscription; + /// + /// The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + /// + public readonly string PaymentModel; + /// + /// Specifies any program that is associated with the subscription. + /// + public readonly string ProgramType; + /// + /// List of promotions related to the subscription. + /// + public readonly ImmutableArray Promotions; + /// + /// Purchase entitlement ID associated with the subscription. + /// + public readonly string PurchaseEntitlementId; + /// + /// Region for the subscription. + /// + public readonly string RegionAssignment; + /// + /// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + /// + public readonly string ServiceName; + /// + /// List of SKUs linked to this subscription. + /// + public readonly ImmutableArray Skuses; + /// + /// Subscription start time. + /// + public readonly string StartDate; + /// + /// Lifecycle state of the subscription. + /// + public readonly string State; + /// + /// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + /// + public readonly string SubscriptionNumber; + /// + /// Tier for the subscription, whether a free promotion subscription or a paid subscription. + /// + public readonly string SubscriptionTier; + /// + /// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeCreated; + /// + /// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetSubscriptionsSubscriptionCollectionItemResult( + string classicSubscriptionId, + + string cloudAmountCurrency, + + string compartmentId, + + string csiNumber, + + string currencyCode, + + string customerCountryCode, + + ImmutableDictionary definedTags, + + string endDate, + + string entityVersion, + + ImmutableDictionary freeformTags, + + string id, + + bool isClassicSubscription, + + bool isGovernmentSubscription, + + string paymentModel, + + string programType, + + ImmutableArray promotions, + + string purchaseEntitlementId, + + string regionAssignment, + + string serviceName, + + ImmutableArray skuses, + + string startDate, + + string state, + + string subscriptionNumber, + + string subscriptionTier, + + string timeCreated, + + string timeUpdated) + { + ClassicSubscriptionId = classicSubscriptionId; + CloudAmountCurrency = cloudAmountCurrency; + CompartmentId = compartmentId; + CsiNumber = csiNumber; + CurrencyCode = currencyCode; + CustomerCountryCode = customerCountryCode; + DefinedTags = definedTags; + EndDate = endDate; + EntityVersion = entityVersion; + FreeformTags = freeformTags; + Id = id; + IsClassicSubscription = isClassicSubscription; + IsGovernmentSubscription = isGovernmentSubscription; + PaymentModel = paymentModel; + ProgramType = programType; + Promotions = promotions; + PurchaseEntitlementId = purchaseEntitlementId; + RegionAssignment = regionAssignment; + ServiceName = serviceName; + Skuses = skuses; + StartDate = startDate; + State = state; + SubscriptionNumber = subscriptionNumber; + SubscriptionTier = subscriptionTier; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemSkusResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemSkusResult.cs new file mode 100644 index 0000000000..efef9b1e8c --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionItemSkusResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionsSubscriptionCollectionItemSkusResult + { + /// + /// Description of the stock units. + /// + public readonly string Description; + /// + /// Date and time when the SKU ended. + /// + public readonly string EndDate; + /// + /// Sales order line identifier. + /// + public readonly string GsiOrderLineId; + /// + /// Specifies if an additional test instance can be provisioned by the SaaS application. + /// + public readonly bool IsAdditionalInstance; + /// + /// Specifies if the SKU is considered as a parent or child. + /// + public readonly bool IsBaseServiceComponent; + /// + /// Description of the covered product belonging to this SKU. + /// + public readonly string LicensePartDescription; + /// + /// Base metric for billing the service. + /// + public readonly string MetricName; + /// + /// Quantity of the stock units. + /// + public readonly int Quantity; + /// + /// Stock Keeping Unit (SKU) ID. + /// + public readonly string Sku; + /// + /// Subscription start time. + /// + public readonly string StartDate; + + [OutputConstructor] + private GetSubscriptionsSubscriptionCollectionItemSkusResult( + string description, + + string endDate, + + string gsiOrderLineId, + + bool isAdditionalInstance, + + bool isBaseServiceComponent, + + string licensePartDescription, + + string metricName, + + int quantity, + + string sku, + + string startDate) + { + Description = description; + EndDate = endDate; + GsiOrderLineId = gsiOrderLineId; + IsAdditionalInstance = isAdditionalInstance; + IsBaseServiceComponent = isBaseServiceComponent; + LicensePartDescription = licensePartDescription; + MetricName = metricName; + Quantity = quantity; + Sku = sku; + StartDate = startDate; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionResult.cs b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionResult.cs new file mode 100644 index 0000000000..04db34b512 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/Outputs/GetSubscriptionsSubscriptionCollectionResult.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.Tenantmanagercontrolplane.Outputs +{ + + [OutputType] + public sealed class GetSubscriptionsSubscriptionCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetSubscriptionsSubscriptionCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/Tenantmanagercontrolplane/README.md b/sdk/dotnet/Tenantmanagercontrolplane/README.md new file mode 100644 index 0000000000..cbd75b269e --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/README.md @@ -0,0 +1 @@ +A Pulumi package for creating and managing Oracle Cloud Infrastructure resources. diff --git a/sdk/dotnet/Tenantmanagercontrolplane/SubscriptionMapping.cs b/sdk/dotnet/Tenantmanagercontrolplane/SubscriptionMapping.cs new file mode 100644 index 0000000000..f6594f5fe4 --- /dev/null +++ b/sdk/dotnet/Tenantmanagercontrolplane/SubscriptionMapping.cs @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Tenantmanagercontrolplane +{ + /// + /// This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + /// + /// Assign the tenancy record identified by the compartment ID to the given subscription ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSubscriptionMapping = new Oci.Tenantmanagercontrolplane.SubscriptionMapping("test_subscription_mapping", new() + /// { + /// CompartmentId = compartmentId, + /// SubscriptionId = testSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// SubscriptionMappings can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" + /// ``` + /// + [OciResourceType("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping")] + public partial class SubscriptionMapping : global::Pulumi.CustomResource + { + /// + /// OCID of the compartment. Always a tenancy OCID. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// Denotes if the subscription is explicity assigned to the root compartment or tenancy. + /// + [Output("isExplicitlyAssigned")] + public Output IsExplicitlyAssigned { get; private set; } = null!; + + /// + /// Lifecycle state of the subscriptionMapping. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// OCID of Subscription. + /// + /// + /// ** IMPORTANT ** + /// 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!; + + /// + /// Date-time when subscription mapping was created. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// Date-time when subscription mapping was terminated. + /// + [Output("timeTerminated")] + public Output TimeTerminated { get; private set; } = null!; + + /// + /// Date-time when subscription mapping was updated. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a SubscriptionMapping 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 SubscriptionMapping(string name, SubscriptionMappingArgs args, CustomResourceOptions? options = null) + : base("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", name, args ?? new SubscriptionMappingArgs(), MakeResourceOptions(options, "")) + { + } + + private SubscriptionMapping(string name, Input id, SubscriptionMappingState? state = null, CustomResourceOptions? options = null) + : base("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", 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 SubscriptionMapping 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 SubscriptionMapping Get(string name, Input id, SubscriptionMappingState? state = null, CustomResourceOptions? options = null) + { + return new SubscriptionMapping(name, id, state, options); + } + } + + public sealed class SubscriptionMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// OCID of the compartment. Always a tenancy OCID. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// OCID of Subscription. + /// + /// + /// ** IMPORTANT ** + /// 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", required: true)] + public Input SubscriptionId { get; set; } = null!; + + public SubscriptionMappingArgs() + { + } + public static new SubscriptionMappingArgs Empty => new SubscriptionMappingArgs(); + } + + public sealed class SubscriptionMappingState : global::Pulumi.ResourceArgs + { + /// + /// OCID of the compartment. Always a tenancy OCID. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Denotes if the subscription is explicity assigned to the root compartment or tenancy. + /// + [Input("isExplicitlyAssigned")] + public Input? IsExplicitlyAssigned { get; set; } + + /// + /// Lifecycle state of the subscriptionMapping. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// OCID of Subscription. + /// + /// + /// ** IMPORTANT ** + /// 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; } + + /// + /// Date-time when subscription mapping was created. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// Date-time when subscription mapping was terminated. + /// + [Input("timeTerminated")] + public Input? TimeTerminated { get; set; } + + /// + /// Date-time when subscription mapping was updated. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public SubscriptionMappingState() + { + } + public static new SubscriptionMappingState Empty => new SubscriptionMappingState(); + } +} diff --git a/sdk/dotnet/Vault/GetSecret.cs b/sdk/dotnet/Vault/GetSecret.cs index 6ee2c2de3c..45b1a2cd31 100644 --- a/sdk/dotnet/Vault/GetSecret.cs +++ b/sdk/dotnet/Vault/GetSecret.cs @@ -139,6 +139,7 @@ public sealed class GetSecretResult /// A brief description of the secret. Avoid entering confidential information. /// public readonly string Description; + public readonly bool EnableAutoGeneration; /// /// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// @@ -148,6 +149,10 @@ public sealed class GetSecretResult /// public readonly string Id; /// + /// The value of this flag determines whether or not secret content will be generated automatically. + /// + public readonly bool IsAutoGenerationEnabled; + /// /// The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. /// public readonly string KeyId; @@ -176,6 +181,10 @@ public sealed class GetSecretResult /// public readonly string RotationStatus; public readonly ImmutableArray SecretContents; + /// + /// Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + /// + public readonly ImmutableArray SecretGenerationContexts; public readonly string SecretId; /// /// The user-friendly name of the secret. Avoid entering confidential information. @@ -216,10 +225,14 @@ private GetSecretResult( string description, + bool enableAutoGeneration, + ImmutableDictionary freeformTags, string id, + bool isAutoGenerationEnabled, + string keyId, string lastRotationTime, @@ -236,6 +249,8 @@ private GetSecretResult( ImmutableArray secretContents, + ImmutableArray secretGenerationContexts, + string secretId, string secretName, @@ -256,8 +271,10 @@ private GetSecretResult( CurrentVersionNumber = currentVersionNumber; DefinedTags = definedTags; Description = description; + EnableAutoGeneration = enableAutoGeneration; FreeformTags = freeformTags; Id = id; + IsAutoGenerationEnabled = isAutoGenerationEnabled; KeyId = keyId; LastRotationTime = lastRotationTime; LifecycleDetails = lifecycleDetails; @@ -266,6 +283,7 @@ private GetSecretResult( RotationConfigs = rotationConfigs; RotationStatus = rotationStatus; SecretContents = secretContents; + SecretGenerationContexts = secretGenerationContexts; SecretId = secretId; SecretName = secretName; SecretRules = secretRules; diff --git a/sdk/dotnet/Vault/GetSecretVersion.cs b/sdk/dotnet/Vault/GetSecretVersion.cs deleted file mode 100644 index 2f126730ba..0000000000 --- a/sdk/dotnet/Vault/GetSecretVersion.cs +++ /dev/null @@ -1,216 +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.Vault -{ - public static class GetSecretVersion - { - /// - /// This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - /// - /// Gets information about the specified version of a secret. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testSecretVersion = Oci.Vault.GetSecretVersion.Invoke(new() - /// { - /// SecretId = testSecret.Id, - /// SecretVersionNumber = secretVersionSecretVersionNumber, - /// }); - /// - /// }); - /// ``` - /// - public static Task InvokeAsync(GetSecretVersionArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Vault/getSecretVersion:getSecretVersion", args ?? new GetSecretVersionArgs(), options.WithDefaults()); - - /// - /// This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - /// - /// Gets information about the specified version of a secret. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testSecretVersion = Oci.Vault.GetSecretVersion.Invoke(new() - /// { - /// SecretId = testSecret.Id, - /// SecretVersionNumber = secretVersionSecretVersionNumber, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetSecretVersionInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:Vault/getSecretVersion:getSecretVersion", args ?? new GetSecretVersionInvokeArgs(), options.WithDefaults()); - - /// - /// This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - /// - /// Gets information about the specified version of a secret. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testSecretVersion = Oci.Vault.GetSecretVersion.Invoke(new() - /// { - /// SecretId = testSecret.Id, - /// SecretVersionNumber = secretVersionSecretVersionNumber, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetSecretVersionInvokeArgs args, InvokeOutputOptions options) - => global::Pulumi.Deployment.Instance.Invoke("oci:Vault/getSecretVersion:getSecretVersion", args ?? new GetSecretVersionInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSecretVersionArgs : global::Pulumi.InvokeArgs - { - /// - /// The OCID of the secret. - /// - [Input("secretId", required: true)] - public string SecretId { get; set; } = null!; - - /// - /// The version number of the secret. - /// - [Input("secretVersionNumber", required: true)] - public string SecretVersionNumber { get; set; } = null!; - - public GetSecretVersionArgs() - { - } - public static new GetSecretVersionArgs Empty => new GetSecretVersionArgs(); - } - - public sealed class GetSecretVersionInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The OCID of the secret. - /// - [Input("secretId", required: true)] - public Input SecretId { get; set; } = null!; - - /// - /// The version number of the secret. - /// - [Input("secretVersionNumber", required: true)] - public Input SecretVersionNumber { get; set; } = null!; - - public GetSecretVersionInvokeArgs() - { - } - public static new GetSecretVersionInvokeArgs Empty => new GetSecretVersionInvokeArgs(); - } - - - [OutputType] - public sealed class GetSecretVersionResult - { - /// - /// The content type of the secret version's secret contents. - /// - public readonly string ContentType; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The name of the secret version. A name is unique across versions of a secret. - /// - public readonly string Name; - /// - /// The OCID of the secret. - /// - public readonly string SecretId; - public readonly string SecretVersionNumber; - /// - /// A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - /// - public readonly ImmutableArray Stages; - /// - /// A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - /// - public readonly string TimeCreated; - /// - /// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - /// - public readonly string TimeOfCurrentVersionExpiry; - /// - /// An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - /// - public readonly string TimeOfDeletion; - /// - /// The version number of the secret. - /// - public readonly string VersionNumber; - - [OutputConstructor] - private GetSecretVersionResult( - string contentType, - - string id, - - string name, - - string secretId, - - string secretVersionNumber, - - ImmutableArray stages, - - string timeCreated, - - string timeOfCurrentVersionExpiry, - - string timeOfDeletion, - - string versionNumber) - { - ContentType = contentType; - Id = id; - Name = name; - SecretId = secretId; - SecretVersionNumber = secretVersionNumber; - Stages = stages; - TimeCreated = timeCreated; - TimeOfCurrentVersionExpiry = timeOfCurrentVersionExpiry; - TimeOfDeletion = timeOfDeletion; - VersionNumber = versionNumber; - } - } -} diff --git a/sdk/dotnet/Vault/GetSecretVersionSdkV2.cs b/sdk/dotnet/Vault/GetSecretVersionSdkV2.cs new file mode 100644 index 0000000000..f9d5747a84 --- /dev/null +++ b/sdk/dotnet/Vault/GetSecretVersionSdkV2.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Vault +{ + public static class GetSecretVersionSdkV2 + { + public static Task InvokeAsync(GetSecretVersionSdkV2Args args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", args ?? new GetSecretVersionSdkV2Args(), options.WithDefaults()); + + public static Output Invoke(GetSecretVersionSdkV2InvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", args ?? new GetSecretVersionSdkV2InvokeArgs(), options.WithDefaults()); + + public static Output Invoke(GetSecretVersionSdkV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", args ?? new GetSecretVersionSdkV2InvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSecretVersionSdkV2Args : global::Pulumi.InvokeArgs + { + [Input("secretId", required: true)] + public string SecretId { get; set; } = null!; + + [Input("secretVersionNumber", required: true)] + public string SecretVersionNumber { get; set; } = null!; + + public GetSecretVersionSdkV2Args() + { + } + public static new GetSecretVersionSdkV2Args Empty => new GetSecretVersionSdkV2Args(); + } + + public sealed class GetSecretVersionSdkV2InvokeArgs : global::Pulumi.InvokeArgs + { + [Input("secretId", required: true)] + public Input SecretId { get; set; } = null!; + + [Input("secretVersionNumber", required: true)] + public Input SecretVersionNumber { get; set; } = null!; + + public GetSecretVersionSdkV2InvokeArgs() + { + } + public static new GetSecretVersionSdkV2InvokeArgs Empty => new GetSecretVersionSdkV2InvokeArgs(); + } + + + [OutputType] + public sealed class GetSecretVersionSdkV2Result + { + public readonly string ContentType; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly bool IsContentAutoGenerated; + public readonly string Name; + public readonly string SecretId; + public readonly string SecretVersionNumber; + public readonly ImmutableArray Stages; + public readonly string TimeCreated; + public readonly string TimeOfCurrentVersionExpiry; + public readonly string TimeOfDeletion; + public readonly string VersionNumber; + + [OutputConstructor] + private GetSecretVersionSdkV2Result( + string contentType, + + string id, + + bool isContentAutoGenerated, + + string name, + + string secretId, + + string secretVersionNumber, + + ImmutableArray stages, + + string timeCreated, + + string timeOfCurrentVersionExpiry, + + string timeOfDeletion, + + string versionNumber) + { + ContentType = contentType; + Id = id; + IsContentAutoGenerated = isContentAutoGenerated; + Name = name; + SecretId = secretId; + SecretVersionNumber = secretVersionNumber; + Stages = stages; + TimeCreated = timeCreated; + TimeOfCurrentVersionExpiry = timeOfCurrentVersionExpiry; + TimeOfDeletion = timeOfDeletion; + VersionNumber = versionNumber; + } + } +} diff --git a/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextArgs.cs b/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextArgs.cs new file mode 100644 index 0000000000..e7614cef8f --- /dev/null +++ b/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextArgs.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.Vault.Inputs +{ + + public sealed class SecretSecretGenerationContextArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Name of random bytes generation template for generating random byte type secret. + /// + [Input("generationTemplate", required: true)] + public Input GenerationTemplate { get; set; } = null!; + + /// + /// (Updatable) Name of the predefined secret generation type. + /// + [Input("generationType", required: true)] + public Input GenerationType { get; set; } = null!; + + /// + /// (Updatable) Length of the passphrase to be generated + /// + [Input("passphraseLength")] + public Input? PassphraseLength { get; set; } + + /// + /// (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + /// + [Input("secretTemplate")] + public Input? SecretTemplate { get; set; } + + public SecretSecretGenerationContextArgs() + { + } + public static new SecretSecretGenerationContextArgs Empty => new SecretSecretGenerationContextArgs(); + } +} diff --git a/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextGetArgs.cs b/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextGetArgs.cs new file mode 100644 index 0000000000..0d9ef354aa --- /dev/null +++ b/sdk/dotnet/Vault/Inputs/SecretSecretGenerationContextGetArgs.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.Vault.Inputs +{ + + public sealed class SecretSecretGenerationContextGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Name of random bytes generation template for generating random byte type secret. + /// + [Input("generationTemplate", required: true)] + public Input GenerationTemplate { get; set; } = null!; + + /// + /// (Updatable) Name of the predefined secret generation type. + /// + [Input("generationType", required: true)] + public Input GenerationType { get; set; } = null!; + + /// + /// (Updatable) Length of the passphrase to be generated + /// + [Input("passphraseLength")] + public Input? PassphraseLength { get; set; } + + /// + /// (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + /// + [Input("secretTemplate")] + public Input? SecretTemplate { get; set; } + + public SecretSecretGenerationContextGetArgs() + { + } + public static new SecretSecretGenerationContextGetArgs Empty => new SecretSecretGenerationContextGetArgs(); + } +} diff --git a/sdk/dotnet/Vault/Outputs/GetSecretSecretGenerationContextResult.cs b/sdk/dotnet/Vault/Outputs/GetSecretSecretGenerationContextResult.cs new file mode 100644 index 0000000000..2f4adb4a8d --- /dev/null +++ b/sdk/dotnet/Vault/Outputs/GetSecretSecretGenerationContextResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Vault.Outputs +{ + + [OutputType] + public sealed class GetSecretSecretGenerationContextResult + { + /// + /// Name of random bytes generation template for generating random byte type secret. + /// + public readonly string GenerationTemplate; + /// + /// Name of the predefined secret generation type. + /// + public readonly string GenerationType; + /// + /// Length of the passphrase to be generated + /// + public readonly int PassphraseLength; + /// + /// SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + /// + public readonly string SecretTemplate; + + [OutputConstructor] + private GetSecretSecretGenerationContextResult( + string generationTemplate, + + string generationType, + + int passphraseLength, + + string secretTemplate) + { + GenerationTemplate = generationTemplate; + GenerationType = generationType; + PassphraseLength = passphraseLength; + SecretTemplate = secretTemplate; + } + } +} diff --git a/sdk/dotnet/Vault/Outputs/GetSecretsSecretResult.cs b/sdk/dotnet/Vault/Outputs/GetSecretsSecretResult.cs index 43329a2c77..5cff9e334f 100644 --- a/sdk/dotnet/Vault/Outputs/GetSecretsSecretResult.cs +++ b/sdk/dotnet/Vault/Outputs/GetSecretsSecretResult.cs @@ -29,6 +29,7 @@ public sealed class GetSecretsSecretResult /// A brief description of the secret. Avoid entering confidential information. /// public readonly string Description; + public readonly bool EnableAutoGeneration; /// /// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// @@ -38,6 +39,10 @@ public sealed class GetSecretsSecretResult /// public readonly string Id; /// + /// The value of this flag determines whether or not secret content will be generated automatically. + /// + public readonly bool IsAutoGenerationEnabled; + /// /// The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. /// public readonly string KeyId; @@ -67,6 +72,10 @@ public sealed class GetSecretsSecretResult public readonly string RotationStatus; public readonly ImmutableArray SecretContents; /// + /// Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + /// + public readonly ImmutableArray SecretGenerationContexts; + /// /// The user-friendly name of the secret. Avoid entering confidential information. /// public readonly string SecretName; @@ -105,10 +114,14 @@ private GetSecretsSecretResult( string description, + bool enableAutoGeneration, + ImmutableDictionary freeformTags, string id, + bool isAutoGenerationEnabled, + string keyId, string lastRotationTime, @@ -125,6 +138,8 @@ private GetSecretsSecretResult( ImmutableArray secretContents, + ImmutableArray secretGenerationContexts, + string secretName, ImmutableArray secretRules, @@ -143,8 +158,10 @@ private GetSecretsSecretResult( CurrentVersionNumber = currentVersionNumber; DefinedTags = definedTags; Description = description; + EnableAutoGeneration = enableAutoGeneration; FreeformTags = freeformTags; Id = id; + IsAutoGenerationEnabled = isAutoGenerationEnabled; KeyId = keyId; LastRotationTime = lastRotationTime; LifecycleDetails = lifecycleDetails; @@ -153,6 +170,7 @@ private GetSecretsSecretResult( RotationConfigs = rotationConfigs; RotationStatus = rotationStatus; SecretContents = secretContents; + SecretGenerationContexts = secretGenerationContexts; SecretName = secretName; SecretRules = secretRules; State = state; diff --git a/sdk/dotnet/Vault/Outputs/GetSecretsSecretSecretGenerationContextResult.cs b/sdk/dotnet/Vault/Outputs/GetSecretsSecretSecretGenerationContextResult.cs new file mode 100644 index 0000000000..72a14ce7a1 --- /dev/null +++ b/sdk/dotnet/Vault/Outputs/GetSecretsSecretSecretGenerationContextResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Vault.Outputs +{ + + [OutputType] + public sealed class GetSecretsSecretSecretGenerationContextResult + { + /// + /// Name of random bytes generation template for generating random byte type secret. + /// + public readonly string GenerationTemplate; + /// + /// Name of the predefined secret generation type. + /// + public readonly string GenerationType; + /// + /// Length of the passphrase to be generated + /// + public readonly int PassphraseLength; + /// + /// SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + /// + public readonly string SecretTemplate; + + [OutputConstructor] + private GetSecretsSecretSecretGenerationContextResult( + string generationTemplate, + + string generationType, + + int passphraseLength, + + string secretTemplate) + { + GenerationTemplate = generationTemplate; + GenerationType = generationType; + PassphraseLength = passphraseLength; + SecretTemplate = secretTemplate; + } + } +} diff --git a/sdk/dotnet/Vault/Outputs/SecretSecretGenerationContext.cs b/sdk/dotnet/Vault/Outputs/SecretSecretGenerationContext.cs new file mode 100644 index 0000000000..a6d1267b39 --- /dev/null +++ b/sdk/dotnet/Vault/Outputs/SecretSecretGenerationContext.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Vault.Outputs +{ + + [OutputType] + public sealed class SecretSecretGenerationContext + { + /// + /// (Updatable) Name of random bytes generation template for generating random byte type secret. + /// + public readonly string GenerationTemplate; + /// + /// (Updatable) Name of the predefined secret generation type. + /// + public readonly string GenerationType; + /// + /// (Updatable) Length of the passphrase to be generated + /// + public readonly int? PassphraseLength; + /// + /// (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + /// + public readonly string? SecretTemplate; + + [OutputConstructor] + private SecretSecretGenerationContext( + string generationTemplate, + + string generationType, + + int? passphraseLength, + + string? secretTemplate) + { + GenerationTemplate = generationTemplate; + GenerationType = generationType; + PassphraseLength = passphraseLength; + SecretTemplate = secretTemplate; + } + } +} diff --git a/sdk/dotnet/Vault/Secret.cs b/sdk/dotnet/Vault/Secret.cs index 7d171a3756..bf08eb8200 100644 --- a/sdk/dotnet/Vault/Secret.cs +++ b/sdk/dotnet/Vault/Secret.cs @@ -49,12 +49,24 @@ public partial class Secret : global::Pulumi.CustomResource [Output("description")] public Output Description { get; private set; } = null!; + /// + /// (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + /// + [Output("enableAutoGeneration")] + public Output EnableAutoGeneration { 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!; + /// + /// The value of this flag determines whether or not secret content will be generated automatically. + /// + [Output("isAutoGenerationEnabled")] + public Output IsAutoGenerationEnabled { get; private set; } = null!; + /// /// The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. /// @@ -103,6 +115,12 @@ public partial class Secret : global::Pulumi.CustomResource [Output("secretContent")] public Output SecretContent { get; private set; } = null!; + /// + /// (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + /// + [Output("secretGenerationContext")] + public Output SecretGenerationContext { get; private set; } = null!; + /// /// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. /// @@ -219,6 +237,12 @@ public InputMap DefinedTags [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + /// + [Input("enableAutoGeneration")] + public Input? EnableAutoGeneration { get; set; } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -261,6 +285,12 @@ public InputMap Metadata [Input("secretContent")] public Input? SecretContent { get; set; } + /// + /// (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + /// + [Input("secretGenerationContext")] + public Input? SecretGenerationContext { get; set; } + /// /// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. /// @@ -327,6 +357,12 @@ public InputMap DefinedTags [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + /// + [Input("enableAutoGeneration")] + public Input? EnableAutoGeneration { get; set; } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -339,6 +375,12 @@ public InputMap FreeformTags set => _freeformTags = value; } + /// + /// The value of this flag determines whether or not secret content will be generated automatically. + /// + [Input("isAutoGenerationEnabled")] + public Input? IsAutoGenerationEnabled { get; set; } + /// /// The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. /// @@ -393,6 +435,12 @@ public InputMap Metadata [Input("secretContent")] public Input? SecretContent { get; set; } + /// + /// (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + /// + [Input("secretGenerationContext")] + public Input? SecretGenerationContext { get; set; } + /// /// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. /// diff --git a/sdk/go/oci/config/config.go b/sdk/go/oci/config/config.go index e428b5c2be..d594ceaeb2 100644 --- a/sdk/go/oci/config/config.go +++ b/sdk/go/oci/config/config.go @@ -76,6 +76,9 @@ func GetRetryDurationSeconds(ctx *pulumi.Context) int { func GetTenancyOcid(ctx *pulumi.Context) string { return config.Get(ctx, "oci:tenancyOcid") } +func GetTestTimeMaintenanceRebootDue(ctx *pulumi.Context) string { + return config.Get(ctx, "oci:testTimeMaintenanceRebootDue") +} // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. diff --git a/sdk/go/oci/containerengine/cluster.go b/sdk/go/oci/containerengine/cluster.go index b337a9c2fa..af8fb24adc 100644 --- a/sdk/go/oci/containerengine/cluster.go +++ b/sdk/go/oci/containerengine/cluster.go @@ -68,6 +68,7 @@ import ( // AdmissionControllerOptions: &containerengine.ClusterOptionsAdmissionControllerOptionsArgs{ // IsPodSecurityPolicyEnabled: pulumi.Any(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled), // }, +// IpFamilies: pulumi.Any(clusterOptionsIpFamilies), // KubernetesNetworkConfig: &containerengine.ClusterOptionsKubernetesNetworkConfigArgs{ // PodsCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigPodsCidr), // ServicesCidr: pulumi.Any(clusterOptionsKubernetesNetworkConfigServicesCidr), diff --git a/sdk/go/oci/containerengine/pulumiTypes.go b/sdk/go/oci/containerengine/pulumiTypes.go index f1153d1c21..5b536f9e68 100644 --- a/sdk/go/oci/containerengine/pulumiTypes.go +++ b/sdk/go/oci/containerengine/pulumiTypes.go @@ -332,6 +332,8 @@ func (o ClusterClusterPodNetworkOptionArrayOutput) Index(i pulumi.IntInput) Clus } type ClusterEndpoint struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint *string `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes *string `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -354,6 +356,8 @@ type ClusterEndpointInput interface { } type ClusterEndpointArgs struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint pulumi.StringPtrInput `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes pulumi.StringPtrInput `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -415,6 +419,11 @@ func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Co return o } +// The IPv6 networking Kubernetes API server endpoint. +func (o ClusterEndpointOutput) Ipv6endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterEndpoint) *string { return v.Ipv6endpoint }).(pulumi.StringPtrOutput) +} + // The non-native networking Kubernetes API server endpoint. func (o ClusterEndpointOutput) Kubernetes() pulumi.StringPtrOutput { return o.ApplyT(func(v ClusterEndpoint) *string { return v.Kubernetes }).(pulumi.StringPtrOutput) @@ -1066,6 +1075,8 @@ type ClusterOptions struct { AddOns *ClusterOptionsAddOns `pulumi:"addOns"` // (Updatable) Configurable cluster admission controllers AdmissionControllerOptions *ClusterOptionsAdmissionControllerOptions `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies []string `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfig *ClusterOptionsKubernetesNetworkConfig `pulumi:"kubernetesNetworkConfig"` // (Updatable) The property that define the status of the OIDC Discovery feature for a cluster. @@ -1096,6 +1107,8 @@ type ClusterOptionsArgs struct { AddOns ClusterOptionsAddOnsPtrInput `pulumi:"addOns"` // (Updatable) Configurable cluster admission controllers AdmissionControllerOptions ClusterOptionsAdmissionControllerOptionsPtrInput `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies pulumi.StringArrayInput `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfig ClusterOptionsKubernetesNetworkConfigPtrInput `pulumi:"kubernetesNetworkConfig"` // (Updatable) The property that define the status of the OIDC Discovery feature for a cluster. @@ -1197,6 +1210,11 @@ func (o ClusterOptionsOutput) AdmissionControllerOptions() ClusterOptionsAdmissi return o.ApplyT(func(v ClusterOptions) *ClusterOptionsAdmissionControllerOptions { return v.AdmissionControllerOptions }).(ClusterOptionsAdmissionControllerOptionsPtrOutput) } +// IP family to use for single stack or define the order of IP families for dual-stack +func (o ClusterOptionsOutput) IpFamilies() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterOptions) []string { return v.IpFamilies }).(pulumi.StringArrayOutput) +} + // Network configuration for Kubernetes. func (o ClusterOptionsOutput) KubernetesNetworkConfig() ClusterOptionsKubernetesNetworkConfigPtrOutput { return o.ApplyT(func(v ClusterOptions) *ClusterOptionsKubernetesNetworkConfig { return v.KubernetesNetworkConfig }).(ClusterOptionsKubernetesNetworkConfigPtrOutput) @@ -1273,6 +1291,16 @@ func (o ClusterOptionsPtrOutput) AdmissionControllerOptions() ClusterOptionsAdmi }).(ClusterOptionsAdmissionControllerOptionsPtrOutput) } +// IP family to use for single stack or define the order of IP families for dual-stack +func (o ClusterOptionsPtrOutput) IpFamilies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterOptions) []string { + if v == nil { + return nil + } + return v.IpFamilies + }).(pulumi.StringArrayOutput) +} + // Network configuration for Kubernetes. func (o ClusterOptionsPtrOutput) KubernetesNetworkConfig() ClusterOptionsKubernetesNetworkConfigPtrOutput { return o.ApplyT(func(v *ClusterOptions) *ClusterOptionsKubernetesNetworkConfig { @@ -9246,6 +9274,8 @@ func (o GetClusterClusterPodNetworkOptionArrayOutput) Index(i pulumi.IntInput) G } type GetClusterEndpoint struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint string `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes string `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -9268,6 +9298,8 @@ type GetClusterEndpointInput interface { } type GetClusterEndpointArgs struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint pulumi.StringInput `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes pulumi.StringInput `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -9329,6 +9361,11 @@ func (o GetClusterEndpointOutput) ToGetClusterEndpointOutputWithContext(ctx cont return o } +// The IPv6 networking Kubernetes API server endpoint. +func (o GetClusterEndpointOutput) Ipv6endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEndpoint) string { return v.Ipv6endpoint }).(pulumi.StringOutput) +} + // The non-native networking Kubernetes API server endpoint. func (o GetClusterEndpointOutput) Kubernetes() pulumi.StringOutput { return o.ApplyT(func(v GetClusterEndpoint) string { return v.Kubernetes }).(pulumi.StringOutput) @@ -9870,6 +9907,8 @@ type GetClusterOption struct { AddOns []GetClusterOptionAddOn `pulumi:"addOns"` // Configurable cluster admission controllers AdmissionControllerOptions []GetClusterOptionAdmissionControllerOption `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies []string `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfigs []GetClusterOptionKubernetesNetworkConfig `pulumi:"kubernetesNetworkConfigs"` OpenIdConnectDiscoveries []GetClusterOptionOpenIdConnectDiscovery `pulumi:"openIdConnectDiscoveries"` @@ -9898,6 +9937,8 @@ type GetClusterOptionArgs struct { AddOns GetClusterOptionAddOnArrayInput `pulumi:"addOns"` // Configurable cluster admission controllers AdmissionControllerOptions GetClusterOptionAdmissionControllerOptionArrayInput `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies pulumi.StringArrayInput `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfigs GetClusterOptionKubernetesNetworkConfigArrayInput `pulumi:"kubernetesNetworkConfigs"` OpenIdConnectDiscoveries GetClusterOptionOpenIdConnectDiscoveryArrayInput `pulumi:"openIdConnectDiscoveries"` @@ -9973,6 +10014,11 @@ func (o GetClusterOptionOutput) AdmissionControllerOptions() GetClusterOptionAdm }).(GetClusterOptionAdmissionControllerOptionArrayOutput) } +// IP family to use for single stack or define the order of IP families for dual-stack +func (o GetClusterOptionOutput) IpFamilies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterOption) []string { return v.IpFamilies }).(pulumi.StringArrayOutput) +} + // Network configuration for Kubernetes. func (o GetClusterOptionOutput) KubernetesNetworkConfigs() GetClusterOptionKubernetesNetworkConfigArrayOutput { return o.ApplyT(func(v GetClusterOption) []GetClusterOptionKubernetesNetworkConfig { return v.KubernetesNetworkConfigs }).(GetClusterOptionKubernetesNetworkConfigArrayOutput) @@ -11621,6 +11667,8 @@ func (o GetClustersClusterClusterPodNetworkOptionArrayOutput) Index(i pulumi.Int } type GetClustersClusterEndpoint struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint string `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes string `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -11643,6 +11691,8 @@ type GetClustersClusterEndpointInput interface { } type GetClustersClusterEndpointArgs struct { + // The IPv6 networking Kubernetes API server endpoint. + Ipv6endpoint pulumi.StringInput `pulumi:"ipv6endpoint"` // The non-native networking Kubernetes API server endpoint. Kubernetes pulumi.StringInput `pulumi:"kubernetes"` // The private native networking Kubernetes API server endpoint. @@ -11704,6 +11754,11 @@ func (o GetClustersClusterEndpointOutput) ToGetClustersClusterEndpointOutputWith return o } +// The IPv6 networking Kubernetes API server endpoint. +func (o GetClustersClusterEndpointOutput) Ipv6endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterEndpoint) string { return v.Ipv6endpoint }).(pulumi.StringOutput) +} + // The non-native networking Kubernetes API server endpoint. func (o GetClustersClusterEndpointOutput) Kubernetes() pulumi.StringOutput { return o.ApplyT(func(v GetClustersClusterEndpoint) string { return v.Kubernetes }).(pulumi.StringOutput) @@ -12247,6 +12302,8 @@ type GetClustersClusterOption struct { AddOns []GetClustersClusterOptionAddOn `pulumi:"addOns"` // Configurable cluster admission controllers AdmissionControllerOptions []GetClustersClusterOptionAdmissionControllerOption `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies []string `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfigs []GetClustersClusterOptionKubernetesNetworkConfig `pulumi:"kubernetesNetworkConfigs"` // The property that define the status of the OIDC Discovery feature for a cluster. @@ -12277,6 +12334,8 @@ type GetClustersClusterOptionArgs struct { AddOns GetClustersClusterOptionAddOnArrayInput `pulumi:"addOns"` // Configurable cluster admission controllers AdmissionControllerOptions GetClustersClusterOptionAdmissionControllerOptionArrayInput `pulumi:"admissionControllerOptions"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies pulumi.StringArrayInput `pulumi:"ipFamilies"` // Network configuration for Kubernetes. KubernetesNetworkConfigs GetClustersClusterOptionKubernetesNetworkConfigArrayInput `pulumi:"kubernetesNetworkConfigs"` // The property that define the status of the OIDC Discovery feature for a cluster. @@ -12354,6 +12413,11 @@ func (o GetClustersClusterOptionOutput) AdmissionControllerOptions() GetClusters }).(GetClustersClusterOptionAdmissionControllerOptionArrayOutput) } +// IP family to use for single stack or define the order of IP families for dual-stack +func (o GetClustersClusterOptionOutput) IpFamilies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersClusterOption) []string { return v.IpFamilies }).(pulumi.StringArrayOutput) +} + // Network configuration for Kubernetes. func (o GetClustersClusterOptionOutput) KubernetesNetworkConfigs() GetClustersClusterOptionKubernetesNetworkConfigArrayOutput { return o.ApplyT(func(v GetClustersClusterOption) []GetClustersClusterOptionKubernetesNetworkConfig { diff --git a/sdk/go/oci/database/autonomousContainerDatabase.go b/sdk/go/oci/database/autonomousContainerDatabase.go index 37f17fc79d..4221704a73 100644 --- a/sdk/go/oci/database/autonomousContainerDatabase.go +++ b/sdk/go/oci/database/autonomousContainerDatabase.go @@ -26,6 +26,8 @@ import ( type AutonomousContainerDatabase struct { pulumi.CustomResourceState + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput `pulumi:"associatedBackupConfigurationDetails"` // **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. AutonomousExadataInfrastructureId pulumi.StringOutput `pulumi:"autonomousExadataInfrastructureId"` // The OCID of the Autonomous VM Cluster. @@ -36,6 +38,8 @@ type AutonomousContainerDatabase struct { AvailableCpus pulumi.Float64Output `pulumi:"availableCpus"` // (Updatable) Backup options for the Autonomous Container Database. BackupConfig AutonomousContainerDatabaseBackupConfigOutput `pulumi:"backupConfig"` + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput `pulumi:"backupDestinationPropertiesLists"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. CloudAutonomousVmClusterId pulumi.StringOutput `pulumi:"cloudAutonomousVmClusterId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database. @@ -118,11 +122,15 @@ type AutonomousContainerDatabase struct { // An array of CPU values that can be used to successfully provision a single Autonomous Database. ProvisionableCpuses pulumi.Float64ArrayOutput `pulumi:"provisionableCpuses"` // The number of CPUs provisioned in an Autonomous Container Database. + // <<<<<<< ours ProvisionedCpus pulumi.Float64Output `pulumi:"provisionedCpus"` // For Autonomous Databases on Dedicated Exadata Infrastructure: // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + // > > > > > > > theirs ReclaimableCpus pulumi.Float64Output `pulumi:"reclaimableCpus"` + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput `pulumi:"recoveryApplianceDetails"` // The number of CPUs reserved in an Autonomous Container Database. // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -192,6 +200,8 @@ func GetAutonomousContainerDatabase(ctx *pulumi.Context, // Input properties used for looking up and filtering AutonomousContainerDatabase resources. type autonomousContainerDatabaseState struct { + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails []AutonomousContainerDatabaseAssociatedBackupConfigurationDetail `pulumi:"associatedBackupConfigurationDetails"` // **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. AutonomousExadataInfrastructureId *string `pulumi:"autonomousExadataInfrastructureId"` // The OCID of the Autonomous VM Cluster. @@ -202,6 +212,8 @@ type autonomousContainerDatabaseState struct { AvailableCpus *float64 `pulumi:"availableCpus"` // (Updatable) Backup options for the Autonomous Container Database. BackupConfig *AutonomousContainerDatabaseBackupConfig `pulumi:"backupConfig"` + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists []AutonomousContainerDatabaseBackupDestinationPropertiesList `pulumi:"backupDestinationPropertiesLists"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. CloudAutonomousVmClusterId *string `pulumi:"cloudAutonomousVmClusterId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database. @@ -284,11 +296,15 @@ type autonomousContainerDatabaseState struct { // An array of CPU values that can be used to successfully provision a single Autonomous Database. ProvisionableCpuses []float64 `pulumi:"provisionableCpuses"` // The number of CPUs provisioned in an Autonomous Container Database. + // <<<<<<< ours ProvisionedCpus *float64 `pulumi:"provisionedCpus"` // For Autonomous Databases on Dedicated Exadata Infrastructure: // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + // > > > > > > > theirs ReclaimableCpus *float64 `pulumi:"reclaimableCpus"` + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails []AutonomousContainerDatabaseRecoveryApplianceDetail `pulumi:"recoveryApplianceDetails"` // The number of CPUs reserved in an Autonomous Container Database. // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -323,6 +339,8 @@ type autonomousContainerDatabaseState struct { } type AutonomousContainerDatabaseState struct { + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput // **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. AutonomousExadataInfrastructureId pulumi.StringPtrInput // The OCID of the Autonomous VM Cluster. @@ -333,6 +351,8 @@ type AutonomousContainerDatabaseState struct { AvailableCpus pulumi.Float64PtrInput // (Updatable) Backup options for the Autonomous Container Database. BackupConfig AutonomousContainerDatabaseBackupConfigPtrInput + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists AutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. CloudAutonomousVmClusterId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database. @@ -415,11 +435,15 @@ type AutonomousContainerDatabaseState struct { // An array of CPU values that can be used to successfully provision a single Autonomous Database. ProvisionableCpuses pulumi.Float64ArrayInput // The number of CPUs provisioned in an Autonomous Container Database. + // <<<<<<< ours ProvisionedCpus pulumi.Float64PtrInput // For Autonomous Databases on Dedicated Exadata Infrastructure: // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + // > > > > > > > theirs ReclaimableCpus pulumi.Float64PtrInput + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails AutonomousContainerDatabaseRecoveryApplianceDetailArrayInput // The number of CPUs reserved in an Autonomous Container Database. // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -699,6 +723,13 @@ func (o AutonomousContainerDatabaseOutput) ToAutonomousContainerDatabaseOutputWi return o } +// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. +func (o AutonomousContainerDatabaseOutput) AssociatedBackupConfigurationDetails() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o.ApplyT(func(v *AutonomousContainerDatabase) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return v.AssociatedBackupConfigurationDetails + }).(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + // **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. func (o AutonomousContainerDatabaseOutput) AutonomousExadataInfrastructureId() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousContainerDatabase) pulumi.StringOutput { return v.AutonomousExadataInfrastructureId }).(pulumi.StringOutput) @@ -726,6 +757,13 @@ func (o AutonomousContainerDatabaseOutput) BackupConfig() AutonomousContainerDat }).(AutonomousContainerDatabaseBackupConfigOutput) } +// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. +func (o AutonomousContainerDatabaseOutput) BackupDestinationPropertiesLists() AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o.ApplyT(func(v *AutonomousContainerDatabase) AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return v.BackupDestinationPropertiesLists + }).(AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. func (o AutonomousContainerDatabaseOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousContainerDatabase) pulumi.StringOutput { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) @@ -950,6 +988,7 @@ func (o AutonomousContainerDatabaseOutput) ProvisionableCpuses() pulumi.Float64A } // The number of CPUs provisioned in an Autonomous Container Database. +// <<<<<<< ours func (o AutonomousContainerDatabaseOutput) ProvisionedCpus() pulumi.Float64Output { return o.ApplyT(func(v *AutonomousContainerDatabase) pulumi.Float64Output { return v.ProvisionedCpus }).(pulumi.Float64Output) } @@ -957,10 +996,18 @@ func (o AutonomousContainerDatabaseOutput) ProvisionedCpus() pulumi.Float64Outpu // For Autonomous Databases on Dedicated Exadata Infrastructure: // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. +// > > > > > > > theirs func (o AutonomousContainerDatabaseOutput) ReclaimableCpus() pulumi.Float64Output { return o.ApplyT(func(v *AutonomousContainerDatabase) pulumi.Float64Output { return v.ReclaimableCpus }).(pulumi.Float64Output) } +// Information about the recovery appliance configuration associated with the Autonomous Container Database. +func (o AutonomousContainerDatabaseOutput) RecoveryApplianceDetails() AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o.ApplyT(func(v *AutonomousContainerDatabase) AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return v.RecoveryApplianceDetails + }).(AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + // The number of CPUs reserved in an Autonomous Container Database. // * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. // * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. diff --git a/sdk/go/oci/database/autonomousDatabase.go b/sdk/go/oci/database/autonomousDatabase.go index 56be405de3..d4eb34b801 100644 --- a/sdk/go/oci/database/autonomousDatabase.go +++ b/sdk/go/oci/database/autonomousDatabase.go @@ -63,9 +63,13 @@ type AutonomousDatabase struct { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // + // <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS CharacterSet pulumi.StringOutput `pulumi:"characterSet"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + CloneTableSpaceLists pulumi.IntArrayOutput `pulumi:"cloneTableSpaceLists"` // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + // > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. CloneType pulumi.StringOutput `pulumi:"cloneType"` @@ -211,12 +215,14 @@ type AutonomousDatabase struct { LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // 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 LocalAdgAutoFailoverMaxDataLossLimit pulumi.IntOutput `pulumi:"localAdgAutoFailoverMaxDataLossLimit"` - // Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + // 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.StringOutput `pulumi:"localDisasterRecoveryType"` - // Autonomous Data Guard local (same region) standby database details. + // Autonomous Data Guard standby database details. LocalStandbyDbs AutonomousDatabaseLocalStandbyDbArrayOutput `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules AutonomousDatabaseLongTermBackupScheduleArrayOutput `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringOutput `pulumi:"maintenanceTargetComponent"` // (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. MaxCpuCoreCount pulumi.IntOutput `pulumi:"maxCpuCoreCount"` // 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. This parameter is not used for Autonomous database Serverless. @@ -473,9 +479,13 @@ type autonomousDatabaseState struct { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // + // <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS CharacterSet *string `pulumi:"characterSet"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + CloneTableSpaceLists []int `pulumi:"cloneTableSpaceLists"` // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + // > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. CloneType *string `pulumi:"cloneType"` @@ -621,12 +631,14 @@ type autonomousDatabaseState struct { LifecycleDetails *string `pulumi:"lifecycleDetails"` // 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 LocalAdgAutoFailoverMaxDataLossLimit *int `pulumi:"localAdgAutoFailoverMaxDataLossLimit"` - // Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + // 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 local (same region) standby database details. + // Autonomous Data Guard standby database details. LocalStandbyDbs []AutonomousDatabaseLocalStandbyDb `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules []AutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent *string `pulumi:"maintenanceTargetComponent"` // (Updatable) **Deprecated.** 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. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. This parameter is not used for Autonomous database Serverless. @@ -841,9 +853,13 @@ type AutonomousDatabaseState struct { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // + // <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS CharacterSet pulumi.StringPtrInput + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + CloneTableSpaceLists pulumi.IntArrayInput // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + // > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. CloneType pulumi.StringPtrInput @@ -989,12 +1005,14 @@ type AutonomousDatabaseState struct { LifecycleDetails pulumi.StringPtrInput // 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 LocalAdgAutoFailoverMaxDataLossLimit pulumi.IntPtrInput - // Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + // 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.StringPtrInput - // Autonomous Data Guard local (same region) standby database details. + // Autonomous Data Guard standby database details. LocalStandbyDbs AutonomousDatabaseLocalStandbyDbArrayInput // Details for the long-term backup schedule. LongTermBackupSchedules AutonomousDatabaseLongTermBackupScheduleArrayInput + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringPtrInput // (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. MaxCpuCoreCount pulumi.IntPtrInput // 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. This parameter is not used for Autonomous database Serverless. @@ -1201,9 +1219,13 @@ type autonomousDatabaseArgs struct { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // + // <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS CharacterSet *string `pulumi:"characterSet"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + CloneTableSpaceLists []int `pulumi:"cloneTableSpaceLists"` // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + // > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. CloneType *string `pulumi:"cloneType"` @@ -1452,9 +1474,13 @@ type AutonomousDatabaseArgs struct { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // + // <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS CharacterSet pulumi.StringPtrInput + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + CloneTableSpaceLists pulumi.IntArrayInput // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + // > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. CloneType pulumi.StringPtrInput @@ -1848,12 +1874,19 @@ func (o AutonomousDatabaseOutput) ByolComputeCountLimit() pulumi.Float64Output { // // For an Autonomous Database on dedicated infrastructure, the allowed values are: // +// <<<<<<< ours // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS func (o AutonomousDatabaseOutput) CharacterSet() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.CharacterSet }).(pulumi.StringOutput) } +// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. +func (o AutonomousDatabaseOutput) CloneTableSpaceLists() pulumi.IntArrayOutput { + return o.ApplyT(func(v *AutonomousDatabase) pulumi.IntArrayOutput { return v.CloneTableSpaceLists }).(pulumi.IntArrayOutput) +} + // The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. +// > > > > > > > theirs // * `FULL` - This option creates a new database that includes all source database data. // * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. func (o AutonomousDatabaseOutput) CloneType() pulumi.StringOutput { @@ -2175,12 +2208,12 @@ func (o AutonomousDatabaseOutput) LocalAdgAutoFailoverMaxDataLossLimit() pulumi. return o.ApplyT(func(v *AutonomousDatabase) pulumi.IntOutput { return v.LocalAdgAutoFailoverMaxDataLossLimit }).(pulumi.IntOutput) } -// Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. +// 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. func (o AutonomousDatabaseOutput) LocalDisasterRecoveryType() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.LocalDisasterRecoveryType }).(pulumi.StringOutput) } -// Autonomous Data Guard local (same region) standby database details. +// Autonomous Data Guard standby database details. func (o AutonomousDatabaseOutput) LocalStandbyDbs() AutonomousDatabaseLocalStandbyDbArrayOutput { return o.ApplyT(func(v *AutonomousDatabase) AutonomousDatabaseLocalStandbyDbArrayOutput { return v.LocalStandbyDbs }).(AutonomousDatabaseLocalStandbyDbArrayOutput) } @@ -2192,6 +2225,11 @@ func (o AutonomousDatabaseOutput) LongTermBackupSchedules() AutonomousDatabaseLo }).(AutonomousDatabaseLongTermBackupScheduleArrayOutput) } +// The component chosen for maintenance. +func (o AutonomousDatabaseOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. func (o AutonomousDatabaseOutput) MaxCpuCoreCount() pulumi.IntOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.IntOutput { return v.MaxCpuCoreCount }).(pulumi.IntOutput) diff --git a/sdk/go/oci/database/backupDestination.go b/sdk/go/oci/database/backupDestination.go index cbaee058be..16312a927e 100644 --- a/sdk/go/oci/database/backupDestination.go +++ b/sdk/go/oci/database/backupDestination.go @@ -95,10 +95,16 @@ type BackupDestination struct { NfsServers pulumi.StringArrayOutput `pulumi:"nfsServers"` // The current lifecycle state of the backup destination. State pulumi.StringOutput `pulumi:"state"` + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringOutput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` // The date and time the backup destination was created. TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs pulumi.IntOutput `pulumi:"totalStorageSizeInGbs"` // Type of the backup destination. Type pulumi.StringOutput `pulumi:"type"` + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs pulumi.IntOutput `pulumi:"utilizedStorageSizeInGbs"` // (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. // // ** IMPORTANT ** @@ -173,10 +179,16 @@ type backupDestinationState struct { NfsServers []string `pulumi:"nfsServers"` // The current lifecycle state of the backup destination. State *string `pulumi:"state"` + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated *string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` // The date and time the backup destination was created. TimeCreated *string `pulumi:"timeCreated"` + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs *int `pulumi:"totalStorageSizeInGbs"` // Type of the backup destination. Type *string `pulumi:"type"` + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs *int `pulumi:"utilizedStorageSizeInGbs"` // (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. // // ** IMPORTANT ** @@ -213,10 +225,16 @@ type BackupDestinationState struct { NfsServers pulumi.StringArrayInput // The current lifecycle state of the backup destination. State pulumi.StringPtrInput + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringPtrInput // The date and time the backup destination was created. TimeCreated pulumi.StringPtrInput + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs pulumi.IntPtrInput // Type of the backup destination. Type pulumi.StringPtrInput + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs pulumi.IntPtrInput // (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. // // ** IMPORTANT ** @@ -437,16 +455,31 @@ func (o BackupDestinationOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *BackupDestination) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// The time when the total storage size and the utilized storage size of the backup destination are updated. +func (o BackupDestinationOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *BackupDestination) pulumi.StringOutput { return v.TimeAtWhichStorageDetailsAreUpdated }).(pulumi.StringOutput) +} + // The date and time the backup destination was created. func (o BackupDestinationOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *BackupDestination) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } +// The total storage size of the backup destination in GBs, rounded to the nearest integer. +func (o BackupDestinationOutput) TotalStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v *BackupDestination) pulumi.IntOutput { return v.TotalStorageSizeInGbs }).(pulumi.IntOutput) +} + // Type of the backup destination. func (o BackupDestinationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *BackupDestination) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } +// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. +func (o BackupDestinationOutput) UtilizedStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v *BackupDestination) pulumi.IntOutput { return v.UtilizedStorageSizeInGbs }).(pulumi.IntOutput) +} + // (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. // // ** IMPORTANT ** diff --git a/sdk/go/oci/database/dataGuardAssociation.go b/sdk/go/oci/database/dataGuardAssociation.go index cf49344ef4..5c6d00b280 100644 --- a/sdk/go/oci/database/dataGuardAssociation.go +++ b/sdk/go/oci/database/dataGuardAssociation.go @@ -72,6 +72,7 @@ import ( // PeerSidPrefix: pulumi.Any(dataGuardAssociationPeerSidPrefix), // PeerVmClusterId: pulumi.Any(testVmCluster.Id), // PrivateIp: pulumi.Any(dataGuardAssociationPrivateIp), +// PrivateIpV6: pulumi.Any(dataGuardAssociationPrivateIpV6), // Shape: pulumi.Any(dataGuardAssociationShape), // StorageVolumePerformanceMode: pulumi.Any(dataGuardAssociationStorageVolumePerformanceMode), // SubnetId: pulumi.Any(testSubnet.Id), @@ -182,6 +183,8 @@ type DataGuardAssociation struct { PeerVmClusterId pulumi.StringOutput `pulumi:"peerVmClusterId"` // The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. PrivateIp pulumi.StringPtrOutput `pulumi:"privateIp"` + // The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + PrivateIpV6 pulumi.StringOutput `pulumi:"privateIpV6"` // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -361,6 +364,8 @@ type dataGuardAssociationState struct { PeerVmClusterId *string `pulumi:"peerVmClusterId"` // The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. PrivateIp *string `pulumi:"privateIp"` + // The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + PrivateIpV6 *string `pulumi:"privateIpV6"` // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -486,6 +491,8 @@ type DataGuardAssociationState struct { PeerVmClusterId pulumi.StringPtrInput // The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. PrivateIp pulumi.StringPtrInput + // The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + PrivateIpV6 pulumi.StringPtrInput // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -603,6 +610,8 @@ type dataGuardAssociationArgs struct { PeerVmClusterId *string `pulumi:"peerVmClusterId"` // The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. PrivateIp *string `pulumi:"privateIp"` + // The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + PrivateIpV6 *string `pulumi:"privateIpV6"` // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -711,6 +720,8 @@ type DataGuardAssociationArgs struct { PeerVmClusterId pulumi.StringPtrInput // The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. PrivateIp pulumi.StringPtrInput + // The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + PrivateIpV6 pulumi.StringPtrInput // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -1026,6 +1037,11 @@ func (o DataGuardAssociationOutput) PrivateIp() pulumi.StringPtrOutput { return o.ApplyT(func(v *DataGuardAssociation) pulumi.StringPtrOutput { return v.PrivateIp }).(pulumi.StringPtrOutput) } +// The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. +func (o DataGuardAssociationOutput) PrivateIpV6() pulumi.StringOutput { + return o.ApplyT(func(v *DataGuardAssociation) pulumi.StringOutput { return v.PrivateIpV6 }).(pulumi.StringOutput) +} + // (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. // // **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. diff --git a/sdk/go/oci/database/dbSystem.go b/sdk/go/oci/database/dbSystem.go index 7d557ccad3..4ca76df9c8 100644 --- a/sdk/go/oci/database/dbSystem.go +++ b/sdk/go/oci/database/dbSystem.go @@ -167,14 +167,18 @@ type DbSystem struct { PointInTimeDataDiskCloneTimestamp pulumi.StringOutput `pulumi:"pointInTimeDataDiskCloneTimestamp"` // 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. Supported for VM BM shape. PrivateIp pulumi.StringOutput `pulumi:"privateIp"` + // A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + PrivateIpV6 pulumi.StringOutput `pulumi:"privateIpV6"` // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb pulumi.IntOutput `pulumi:"recoStorageSizeInGb"` // The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsName pulumi.StringOutput `pulumi:"scanDnsName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsRecordId pulumi.StringOutput `pulumi:"scanDnsRecordId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. ScanIpIds pulumi.StringArrayOutput `pulumi:"scanIpIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + ScanIpv6ids pulumi.StringArrayOutput `pulumi:"scanIpv6ids"` // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` SecurityAttributes pulumi.StringMapOutput `pulumi:"securityAttributes"` // (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. @@ -212,8 +216,10 @@ type DbSystem struct { TimeZone pulumi.StringOutput `pulumi:"timeZone"` // The Oracle Database version of the DB system. Version pulumi.StringOutput `pulumi:"version"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. VipIds pulumi.StringArrayOutput `pulumi:"vipIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + Vipv6ids pulumi.StringArrayOutput `pulumi:"vipv6ids"` // The OCID of the zone the DB system is associated with. ZoneId pulumi.StringOutput `pulumi:"zoneId"` } @@ -370,14 +376,18 @@ type dbSystemState struct { PointInTimeDataDiskCloneTimestamp *string `pulumi:"pointInTimeDataDiskCloneTimestamp"` // 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. Supported for VM BM shape. PrivateIp *string `pulumi:"privateIp"` + // A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + PrivateIpV6 *string `pulumi:"privateIpV6"` // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb *int `pulumi:"recoStorageSizeInGb"` // The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsName *string `pulumi:"scanDnsName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsRecordId *string `pulumi:"scanDnsRecordId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. ScanIpIds []string `pulumi:"scanIpIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + ScanIpv6ids []string `pulumi:"scanIpv6ids"` // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` SecurityAttributes map[string]string `pulumi:"securityAttributes"` // (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. @@ -415,8 +425,10 @@ type dbSystemState struct { TimeZone *string `pulumi:"timeZone"` // The Oracle Database version of the DB system. Version *string `pulumi:"version"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. VipIds []string `pulumi:"vipIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + Vipv6ids []string `pulumi:"vipv6ids"` // The OCID of the zone the DB system is associated with. ZoneId *string `pulumi:"zoneId"` } @@ -523,14 +535,18 @@ type DbSystemState struct { PointInTimeDataDiskCloneTimestamp 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. Supported for VM BM shape. PrivateIp pulumi.StringPtrInput + // A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + PrivateIpV6 pulumi.StringPtrInput // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb pulumi.IntPtrInput // The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsName pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsRecordId pulumi.StringPtrInput - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. ScanIpIds pulumi.StringArrayInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + ScanIpv6ids pulumi.StringArrayInput // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` SecurityAttributes pulumi.StringMapInput // (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. @@ -568,8 +584,10 @@ type DbSystemState struct { TimeZone pulumi.StringPtrInput // The Oracle Database version of the DB system. Version pulumi.StringPtrInput - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. VipIds pulumi.StringArrayInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + Vipv6ids pulumi.StringArrayInput // The OCID of the zone the DB system is associated with. ZoneId pulumi.StringPtrInput } @@ -660,6 +678,8 @@ type dbSystemArgs struct { NsgIds []string `pulumi:"nsgIds"` // 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. Supported for VM BM shape. PrivateIp *string `pulumi:"privateIp"` + // A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + PrivateIpV6 *string `pulumi:"privateIpV6"` // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb *int `pulumi:"recoStorageSizeInGb"` // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` @@ -778,6 +798,8 @@ type DbSystemArgs struct { NsgIds pulumi.StringArrayInput // 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. Supported for VM BM shape. PrivateIp pulumi.StringPtrInput + // A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + PrivateIpV6 pulumi.StringPtrInput // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb pulumi.IntPtrInput // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` @@ -1109,6 +1131,11 @@ func (o DbSystemOutput) PrivateIp() pulumi.StringOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) } +// A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. +func (o DbSystemOutput) PrivateIpV6() pulumi.StringOutput { + return o.ApplyT(func(v *DbSystem) pulumi.StringOutput { return v.PrivateIpV6 }).(pulumi.StringOutput) +} + // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. func (o DbSystemOutput) RecoStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v *DbSystem) pulumi.IntOutput { return v.RecoStorageSizeInGb }).(pulumi.IntOutput) @@ -1124,11 +1151,16 @@ func (o DbSystemOutput) ScanDnsRecordId() pulumi.StringOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringOutput { return v.ScanDnsRecordId }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. func (o DbSystemOutput) ScanIpIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringArrayOutput { return v.ScanIpIds }).(pulumi.StringArrayOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. +func (o DbSystemOutput) ScanIpv6ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbSystem) pulumi.StringArrayOutput { return v.ScanIpv6ids }).(pulumi.StringArrayOutput) +} + // (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` func (o DbSystemOutput) SecurityAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringMapOutput { return v.SecurityAttributes }).(pulumi.StringMapOutput) @@ -1202,11 +1234,16 @@ func (o DbSystemOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. func (o DbSystemOutput) VipIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringArrayOutput { return v.VipIds }).(pulumi.StringArrayOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. +func (o DbSystemOutput) Vipv6ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbSystem) pulumi.StringArrayOutput { return v.Vipv6ids }).(pulumi.StringArrayOutput) +} + // The OCID of the zone the DB system is associated with. func (o DbSystemOutput) ZoneId() pulumi.StringOutput { return o.ApplyT(func(v *DbSystem) pulumi.StringOutput { return v.ZoneId }).(pulumi.StringOutput) diff --git a/sdk/go/oci/database/getAutonomousContainerDatabase.go b/sdk/go/oci/database/getAutonomousContainerDatabase.go index c846a556c3..73ad05bb33 100644 --- a/sdk/go/oci/database/getAutonomousContainerDatabase.go +++ b/sdk/go/oci/database/getAutonomousContainerDatabase.go @@ -58,7 +58,9 @@ type LookupAutonomousContainerDatabaseArgs struct { // A collection of values returned by getAutonomousContainerDatabase. type LookupAutonomousContainerDatabaseResult struct { - AutonomousContainerDatabaseId string `pulumi:"autonomousContainerDatabaseId"` + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails []GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail `pulumi:"associatedBackupConfigurationDetails"` + AutonomousContainerDatabaseId string `pulumi:"autonomousContainerDatabaseId"` // **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`. AutonomousExadataInfrastructureId string `pulumi:"autonomousExadataInfrastructureId"` // The OCID of the Autonomous VM Cluster. @@ -69,6 +71,8 @@ type LookupAutonomousContainerDatabaseResult struct { AvailableCpus float64 `pulumi:"availableCpus"` // Backup options for the Autonomous Container Database. BackupConfigs []GetAutonomousContainerDatabaseBackupConfig `pulumi:"backupConfigs"` + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists []GetAutonomousContainerDatabaseBackupDestinationPropertiesList `pulumi:"backupDestinationPropertiesLists"` // 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 OCID of the compartment. @@ -146,6 +150,8 @@ type LookupAutonomousContainerDatabaseResult struct { ProvisionedCpus float64 `pulumi:"provisionedCpus"` // CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. ReclaimableCpus float64 `pulumi:"reclaimableCpus"` + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails []GetAutonomousContainerDatabaseRecoveryApplianceDetail `pulumi:"recoveryApplianceDetails"` // The number of CPUs reserved in an Autonomous Container Database. ReservedCpus float64 `pulumi:"reservedCpus"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. @@ -207,6 +213,13 @@ func (o LookupAutonomousContainerDatabaseResultOutput) ToLookupAutonomousContain return o } +// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. +func (o LookupAutonomousContainerDatabaseResultOutput) AssociatedBackupConfigurationDetails() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) []GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + return v.AssociatedBackupConfigurationDetails + }).(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + func (o LookupAutonomousContainerDatabaseResultOutput) AutonomousContainerDatabaseId() pulumi.StringOutput { return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) string { return v.AutonomousContainerDatabaseId }).(pulumi.StringOutput) } @@ -238,6 +251,13 @@ func (o LookupAutonomousContainerDatabaseResultOutput) BackupConfigs() GetAutono }).(GetAutonomousContainerDatabaseBackupConfigArrayOutput) } +// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. +func (o LookupAutonomousContainerDatabaseResultOutput) BackupDestinationPropertiesLists() GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) []GetAutonomousContainerDatabaseBackupDestinationPropertiesList { + return v.BackupDestinationPropertiesLists + }).(GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. func (o LookupAutonomousContainerDatabaseResultOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) string { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) @@ -464,6 +484,13 @@ func (o LookupAutonomousContainerDatabaseResultOutput) ReclaimableCpus() pulumi. return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) float64 { return v.ReclaimableCpus }).(pulumi.Float64Output) } +// Information about the recovery appliance configuration associated with the Autonomous Container Database. +func (o LookupAutonomousContainerDatabaseResultOutput) RecoveryApplianceDetails() GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) []GetAutonomousContainerDatabaseRecoveryApplianceDetail { + return v.RecoveryApplianceDetails + }).(GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + // The number of CPUs reserved in an Autonomous Container Database. func (o LookupAutonomousContainerDatabaseResultOutput) ReservedCpus() pulumi.Float64Output { return o.ApplyT(func(v LookupAutonomousContainerDatabaseResult) float64 { return v.ReservedCpus }).(pulumi.Float64Output) diff --git a/sdk/go/oci/database/getAutonomousDatabase.go b/sdk/go/oci/database/getAutonomousDatabase.go index 7d6767e56c..75f5b9603f 100644 --- a/sdk/go/oci/database/getAutonomousDatabase.go +++ b/sdk/go/oci/database/getAutonomousDatabase.go @@ -88,7 +88,12 @@ type LookupAutonomousDatabaseResult struct { ByolComputeCountLimit float64 `pulumi:"byolComputeCountLimit"` // The character set for the autonomous database. The default is AL32UTF8. Allowed values are: CharacterSet string `pulumi:"characterSet"` - CloneType string `pulumi:"cloneType"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + // === + // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + // > > > > > > > theirs + CloneTableSpaceLists []int `pulumi:"cloneTableSpaceLists"` + 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -214,6 +219,8 @@ type LookupAutonomousDatabaseResult struct { LocalStandbyDbs []GetAutonomousDatabaseLocalStandbyDb `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules []GetAutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // 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 ECPU or OCPU. @@ -457,6 +464,14 @@ func (o LookupAutonomousDatabaseResultOutput) CharacterSet() pulumi.StringOutput return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.CharacterSet }).(pulumi.StringOutput) } +// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. +// === +// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS +// > > > > > > > theirs +func (o LookupAutonomousDatabaseResultOutput) CloneTableSpaceLists() pulumi.IntArrayOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) []int { return v.CloneTableSpaceLists }).(pulumi.IntArrayOutput) +} + func (o LookupAutonomousDatabaseResultOutput) CloneType() pulumi.StringOutput { return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.CloneType }).(pulumi.StringOutput) } @@ -779,6 +794,11 @@ func (o LookupAutonomousDatabaseResultOutput) LongTermBackupSchedules() GetAuton }).(GetAutonomousDatabaseLongTermBackupScheduleArrayOutput) } +// The component chosen for maintenance. +func (o LookupAutonomousDatabaseResultOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. func (o LookupAutonomousDatabaseResultOutput) MaxCpuCoreCount() pulumi.IntOutput { return o.ApplyT(func(v LookupAutonomousDatabaseResult) int { return v.MaxCpuCoreCount }).(pulumi.IntOutput) diff --git a/sdk/go/oci/database/getAutonomousDatabases.go b/sdk/go/oci/database/getAutonomousDatabases.go index f2628664e6..bd3bced115 100644 --- a/sdk/go/oci/database/getAutonomousDatabases.go +++ b/sdk/go/oci/database/getAutonomousDatabases.go @@ -11,21 +11,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// ## -// -// *** -// ## 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. diff --git a/sdk/go/oci/database/getBackupDestination.go b/sdk/go/oci/database/getBackupDestination.go index f9d7f67db4..9241efc3af 100644 --- a/sdk/go/oci/database/getBackupDestination.go +++ b/sdk/go/oci/database/getBackupDestination.go @@ -88,10 +88,16 @@ type LookupBackupDestinationResult struct { NfsServers []string `pulumi:"nfsServers"` // The current lifecycle state of the backup destination. State string `pulumi:"state"` + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` // The date and time the backup destination was created. TimeCreated string `pulumi:"timeCreated"` + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs int `pulumi:"totalStorageSizeInGbs"` // Type of the backup destination. Type string `pulumi:"type"` + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs int `pulumi:"utilizedStorageSizeInGbs"` // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. VpcUsers []string `pulumi:"vpcUsers"` } @@ -207,16 +213,31 @@ func (o LookupBackupDestinationResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupDestinationResult) string { return v.State }).(pulumi.StringOutput) } +// The time when the total storage size and the utilized storage size of the backup destination are updated. +func (o LookupBackupDestinationResultOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupBackupDestinationResult) string { return v.TimeAtWhichStorageDetailsAreUpdated }).(pulumi.StringOutput) +} + // The date and time the backup destination was created. func (o LookupBackupDestinationResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupDestinationResult) string { return v.TimeCreated }).(pulumi.StringOutput) } +// The total storage size of the backup destination in GBs, rounded to the nearest integer. +func (o LookupBackupDestinationResultOutput) TotalStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v LookupBackupDestinationResult) int { return v.TotalStorageSizeInGbs }).(pulumi.IntOutput) +} + // Type of the backup destination. func (o LookupBackupDestinationResultOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupDestinationResult) string { return v.Type }).(pulumi.StringOutput) } +// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. +func (o LookupBackupDestinationResultOutput) UtilizedStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v LookupBackupDestinationResult) int { return v.UtilizedStorageSizeInGbs }).(pulumi.IntOutput) +} + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. func (o LookupBackupDestinationResultOutput) VpcUsers() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupBackupDestinationResult) []string { return v.VpcUsers }).(pulumi.StringArrayOutput) diff --git a/sdk/go/oci/database/getDataGuardAssociation.go b/sdk/go/oci/database/getDataGuardAssociation.go index 5eafd778f0..17c15212c2 100644 --- a/sdk/go/oci/database/getDataGuardAssociation.go +++ b/sdk/go/oci/database/getDataGuardAssociation.go @@ -110,6 +110,7 @@ type LookupDataGuardAssociationResult struct { PeerSidPrefix string `pulumi:"peerSidPrefix"` PeerVmClusterId string `pulumi:"peerVmClusterId"` PrivateIp string `pulumi:"privateIp"` + PrivateIpV6 string `pulumi:"privateIpV6"` // The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. ProtectionMode string `pulumi:"protectionMode"` // The role of the reporting database in this Data Guard association. @@ -327,6 +328,10 @@ func (o LookupDataGuardAssociationResultOutput) PrivateIp() pulumi.StringOutput return o.ApplyT(func(v LookupDataGuardAssociationResult) string { return v.PrivateIp }).(pulumi.StringOutput) } +func (o LookupDataGuardAssociationResultOutput) PrivateIpV6() pulumi.StringOutput { + return o.ApplyT(func(v LookupDataGuardAssociationResult) string { return v.PrivateIpV6 }).(pulumi.StringOutput) +} + // The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. func (o LookupDataGuardAssociationResultOutput) ProtectionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupDataGuardAssociationResult) string { return v.ProtectionMode }).(pulumi.StringOutput) diff --git a/sdk/go/oci/database/getMaintenanceRuns.go b/sdk/go/oci/database/getMaintenanceRuns.go index 684a3b79ca..e5a72e3576 100644 --- a/sdk/go/oci/database/getMaintenanceRuns.go +++ b/sdk/go/oci/database/getMaintenanceRuns.go @@ -32,6 +32,7 @@ import ( // _, err := database.GetMaintenanceRuns(ctx, &database.GetMaintenanceRunsArgs{ // CompartmentId: compartmentId, // AvailabilityDomain: pulumi.StringRef(maintenanceRunAvailabilityDomain), +// IsLocalAdg: pulumi.BoolRef(maintenanceRunIsLocalAdg), // MaintenanceSubtype: pulumi.StringRef(maintenanceRunMaintenanceSubtype), // MaintenanceType: pulumi.StringRef(maintenanceRunMaintenanceType), // State: pulumi.StringRef(maintenanceRunState), @@ -63,6 +64,8 @@ type GetMaintenanceRunsArgs struct { // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId string `pulumi:"compartmentId"` Filters []GetMaintenanceRunsFilter `pulumi:"filters"` + // A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + IsLocalAdg *bool `pulumi:"isLocalAdg"` // The sub-type of the maintenance run. MaintenanceSubtype *string `pulumi:"maintenanceSubtype"` // The maintenance type. @@ -82,7 +85,8 @@ type GetMaintenanceRunsResult struct { CompartmentId string `pulumi:"compartmentId"` Filters []GetMaintenanceRunsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + IsLocalAdg *bool `pulumi:"isLocalAdg"` // The list of maintenance_runs. MaintenanceRuns []GetMaintenanceRunsMaintenanceRun `pulumi:"maintenanceRuns"` // Maintenance sub-type. @@ -113,6 +117,8 @@ type GetMaintenanceRunsOutputArgs struct { // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId pulumi.StringInput `pulumi:"compartmentId"` Filters GetMaintenanceRunsFilterArrayInput `pulumi:"filters"` + // A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + IsLocalAdg pulumi.BoolPtrInput `pulumi:"isLocalAdg"` // The sub-type of the maintenance run. MaintenanceSubtype pulumi.StringPtrInput `pulumi:"maintenanceSubtype"` // The maintenance type. @@ -162,6 +168,10 @@ func (o GetMaintenanceRunsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetMaintenanceRunsResult) string { return v.Id }).(pulumi.StringOutput) } +func (o GetMaintenanceRunsResultOutput) IsLocalAdg() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMaintenanceRunsResult) *bool { return v.IsLocalAdg }).(pulumi.BoolPtrOutput) +} + // The list of maintenance_runs. func (o GetMaintenanceRunsResultOutput) MaintenanceRuns() GetMaintenanceRunsMaintenanceRunArrayOutput { return o.ApplyT(func(v GetMaintenanceRunsResult) []GetMaintenanceRunsMaintenanceRun { return v.MaintenanceRuns }).(GetMaintenanceRunsMaintenanceRunArrayOutput) diff --git a/sdk/go/oci/database/pulumiTypes.go b/sdk/go/oci/database/pulumiTypes.go index 3a5c5f5d21..98cbe913c5 100644 --- a/sdk/go/oci/database/pulumiTypes.go +++ b/sdk/go/oci/database/pulumiTypes.go @@ -13,6 +13,192 @@ import ( var _ = internal.GetEnvOrDefault +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetail struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId *string `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id *string `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy *string `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays *int `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs *int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated *string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type *string `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword *string `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser *string `pulumi:"vpcUser"` +} + +// AutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput is an input type that accepts AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs and AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput` via: +// +// AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput + ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput +} + +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId pulumi.StringPtrInput `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id pulumi.StringPtrInput `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy pulumi.StringPtrInput `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntPtrInput `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntPtrInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringPtrInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type pulumi.StringPtrInput `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword pulumi.StringPtrInput `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser pulumi.StringPtrInput `pulumi:"vpcUser"` +} + +func (AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return i.ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + +// AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput is an input type that accepts AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray and AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput` via: +// +// AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{ AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} } +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput + ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput +} + +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray []AutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput + +func (AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return i.ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) DbrsPolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.DbrsPolicyId }).(pulumi.StringPtrOutput) +} + +// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Proxy URL to connect to object store. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) InternetProxy() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.InternetProxy }).(pulumi.StringPtrOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) RecoveryWindowInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *int { + return v.RecoveryWindowInDays + }).(pulumi.IntPtrOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) SpaceUtilizedInGbs() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *int { + return v.SpaceUtilizedInGbs + }).(pulumi.IntPtrOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringPtrOutput) +} + +// Type of the database backup destination. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.VpcPassword }).(pulumi.StringPtrOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseAssociatedBackupConfigurationDetail) *string { return v.VpcUser }).(pulumi.StringPtrOutput) +} + +type AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) Index(i pulumi.IntInput) AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + return vs[0].([]AutonomousContainerDatabaseAssociatedBackupConfigurationDetail)[vs[1].(int)] + }).(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + type AutonomousContainerDatabaseBackupConfig struct { // (Updatable) Backup destination details. BackupDestinationDetails *AutonomousContainerDatabaseBackupConfigBackupDestinationDetails `pulumi:"backupDestinationDetails"` @@ -386,6 +572,125 @@ func (o AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsPtrOutput }).(pulumi.StringPtrOutput) } +type AutonomousContainerDatabaseBackupDestinationPropertiesList struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs *int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated *string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +// AutonomousContainerDatabaseBackupDestinationPropertiesListInput is an input type that accepts AutonomousContainerDatabaseBackupDestinationPropertiesListArgs and AutonomousContainerDatabaseBackupDestinationPropertiesListOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseBackupDestinationPropertiesListInput` via: +// +// AutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} +type AutonomousContainerDatabaseBackupDestinationPropertiesListInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListOutput + ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListOutput +} + +type AutonomousContainerDatabaseBackupDestinationPropertiesListArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntPtrInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringPtrInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +func (AutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return i.ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + +// AutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput is an input type that accepts AutonomousContainerDatabaseBackupDestinationPropertiesListArray and AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput` via: +// +// AutonomousContainerDatabaseBackupDestinationPropertiesListArray{ AutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} } +type AutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput + ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput +} + +type AutonomousContainerDatabaseBackupDestinationPropertiesListArray []AutonomousContainerDatabaseBackupDestinationPropertiesListInput + +func (AutonomousContainerDatabaseBackupDestinationPropertiesListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return i.ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + +type AutonomousContainerDatabaseBackupDestinationPropertiesListOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseBackupDestinationPropertiesList) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) SpaceUtilizedInGbs() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseBackupDestinationPropertiesList) *int { return v.SpaceUtilizedInGbs }).(pulumi.IntPtrOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseBackupDestinationPropertiesList) *string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringPtrOutput) +} + +type AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) Index(i pulumi.IntInput) AutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutonomousContainerDatabaseBackupDestinationPropertiesList { + return vs[0].([]AutonomousContainerDatabaseBackupDestinationPropertiesList)[vs[1].(int)] + }).(AutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + type AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig struct { // Backup destination details. BackupDestinationDetails []AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` @@ -2054,6 +2359,126 @@ func (o AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBa }).(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput) } +type AutonomousContainerDatabaseRecoveryApplianceDetail struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs *int `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays *int `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + // === + TimeRecoveryApplianceDetailsUpdated *string `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +// AutonomousContainerDatabaseRecoveryApplianceDetailInput is an input type that accepts AutonomousContainerDatabaseRecoveryApplianceDetailArgs and AutonomousContainerDatabaseRecoveryApplianceDetailOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseRecoveryApplianceDetailInput` via: +// +// AutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} +type AutonomousContainerDatabaseRecoveryApplianceDetailInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseRecoveryApplianceDetailOutput() AutonomousContainerDatabaseRecoveryApplianceDetailOutput + ToAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailOutput +} + +type AutonomousContainerDatabaseRecoveryApplianceDetailArgs struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs pulumi.IntPtrInput `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntPtrInput `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + // === + TimeRecoveryApplianceDetailsUpdated pulumi.StringPtrInput `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +func (AutonomousContainerDatabaseRecoveryApplianceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToAutonomousContainerDatabaseRecoveryApplianceDetailOutput() AutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return i.ToAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + +// AutonomousContainerDatabaseRecoveryApplianceDetailArrayInput is an input type that accepts AutonomousContainerDatabaseRecoveryApplianceDetailArray and AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput values. +// You can construct a concrete instance of `AutonomousContainerDatabaseRecoveryApplianceDetailArrayInput` via: +// +// AutonomousContainerDatabaseRecoveryApplianceDetailArray{ AutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} } +type AutonomousContainerDatabaseRecoveryApplianceDetailArrayInput interface { + pulumi.Input + + ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput + ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput +} + +type AutonomousContainerDatabaseRecoveryApplianceDetailArray []AutonomousContainerDatabaseRecoveryApplianceDetailInput + +func (AutonomousContainerDatabaseRecoveryApplianceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i AutonomousContainerDatabaseRecoveryApplianceDetailArray) ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return i.ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Background()) +} + +func (i AutonomousContainerDatabaseRecoveryApplianceDetailArray) ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + +type AutonomousContainerDatabaseRecoveryApplianceDetailOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseRecoveryApplianceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToAutonomousContainerDatabaseRecoveryApplianceDetailOutput() AutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +func (o AutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. +func (o AutonomousContainerDatabaseRecoveryApplianceDetailOutput) AllocatedStorageSizeInGbs() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseRecoveryApplianceDetail) *int { return v.AllocatedStorageSizeInGbs }).(pulumi.IntPtrOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o AutonomousContainerDatabaseRecoveryApplianceDetailOutput) RecoveryWindowInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseRecoveryApplianceDetail) *int { return v.RecoveryWindowInDays }).(pulumi.IntPtrOutput) +} + +// The time when the recovery appliance details are updated. +// === +func (o AutonomousContainerDatabaseRecoveryApplianceDetailOutput) TimeRecoveryApplianceDetailsUpdated() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousContainerDatabaseRecoveryApplianceDetail) *string { + return v.TimeRecoveryApplianceDetailsUpdated + }).(pulumi.StringPtrOutput) +} + +type AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput struct{ *pulumi.OutputState } + +func (AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) Index(i pulumi.IntInput) AutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutonomousContainerDatabaseRecoveryApplianceDetail { + return vs[0].([]AutonomousContainerDatabaseRecoveryApplianceDetail)[vs[1].(int)] + }).(AutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + type AutonomousDatabaseApexDetail struct { // The Oracle APEX Application Development version. ApexVersion *string `pulumi:"apexVersion"` @@ -4014,12 +4439,18 @@ type AutonomousDatabaseLocalStandbyDb struct { LagTimeInSeconds *int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent *string `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged *string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin *string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd *string `pulumi:"timeMaintenanceEnd"` } // AutonomousDatabaseLocalStandbyDbInput is an input type that accepts AutonomousDatabaseLocalStandbyDbArgs and AutonomousDatabaseLocalStandbyDbOutput values. @@ -4040,12 +4471,18 @@ type AutonomousDatabaseLocalStandbyDbArgs struct { LagTimeInSeconds pulumi.IntPtrInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringPtrInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringPtrInput `pulumi:"maintenanceTargetComponent"` // The current state of the Autonomous Database. State pulumi.StringPtrInput `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.StringPtrInput `pulumi:"timeDataGuardRoleChanged"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringPtrInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringPtrInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringPtrInput `pulumi:"timeMaintenanceEnd"` } func (AutonomousDatabaseLocalStandbyDbArgs) ElementType() reflect.Type { @@ -4114,6 +4551,11 @@ func (o AutonomousDatabaseLocalStandbyDbOutput) LifecycleDetails() pulumi.String return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.LifecycleDetails }).(pulumi.StringPtrOutput) } +// The component chosen for maintenance. +func (o AutonomousDatabaseLocalStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.MaintenanceTargetComponent }).(pulumi.StringPtrOutput) +} + // The current state of the Autonomous Database. func (o AutonomousDatabaseLocalStandbyDbOutput) State() pulumi.StringPtrOutput { return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.State }).(pulumi.StringPtrOutput) @@ -4129,6 +4571,16 @@ func (o AutonomousDatabaseLocalStandbyDbOutput) TimeDisasterRecoveryRoleChanged( return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.TimeDisasterRecoveryRoleChanged }).(pulumi.StringPtrOutput) } +// The date and time when maintenance will begin. +func (o AutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.TimeMaintenanceBegin }).(pulumi.StringPtrOutput) +} + +// The date and time when maintenance will end. +func (o AutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.TimeMaintenanceEnd }).(pulumi.StringPtrOutput) +} + type AutonomousDatabaseLocalStandbyDbArrayOutput struct{ *pulumi.OutputState } func (AutonomousDatabaseLocalStandbyDbArrayOutput) ElementType() reflect.Type { @@ -4893,12 +5345,18 @@ type AutonomousDatabaseStandbyDb struct { LagTimeInSeconds *int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent *string `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged *string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin *string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd *string `pulumi:"timeMaintenanceEnd"` } // AutonomousDatabaseStandbyDbInput is an input type that accepts AutonomousDatabaseStandbyDbArgs and AutonomousDatabaseStandbyDbOutput values. @@ -4919,12 +5377,18 @@ type AutonomousDatabaseStandbyDbArgs struct { LagTimeInSeconds pulumi.IntPtrInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringPtrInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringPtrInput `pulumi:"maintenanceTargetComponent"` // The current state of the Autonomous Database. State pulumi.StringPtrInput `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.StringPtrInput `pulumi:"timeDataGuardRoleChanged"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringPtrInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringPtrInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringPtrInput `pulumi:"timeMaintenanceEnd"` } func (AutonomousDatabaseStandbyDbArgs) ElementType() reflect.Type { @@ -4993,6 +5457,11 @@ func (o AutonomousDatabaseStandbyDbOutput) LifecycleDetails() pulumi.StringPtrOu return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.LifecycleDetails }).(pulumi.StringPtrOutput) } +// The component chosen for maintenance. +func (o AutonomousDatabaseStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.MaintenanceTargetComponent }).(pulumi.StringPtrOutput) +} + // The current state of the Autonomous Database. func (o AutonomousDatabaseStandbyDbOutput) State() pulumi.StringPtrOutput { return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.State }).(pulumi.StringPtrOutput) @@ -5008,6 +5477,16 @@ func (o AutonomousDatabaseStandbyDbOutput) TimeDisasterRecoveryRoleChanged() pul return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.TimeDisasterRecoveryRoleChanged }).(pulumi.StringPtrOutput) } +// The date and time when maintenance will begin. +func (o AutonomousDatabaseStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.TimeMaintenanceBegin }).(pulumi.StringPtrOutput) +} + +// The date and time when maintenance will end. +func (o AutonomousDatabaseStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.TimeMaintenanceEnd }).(pulumi.StringPtrOutput) +} + type AutonomousDatabaseStandbyDbArrayOutput struct{ *pulumi.OutputState } func (AutonomousDatabaseStandbyDbArrayOutput) ElementType() reflect.Type { @@ -29256,10 +29735,200 @@ func (o GetAutonomousCharacterSetsFilterArrayOutput) Index(i pulumi.IntInput) Ge }).(GetAutonomousCharacterSetsFilterOutput) } +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId string `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id string `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy string `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type string `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword string `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser string `pulumi:"vpcUser"` +} + +// GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput is an input type that accepts GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs and GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput` via: +// +// GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput + ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput +} + +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId pulumi.StringInput `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id pulumi.StringInput `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy pulumi.StringInput `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type pulumi.StringInput `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword pulumi.StringInput `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser pulumi.StringInput `pulumi:"vpcUser"` +} + +func (GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return i.ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + +// GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput is an input type that accepts GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray and GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput` via: +// +// GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{ GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} } +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput + ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput +} + +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray []GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput + +func (GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return i.ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) DbrsPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.DbrsPolicyId + }).(pulumi.StringOutput) +} + +// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { return v.Id }).(pulumi.StringOutput) +} + +// Proxy URL to connect to object store. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) InternetProxy() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.InternetProxy + }).(pulumi.StringOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) RecoveryWindowInDays() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) int { + return v.RecoveryWindowInDays + }).(pulumi.IntOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) SpaceUtilizedInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) int { + return v.SpaceUtilizedInGbs + }).(pulumi.IntOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringOutput) +} + +// Type of the database backup destination. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { return v.Type }).(pulumi.StringOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { return v.VpcPassword }).(pulumi.StringOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcUser() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { return v.VpcUser }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToGetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + return vs[0].([]GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)[vs[1].(int)] + }).(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + type GetAutonomousContainerDatabaseBackupConfig struct { // Backup destination details. BackupDestinationDetails []GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` } @@ -29277,7 +29946,7 @@ type GetAutonomousContainerDatabaseBackupConfigInput interface { type GetAutonomousContainerDatabaseBackupConfigArgs struct { // Backup destination details. BackupDestinationDetails GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` } @@ -29339,7 +30008,7 @@ func (o GetAutonomousContainerDatabaseBackupConfigOutput) BackupDestinationDetai }).(GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput) } -// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. +// Number of days between the current and earliest point of recoverability covered by automatic backups. func (o GetAutonomousContainerDatabaseBackupConfigOutput) RecoveryWindowInDays() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousContainerDatabaseBackupConfig) int { return v.RecoveryWindowInDays }).(pulumi.IntOutput) } @@ -29499,6 +30168,125 @@ func (o GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOu }).(GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput) } +type GetAutonomousContainerDatabaseBackupDestinationPropertiesList struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +// GetAutonomousContainerDatabaseBackupDestinationPropertiesListInput is an input type that accepts GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs and GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseBackupDestinationPropertiesListInput` via: +// +// GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput + ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput +} + +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +func (GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return i.ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + +// GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput is an input type that accepts GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray and GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput` via: +// +// GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray{ GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} } +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput + ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput +} + +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray []GetAutonomousContainerDatabaseBackupDestinationPropertiesListInput + +func (GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return i.ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseBackupDestinationPropertiesList) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) SpaceUtilizedInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseBackupDestinationPropertiesList) int { return v.SpaceUtilizedInGbs }).(pulumi.IntOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseBackupDestinationPropertiesList) string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToGetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabaseBackupDestinationPropertiesList { + return vs[0].([]GetAutonomousContainerDatabaseBackupDestinationPropertiesList)[vs[1].(int)] + }).(GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + type GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig struct { BackupDestinationDetails []GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` @@ -31346,7 +32134,7 @@ func (o GetAutonomousContainerDatabaseMaintenanceWindowMonthArrayOutput) Index(i type GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig struct { // Backup destination details. BackupDestinationDetails []GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` } @@ -31364,7 +32152,7 @@ type GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigIn type GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs struct { // Backup destination details. BackupDestinationDetails GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` } @@ -31426,7 +32214,7 @@ func (o GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfi }).(GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput) } -// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. +// Number of days between the current and earliest point of recoverability covered by automatic backups. func (o GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigOutput) RecoveryWindowInDays() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig) int { return v.RecoveryWindowInDays @@ -31596,6 +32384,123 @@ func (o GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfi }).(GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput) } +type GetAutonomousContainerDatabaseRecoveryApplianceDetail struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs int `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + TimeRecoveryApplianceDetailsUpdated string `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +// GetAutonomousContainerDatabaseRecoveryApplianceDetailInput is an input type that accepts GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs and GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseRecoveryApplianceDetailInput` via: +// +// GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} +type GetAutonomousContainerDatabaseRecoveryApplianceDetailInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput + ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput +} + +type GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs pulumi.IntInput `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + TimeRecoveryApplianceDetailsUpdated pulumi.StringInput `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +func (GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return i.ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + +// GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput is an input type that accepts GetAutonomousContainerDatabaseRecoveryApplianceDetailArray and GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput` via: +// +// GetAutonomousContainerDatabaseRecoveryApplianceDetailArray{ GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} } +type GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput + ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput +} + +type GetAutonomousContainerDatabaseRecoveryApplianceDetailArray []GetAutonomousContainerDatabaseRecoveryApplianceDetailInput + +func (GetAutonomousContainerDatabaseRecoveryApplianceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabaseRecoveryApplianceDetailArray) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return i.ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabaseRecoveryApplianceDetailArray) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + +type GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) AllocatedStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseRecoveryApplianceDetail) int { return v.AllocatedStorageSizeInGbs }).(pulumi.IntOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) RecoveryWindowInDays() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseRecoveryApplianceDetail) int { return v.RecoveryWindowInDays }).(pulumi.IntOutput) +} + +// The time when the recovery appliance details are updated. +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) TimeRecoveryApplianceDetailsUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabaseRecoveryApplianceDetail) string { + return v.TimeRecoveryApplianceDetailsUpdated + }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToGetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabaseRecoveryApplianceDetail { + return vs[0].([]GetAutonomousContainerDatabaseRecoveryApplianceDetail)[vs[1].(int)] + }).(GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + type GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage struct { // The user-friendly name for the Autonomous Container Database. The name does not need to be unique. DisplayName string `pulumi:"displayName"` @@ -32110,6 +33015,8 @@ func (o GetAutonomousContainerDatabaseVersionsFilterArrayOutput) Index(i pulumi. } type GetAutonomousContainerDatabasesAutonomousContainerDatabase struct { + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails []GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail `pulumi:"associatedBackupConfigurationDetails"` // The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousExadataInfrastructureId string `pulumi:"autonomousExadataInfrastructureId"` // The Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -32120,6 +33027,8 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabase struct { AvailableCpus float64 `pulumi:"availableCpus"` // Backup options for the Autonomous Container Database. BackupConfigs []GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig `pulumi:"backupConfigs"` + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists []GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList `pulumi:"backupDestinationPropertiesLists"` // The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CloudAutonomousVmClusterId string `pulumi:"cloudAutonomousVmClusterId"` // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -32196,6 +33105,8 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabase struct { ProvisionedCpus float64 `pulumi:"provisionedCpus"` // CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. ReclaimableCpus float64 `pulumi:"reclaimableCpus"` + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails []GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail `pulumi:"recoveryApplianceDetails"` // The number of CPUs reserved in an Autonomous Container Database. ReservedCpus float64 `pulumi:"reservedCpus"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. @@ -32235,6 +33146,8 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabaseInput interface { } type GetAutonomousContainerDatabasesAutonomousContainerDatabaseArgs struct { + // A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + AssociatedBackupConfigurationDetails GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput `pulumi:"associatedBackupConfigurationDetails"` // The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousExadataInfrastructureId pulumi.StringInput `pulumi:"autonomousExadataInfrastructureId"` // The Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -32245,6 +33158,8 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabaseArgs struct { AvailableCpus pulumi.Float64Input `pulumi:"availableCpus"` // Backup options for the Autonomous Container Database. BackupConfigs GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArrayInput `pulumi:"backupConfigs"` + // This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + BackupDestinationPropertiesLists GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput `pulumi:"backupDestinationPropertiesLists"` // The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CloudAutonomousVmClusterId pulumi.StringInput `pulumi:"cloudAutonomousVmClusterId"` // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -32321,6 +33236,8 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabaseArgs struct { ProvisionedCpus pulumi.Float64Input `pulumi:"provisionedCpus"` // CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. ReclaimableCpus pulumi.Float64Input `pulumi:"reclaimableCpus"` + // Information about the recovery appliance configuration associated with the Autonomous Container Database. + RecoveryApplianceDetails GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput `pulumi:"recoveryApplianceDetails"` // The number of CPUs reserved in an Autonomous Container Database. ReservedCpus pulumi.Float64Input `pulumi:"reservedCpus"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. @@ -32399,6 +33316,13 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) ToGetA return o } +// A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) AssociatedBackupConfigurationDetails() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) []GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + return v.AssociatedBackupConfigurationDetails + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + // The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) AutonomousExadataInfrastructureId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) string { @@ -32430,6 +33354,13 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) Backup }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArrayOutput) } +// This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) BackupDestinationPropertiesLists() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) []GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList { + return v.BackupDestinationPropertiesLists + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + // The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) string { @@ -32689,6 +33620,13 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) Reclai return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) float64 { return v.ReclaimableCpus }).(pulumi.Float64Output) } +// Information about the recovery appliance configuration associated with the Autonomous Container Database. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) RecoveryApplianceDetails() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) []GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail { + return v.RecoveryApplianceDetails + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + // The number of CPUs reserved in an Autonomous Container Database. func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) ReservedCpus() pulumi.Float64Output { return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabase) float64 { return v.ReservedCpus }).(pulumi.Float64Output) @@ -32779,10 +33717,208 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseArrayOutput) I }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput) } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId string `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id string `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy string `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type string `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword string `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser string `pulumi:"vpcUser"` +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs and GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + DbrsPolicyId pulumi.StringInput `pulumi:"dbrsPolicyId"` + // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + Id pulumi.StringInput `pulumi:"id"` + // Proxy URL to connect to object store. + InternetProxy pulumi.StringInput `pulumi:"internetProxy"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` + // Type of the database backup destination. + Type pulumi.StringInput `pulumi:"type"` + // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + VpcPassword pulumi.StringInput `pulumi:"vpcPassword"` + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + VpcUser pulumi.StringInput `pulumi:"vpcUser"` +} + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray and GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{ GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{...} } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray []GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) DbrsPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.DbrsPolicyId + }).(pulumi.StringOutput) +} + +// The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.Id + }).(pulumi.StringOutput) +} + +// Proxy URL to connect to object store. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) InternetProxy() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.InternetProxy + }).(pulumi.StringOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) RecoveryWindowInDays() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) int { + return v.RecoveryWindowInDays + }).(pulumi.IntOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) SpaceUtilizedInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) int { + return v.SpaceUtilizedInGbs + }).(pulumi.IntOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringOutput) +} + +// Type of the database backup destination. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.Type + }).(pulumi.StringOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.VpcPassword + }).(pulumi.StringOutput) +} + +// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) VpcUser() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail) string { + return v.VpcUser + }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + return vs[0].([]GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail)[vs[1].(int)] + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput) +} + type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig struct { // Backup destination details. BackupDestinationDetails []GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` } @@ -32800,7 +33936,7 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigInput type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArgs struct { // Backup destination details. BackupDestinationDetails GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` } @@ -32862,7 +33998,7 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigOu }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput) } -// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. +// Number of days between the current and earliest point of recoverability covered by automatic backups. func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigOutput) RecoveryWindowInDays() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig) int { return v.RecoveryWindowInDays @@ -33032,6 +34168,127 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBa }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput) } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories []string `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs int `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs and GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs struct { + // The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + BackupDestinationAttachHistories pulumi.StringArrayInput `pulumi:"backupDestinationAttachHistories"` + // The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + SpaceUtilizedInGbs pulumi.IntInput `pulumi:"spaceUtilizedInGbs"` + // The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` +} + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray and GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray{ GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{...} } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray []GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListInput + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return o +} + +// The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) BackupDestinationAttachHistories() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList) []string { + return v.BackupDestinationAttachHistories + }).(pulumi.StringArrayOutput) +} + +// The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) SpaceUtilizedInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList) int { + return v.SpaceUtilizedInGbs + }).(pulumi.IntOutput) +} + +// The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList) string { + return v.TimeAtWhichStorageDetailsAreUpdated + }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList { + return vs[0].([]GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList)[vs[1].(int)] + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput) +} + type GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntry struct { // The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. Id string `pulumi:"id"` @@ -33985,7 +35242,7 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWin type GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig struct { // Backup destination details. BackupDestinationDetails []GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` } @@ -34003,7 +35260,7 @@ type GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousCon type GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs struct { // Backup destination details. BackupDestinationDetails GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput `pulumi:"backupDestinationDetails"` - // Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + // Number of days between the current and earliest point of recoverability covered by automatic backups. RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` } @@ -34065,7 +35322,7 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomous }).(GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput) } -// Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. +// Number of days between the current and earliest point of recoverability covered by automatic backups. func (o GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigOutput) RecoveryWindowInDays() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig) int { return v.RecoveryWindowInDays @@ -34235,6 +35492,127 @@ func (o GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomous }).(GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput) } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs int `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays int `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + TimeRecoveryApplianceDetailsUpdated string `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs and GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs struct { + // The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + AllocatedStorageSizeInGbs pulumi.IntInput `pulumi:"allocatedStorageSizeInGbs"` + // Number of days between the current and earliest point of recoverability covered by automatic backups. + RecoveryWindowInDays pulumi.IntInput `pulumi:"recoveryWindowInDays"` + // The time when the recovery appliance details are updated. + TimeRecoveryApplianceDetailsUpdated pulumi.StringInput `pulumi:"timeRecoveryApplianceDetailsUpdated"` +} + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput is an input type that accepts GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray and GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput values. +// You can construct a concrete instance of `GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput` via: +// +// GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray{ GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs{...} } +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput interface { + pulumi.Input + + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput + ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray []GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailInput + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return i.ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return o +} + +// The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) AllocatedStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail) int { + return v.AllocatedStorageSizeInGbs + }).(pulumi.IntOutput) +} + +// Number of days between the current and earliest point of recoverability covered by automatic backups. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) RecoveryWindowInDays() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail) int { + return v.RecoveryWindowInDays + }).(pulumi.IntOutput) +} + +// The time when the recovery appliance details are updated. +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) TimeRecoveryApplianceDetailsUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail) string { + return v.TimeRecoveryApplianceDetailsUpdated + }).(pulumi.StringOutput) +} + +type GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail)(nil)).Elem() +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput() GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) ToGetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutputWithContext(ctx context.Context) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput { + return o +} + +func (o GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput) Index(i pulumi.IntInput) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail { + return vs[0].([]GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail)[vs[1].(int)] + }).(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput) +} + type GetAutonomousContainerDatabasesFilter struct { // Name of the month of the year. Name string `pulumi:"name"` @@ -37259,12 +38637,18 @@ type GetAutonomousDatabaseLocalStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabaseLocalStandbyDbInput is an input type that accepts GetAutonomousDatabaseLocalStandbyDbArgs and GetAutonomousDatabaseLocalStandbyDbOutput values. @@ -37285,12 +38669,18 @@ type GetAutonomousDatabaseLocalStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabaseLocalStandbyDbArgs) ElementType() reflect.Type { @@ -37359,6 +38749,11 @@ func (o GetAutonomousDatabaseLocalStandbyDbOutput) LifecycleDetails() pulumi.Str return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabaseLocalStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // The current state of the Autonomous Database. func (o GetAutonomousDatabaseLocalStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -37374,6 +38769,16 @@ func (o GetAutonomousDatabaseLocalStandbyDbOutput) TimeDisasterRecoveryRoleChang return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.TimeDisasterRecoveryRoleChanged }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.TimeMaintenanceBegin }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) +} + type GetAutonomousDatabaseLocalStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabaseLocalStandbyDbArrayOutput) ElementType() reflect.Type { @@ -39182,12 +40587,18 @@ type GetAutonomousDatabaseStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabaseStandbyDbInput is an input type that accepts GetAutonomousDatabaseStandbyDbArgs and GetAutonomousDatabaseStandbyDbOutput values. @@ -39208,12 +40619,18 @@ type GetAutonomousDatabaseStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabaseStandbyDbArgs) ElementType() reflect.Type { @@ -39282,6 +40699,11 @@ func (o GetAutonomousDatabaseStandbyDbOutput) LifecycleDetails() pulumi.StringOu return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabaseStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // The current state of the Autonomous Database. func (o GetAutonomousDatabaseStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -39297,6 +40719,16 @@ func (o GetAutonomousDatabaseStandbyDbOutput) TimeDisasterRecoveryRoleChanged() return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.TimeDisasterRecoveryRoleChanged }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabaseStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceBegin }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabaseStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) +} + type GetAutonomousDatabaseStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabaseStandbyDbArrayOutput) ElementType() reflect.Type { @@ -39348,7 +40780,12 @@ type GetAutonomousDatabasesAutonomousDatabase struct { ByolComputeCountLimit float64 `pulumi:"byolComputeCountLimit"` // The character set for the autonomous database. The default is AL32UTF8. Allowed values are: CharacterSet string `pulumi:"characterSet"` - CloneType string `pulumi:"cloneType"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + // === + // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + // > > > > > > > theirs + CloneTableSpaceLists []int `pulumi:"cloneTableSpaceLists"` + 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). @@ -39470,6 +40907,8 @@ type GetAutonomousDatabasesAutonomousDatabase struct { LocalStandbyDbs []GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules []GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // 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 ECPU or OCPU. @@ -39640,7 +41079,12 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { ByolComputeCountLimit pulumi.Float64Input `pulumi:"byolComputeCountLimit"` // The character set for the autonomous database. The default is AL32UTF8. Allowed values are: CharacterSet pulumi.StringInput `pulumi:"characterSet"` - CloneType pulumi.StringInput `pulumi:"cloneType"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + // === + // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + // > > > > > > > theirs + CloneTableSpaceLists pulumi.IntArrayInput `pulumi:"cloneTableSpaceLists"` + 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). @@ -39762,6 +41206,8 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { LocalStandbyDbs GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArrayInput `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArrayInput `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // 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 ECPU or OCPU. @@ -40026,6 +41472,14 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) CharacterSet() pulumi.St return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.CharacterSet }).(pulumi.StringOutput) } +// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. +// === +// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS +// > > > > > > > theirs +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) CloneTableSpaceLists() pulumi.IntArrayOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) []int { return v.CloneTableSpaceLists }).(pulumi.IntArrayOutput) +} + func (o GetAutonomousDatabasesAutonomousDatabaseOutput) CloneType() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.CloneType }).(pulumi.StringOutput) } @@ -40354,6 +41808,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) LongTermBackupSchedules( }).(GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArrayOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) MaxCpuCoreCount() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) int { return v.MaxCpuCoreCount }).(pulumi.IntOutput) @@ -42325,12 +43784,18 @@ type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbInput is an input type that accepts GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArgs and GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput values. @@ -42351,12 +43816,18 @@ type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArgs) ElementType() reflect.Type { @@ -42425,6 +43896,13 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) LifecycleD return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { + return v.MaintenanceTargetComponent + }).(pulumi.StringOutput) +} + // A filter to return only resources that match the given lifecycle state exactly. func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -42444,6 +43922,16 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) TimeDisast }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.TimeMaintenanceBegin }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) +} + type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArrayOutput) ElementType() reflect.Type { @@ -43215,12 +44703,18 @@ type GetAutonomousDatabasesAutonomousDatabaseStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabasesAutonomousDatabaseStandbyDbInput is an input type that accepts GetAutonomousDatabasesAutonomousDatabaseStandbyDbArgs and GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput values. @@ -43241,12 +44735,18 @@ type GetAutonomousDatabasesAutonomousDatabaseStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabasesAutonomousDatabaseStandbyDbArgs) ElementType() reflect.Type { @@ -43315,6 +44815,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) LifecycleDetail return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // A filter to return only resources that match the given lifecycle state exactly. func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -43332,6 +44837,16 @@ func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) TimeDisasterRec }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceBegin }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) +} + type GetAutonomousDatabasesAutonomousDatabaseStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabasesAutonomousDatabaseStandbyDbArrayOutput) ElementType() reflect.Type { @@ -43379,6 +44894,11 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { ByolComputeCountLimit float64 `pulumi:"byolComputeCountLimit"` // The character set for the autonomous database. The default is AL32UTF8. Allowed values are: CharacterSet string `pulumi:"characterSet"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + // === + // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + // > > > > > > > theirs + CloneTableSpaceLists []int `pulumi:"cloneTableSpaceLists"` // 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). @@ -43493,6 +45013,8 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { LocalStandbyDbs []GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules []GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // 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. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -43644,6 +45166,11 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { ByolComputeCountLimit pulumi.Float64Input `pulumi:"byolComputeCountLimit"` // The character set for the autonomous database. The default is AL32UTF8. Allowed values are: CharacterSet pulumi.StringInput `pulumi:"characterSet"` + // A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + // === + // AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + // > > > > > > > theirs + CloneTableSpaceLists pulumi.IntArrayInput `pulumi:"cloneTableSpaceLists"` // 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). @@ -43758,6 +45285,8 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { LocalStandbyDbs GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayInput `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArrayInput `pulumi:"longTermBackupSchedules"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // 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. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -43998,6 +45527,14 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) CharacterSet() pul return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.CharacterSet }).(pulumi.StringOutput) } +// A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. +// === +// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS +// > > > > > > > theirs +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) CloneTableSpaceLists() pulumi.IntArrayOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) []int { return v.CloneTableSpaceLists }).(pulumi.IntArrayOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) ClusterPlacementGroupId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.ClusterPlacementGroupId }).(pulumi.StringOutput) @@ -44297,6 +45834,11 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) LongTermBackupSche }).(GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArrayOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.MaintenanceTargetComponent }).(pulumi.StringOutput) +} + // The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) MaxCpuCoreCount() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) int { return v.MaxCpuCoreCount }).(pulumi.IntOutput) @@ -46240,12 +47782,18 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbInput is an input type that accepts GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs and GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput values. @@ -46265,12 +47813,18 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs) ElementType() reflect.Type { @@ -46340,6 +47894,13 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) Life return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { + return v.MaintenanceTargetComponent + }).(pulumi.StringOutput) +} + // A filter to return only resources that match the given lifecycle state exactly. func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -46359,6 +47920,20 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) Time }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { + return v.TimeMaintenanceBegin + }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { + return v.TimeMaintenanceEnd + }).(pulumi.StringOutput) +} + type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayOutput) ElementType() reflect.Type { @@ -47140,12 +48715,18 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb struct { LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent string `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged string `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` } // GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbInput is an input type that accepts GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs and GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput values. @@ -47165,12 +48746,18 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs struct { LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The component chosen for maintenance. + MaintenanceTargetComponent pulumi.StringInput `pulumi:"maintenanceTargetComponent"` // A filter to return only resources that match the given lifecycle state exactly. 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"` // The date and time the Disaster Recovery role was switched for the standby Autonomous Database. TimeDisasterRecoveryRoleChanged pulumi.StringInput `pulumi:"timeDisasterRecoveryRoleChanged"` + // The date and time when maintenance will begin. + TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` + // The date and time when maintenance will end. + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` } func (GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs) ElementType() reflect.Type { @@ -47238,6 +48825,13 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) Lifecycle return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The component chosen for maintenance. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) MaintenanceTargetComponent() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { + return v.MaintenanceTargetComponent + }).(pulumi.StringOutput) +} + // A filter to return only resources that match the given lifecycle state exactly. func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { return v.State }).(pulumi.StringOutput) @@ -47257,6 +48851,16 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) TimeDisas }).(pulumi.StringOutput) } +// The date and time when maintenance will begin. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) TimeMaintenanceBegin() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceBegin }).(pulumi.StringOutput) +} + +// The date and time when maintenance will end. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) TimeMaintenanceEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) +} + type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArrayOutput struct{ *pulumi.OutputState } func (GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArrayOutput) ElementType() reflect.Type { @@ -53945,10 +55549,16 @@ type GetBackupDestinationsBackupDestination struct { NfsServers []string `pulumi:"nfsServers"` // The current lifecycle state of the backup destination. State string `pulumi:"state"` + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated string `pulumi:"timeAtWhichStorageDetailsAreUpdated"` // The date and time the backup destination was created. TimeCreated string `pulumi:"timeCreated"` + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs int `pulumi:"totalStorageSizeInGbs"` // A filter to return only resources that match the given type of the Backup Destination. Type string `pulumi:"type"` + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs int `pulumi:"utilizedStorageSizeInGbs"` // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. VpcUsers []string `pulumi:"vpcUsers"` } @@ -53994,10 +55604,16 @@ type GetBackupDestinationsBackupDestinationArgs struct { NfsServers pulumi.StringArrayInput `pulumi:"nfsServers"` // The current lifecycle state of the backup destination. State pulumi.StringInput `pulumi:"state"` + // The time when the total storage size and the utilized storage size of the backup destination are updated. + TimeAtWhichStorageDetailsAreUpdated pulumi.StringInput `pulumi:"timeAtWhichStorageDetailsAreUpdated"` // The date and time the backup destination was created. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The total storage size of the backup destination in GBs, rounded to the nearest integer. + TotalStorageSizeInGbs pulumi.IntInput `pulumi:"totalStorageSizeInGbs"` // A filter to return only resources that match the given type of the Backup Destination. Type pulumi.StringInput `pulumi:"type"` + // The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + UtilizedStorageSizeInGbs pulumi.IntInput `pulumi:"utilizedStorageSizeInGbs"` // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. VpcUsers pulumi.StringArrayInput `pulumi:"vpcUsers"` } @@ -54128,16 +55744,31 @@ func (o GetBackupDestinationsBackupDestinationOutput) State() pulumi.StringOutpu return o.ApplyT(func(v GetBackupDestinationsBackupDestination) string { return v.State }).(pulumi.StringOutput) } +// The time when the total storage size and the utilized storage size of the backup destination are updated. +func (o GetBackupDestinationsBackupDestinationOutput) TimeAtWhichStorageDetailsAreUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetBackupDestinationsBackupDestination) string { return v.TimeAtWhichStorageDetailsAreUpdated }).(pulumi.StringOutput) +} + // The date and time the backup destination was created. func (o GetBackupDestinationsBackupDestinationOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetBackupDestinationsBackupDestination) string { return v.TimeCreated }).(pulumi.StringOutput) } +// The total storage size of the backup destination in GBs, rounded to the nearest integer. +func (o GetBackupDestinationsBackupDestinationOutput) TotalStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetBackupDestinationsBackupDestination) int { return v.TotalStorageSizeInGbs }).(pulumi.IntOutput) +} + // A filter to return only resources that match the given type of the Backup Destination. func (o GetBackupDestinationsBackupDestinationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetBackupDestinationsBackupDestination) string { return v.Type }).(pulumi.StringOutput) } +// The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. +func (o GetBackupDestinationsBackupDestinationOutput) UtilizedStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetBackupDestinationsBackupDestination) int { return v.UtilizedStorageSizeInGbs }).(pulumi.IntOutput) +} + // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. func (o GetBackupDestinationsBackupDestinationOutput) VpcUsers() pulumi.StringArrayOutput { return o.ApplyT(func(v GetBackupDestinationsBackupDestination) []string { return v.VpcUsers }).(pulumi.StringArrayOutput) @@ -62603,6 +64234,7 @@ type GetDataGuardAssociationsDataGuardAssociation struct { PeerSidPrefix string `pulumi:"peerSidPrefix"` PeerVmClusterId string `pulumi:"peerVmClusterId"` PrivateIp string `pulumi:"privateIp"` + PrivateIpV6 string `pulumi:"privateIpV6"` // The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. ProtectionMode string `pulumi:"protectionMode"` // The role of the reporting database in this Data Guard association. @@ -62679,6 +64311,7 @@ type GetDataGuardAssociationsDataGuardAssociationArgs struct { PeerSidPrefix pulumi.StringInput `pulumi:"peerSidPrefix"` PeerVmClusterId pulumi.StringInput `pulumi:"peerVmClusterId"` PrivateIp pulumi.StringInput `pulumi:"privateIp"` + PrivateIpV6 pulumi.StringInput `pulumi:"privateIpV6"` // The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. ProtectionMode pulumi.StringInput `pulumi:"protectionMode"` // The role of the reporting database in this Data Guard association. @@ -62909,6 +64542,10 @@ func (o GetDataGuardAssociationsDataGuardAssociationOutput) PrivateIp() pulumi.S return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) string { return v.PrivateIp }).(pulumi.StringOutput) } +func (o GetDataGuardAssociationsDataGuardAssociationOutput) PrivateIpV6() pulumi.StringOutput { + return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) string { return v.PrivateIpV6 }).(pulumi.StringOutput) +} + // The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. func (o GetDataGuardAssociationsDataGuardAssociationOutput) ProtectionMode() pulumi.StringOutput { return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) string { return v.ProtectionMode }).(pulumi.StringOutput) @@ -76324,1263 +77961,15 @@ func (o GetDbSystemPatchesFilterArrayOutput) Index(i pulumi.IntInput) GetDbSyste }).(GetDbSystemPatchesFilterOutput) } -type GetDbSystemPatchesPatch struct { - // Actions that can possibly be performed using this patch. - AvailableActions []string `pulumi:"availableActions"` - // The text describing this patch package. - Description string `pulumi:"description"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. - Id string `pulumi:"id"` - // Action that is currently being performed or was completed last. - LastAction string `pulumi:"lastAction"` - // A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. - LifecycleDetails string `pulumi:"lifecycleDetails"` - // The current state of the patch as a result of lastAction. - State string `pulumi:"state"` - // The date and time that the patch was released. - TimeReleased string `pulumi:"timeReleased"` - // The version of this patch package. - Version string `pulumi:"version"` -} - -// GetDbSystemPatchesPatchInput is an input type that accepts GetDbSystemPatchesPatchArgs and GetDbSystemPatchesPatchOutput values. -// You can construct a concrete instance of `GetDbSystemPatchesPatchInput` via: -// -// GetDbSystemPatchesPatchArgs{...} -type GetDbSystemPatchesPatchInput interface { - pulumi.Input - - ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput - ToGetDbSystemPatchesPatchOutputWithContext(context.Context) GetDbSystemPatchesPatchOutput -} - -type GetDbSystemPatchesPatchArgs struct { - // Actions that can possibly be performed using this patch. - AvailableActions pulumi.StringArrayInput `pulumi:"availableActions"` - // The text describing this patch package. - Description pulumi.StringInput `pulumi:"description"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. - Id pulumi.StringInput `pulumi:"id"` - // Action that is currently being performed or was completed last. - LastAction pulumi.StringInput `pulumi:"lastAction"` - // A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // The current state of the patch as a result of lastAction. - State pulumi.StringInput `pulumi:"state"` - // The date and time that the patch was released. - TimeReleased pulumi.StringInput `pulumi:"timeReleased"` - // The version of this patch package. - Version pulumi.StringInput `pulumi:"version"` -} - -func (GetDbSystemPatchesPatchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemPatchesPatch)(nil)).Elem() -} - -func (i GetDbSystemPatchesPatchArgs) ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput { - return i.ToGetDbSystemPatchesPatchOutputWithContext(context.Background()) -} - -func (i GetDbSystemPatchesPatchArgs) ToGetDbSystemPatchesPatchOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemPatchesPatchOutput) -} - -// GetDbSystemPatchesPatchArrayInput is an input type that accepts GetDbSystemPatchesPatchArray and GetDbSystemPatchesPatchArrayOutput values. -// You can construct a concrete instance of `GetDbSystemPatchesPatchArrayInput` via: -// -// GetDbSystemPatchesPatchArray{ GetDbSystemPatchesPatchArgs{...} } -type GetDbSystemPatchesPatchArrayInput interface { - pulumi.Input - - ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput - ToGetDbSystemPatchesPatchArrayOutputWithContext(context.Context) GetDbSystemPatchesPatchArrayOutput -} - -type GetDbSystemPatchesPatchArray []GetDbSystemPatchesPatchInput - -func (GetDbSystemPatchesPatchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemPatchesPatch)(nil)).Elem() -} - -func (i GetDbSystemPatchesPatchArray) ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput { - return i.ToGetDbSystemPatchesPatchArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemPatchesPatchArray) ToGetDbSystemPatchesPatchArrayOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemPatchesPatchArrayOutput) -} - -type GetDbSystemPatchesPatchOutput struct{ *pulumi.OutputState } - -func (GetDbSystemPatchesPatchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemPatchesPatch)(nil)).Elem() -} - -func (o GetDbSystemPatchesPatchOutput) ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput { - return o -} - -func (o GetDbSystemPatchesPatchOutput) ToGetDbSystemPatchesPatchOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchOutput { - return o -} - -// Actions that can possibly be performed using this patch. -func (o GetDbSystemPatchesPatchOutput) AvailableActions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) []string { return v.AvailableActions }).(pulumi.StringArrayOutput) -} - -// The text describing this patch package. -func (o GetDbSystemPatchesPatchOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Description }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. -func (o GetDbSystemPatchesPatchOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Id }).(pulumi.StringOutput) -} - -// Action that is currently being performed or was completed last. -func (o GetDbSystemPatchesPatchOutput) LastAction() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.LastAction }).(pulumi.StringOutput) -} - -// A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. -func (o GetDbSystemPatchesPatchOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -// The current state of the patch as a result of lastAction. -func (o GetDbSystemPatchesPatchOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.State }).(pulumi.StringOutput) -} - -// The date and time that the patch was released. -func (o GetDbSystemPatchesPatchOutput) TimeReleased() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.TimeReleased }).(pulumi.StringOutput) -} - -// The version of this patch package. -func (o GetDbSystemPatchesPatchOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Version }).(pulumi.StringOutput) -} - -type GetDbSystemPatchesPatchArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemPatchesPatchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemPatchesPatch)(nil)).Elem() -} - -func (o GetDbSystemPatchesPatchArrayOutput) ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput { - return o -} - -func (o GetDbSystemPatchesPatchArrayOutput) ToGetDbSystemPatchesPatchArrayOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchArrayOutput { - return o -} - -func (o GetDbSystemPatchesPatchArrayOutput) Index(i pulumi.IntInput) GetDbSystemPatchesPatchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemPatchesPatch { - return vs[0].([]GetDbSystemPatchesPatch)[vs[1].(int)] - }).(GetDbSystemPatchesPatchOutput) -} - -type GetDbSystemShapesDbSystemShape struct { - // The maximum number of CPU cores that can be enabled on the DB system for this shape. - AvailableCoreCount int `pulumi:"availableCoreCount"` - // The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. - AvailableCoreCountPerNode int `pulumi:"availableCoreCountPerNode"` - // The maximum DATA storage that can be enabled for this shape. - AvailableDataStorageInTbs int `pulumi:"availableDataStorageInTbs"` - // The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. - AvailableDataStoragePerServerInTbs float64 `pulumi:"availableDataStoragePerServerInTbs"` - // The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. - AvailableDbNodePerNodeInGbs int `pulumi:"availableDbNodePerNodeInGbs"` - // The maximum Db Node storage that can be enabled for this shape. - AvailableDbNodeStorageInGbs int `pulumi:"availableDbNodeStorageInGbs"` - // The maximum memory that can be enabled for this shape. - AvailableMemoryInGbs int `pulumi:"availableMemoryInGbs"` - // The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. - AvailableMemoryPerNodeInGbs int `pulumi:"availableMemoryPerNodeInGbs"` - // The discrete number by which the CPU core count for this shape can be increased or decreased. - CoreCountIncrement int `pulumi:"coreCountIncrement"` - // The maximum number of Exadata storage servers available for the Exadata infrastructure. - MaxStorageCount int `pulumi:"maxStorageCount"` - // The maximum number of compute servers available for this shape. - MaximumNodeCount int `pulumi:"maximumNodeCount"` - // The minimum number of CPU cores that can be enabled per node for this shape. - MinCoreCountPerNode int `pulumi:"minCoreCountPerNode"` - // The minimum data storage that need be allocated for this shape. - MinDataStorageInTbs int `pulumi:"minDataStorageInTbs"` - // The minimum Db Node storage that need be allocated per node for this shape. - MinDbNodeStoragePerNodeInGbs int `pulumi:"minDbNodeStoragePerNodeInGbs"` - // The minimum memory that need be allocated per node for this shape. - MinMemoryPerNodeInGbs int `pulumi:"minMemoryPerNodeInGbs"` - // The minimum number of Exadata storage servers available for the Exadata infrastructure. - MinStorageCount int `pulumi:"minStorageCount"` - // The minimum number of CPU cores that can be enabled on the DB system for this shape. - MinimumCoreCount int `pulumi:"minimumCoreCount"` - // The minimum number of compute servers available for this shape. - MinimumNodeCount int `pulumi:"minimumNodeCount"` - // The name of the shape used for the DB system. - Name string `pulumi:"name"` - // Deprecated. Use `name` instead of `shape`. - // - // Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. - Shape string `pulumi:"shape"` - // The family of the shape used for the DB system. - ShapeFamily string `pulumi:"shapeFamily"` - // The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. - ShapeType string `pulumi:"shapeType"` -} - -// GetDbSystemShapesDbSystemShapeInput is an input type that accepts GetDbSystemShapesDbSystemShapeArgs and GetDbSystemShapesDbSystemShapeOutput values. -// You can construct a concrete instance of `GetDbSystemShapesDbSystemShapeInput` via: -// -// GetDbSystemShapesDbSystemShapeArgs{...} -type GetDbSystemShapesDbSystemShapeInput interface { - pulumi.Input - - ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput - ToGetDbSystemShapesDbSystemShapeOutputWithContext(context.Context) GetDbSystemShapesDbSystemShapeOutput -} - -type GetDbSystemShapesDbSystemShapeArgs struct { - // The maximum number of CPU cores that can be enabled on the DB system for this shape. - AvailableCoreCount pulumi.IntInput `pulumi:"availableCoreCount"` - // The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. - AvailableCoreCountPerNode pulumi.IntInput `pulumi:"availableCoreCountPerNode"` - // The maximum DATA storage that can be enabled for this shape. - AvailableDataStorageInTbs pulumi.IntInput `pulumi:"availableDataStorageInTbs"` - // The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. - AvailableDataStoragePerServerInTbs pulumi.Float64Input `pulumi:"availableDataStoragePerServerInTbs"` - // The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. - AvailableDbNodePerNodeInGbs pulumi.IntInput `pulumi:"availableDbNodePerNodeInGbs"` - // The maximum Db Node storage that can be enabled for this shape. - AvailableDbNodeStorageInGbs pulumi.IntInput `pulumi:"availableDbNodeStorageInGbs"` - // The maximum memory that can be enabled for this shape. - AvailableMemoryInGbs pulumi.IntInput `pulumi:"availableMemoryInGbs"` - // The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. - AvailableMemoryPerNodeInGbs pulumi.IntInput `pulumi:"availableMemoryPerNodeInGbs"` - // The discrete number by which the CPU core count for this shape can be increased or decreased. - CoreCountIncrement pulumi.IntInput `pulumi:"coreCountIncrement"` - // The maximum number of Exadata storage servers available for the Exadata infrastructure. - MaxStorageCount pulumi.IntInput `pulumi:"maxStorageCount"` - // The maximum number of compute servers available for this shape. - MaximumNodeCount pulumi.IntInput `pulumi:"maximumNodeCount"` - // The minimum number of CPU cores that can be enabled per node for this shape. - MinCoreCountPerNode pulumi.IntInput `pulumi:"minCoreCountPerNode"` - // The minimum data storage that need be allocated for this shape. - MinDataStorageInTbs pulumi.IntInput `pulumi:"minDataStorageInTbs"` - // The minimum Db Node storage that need be allocated per node for this shape. - MinDbNodeStoragePerNodeInGbs pulumi.IntInput `pulumi:"minDbNodeStoragePerNodeInGbs"` - // The minimum memory that need be allocated per node for this shape. - MinMemoryPerNodeInGbs pulumi.IntInput `pulumi:"minMemoryPerNodeInGbs"` - // The minimum number of Exadata storage servers available for the Exadata infrastructure. - MinStorageCount pulumi.IntInput `pulumi:"minStorageCount"` - // The minimum number of CPU cores that can be enabled on the DB system for this shape. - MinimumCoreCount pulumi.IntInput `pulumi:"minimumCoreCount"` - // The minimum number of compute servers available for this shape. - MinimumNodeCount pulumi.IntInput `pulumi:"minimumNodeCount"` - // The name of the shape used for the DB system. - Name pulumi.StringInput `pulumi:"name"` - // Deprecated. Use `name` instead of `shape`. - // - // Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. - Shape pulumi.StringInput `pulumi:"shape"` - // The family of the shape used for the DB system. - ShapeFamily pulumi.StringInput `pulumi:"shapeFamily"` - // The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. - ShapeType pulumi.StringInput `pulumi:"shapeType"` -} - -func (GetDbSystemShapesDbSystemShapeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemShapesDbSystemShape)(nil)).Elem() -} - -func (i GetDbSystemShapesDbSystemShapeArgs) ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput { - return i.ToGetDbSystemShapesDbSystemShapeOutputWithContext(context.Background()) -} - -func (i GetDbSystemShapesDbSystemShapeArgs) ToGetDbSystemShapesDbSystemShapeOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesDbSystemShapeOutput) -} - -// GetDbSystemShapesDbSystemShapeArrayInput is an input type that accepts GetDbSystemShapesDbSystemShapeArray and GetDbSystemShapesDbSystemShapeArrayOutput values. -// You can construct a concrete instance of `GetDbSystemShapesDbSystemShapeArrayInput` via: -// -// GetDbSystemShapesDbSystemShapeArray{ GetDbSystemShapesDbSystemShapeArgs{...} } -type GetDbSystemShapesDbSystemShapeArrayInput interface { - pulumi.Input - - ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput - ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(context.Context) GetDbSystemShapesDbSystemShapeArrayOutput -} - -type GetDbSystemShapesDbSystemShapeArray []GetDbSystemShapesDbSystemShapeInput - -func (GetDbSystemShapesDbSystemShapeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemShapesDbSystemShape)(nil)).Elem() -} - -func (i GetDbSystemShapesDbSystemShapeArray) ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput { - return i.ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemShapesDbSystemShapeArray) ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesDbSystemShapeArrayOutput) -} - -type GetDbSystemShapesDbSystemShapeOutput struct{ *pulumi.OutputState } - -func (GetDbSystemShapesDbSystemShapeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemShapesDbSystemShape)(nil)).Elem() -} - -func (o GetDbSystemShapesDbSystemShapeOutput) ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput { - return o -} - -func (o GetDbSystemShapesDbSystemShapeOutput) ToGetDbSystemShapesDbSystemShapeOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeOutput { - return o -} - -// The maximum number of CPU cores that can be enabled on the DB system for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableCoreCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableCoreCount }).(pulumi.IntOutput) -} - -// The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableCoreCountPerNode() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableCoreCountPerNode }).(pulumi.IntOutput) -} - -// The maximum DATA storage that can be enabled for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDataStorageInTbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDataStorageInTbs }).(pulumi.IntOutput) -} - -// The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDataStoragePerServerInTbs() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) float64 { return v.AvailableDataStoragePerServerInTbs }).(pulumi.Float64Output) -} - -// The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDbNodePerNodeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDbNodePerNodeInGbs }).(pulumi.IntOutput) -} - -// The maximum Db Node storage that can be enabled for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDbNodeStorageInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDbNodeStorageInGbs }).(pulumi.IntOutput) -} - -// The maximum memory that can be enabled for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableMemoryInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableMemoryInGbs }).(pulumi.IntOutput) -} - -// The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. -func (o GetDbSystemShapesDbSystemShapeOutput) AvailableMemoryPerNodeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableMemoryPerNodeInGbs }).(pulumi.IntOutput) -} - -// The discrete number by which the CPU core count for this shape can be increased or decreased. -func (o GetDbSystemShapesDbSystemShapeOutput) CoreCountIncrement() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.CoreCountIncrement }).(pulumi.IntOutput) -} - -// The maximum number of Exadata storage servers available for the Exadata infrastructure. -func (o GetDbSystemShapesDbSystemShapeOutput) MaxStorageCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MaxStorageCount }).(pulumi.IntOutput) -} - -// The maximum number of compute servers available for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MaximumNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MaximumNodeCount }).(pulumi.IntOutput) -} - -// The minimum number of CPU cores that can be enabled per node for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinCoreCountPerNode() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinCoreCountPerNode }).(pulumi.IntOutput) -} - -// The minimum data storage that need be allocated for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinDataStorageInTbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinDataStorageInTbs }).(pulumi.IntOutput) -} - -// The minimum Db Node storage that need be allocated per node for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinDbNodeStoragePerNodeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinDbNodeStoragePerNodeInGbs }).(pulumi.IntOutput) -} - -// The minimum memory that need be allocated per node for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinMemoryPerNodeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinMemoryPerNodeInGbs }).(pulumi.IntOutput) -} - -// The minimum number of Exadata storage servers available for the Exadata infrastructure. -func (o GetDbSystemShapesDbSystemShapeOutput) MinStorageCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinStorageCount }).(pulumi.IntOutput) -} - -// The minimum number of CPU cores that can be enabled on the DB system for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinimumCoreCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinimumCoreCount }).(pulumi.IntOutput) -} - -// The minimum number of compute servers available for this shape. -func (o GetDbSystemShapesDbSystemShapeOutput) MinimumNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinimumNodeCount }).(pulumi.IntOutput) -} - -// The name of the shape used for the DB system. -func (o GetDbSystemShapesDbSystemShapeOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.Name }).(pulumi.StringOutput) -} - -// Deprecated. Use `name` instead of `shape`. -// -// Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. -func (o GetDbSystemShapesDbSystemShapeOutput) Shape() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.Shape }).(pulumi.StringOutput) -} - -// The family of the shape used for the DB system. -func (o GetDbSystemShapesDbSystemShapeOutput) ShapeFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.ShapeFamily }).(pulumi.StringOutput) -} - -// The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. -func (o GetDbSystemShapesDbSystemShapeOutput) ShapeType() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.ShapeType }).(pulumi.StringOutput) -} - -type GetDbSystemShapesDbSystemShapeArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemShapesDbSystemShapeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemShapesDbSystemShape)(nil)).Elem() -} - -func (o GetDbSystemShapesDbSystemShapeArrayOutput) ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput { - return o -} - -func (o GetDbSystemShapesDbSystemShapeArrayOutput) ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeArrayOutput { - return o -} - -func (o GetDbSystemShapesDbSystemShapeArrayOutput) Index(i pulumi.IntInput) GetDbSystemShapesDbSystemShapeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemShapesDbSystemShape { - return vs[0].([]GetDbSystemShapesDbSystemShape)[vs[1].(int)] - }).(GetDbSystemShapesDbSystemShapeOutput) -} - -type GetDbSystemShapesFilter struct { - // The name of the shape used for the DB system. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` -} - -// GetDbSystemShapesFilterInput is an input type that accepts GetDbSystemShapesFilterArgs and GetDbSystemShapesFilterOutput values. -// You can construct a concrete instance of `GetDbSystemShapesFilterInput` via: -// -// GetDbSystemShapesFilterArgs{...} -type GetDbSystemShapesFilterInput interface { - pulumi.Input - - ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput - ToGetDbSystemShapesFilterOutputWithContext(context.Context) GetDbSystemShapesFilterOutput -} - -type GetDbSystemShapesFilterArgs struct { - // The name of the shape used for the DB system. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetDbSystemShapesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemShapesFilter)(nil)).Elem() -} - -func (i GetDbSystemShapesFilterArgs) ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput { - return i.ToGetDbSystemShapesFilterOutputWithContext(context.Background()) -} - -func (i GetDbSystemShapesFilterArgs) ToGetDbSystemShapesFilterOutputWithContext(ctx context.Context) GetDbSystemShapesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesFilterOutput) -} - -// GetDbSystemShapesFilterArrayInput is an input type that accepts GetDbSystemShapesFilterArray and GetDbSystemShapesFilterArrayOutput values. -// You can construct a concrete instance of `GetDbSystemShapesFilterArrayInput` via: -// -// GetDbSystemShapesFilterArray{ GetDbSystemShapesFilterArgs{...} } -type GetDbSystemShapesFilterArrayInput interface { - pulumi.Input - - ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput - ToGetDbSystemShapesFilterArrayOutputWithContext(context.Context) GetDbSystemShapesFilterArrayOutput -} - -type GetDbSystemShapesFilterArray []GetDbSystemShapesFilterInput - -func (GetDbSystemShapesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemShapesFilter)(nil)).Elem() -} - -func (i GetDbSystemShapesFilterArray) ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput { - return i.ToGetDbSystemShapesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemShapesFilterArray) ToGetDbSystemShapesFilterArrayOutputWithContext(ctx context.Context) GetDbSystemShapesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesFilterArrayOutput) -} - -type GetDbSystemShapesFilterOutput struct{ *pulumi.OutputState } - -func (GetDbSystemShapesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemShapesFilter)(nil)).Elem() -} - -func (o GetDbSystemShapesFilterOutput) ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput { - return o -} - -func (o GetDbSystemShapesFilterOutput) ToGetDbSystemShapesFilterOutputWithContext(ctx context.Context) GetDbSystemShapesFilterOutput { - return o -} - -// The name of the shape used for the DB system. -func (o GetDbSystemShapesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemShapesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetDbSystemShapesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetDbSystemShapesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetDbSystemShapesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDbSystemShapesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetDbSystemShapesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemShapesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemShapesFilter)(nil)).Elem() -} - -func (o GetDbSystemShapesFilterArrayOutput) ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput { - return o -} - -func (o GetDbSystemShapesFilterArrayOutput) ToGetDbSystemShapesFilterArrayOutputWithContext(ctx context.Context) GetDbSystemShapesFilterArrayOutput { - return o -} - -func (o GetDbSystemShapesFilterArrayOutput) Index(i pulumi.IntInput) GetDbSystemShapesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemShapesFilter { - return vs[0].([]GetDbSystemShapesFilter)[vs[1].(int)] - }).(GetDbSystemShapesFilterOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformance struct { - // List of storage performance for the DATA disks - DataStoragePerformanceLists []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList `pulumi:"dataStoragePerformanceLists"` - // List of storage performance for the RECO disks - RecoStoragePerformanceLists []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList `pulumi:"recoStoragePerformanceLists"` - // Optional. Filters the performance results by shape type. - ShapeType string `pulumi:"shapeType"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs struct { - // List of storage performance for the DATA disks - DataStoragePerformanceLists GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput `pulumi:"dataStoragePerformanceLists"` - // List of storage performance for the RECO disks - RecoStoragePerformanceLists GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput `pulumi:"recoStoragePerformanceLists"` - // Optional. Filters the performance results by shape type. - ShapeType pulumi.StringInput `pulumi:"shapeType"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { - return o -} - -// List of storage performance for the DATA disks -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) DataStoragePerformanceLists() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList { - return v.DataStoragePerformanceLists - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) -} - -// List of storage performance for the RECO disks -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) RecoStoragePerformanceLists() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList { - return v.RecoStoragePerformanceLists - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) -} - -// Optional. Filters the performance results by shape type. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ShapeType() pulumi.StringOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) string { return v.ShapeType }).(pulumi.StringOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformance { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformance)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList struct { - // Representation of disk performance detail parameters. - BalancedDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance `pulumi:"balancedDiskPerformances"` - // Representation of disk performance detail parameters. - HighDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance `pulumi:"highDiskPerformances"` - // Size in GBs. - SizeInGbs int `pulumi:"sizeInGbs"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs struct { - // Representation of disk performance detail parameters. - BalancedDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput `pulumi:"balancedDiskPerformances"` - // Representation of disk performance detail parameters. - HighDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput `pulumi:"highDiskPerformances"` - // Size in GBs. - SizeInGbs pulumi.IntInput `pulumi:"sizeInGbs"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { - return o -} - -// Representation of disk performance detail parameters. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) BalancedDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance { - return v.BalancedDiskPerformances - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) -} - -// Representation of disk performance detail parameters. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) HighDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance { - return v.HighDiskPerformances - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) -} - -// Size in GBs. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) SizeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) int { - return v.SizeInGbs - }).(pulumi.IntOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance struct { - // Disk IOPS in thousands. - DiskIops float64 `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs struct { - // Disk IOPS in thousands. - DiskIops pulumi.Float64Input `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { - return o -} - -// Disk IOPS in thousands. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) DiskIops() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance) float64 { - return v.DiskIops - }).(pulumi.Float64Output) -} - -// Disk Throughput in Mbps. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance) float64 { - return v.DiskThroughputInMbps - }).(pulumi.Float64Output) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance struct { - // Disk IOPS in thousands. - DiskIops float64 `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs struct { - // Disk IOPS in thousands. - DiskIops pulumi.Float64Input `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { - return o -} - -// Disk IOPS in thousands. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) DiskIops() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance) float64 { - return v.DiskIops - }).(pulumi.Float64Output) -} - -// Disk Throughput in Mbps. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance) float64 { - return v.DiskThroughputInMbps - }).(pulumi.Float64Output) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList struct { - // Representation of disk performance detail parameters. - BalancedDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance `pulumi:"balancedDiskPerformances"` - // Representation of disk performance detail parameters. - HighDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformance `pulumi:"highDiskPerformances"` - // Size in GBs. - SizeInGbs int `pulumi:"sizeInGbs"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs struct { - // Representation of disk performance detail parameters. - BalancedDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput `pulumi:"balancedDiskPerformances"` - // Representation of disk performance detail parameters. - HighDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayInput `pulumi:"highDiskPerformances"` - // Size in GBs. - SizeInGbs pulumi.IntInput `pulumi:"sizeInGbs"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { - return o -} - -// Representation of disk performance detail parameters. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) BalancedDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance { - return v.BalancedDiskPerformances - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) -} - -// Representation of disk performance detail parameters. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) HighDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformance { - return v.HighDiskPerformances - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayOutput) -} - -// Size in GBs. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) SizeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) int { - return v.SizeInGbs - }).(pulumi.IntOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance struct { - // Disk IOPS in thousands. - DiskIops float64 `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{...} -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs struct { - // Disk IOPS in thousands. - DiskIops pulumi.Float64Input `pulumi:"diskIops"` - // Disk Throughput in Mbps. - DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` -} - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) -} - -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput values. -// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput` via: -// -// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{...} } -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput interface { - pulumi.Input - - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput - ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Background()) -} - -func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { - return o -} - -// Disk IOPS in thousands. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) DiskIops() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance) float64 { - return v.DiskIops - }).(pulumi.Float64Output) -} - -// Disk Throughput in Mbps. -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { - return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance) float64 { - return v.DiskThroughputInMbps - }).(pulumi.Float64Output) -} - -type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput struct{ *pulumi.OutputState } - -func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { - return o -} - -func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance { - return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)[vs[1].(int)] - }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) -} - func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput)(nil)).Elem(), AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput)(nil)).Elem(), AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigPtrInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsPtrInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupDestinationPropertiesListInput)(nil)).Elem(), AutonomousContainerDatabaseBackupDestinationPropertiesListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput)(nil)).Elem(), AutonomousContainerDatabaseBackupDestinationPropertiesListArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigPtrInput)(nil)).Elem(), AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) @@ -77603,6 +77992,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigPtrInput)(nil)).Elem(), AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput)(nil)).Elem(), AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseRecoveryApplianceDetailInput)(nil)).Elem(), AutonomousContainerDatabaseRecoveryApplianceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseRecoveryApplianceDetailArrayInput)(nil)).Elem(), AutonomousContainerDatabaseRecoveryApplianceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseApexDetailInput)(nil)).Elem(), AutonomousDatabaseApexDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseApexDetailArrayInput)(nil)).Elem(), AutonomousDatabaseApexDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseBackupBackupDestinationDetailsInput)(nil)).Elem(), AutonomousDatabaseBackupBackupDestinationDetailsArgs{}) @@ -77964,10 +78355,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousCharacterSetsAutonomousDatabaseCharacterSetArrayInput)(nil)).Elem(), GetAutonomousCharacterSetsAutonomousDatabaseCharacterSetArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousCharacterSetsFilterInput)(nil)).Elem(), GetAutonomousCharacterSetsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousCharacterSetsFilterArrayInput)(nil)).Elem(), GetAutonomousCharacterSetsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupConfigArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupDestinationPropertiesListInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseBackupDestinationPropertiesListArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) @@ -77998,6 +78393,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseRecoveryApplianceDetailInput)(nil)).Elem(), GetAutonomousContainerDatabaseRecoveryApplianceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseRecoveryApplianceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageInput)(nil)).Elem(), GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionInput)(nil)).Elem(), GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionArgs{}) @@ -78008,10 +78405,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabaseVersionsFilterArrayInput)(nil)).Elem(), GetAutonomousContainerDatabaseVersionsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowArgs{}) @@ -78030,6 +78431,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesFilterInput)(nil)).Elem(), GetAutonomousContainerDatabasesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerDatabasesFilterArrayInput)(nil)).Elem(), GetAutonomousContainerDatabasesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousContainerPatchesAutonomousPatchInput)(nil)).Elem(), GetAutonomousContainerPatchesAutonomousPatchArgs{}) @@ -78558,28 +78961,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemHistoryEntriesPatchHistoryEntryArrayInput)(nil)).Elem(), GetDbSystemHistoryEntriesPatchHistoryEntryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesFilterInput)(nil)).Elem(), GetDbSystemPatchesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesFilterArrayInput)(nil)).Elem(), GetDbSystemPatchesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesPatchInput)(nil)).Elem(), GetDbSystemPatchesPatchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesPatchArrayInput)(nil)).Elem(), GetDbSystemPatchesPatchArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesDbSystemShapeInput)(nil)).Elem(), GetDbSystemShapesDbSystemShapeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesDbSystemShapeArrayInput)(nil)).Elem(), GetDbSystemShapesDbSystemShapeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesFilterInput)(nil)).Elem(), GetDbSystemShapesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesFilterArrayInput)(nil)).Elem(), GetDbSystemShapesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigPtrOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsPtrOutput{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupDestinationPropertiesListOutput{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigPtrOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) @@ -78602,6 +78991,8 @@ func init() { pulumi.RegisterOutputType(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigPtrOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseRecoveryApplianceDetailOutput{}) + pulumi.RegisterOutputType(AutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseApexDetailOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseApexDetailArrayOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseBackupBackupDestinationDetailsOutput{}) @@ -78963,10 +79354,14 @@ func init() { pulumi.RegisterOutputType(GetAutonomousCharacterSetsAutonomousDatabaseCharacterSetArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousCharacterSetsFilterOutput{}) pulumi.RegisterOutputType(GetAutonomousCharacterSetsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupConfigArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupDestinationPropertiesListOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) @@ -78997,6 +79392,8 @@ func init() { pulumi.RegisterOutputType(GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseRecoveryApplianceDetailOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionOutput{}) @@ -79007,10 +79404,14 @@ func init() { pulumi.RegisterOutputType(GetAutonomousContainerDatabaseVersionsFilterArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowOutput{}) @@ -79029,6 +79430,8 @@ func init() { pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailOutput{}) + pulumi.RegisterOutputType(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesFilterOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerDatabasesFilterArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousContainerPatchesAutonomousPatchOutput{}) @@ -79557,22 +79960,4 @@ func init() { pulumi.RegisterOutputType(GetDbSystemHistoryEntriesPatchHistoryEntryArrayOutput{}) pulumi.RegisterOutputType(GetDbSystemPatchesFilterOutput{}) pulumi.RegisterOutputType(GetDbSystemPatchesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemPatchesPatchOutput{}) - pulumi.RegisterOutputType(GetDbSystemPatchesPatchArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemShapesDbSystemShapeOutput{}) - pulumi.RegisterOutputType(GetDbSystemShapesDbSystemShapeArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemShapesFilterOutput{}) - pulumi.RegisterOutputType(GetDbSystemShapesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput{}) - pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput{}) } diff --git a/sdk/go/oci/database/pulumiTypes1.go b/sdk/go/oci/database/pulumiTypes1.go index 774ff6193b..ae71700d0c 100644 --- a/sdk/go/oci/database/pulumiTypes1.go +++ b/sdk/go/oci/database/pulumiTypes1.go @@ -13,6 +13,1258 @@ import ( var _ = internal.GetEnvOrDefault +type GetDbSystemPatchesPatch struct { + // Actions that can possibly be performed using this patch. + AvailableActions []string `pulumi:"availableActions"` + // The text describing this patch package. + Description string `pulumi:"description"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. + Id string `pulumi:"id"` + // Action that is currently being performed or was completed last. + LastAction string `pulumi:"lastAction"` + // A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // The current state of the patch as a result of lastAction. + State string `pulumi:"state"` + // The date and time that the patch was released. + TimeReleased string `pulumi:"timeReleased"` + // The version of this patch package. + Version string `pulumi:"version"` +} + +// GetDbSystemPatchesPatchInput is an input type that accepts GetDbSystemPatchesPatchArgs and GetDbSystemPatchesPatchOutput values. +// You can construct a concrete instance of `GetDbSystemPatchesPatchInput` via: +// +// GetDbSystemPatchesPatchArgs{...} +type GetDbSystemPatchesPatchInput interface { + pulumi.Input + + ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput + ToGetDbSystemPatchesPatchOutputWithContext(context.Context) GetDbSystemPatchesPatchOutput +} + +type GetDbSystemPatchesPatchArgs struct { + // Actions that can possibly be performed using this patch. + AvailableActions pulumi.StringArrayInput `pulumi:"availableActions"` + // The text describing this patch package. + Description pulumi.StringInput `pulumi:"description"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. + Id pulumi.StringInput `pulumi:"id"` + // Action that is currently being performed or was completed last. + LastAction pulumi.StringInput `pulumi:"lastAction"` + // A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The current state of the patch as a result of lastAction. + State pulumi.StringInput `pulumi:"state"` + // The date and time that the patch was released. + TimeReleased pulumi.StringInput `pulumi:"timeReleased"` + // The version of this patch package. + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetDbSystemPatchesPatchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemPatchesPatch)(nil)).Elem() +} + +func (i GetDbSystemPatchesPatchArgs) ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput { + return i.ToGetDbSystemPatchesPatchOutputWithContext(context.Background()) +} + +func (i GetDbSystemPatchesPatchArgs) ToGetDbSystemPatchesPatchOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemPatchesPatchOutput) +} + +// GetDbSystemPatchesPatchArrayInput is an input type that accepts GetDbSystemPatchesPatchArray and GetDbSystemPatchesPatchArrayOutput values. +// You can construct a concrete instance of `GetDbSystemPatchesPatchArrayInput` via: +// +// GetDbSystemPatchesPatchArray{ GetDbSystemPatchesPatchArgs{...} } +type GetDbSystemPatchesPatchArrayInput interface { + pulumi.Input + + ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput + ToGetDbSystemPatchesPatchArrayOutputWithContext(context.Context) GetDbSystemPatchesPatchArrayOutput +} + +type GetDbSystemPatchesPatchArray []GetDbSystemPatchesPatchInput + +func (GetDbSystemPatchesPatchArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemPatchesPatch)(nil)).Elem() +} + +func (i GetDbSystemPatchesPatchArray) ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput { + return i.ToGetDbSystemPatchesPatchArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemPatchesPatchArray) ToGetDbSystemPatchesPatchArrayOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemPatchesPatchArrayOutput) +} + +type GetDbSystemPatchesPatchOutput struct{ *pulumi.OutputState } + +func (GetDbSystemPatchesPatchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemPatchesPatch)(nil)).Elem() +} + +func (o GetDbSystemPatchesPatchOutput) ToGetDbSystemPatchesPatchOutput() GetDbSystemPatchesPatchOutput { + return o +} + +func (o GetDbSystemPatchesPatchOutput) ToGetDbSystemPatchesPatchOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchOutput { + return o +} + +// Actions that can possibly be performed using this patch. +func (o GetDbSystemPatchesPatchOutput) AvailableActions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) []string { return v.AvailableActions }).(pulumi.StringArrayOutput) +} + +// The text describing this patch package. +func (o GetDbSystemPatchesPatchOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Description }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the patch. +func (o GetDbSystemPatchesPatchOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Id }).(pulumi.StringOutput) +} + +// Action that is currently being performed or was completed last. +func (o GetDbSystemPatchesPatchOutput) LastAction() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.LastAction }).(pulumi.StringOutput) +} + +// A descriptive text associated with the lifecycleState. Typically can contain additional displayable text. +func (o GetDbSystemPatchesPatchOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// The current state of the patch as a result of lastAction. +func (o GetDbSystemPatchesPatchOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time that the patch was released. +func (o GetDbSystemPatchesPatchOutput) TimeReleased() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.TimeReleased }).(pulumi.StringOutput) +} + +// The version of this patch package. +func (o GetDbSystemPatchesPatchOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemPatchesPatch) string { return v.Version }).(pulumi.StringOutput) +} + +type GetDbSystemPatchesPatchArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemPatchesPatchArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemPatchesPatch)(nil)).Elem() +} + +func (o GetDbSystemPatchesPatchArrayOutput) ToGetDbSystemPatchesPatchArrayOutput() GetDbSystemPatchesPatchArrayOutput { + return o +} + +func (o GetDbSystemPatchesPatchArrayOutput) ToGetDbSystemPatchesPatchArrayOutputWithContext(ctx context.Context) GetDbSystemPatchesPatchArrayOutput { + return o +} + +func (o GetDbSystemPatchesPatchArrayOutput) Index(i pulumi.IntInput) GetDbSystemPatchesPatchOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemPatchesPatch { + return vs[0].([]GetDbSystemPatchesPatch)[vs[1].(int)] + }).(GetDbSystemPatchesPatchOutput) +} + +type GetDbSystemShapesDbSystemShape struct { + // The maximum number of CPU cores that can be enabled on the DB system for this shape. + AvailableCoreCount int `pulumi:"availableCoreCount"` + // The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. + AvailableCoreCountPerNode int `pulumi:"availableCoreCountPerNode"` + // The maximum DATA storage that can be enabled for this shape. + AvailableDataStorageInTbs int `pulumi:"availableDataStorageInTbs"` + // The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. + AvailableDataStoragePerServerInTbs float64 `pulumi:"availableDataStoragePerServerInTbs"` + // The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. + AvailableDbNodePerNodeInGbs int `pulumi:"availableDbNodePerNodeInGbs"` + // The maximum Db Node storage that can be enabled for this shape. + AvailableDbNodeStorageInGbs int `pulumi:"availableDbNodeStorageInGbs"` + // The maximum memory that can be enabled for this shape. + AvailableMemoryInGbs int `pulumi:"availableMemoryInGbs"` + // The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. + AvailableMemoryPerNodeInGbs int `pulumi:"availableMemoryPerNodeInGbs"` + // The discrete number by which the CPU core count for this shape can be increased or decreased. + CoreCountIncrement int `pulumi:"coreCountIncrement"` + // The maximum number of Exadata storage servers available for the Exadata infrastructure. + MaxStorageCount int `pulumi:"maxStorageCount"` + // The maximum number of compute servers available for this shape. + MaximumNodeCount int `pulumi:"maximumNodeCount"` + // The minimum number of CPU cores that can be enabled per node for this shape. + MinCoreCountPerNode int `pulumi:"minCoreCountPerNode"` + // The minimum data storage that need be allocated for this shape. + MinDataStorageInTbs int `pulumi:"minDataStorageInTbs"` + // The minimum Db Node storage that need be allocated per node for this shape. + MinDbNodeStoragePerNodeInGbs int `pulumi:"minDbNodeStoragePerNodeInGbs"` + // The minimum memory that need be allocated per node for this shape. + MinMemoryPerNodeInGbs int `pulumi:"minMemoryPerNodeInGbs"` + // The minimum number of Exadata storage servers available for the Exadata infrastructure. + MinStorageCount int `pulumi:"minStorageCount"` + // The minimum number of CPU cores that can be enabled on the DB system for this shape. + MinimumCoreCount int `pulumi:"minimumCoreCount"` + // The minimum number of compute servers available for this shape. + MinimumNodeCount int `pulumi:"minimumNodeCount"` + // The name of the shape used for the DB system. + Name string `pulumi:"name"` + // Deprecated. Use `name` instead of `shape`. + // + // Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. + Shape string `pulumi:"shape"` + // The family of the shape used for the DB system. + ShapeFamily string `pulumi:"shapeFamily"` + // The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. + ShapeType string `pulumi:"shapeType"` +} + +// GetDbSystemShapesDbSystemShapeInput is an input type that accepts GetDbSystemShapesDbSystemShapeArgs and GetDbSystemShapesDbSystemShapeOutput values. +// You can construct a concrete instance of `GetDbSystemShapesDbSystemShapeInput` via: +// +// GetDbSystemShapesDbSystemShapeArgs{...} +type GetDbSystemShapesDbSystemShapeInput interface { + pulumi.Input + + ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput + ToGetDbSystemShapesDbSystemShapeOutputWithContext(context.Context) GetDbSystemShapesDbSystemShapeOutput +} + +type GetDbSystemShapesDbSystemShapeArgs struct { + // The maximum number of CPU cores that can be enabled on the DB system for this shape. + AvailableCoreCount pulumi.IntInput `pulumi:"availableCoreCount"` + // The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. + AvailableCoreCountPerNode pulumi.IntInput `pulumi:"availableCoreCountPerNode"` + // The maximum DATA storage that can be enabled for this shape. + AvailableDataStorageInTbs pulumi.IntInput `pulumi:"availableDataStorageInTbs"` + // The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. + AvailableDataStoragePerServerInTbs pulumi.Float64Input `pulumi:"availableDataStoragePerServerInTbs"` + // The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. + AvailableDbNodePerNodeInGbs pulumi.IntInput `pulumi:"availableDbNodePerNodeInGbs"` + // The maximum Db Node storage that can be enabled for this shape. + AvailableDbNodeStorageInGbs pulumi.IntInput `pulumi:"availableDbNodeStorageInGbs"` + // The maximum memory that can be enabled for this shape. + AvailableMemoryInGbs pulumi.IntInput `pulumi:"availableMemoryInGbs"` + // The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. + AvailableMemoryPerNodeInGbs pulumi.IntInput `pulumi:"availableMemoryPerNodeInGbs"` + // The discrete number by which the CPU core count for this shape can be increased or decreased. + CoreCountIncrement pulumi.IntInput `pulumi:"coreCountIncrement"` + // The maximum number of Exadata storage servers available for the Exadata infrastructure. + MaxStorageCount pulumi.IntInput `pulumi:"maxStorageCount"` + // The maximum number of compute servers available for this shape. + MaximumNodeCount pulumi.IntInput `pulumi:"maximumNodeCount"` + // The minimum number of CPU cores that can be enabled per node for this shape. + MinCoreCountPerNode pulumi.IntInput `pulumi:"minCoreCountPerNode"` + // The minimum data storage that need be allocated for this shape. + MinDataStorageInTbs pulumi.IntInput `pulumi:"minDataStorageInTbs"` + // The minimum Db Node storage that need be allocated per node for this shape. + MinDbNodeStoragePerNodeInGbs pulumi.IntInput `pulumi:"minDbNodeStoragePerNodeInGbs"` + // The minimum memory that need be allocated per node for this shape. + MinMemoryPerNodeInGbs pulumi.IntInput `pulumi:"minMemoryPerNodeInGbs"` + // The minimum number of Exadata storage servers available for the Exadata infrastructure. + MinStorageCount pulumi.IntInput `pulumi:"minStorageCount"` + // The minimum number of CPU cores that can be enabled on the DB system for this shape. + MinimumCoreCount pulumi.IntInput `pulumi:"minimumCoreCount"` + // The minimum number of compute servers available for this shape. + MinimumNodeCount pulumi.IntInput `pulumi:"minimumNodeCount"` + // The name of the shape used for the DB system. + Name pulumi.StringInput `pulumi:"name"` + // Deprecated. Use `name` instead of `shape`. + // + // Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. + Shape pulumi.StringInput `pulumi:"shape"` + // The family of the shape used for the DB system. + ShapeFamily pulumi.StringInput `pulumi:"shapeFamily"` + // The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. + ShapeType pulumi.StringInput `pulumi:"shapeType"` +} + +func (GetDbSystemShapesDbSystemShapeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemShapesDbSystemShape)(nil)).Elem() +} + +func (i GetDbSystemShapesDbSystemShapeArgs) ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput { + return i.ToGetDbSystemShapesDbSystemShapeOutputWithContext(context.Background()) +} + +func (i GetDbSystemShapesDbSystemShapeArgs) ToGetDbSystemShapesDbSystemShapeOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesDbSystemShapeOutput) +} + +// GetDbSystemShapesDbSystemShapeArrayInput is an input type that accepts GetDbSystemShapesDbSystemShapeArray and GetDbSystemShapesDbSystemShapeArrayOutput values. +// You can construct a concrete instance of `GetDbSystemShapesDbSystemShapeArrayInput` via: +// +// GetDbSystemShapesDbSystemShapeArray{ GetDbSystemShapesDbSystemShapeArgs{...} } +type GetDbSystemShapesDbSystemShapeArrayInput interface { + pulumi.Input + + ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput + ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(context.Context) GetDbSystemShapesDbSystemShapeArrayOutput +} + +type GetDbSystemShapesDbSystemShapeArray []GetDbSystemShapesDbSystemShapeInput + +func (GetDbSystemShapesDbSystemShapeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemShapesDbSystemShape)(nil)).Elem() +} + +func (i GetDbSystemShapesDbSystemShapeArray) ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput { + return i.ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemShapesDbSystemShapeArray) ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesDbSystemShapeArrayOutput) +} + +type GetDbSystemShapesDbSystemShapeOutput struct{ *pulumi.OutputState } + +func (GetDbSystemShapesDbSystemShapeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemShapesDbSystemShape)(nil)).Elem() +} + +func (o GetDbSystemShapesDbSystemShapeOutput) ToGetDbSystemShapesDbSystemShapeOutput() GetDbSystemShapesDbSystemShapeOutput { + return o +} + +func (o GetDbSystemShapesDbSystemShapeOutput) ToGetDbSystemShapesDbSystemShapeOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeOutput { + return o +} + +// The maximum number of CPU cores that can be enabled on the DB system for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableCoreCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableCoreCount }).(pulumi.IntOutput) +} + +// The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableCoreCountPerNode() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableCoreCountPerNode }).(pulumi.IntOutput) +} + +// The maximum DATA storage that can be enabled for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDataStorageInTbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDataStorageInTbs }).(pulumi.IntOutput) +} + +// The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDataStoragePerServerInTbs() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) float64 { return v.AvailableDataStoragePerServerInTbs }).(pulumi.Float64Output) +} + +// The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDbNodePerNodeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDbNodePerNodeInGbs }).(pulumi.IntOutput) +} + +// The maximum Db Node storage that can be enabled for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableDbNodeStorageInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableDbNodeStorageInGbs }).(pulumi.IntOutput) +} + +// The maximum memory that can be enabled for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableMemoryInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableMemoryInGbs }).(pulumi.IntOutput) +} + +// The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. +func (o GetDbSystemShapesDbSystemShapeOutput) AvailableMemoryPerNodeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.AvailableMemoryPerNodeInGbs }).(pulumi.IntOutput) +} + +// The discrete number by which the CPU core count for this shape can be increased or decreased. +func (o GetDbSystemShapesDbSystemShapeOutput) CoreCountIncrement() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.CoreCountIncrement }).(pulumi.IntOutput) +} + +// The maximum number of Exadata storage servers available for the Exadata infrastructure. +func (o GetDbSystemShapesDbSystemShapeOutput) MaxStorageCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MaxStorageCount }).(pulumi.IntOutput) +} + +// The maximum number of compute servers available for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MaximumNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MaximumNodeCount }).(pulumi.IntOutput) +} + +// The minimum number of CPU cores that can be enabled per node for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinCoreCountPerNode() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinCoreCountPerNode }).(pulumi.IntOutput) +} + +// The minimum data storage that need be allocated for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinDataStorageInTbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinDataStorageInTbs }).(pulumi.IntOutput) +} + +// The minimum Db Node storage that need be allocated per node for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinDbNodeStoragePerNodeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinDbNodeStoragePerNodeInGbs }).(pulumi.IntOutput) +} + +// The minimum memory that need be allocated per node for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinMemoryPerNodeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinMemoryPerNodeInGbs }).(pulumi.IntOutput) +} + +// The minimum number of Exadata storage servers available for the Exadata infrastructure. +func (o GetDbSystemShapesDbSystemShapeOutput) MinStorageCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinStorageCount }).(pulumi.IntOutput) +} + +// The minimum number of CPU cores that can be enabled on the DB system for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinimumCoreCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinimumCoreCount }).(pulumi.IntOutput) +} + +// The minimum number of compute servers available for this shape. +func (o GetDbSystemShapesDbSystemShapeOutput) MinimumNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) int { return v.MinimumNodeCount }).(pulumi.IntOutput) +} + +// The name of the shape used for the DB system. +func (o GetDbSystemShapesDbSystemShapeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.Name }).(pulumi.StringOutput) +} + +// Deprecated. Use `name` instead of `shape`. +// +// Deprecated: The 'shape' field has been deprecated. Please use 'name' instead. +func (o GetDbSystemShapesDbSystemShapeOutput) Shape() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.Shape }).(pulumi.StringOutput) +} + +// The family of the shape used for the DB system. +func (o GetDbSystemShapesDbSystemShapeOutput) ShapeFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.ShapeFamily }).(pulumi.StringOutput) +} + +// The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. +func (o GetDbSystemShapesDbSystemShapeOutput) ShapeType() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemShapesDbSystemShape) string { return v.ShapeType }).(pulumi.StringOutput) +} + +type GetDbSystemShapesDbSystemShapeArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemShapesDbSystemShapeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemShapesDbSystemShape)(nil)).Elem() +} + +func (o GetDbSystemShapesDbSystemShapeArrayOutput) ToGetDbSystemShapesDbSystemShapeArrayOutput() GetDbSystemShapesDbSystemShapeArrayOutput { + return o +} + +func (o GetDbSystemShapesDbSystemShapeArrayOutput) ToGetDbSystemShapesDbSystemShapeArrayOutputWithContext(ctx context.Context) GetDbSystemShapesDbSystemShapeArrayOutput { + return o +} + +func (o GetDbSystemShapesDbSystemShapeArrayOutput) Index(i pulumi.IntInput) GetDbSystemShapesDbSystemShapeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemShapesDbSystemShape { + return vs[0].([]GetDbSystemShapesDbSystemShape)[vs[1].(int)] + }).(GetDbSystemShapesDbSystemShapeOutput) +} + +type GetDbSystemShapesFilter struct { + // The name of the shape used for the DB system. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDbSystemShapesFilterInput is an input type that accepts GetDbSystemShapesFilterArgs and GetDbSystemShapesFilterOutput values. +// You can construct a concrete instance of `GetDbSystemShapesFilterInput` via: +// +// GetDbSystemShapesFilterArgs{...} +type GetDbSystemShapesFilterInput interface { + pulumi.Input + + ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput + ToGetDbSystemShapesFilterOutputWithContext(context.Context) GetDbSystemShapesFilterOutput +} + +type GetDbSystemShapesFilterArgs struct { + // The name of the shape used for the DB system. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDbSystemShapesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemShapesFilter)(nil)).Elem() +} + +func (i GetDbSystemShapesFilterArgs) ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput { + return i.ToGetDbSystemShapesFilterOutputWithContext(context.Background()) +} + +func (i GetDbSystemShapesFilterArgs) ToGetDbSystemShapesFilterOutputWithContext(ctx context.Context) GetDbSystemShapesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesFilterOutput) +} + +// GetDbSystemShapesFilterArrayInput is an input type that accepts GetDbSystemShapesFilterArray and GetDbSystemShapesFilterArrayOutput values. +// You can construct a concrete instance of `GetDbSystemShapesFilterArrayInput` via: +// +// GetDbSystemShapesFilterArray{ GetDbSystemShapesFilterArgs{...} } +type GetDbSystemShapesFilterArrayInput interface { + pulumi.Input + + ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput + ToGetDbSystemShapesFilterArrayOutputWithContext(context.Context) GetDbSystemShapesFilterArrayOutput +} + +type GetDbSystemShapesFilterArray []GetDbSystemShapesFilterInput + +func (GetDbSystemShapesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemShapesFilter)(nil)).Elem() +} + +func (i GetDbSystemShapesFilterArray) ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput { + return i.ToGetDbSystemShapesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemShapesFilterArray) ToGetDbSystemShapesFilterArrayOutputWithContext(ctx context.Context) GetDbSystemShapesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemShapesFilterArrayOutput) +} + +type GetDbSystemShapesFilterOutput struct{ *pulumi.OutputState } + +func (GetDbSystemShapesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemShapesFilter)(nil)).Elem() +} + +func (o GetDbSystemShapesFilterOutput) ToGetDbSystemShapesFilterOutput() GetDbSystemShapesFilterOutput { + return o +} + +func (o GetDbSystemShapesFilterOutput) ToGetDbSystemShapesFilterOutputWithContext(ctx context.Context) GetDbSystemShapesFilterOutput { + return o +} + +// The name of the shape used for the DB system. +func (o GetDbSystemShapesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemShapesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDbSystemShapesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDbSystemShapesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDbSystemShapesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDbSystemShapesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDbSystemShapesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemShapesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemShapesFilter)(nil)).Elem() +} + +func (o GetDbSystemShapesFilterArrayOutput) ToGetDbSystemShapesFilterArrayOutput() GetDbSystemShapesFilterArrayOutput { + return o +} + +func (o GetDbSystemShapesFilterArrayOutput) ToGetDbSystemShapesFilterArrayOutputWithContext(ctx context.Context) GetDbSystemShapesFilterArrayOutput { + return o +} + +func (o GetDbSystemShapesFilterArrayOutput) Index(i pulumi.IntInput) GetDbSystemShapesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemShapesFilter { + return vs[0].([]GetDbSystemShapesFilter)[vs[1].(int)] + }).(GetDbSystemShapesFilterOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformance struct { + // List of storage performance for the DATA disks + DataStoragePerformanceLists []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList `pulumi:"dataStoragePerformanceLists"` + // List of storage performance for the RECO disks + RecoStoragePerformanceLists []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList `pulumi:"recoStoragePerformanceLists"` + // Optional. Filters the performance results by shape type. + ShapeType string `pulumi:"shapeType"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs struct { + // List of storage performance for the DATA disks + DataStoragePerformanceLists GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput `pulumi:"dataStoragePerformanceLists"` + // List of storage performance for the RECO disks + RecoStoragePerformanceLists GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput `pulumi:"recoStoragePerformanceLists"` + // Optional. Filters the performance results by shape type. + ShapeType pulumi.StringInput `pulumi:"shapeType"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { + return o +} + +// List of storage performance for the DATA disks +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) DataStoragePerformanceLists() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList { + return v.DataStoragePerformanceLists + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) +} + +// List of storage performance for the RECO disks +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) RecoStoragePerformanceLists() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList { + return v.RecoStoragePerformanceLists + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) +} + +// Optional. Filters the performance results by shape type. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) ShapeType() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformance) string { return v.ShapeType }).(pulumi.StringOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformance { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformance)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList struct { + // Representation of disk performance detail parameters. + BalancedDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance `pulumi:"balancedDiskPerformances"` + // Representation of disk performance detail parameters. + HighDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance `pulumi:"highDiskPerformances"` + // Size in GBs. + SizeInGbs int `pulumi:"sizeInGbs"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs struct { + // Representation of disk performance detail parameters. + BalancedDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput `pulumi:"balancedDiskPerformances"` + // Representation of disk performance detail parameters. + HighDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput `pulumi:"highDiskPerformances"` + // Size in GBs. + SizeInGbs pulumi.IntInput `pulumi:"sizeInGbs"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { + return o +} + +// Representation of disk performance detail parameters. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) BalancedDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance { + return v.BalancedDiskPerformances + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) +} + +// Representation of disk performance detail parameters. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) HighDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance { + return v.HighDiskPerformances + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) +} + +// Size in GBs. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) SizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList) int { + return v.SizeInGbs + }).(pulumi.IntOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceList)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance struct { + // Disk IOPS in thousands. + DiskIops float64 `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs struct { + // Disk IOPS in thousands. + DiskIops pulumi.Float64Input `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { + return o +} + +// Disk IOPS in thousands. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) DiskIops() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance) float64 { + return v.DiskIops + }).(pulumi.Float64Output) +} + +// Disk Throughput in Mbps. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance) float64 { + return v.DiskThroughputInMbps + }).(pulumi.Float64Output) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformance)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance struct { + // Disk IOPS in thousands. + DiskIops float64 `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs struct { + // Disk IOPS in thousands. + DiskIops pulumi.Float64Input `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { + return o +} + +// Disk IOPS in thousands. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) DiskIops() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance) float64 { + return v.DiskIops + }).(pulumi.Float64Output) +} + +// Disk Throughput in Mbps. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance) float64 { + return v.DiskThroughputInMbps + }).(pulumi.Float64Output) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformance)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList struct { + // Representation of disk performance detail parameters. + BalancedDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance `pulumi:"balancedDiskPerformances"` + // Representation of disk performance detail parameters. + HighDiskPerformances []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformance `pulumi:"highDiskPerformances"` + // Size in GBs. + SizeInGbs int `pulumi:"sizeInGbs"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs struct { + // Representation of disk performance detail parameters. + BalancedDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput `pulumi:"balancedDiskPerformances"` + // Representation of disk performance detail parameters. + HighDiskPerformances GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayInput `pulumi:"highDiskPerformances"` + // Size in GBs. + SizeInGbs pulumi.IntInput `pulumi:"sizeInGbs"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { + return o +} + +// Representation of disk performance detail parameters. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) BalancedDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance { + return v.BalancedDiskPerformances + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) +} + +// Representation of disk performance detail parameters. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) HighDiskPerformances() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformance { + return v.HighDiskPerformances + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayOutput) +} + +// Size in GBs. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) SizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList) int { + return v.SizeInGbs + }).(pulumi.IntOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceList)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance struct { + // Disk IOPS in thousands. + DiskIops float64 `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps float64 `pulumi:"diskThroughputInMbps"` +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{...} +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs struct { + // Disk IOPS in thousands. + DiskIops pulumi.Float64Input `pulumi:"diskIops"` + // Disk Throughput in Mbps. + DiskThroughputInMbps pulumi.Float64Input `pulumi:"diskThroughputInMbps"` +} + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) +} + +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput is an input type that accepts GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray and GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput values. +// You can construct a concrete instance of `GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput` via: +// +// GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray{ GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{...} } +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput interface { + pulumi.Input + + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput + ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray []GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return i.ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(context.Background()) +} + +func (i GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { + return o +} + +// Disk IOPS in thousands. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) DiskIops() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance) float64 { + return v.DiskIops + }).(pulumi.Float64Output) +} + +// Disk Throughput in Mbps. +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) DiskThroughputInMbps() pulumi.Float64Output { + return o.ApplyT(func(v GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance) float64 { + return v.DiskThroughputInMbps + }).(pulumi.Float64Output) +} + +type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput struct{ *pulumi.OutputState } + +func (GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)(nil)).Elem() +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput() GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) ToGetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutputWithContext(ctx context.Context) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput { + return o +} + +func (o GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput) Index(i pulumi.IntInput) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance { + return vs[0].([]GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformance)[vs[1].(int)] + }).(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput) +} + type GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformance struct { // Disk IOPS in thousands. DiskIops float64 `pulumi:"diskIops"` @@ -300,14 +1552,17 @@ type GetDbSystemsDbSystem struct { // The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). PointInTimeDataDiskCloneTimestamp string `pulumi:"pointInTimeDataDiskCloneTimestamp"` PrivateIp string `pulumi:"privateIp"` + PrivateIpV6 string `pulumi:"privateIpV6"` // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb int `pulumi:"recoStorageSizeInGb"` // The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsName string `pulumi:"scanDnsName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsRecordId string `pulumi:"scanDnsRecordId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. ScanIpIds []string `pulumi:"scanIpIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + ScanIpv6ids []string `pulumi:"scanIpv6ids"` // Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` SecurityAttributes map[string]string `pulumi:"securityAttributes"` // The shape of the DB system. The shape determines resources to allocate to the DB system. @@ -333,8 +1588,10 @@ type GetDbSystemsDbSystem struct { TimeZone string `pulumi:"timeZone"` // The Oracle Database version of the DB system. Version string `pulumi:"version"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. VipIds []string `pulumi:"vipIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + Vipv6ids []string `pulumi:"vipv6ids"` // The OCID of the zone the DB system is associated with. ZoneId string `pulumi:"zoneId"` } @@ -421,14 +1678,17 @@ type GetDbSystemsDbSystemArgs struct { // The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). PointInTimeDataDiskCloneTimestamp pulumi.StringInput `pulumi:"pointInTimeDataDiskCloneTimestamp"` PrivateIp pulumi.StringInput `pulumi:"privateIp"` + PrivateIpV6 pulumi.StringInput `pulumi:"privateIpV6"` // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. RecoStorageSizeInGb pulumi.IntInput `pulumi:"recoStorageSizeInGb"` // The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsName pulumi.StringInput `pulumi:"scanDnsName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. ScanDnsRecordId pulumi.StringInput `pulumi:"scanDnsRecordId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. ScanIpIds pulumi.StringArrayInput `pulumi:"scanIpIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + ScanIpv6ids pulumi.StringArrayInput `pulumi:"scanIpv6ids"` // Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` SecurityAttributes pulumi.StringMapInput `pulumi:"securityAttributes"` // The shape of the DB system. The shape determines resources to allocate to the DB system. @@ -454,8 +1714,10 @@ type GetDbSystemsDbSystemArgs struct { TimeZone pulumi.StringInput `pulumi:"timeZone"` // The Oracle Database version of the DB system. Version pulumi.StringInput `pulumi:"version"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. VipIds pulumi.StringArrayInput `pulumi:"vipIds"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + Vipv6ids pulumi.StringArrayInput `pulumi:"vipv6ids"` // The OCID of the zone the DB system is associated with. ZoneId pulumi.StringInput `pulumi:"zoneId"` } @@ -696,6 +1958,10 @@ func (o GetDbSystemsDbSystemOutput) PrivateIp() pulumi.StringOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) string { return v.PrivateIp }).(pulumi.StringOutput) } +func (o GetDbSystemsDbSystemOutput) PrivateIpV6() pulumi.StringOutput { + return o.ApplyT(func(v GetDbSystemsDbSystem) string { return v.PrivateIpV6 }).(pulumi.StringOutput) +} + // The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. func (o GetDbSystemsDbSystemOutput) RecoStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) int { return v.RecoStorageSizeInGb }).(pulumi.IntOutput) @@ -711,11 +1977,16 @@ func (o GetDbSystemsDbSystemOutput) ScanDnsRecordId() pulumi.StringOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) string { return v.ScanDnsRecordId }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. func (o GetDbSystemsDbSystemOutput) ScanIpIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) []string { return v.ScanIpIds }).(pulumi.StringArrayOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. +func (o GetDbSystemsDbSystemOutput) ScanIpv6ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDbSystemsDbSystem) []string { return v.ScanIpv6ids }).(pulumi.StringArrayOutput) +} + // Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` func (o GetDbSystemsDbSystemOutput) SecurityAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) map[string]string { return v.SecurityAttributes }).(pulumi.StringMapOutput) @@ -777,11 +2048,16 @@ func (o GetDbSystemsDbSystemOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) string { return v.Version }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. func (o GetDbSystemsDbSystemOutput) VipIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) []string { return v.VipIds }).(pulumi.StringArrayOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. +func (o GetDbSystemsDbSystemOutput) Vipv6ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDbSystemsDbSystem) []string { return v.Vipv6ids }).(pulumi.StringArrayOutput) +} + // The OCID of the zone the DB system is associated with. func (o GetDbSystemsDbSystemOutput) ZoneId() pulumi.StringOutput { return o.ApplyT(func(v GetDbSystemsDbSystem) string { return v.ZoneId }).(pulumi.StringOutput) @@ -26900,6 +28176,24 @@ func (o GetVmClustersVmClusterFileSystemConfigurationDetailArrayOutput) Index(i } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesPatchInput)(nil)).Elem(), GetDbSystemPatchesPatchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemPatchesPatchArrayInput)(nil)).Elem(), GetDbSystemPatchesPatchArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesDbSystemShapeInput)(nil)).Elem(), GetDbSystemShapesDbSystemShapeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesDbSystemShapeArrayInput)(nil)).Elem(), GetDbSystemShapesDbSystemShapeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesFilterInput)(nil)).Elem(), GetDbSystemShapesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemShapesFilterArrayInput)(nil)).Elem(), GetDbSystemShapesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayInput)(nil)).Elem(), GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDbSystemStoragePerformancesFilterInput)(nil)).Elem(), GetDbSystemStoragePerformancesFilterArgs{}) @@ -27288,6 +28582,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOptionArrayInput)(nil)).Elem(), GetVmClustersVmClusterDataCollectionOptionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterFileSystemConfigurationDetailInput)(nil)).Elem(), GetVmClustersVmClusterFileSystemConfigurationDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterFileSystemConfigurationDetailArrayInput)(nil)).Elem(), GetVmClustersVmClusterFileSystemConfigurationDetailArray{}) + pulumi.RegisterOutputType(GetDbSystemPatchesPatchOutput{}) + pulumi.RegisterOutputType(GetDbSystemPatchesPatchArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemShapesDbSystemShapeOutput{}) + pulumi.RegisterOutputType(GetDbSystemShapesDbSystemShapeArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemShapesFilterOutput{}) + pulumi.RegisterOutputType(GetDbSystemShapesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArrayOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceOutput{}) + pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceArrayOutput{}) pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceOutput{}) pulumi.RegisterOutputType(GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArrayOutput{}) pulumi.RegisterOutputType(GetDbSystemStoragePerformancesFilterOutput{}) diff --git a/sdk/go/oci/filestorage/fileSystem.go b/sdk/go/oci/filestorage/fileSystem.go index 9a3b9fa5f3..ebe67ddec4 100644 --- a/sdk/go/oci/filestorage/fileSystem.go +++ b/sdk/go/oci/filestorage/fileSystem.go @@ -146,6 +146,8 @@ type FileSystem struct { SourceSnapshotId pulumi.StringOutput `pulumi:"sourceSnapshotId"` // The current state of the file system. State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` } @@ -232,6 +234,8 @@ type fileSystemState struct { SourceSnapshotId *string `pulumi:"sourceSnapshotId"` // The current state of the file system. State *string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated *string `pulumi:"timeCreated"` } @@ -283,6 +287,8 @@ type FileSystemState struct { SourceSnapshotId pulumi.StringPtrInput // The current state of the file system. State pulumi.StringPtrInput + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput } @@ -550,6 +556,11 @@ func (o FileSystemOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *FileSystem) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o FileSystemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *FileSystem) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o FileSystemOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *FileSystem) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/filesystemSnapshotPolicy.go b/sdk/go/oci/filestorage/filesystemSnapshotPolicy.go index ea2a61fff2..6c5022a9e1 100644 --- a/sdk/go/oci/filestorage/filesystemSnapshotPolicy.go +++ b/sdk/go/oci/filestorage/filesystemSnapshotPolicy.go @@ -110,6 +110,8 @@ type FilesystemSnapshotPolicy 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 State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` } @@ -174,6 +176,8 @@ type filesystemSnapshotPolicyState 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 State *string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated *string `pulumi:"timeCreated"` } @@ -203,6 +207,8 @@ type FilesystemSnapshotPolicyState 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 State pulumi.StringPtrInput + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput } @@ -407,6 +413,11 @@ func (o FilesystemSnapshotPolicyOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *FilesystemSnapshotPolicy) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o FilesystemSnapshotPolicyOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *FilesystemSnapshotPolicy) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o FilesystemSnapshotPolicyOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *FilesystemSnapshotPolicy) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/getFilesystemSnapshotPolicy.go b/sdk/go/oci/filestorage/getFilesystemSnapshotPolicy.go index 6e79e31d3f..ee16b993f5 100644 --- a/sdk/go/oci/filestorage/getFilesystemSnapshotPolicy.go +++ b/sdk/go/oci/filestorage/getFilesystemSnapshotPolicy.go @@ -80,6 +80,8 @@ type LookupFilesystemSnapshotPolicyResult struct { Schedules []GetFilesystemSnapshotPolicySchedule `pulumi:"schedules"` // The current state of this file system snapshot policy. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -176,6 +178,11 @@ func (o LookupFilesystemSnapshotPolicyResultOutput) State() pulumi.StringOutput return o.ApplyT(func(v LookupFilesystemSnapshotPolicyResult) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o LookupFilesystemSnapshotPolicyResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupFilesystemSnapshotPolicyResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o LookupFilesystemSnapshotPolicyResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupFilesystemSnapshotPolicyResult) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/getOutboundConnector.go b/sdk/go/oci/filestorage/getOutboundConnector.go index cf7c42d67a..dbb0affaf8 100644 --- a/sdk/go/oci/filestorage/getOutboundConnector.go +++ b/sdk/go/oci/filestorage/getOutboundConnector.go @@ -86,6 +86,8 @@ type LookupOutboundConnectorResult struct { PasswordSecretVersion int `pulumi:"passwordSecretVersion"` // The current state of this outbound connector. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -197,6 +199,11 @@ func (o LookupOutboundConnectorResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupOutboundConnectorResult) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o LookupOutboundConnectorResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupOutboundConnectorResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o LookupOutboundConnectorResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupOutboundConnectorResult) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/getReplication.go b/sdk/go/oci/filestorage/getReplication.go index f052fcf035..ef80d17343 100644 --- a/sdk/go/oci/filestorage/getReplication.go +++ b/sdk/go/oci/filestorage/getReplication.go @@ -92,6 +92,8 @@ type LookupReplicationResult struct { SourceId string `pulumi:"sourceId"` // The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. TargetId string `pulumi:"targetId"` // The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -220,6 +222,11 @@ func (o LookupReplicationResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicationResult) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o LookupReplicationResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupReplicationResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. func (o LookupReplicationResultOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicationResult) string { return v.TargetId }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/getReplicationTarget.go b/sdk/go/oci/filestorage/getReplicationTarget.go index fb85fe5422..45176cd097 100644 --- a/sdk/go/oci/filestorage/getReplicationTarget.go +++ b/sdk/go/oci/filestorage/getReplicationTarget.go @@ -87,6 +87,8 @@ type GetReplicationTargetResult struct { SourceId string `pulumi:"sourceId"` // The current state of this replication. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. TargetId string `pulumi:"targetId"` // The date and time the replication target was created in target region. in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -201,6 +203,11 @@ func (o GetReplicationTargetResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetReplicationTargetResult) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetReplicationTargetResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetReplicationTargetResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. func (o GetReplicationTargetResultOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicationTargetResult) string { return v.TargetId }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/getSnapshot.go b/sdk/go/oci/filestorage/getSnapshot.go index 1ccbebe5b3..77775f2fb8 100644 --- a/sdk/go/oci/filestorage/getSnapshot.go +++ b/sdk/go/oci/filestorage/getSnapshot.go @@ -91,6 +91,8 @@ type LookupSnapshotResult struct { SnapshotType string `pulumi:"snapshotType"` // The current state of the snapshot. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -210,6 +212,11 @@ func (o LookupSnapshotResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o LookupSnapshotResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupSnapshotResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o LookupSnapshotResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/mountTarget.go b/sdk/go/oci/filestorage/mountTarget.go index 5ccd870978..d876894da9 100644 --- a/sdk/go/oci/filestorage/mountTarget.go +++ b/sdk/go/oci/filestorage/mountTarget.go @@ -174,6 +174,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"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // 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` @@ -270,6 +272,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"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // 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` @@ -328,6 +332,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 + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // 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` @@ -624,6 +630,11 @@ func (o MountTargetOutput) SubnetId() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o MountTargetOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MountTarget) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // 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) diff --git a/sdk/go/oci/filestorage/outboundConnector.go b/sdk/go/oci/filestorage/outboundConnector.go index 00b38a2857..7074563a86 100644 --- a/sdk/go/oci/filestorage/outboundConnector.go +++ b/sdk/go/oci/filestorage/outboundConnector.go @@ -125,6 +125,8 @@ type OutboundConnector struct { PasswordSecretVersion pulumi.IntOutput `pulumi:"passwordSecretVersion"` // The current state of this outbound connector. State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` } @@ -202,6 +204,8 @@ type outboundConnectorState struct { PasswordSecretVersion *int `pulumi:"passwordSecretVersion"` // The current state of this outbound connector. State *string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated *string `pulumi:"timeCreated"` } @@ -235,6 +239,8 @@ type OutboundConnectorState struct { PasswordSecretVersion pulumi.IntPtrInput // The current state of this outbound connector. State pulumi.StringPtrInput + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput } @@ -456,6 +462,11 @@ func (o OutboundConnectorOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *OutboundConnector) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o OutboundConnectorOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *OutboundConnector) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o OutboundConnectorOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *OutboundConnector) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/pulumiTypes.go b/sdk/go/oci/filestorage/pulumiTypes.go index 78b7a18633..ab340647da 100644 --- a/sdk/go/oci/filestorage/pulumiTypes.go +++ b/sdk/go/oci/filestorage/pulumiTypes.go @@ -2800,6 +2800,8 @@ type GetFileSystemsFileSystem struct { SourceSnapshotId string `pulumi:"sourceSnapshotId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -2858,6 +2860,8 @@ type GetFileSystemsFileSystemArgs struct { SourceSnapshotId pulumi.StringInput `pulumi:"sourceSnapshotId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } @@ -3021,6 +3025,11 @@ func (o GetFileSystemsFileSystemOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetFileSystemsFileSystem) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetFileSystemsFileSystemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetFileSystemsFileSystem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o GetFileSystemsFileSystemOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetFileSystemsFileSystem) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -3404,6 +3413,8 @@ type GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy struct { Schedules []GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule `pulumi:"schedules"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -3441,6 +3452,8 @@ type GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyArgs struct { Schedules GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyScheduleArrayInput `pulumi:"schedules"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } @@ -3554,6 +3567,11 @@ func (o GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyOutput) State() pul return o.ApplyT(func(v GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -4423,6 +4441,8 @@ type GetMountTargetsMountTarget struct { 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"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // 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` @@ -4482,6 +4502,8 @@ type GetMountTargetsMountTargetArgs struct { 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"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // 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` @@ -4646,6 +4668,11 @@ func (o GetMountTargetsMountTargetOutput) SubnetId() pulumi.StringOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.SubnetId }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetMountTargetsMountTargetOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMountTargetsMountTarget) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // 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) @@ -5457,6 +5484,8 @@ type GetOutboundConnectorsOutboundConnector struct { PasswordSecretVersion int `pulumi:"passwordSecretVersion"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -5500,6 +5529,8 @@ type GetOutboundConnectorsOutboundConnectorArgs struct { PasswordSecretVersion pulumi.IntInput `pulumi:"passwordSecretVersion"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } @@ -5628,6 +5659,11 @@ func (o GetOutboundConnectorsOutboundConnectorOutput) State() pulumi.StringOutpu return o.ApplyT(func(v GetOutboundConnectorsOutboundConnector) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetOutboundConnectorsOutboundConnectorOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetOutboundConnectorsOutboundConnector) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o GetOutboundConnectorsOutboundConnectorOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetOutboundConnectorsOutboundConnector) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -6142,6 +6178,8 @@ type GetReplicationTargetsReplicationTarget struct { SourceId string `pulumi:"sourceId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. TargetId string `pulumi:"targetId"` // The date and time the replication target was created in target region. in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -6188,6 +6226,8 @@ type GetReplicationTargetsReplicationTargetArgs struct { SourceId pulumi.StringInput `pulumi:"sourceId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. TargetId pulumi.StringInput `pulumi:"targetId"` // The date and time the replication target was created in target region. in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -6315,6 +6355,11 @@ func (o GetReplicationTargetsReplicationTargetOutput) State() pulumi.StringOutpu return o.ApplyT(func(v GetReplicationTargetsReplicationTarget) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetReplicationTargetsReplicationTargetOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetReplicationTargetsReplicationTarget) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. func (o GetReplicationTargetsReplicationTargetOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicationTargetsReplicationTarget) string { return v.TargetId }).(pulumi.StringOutput) @@ -6485,6 +6530,8 @@ type GetReplicationsReplication struct { SourceId string `pulumi:"sourceId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. TargetId string `pulumi:"targetId"` // The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -6536,6 +6583,8 @@ type GetReplicationsReplicationArgs struct { SourceId pulumi.StringInput `pulumi:"sourceId"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. TargetId pulumi.StringInput `pulumi:"targetId"` // The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` @@ -6677,6 +6726,11 @@ func (o GetReplicationsReplicationOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetReplicationsReplication) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetReplicationsReplicationOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetReplicationsReplication) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. func (o GetReplicationsReplicationOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicationsReplication) string { return v.TargetId }).(pulumi.StringOutput) @@ -7097,6 +7151,8 @@ type GetSnapshotsSnapshot struct { SnapshotType string `pulumi:"snapshotType"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` } @@ -7145,6 +7201,8 @@ type GetSnapshotsSnapshotArgs struct { SnapshotType pulumi.StringInput `pulumi:"snapshotType"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } @@ -7277,6 +7335,11 @@ func (o GetSnapshotsSnapshotOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o GetSnapshotsSnapshotOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSnapshotsSnapshot) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o GetSnapshotsSnapshotOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/replication.go b/sdk/go/oci/filestorage/replication.go index c13ed1fb44..37a79fe1c5 100644 --- a/sdk/go/oci/filestorage/replication.go +++ b/sdk/go/oci/filestorage/replication.go @@ -127,6 +127,8 @@ type Replication struct { SourceId pulumi.StringOutput `pulumi:"sourceId"` // The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. // // ** IMPORTANT ** @@ -206,6 +208,8 @@ type replicationState struct { SourceId *string `pulumi:"sourceId"` // The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. State *string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. // // ** IMPORTANT ** @@ -247,6 +251,8 @@ type ReplicationState struct { SourceId pulumi.StringPtrInput // The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. State pulumi.StringPtrInput + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. // // ** IMPORTANT ** @@ -473,6 +479,11 @@ func (o ReplicationOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Replication) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o ReplicationOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Replication) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. // // ** IMPORTANT ** diff --git a/sdk/go/oci/filestorage/snapshot.go b/sdk/go/oci/filestorage/snapshot.go index 91a93fa42c..c9b2bec8c5 100644 --- a/sdk/go/oci/filestorage/snapshot.go +++ b/sdk/go/oci/filestorage/snapshot.go @@ -106,6 +106,8 @@ type Snapshot struct { SnapshotType pulumi.StringOutput `pulumi:"snapshotType"` // The current state of the snapshot. State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` } @@ -180,6 +182,8 @@ type snapshotState struct { SnapshotType *string `pulumi:"snapshotType"` // The current state of the snapshot. State *string `pulumi:"state"` + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated *string `pulumi:"timeCreated"` } @@ -222,6 +226,8 @@ type SnapshotState struct { SnapshotType pulumi.StringPtrInput // The current state of the snapshot. State pulumi.StringPtrInput + // System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + SystemTags pulumi.StringMapInput // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput } @@ -443,6 +449,11 @@ func (o SnapshotOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. +func (o SnapshotOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Snapshot) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` func (o SnapshotOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/goldengate/connection.go b/sdk/go/oci/goldengate/connection.go index f07d2a55ac..e46aac1e3f 100644 --- a/sdk/go/oci/goldengate/connection.go +++ b/sdk/go/oci/goldengate/connection.go @@ -95,58 +95,66 @@ import ( // Message: pulumi.Any(connectionLocksMessage), // }, // }, -// NsgIds: pulumi.Any(connectionNsgIds), -// Password: pulumi.Any(connectionPassword), -// PasswordSecretId: pulumi.Any(testSecret.Id), -// Port: pulumi.Any(connectionPort), -// PrivateIp: pulumi.Any(connectionPrivateIp), -// PrivateKeyFile: pulumi.Any(connectionPrivateKeyFile), -// PrivateKeyFileSecretId: pulumi.Any(testSecret.Id), -// PrivateKeyPassphrase: pulumi.Any(connectionPrivateKeyPassphrase), -// PrivateKeyPassphraseSecretId: pulumi.Any(testSecret.Id), -// ProducerProperties: pulumi.Any(connectionProducerProperties), -// PublicKeyFingerprint: pulumi.Any(connectionPublicKeyFingerprint), -// RedisClusterId: pulumi.Any(testRedisCluster.Id), -// Region: pulumi.Any(connectionRegion), -// RoutingMethod: pulumi.Any(connectionRoutingMethod), -// SasToken: pulumi.Any(connectionSasToken), -// SasTokenSecretId: pulumi.Any(testSecret.Id), -// SecretAccessKey: pulumi.Any(connectionSecretAccessKey), -// SecretAccessKeySecretId: pulumi.Any(testSecret.Id), -// SecurityProtocol: pulumi.Any(connectionSecurityProtocol), -// Servers: pulumi.Any(connectionServers), -// ServiceAccountKeyFile: pulumi.Any(connectionServiceAccountKeyFile), -// ServiceAccountKeyFileSecretId: pulumi.Any(testSecret.Id), -// SessionMode: pulumi.Any(connectionSessionMode), -// ShouldUseJndi: pulumi.Any(connectionShouldUseJndi), -// ShouldValidateServerCertificate: pulumi.Any(connectionShouldValidateServerCertificate), -// SslCa: pulumi.Any(connectionSslCa), -// SslCert: pulumi.Any(connectionSslCert), -// SslClientKeystash: pulumi.Any(connectionSslClientKeystash), -// SslClientKeystashSecretId: pulumi.Any(testSecret.Id), -// SslClientKeystoredb: pulumi.Any(connectionSslClientKeystoredb), -// SslClientKeystoredbSecretId: pulumi.Any(testSecret.Id), -// SslCrl: pulumi.Any(connectionSslCrl), -// SslKey: pulumi.Any(connectionSslKey), -// SslKeyPassword: pulumi.Any(connectionSslKeyPassword), -// SslKeyPasswordSecretId: pulumi.Any(testSecret.Id), -// SslKeySecretId: pulumi.Any(testSecret.Id), -// SslMode: pulumi.Any(connectionSslMode), -// SslServerCertificate: pulumi.Any(connectionSslServerCertificate), -// StreamPoolId: pulumi.Any(testStreamPool.Id), -// SubnetId: pulumi.Any(testSubnet.Id), -// TenancyId: pulumi.Any(testTenancy.Id), -// TrustStore: pulumi.Any(connectionTrustStore), -// TrustStorePassword: pulumi.Any(connectionTrustStorePassword), -// TrustStorePasswordSecretId: pulumi.Any(testSecret.Id), -// TrustStoreSecretId: pulumi.Any(testSecret.Id), -// Url: pulumi.Any(connectionUrl), -// UserId: pulumi.Any(testUser.Id), -// Username: pulumi.Any(connectionUsername), -// VaultId: pulumi.Any(testVault.Id), -// Wallet: pulumi.Any(connectionWallet), -// WalletSecretId: pulumi.Any(testSecret.Id), -// TriggerRefresh: pulumi.Bool(true), +// NsgIds: pulumi.Any(connectionNsgIds), +// Password: pulumi.Any(connectionPassword), +// PasswordSecretId: pulumi.Any(testSecret.Id), +// Port: pulumi.Any(connectionPort), +// PrivateIp: pulumi.Any(connectionPrivateIp), +// PrivateKeyFile: pulumi.Any(connectionPrivateKeyFile), +// PrivateKeyFileSecretId: pulumi.Any(testSecret.Id), +// PrivateKeyPassphrase: pulumi.Any(connectionPrivateKeyPassphrase), +// PrivateKeyPassphraseSecretId: pulumi.Any(testSecret.Id), +// ProducerProperties: pulumi.Any(connectionProducerProperties), +// PublicKeyFingerprint: pulumi.Any(connectionPublicKeyFingerprint), +// RedisClusterId: pulumi.Any(testRedisCluster.Id), +// Region: pulumi.Any(connectionRegion), +// RoutingMethod: pulumi.Any(connectionRoutingMethod), +// SasToken: pulumi.Any(connectionSasToken), +// SasTokenSecretId: pulumi.Any(testSecret.Id), +// SecretAccessKey: pulumi.Any(connectionSecretAccessKey), +// SecretAccessKeySecretId: pulumi.Any(testSecret.Id), +// SecurityProtocol: pulumi.Any(connectionSecurityProtocol), +// Servers: pulumi.Any(connectionServers), +// ServiceAccountKeyFile: pulumi.Any(connectionServiceAccountKeyFile), +// ServiceAccountKeyFileSecretId: pulumi.Any(testSecret.Id), +// SessionMode: pulumi.Any(connectionSessionMode), +// ShouldUseJndi: pulumi.Any(connectionShouldUseJndi), +// ShouldUseResourcePrincipal: pulumi.Any(connectionShouldUseResourcePrincipal), +// ShouldValidateServerCertificate: pulumi.Any(connectionShouldValidateServerCertificate), +// SslCa: pulumi.Any(connectionSslCa), +// SslCert: pulumi.Any(connectionSslCert), +// SslClientKeystash: pulumi.Any(connectionSslClientKeystash), +// SslClientKeystashSecretId: pulumi.Any(testSecret.Id), +// SslClientKeystoredb: pulumi.Any(connectionSslClientKeystoredb), +// SslClientKeystoredbSecretId: pulumi.Any(testSecret.Id), +// SslCrl: pulumi.Any(connectionSslCrl), +// SslKey: pulumi.Any(connectionSslKey), +// SslKeyPassword: pulumi.Any(connectionSslKeyPassword), +// SslKeyPasswordSecretId: pulumi.Any(testSecret.Id), +// SslKeySecretId: pulumi.Any(testSecret.Id), +// SslMode: pulumi.Any(connectionSslMode), +// SslServerCertificate: pulumi.Any(connectionSslServerCertificate), +// StorageCredentialName: pulumi.Any(connectionStorageCredentialName), +// StreamPoolId: pulumi.Any(testStreamPool.Id), +// SubnetId: pulumi.Any(testSubnet.Id), +// TenancyId: pulumi.Any(testTenancy.Id), +// TenantId: pulumi.Any(testTenant.Id), +// TlsCaFile: pulumi.Any(connectionTlsCaFile), +// TlsCertificateKeyFile: pulumi.Any(connectionTlsCertificateKeyFile), +// TlsCertificateKeyFilePassword: pulumi.Any(connectionTlsCertificateKeyFilePassword), +// TlsCertificateKeyFilePasswordSecretId: pulumi.Any(testSecret.Id), +// TlsCertificateKeyFileSecretId: pulumi.Any(testSecret.Id), +// TrustStore: pulumi.Any(connectionTrustStore), +// TrustStorePassword: pulumi.Any(connectionTrustStorePassword), +// TrustStorePasswordSecretId: pulumi.Any(testSecret.Id), +// TrustStoreSecretId: pulumi.Any(testSecret.Id), +// Url: pulumi.Any(connectionUrl), +// UserId: pulumi.Any(testUser.Id), +// Username: pulumi.Any(connectionUsername), +// VaultId: pulumi.Any(testVault.Id), +// Wallet: pulumi.Any(connectionWallet), +// WalletSecretId: pulumi.Any(testSecret.Id), +// TriggerRefresh: pulumi.Bool(true), // }) // if err != nil { // return err @@ -169,7 +177,7 @@ type Connection struct { // (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"` - // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. AccountKey pulumi.StringPtrOutput `pulumi:"accountKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. AccountKeySecretId pulumi.StringOutput `pulumi:"accountKeySecretId"` @@ -187,9 +195,9 @@ type Connection struct { BootstrapServers ConnectionBootstrapServerArrayOutput `pulumi:"bootstrapServers"` // (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d ClientId pulumi.StringOutput `pulumi:"clientId"` - // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. ClientSecretSecretId pulumi.StringPtrOutput `pulumi:"clientSecretSecretId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` @@ -199,7 +207,7 @@ type Connection struct { ConnectionString pulumi.StringOutput `pulumi:"connectionString"` // (Updatable) The connection type. ConnectionType pulumi.StringOutput `pulumi:"connectionType"` - // (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + // (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl pulumi.StringOutput `pulumi:"connectionUrl"` // (Updatable) The base64 encoded content of the consumer.properties file. ConsumerProperties pulumi.StringOutput `pulumi:"consumerProperties"` @@ -221,7 +229,7 @@ type Connection struct { DisplayName pulumi.StringOutput `pulumi:"displayName"` // (Updatable) Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds pulumi.BoolOutput `pulumi:"doesUseSecretIds"` - // (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint pulumi.StringOutput `pulumi:"endpoint"` // (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` @@ -239,7 +247,7 @@ type Connection struct { JndiInitialContextFactory pulumi.StringOutput `pulumi:"jndiInitialContextFactory"` // (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' JndiProviderUrl pulumi.StringOutput `pulumi:"jndiProviderUrl"` - // (Updatable) The password associated to the principal. + // (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. JndiSecurityCredentials pulumi.StringPtrOutput `pulumi:"jndiSecurityCredentials"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. JndiSecurityCredentialsSecretId pulumi.StringPtrOutput `pulumi:"jndiSecurityCredentialsSecretId"` @@ -247,9 +255,9 @@ type Connection struct { JndiSecurityPrincipal pulumi.StringOutput `pulumi:"jndiSecurityPrincipal"` // (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId pulumi.StringOutput `pulumi:"keyId"` - // (Updatable) The base64 encoded content of the KeyStore file. + // (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. KeyStore pulumi.StringPtrOutput `pulumi:"keyStore"` - // (Updatable) The KeyStore password. + // (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. KeyStorePassword pulumi.StringPtrOutput `pulumi:"keyStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. KeyStorePasswordSecretId pulumi.StringPtrOutput `pulumi:"keyStorePasswordSecretId"` @@ -261,7 +269,7 @@ type Connection struct { Locks ConnectionLockArrayOutput `pulumi:"locks"` // (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringPtrOutput `pulumi:"password"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. PasswordSecretId pulumi.StringPtrOutput `pulumi:"passwordSecretId"` @@ -271,11 +279,11 @@ type Connection struct { // // The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. PrivateKeyFile pulumi.StringPtrOutput `pulumi:"privateKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. PrivateKeyFileSecretId pulumi.StringPtrOutput `pulumi:"privateKeyFileSecretId"` - // (Updatable) Password if the private key file is encrypted. + // (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. PrivateKeyPassphrase pulumi.StringPtrOutput `pulumi:"privateKeyPassphrase"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. PrivateKeyPassphraseSecretId pulumi.StringPtrOutput `pulumi:"privateKeyPassphraseSecretId"` @@ -285,15 +293,15 @@ type Connection struct { PublicKeyFingerprint pulumi.StringOutput `pulumi:"publicKeyFingerprint"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId pulumi.StringOutput `pulumi:"redisClusterId"` - // (Updatable) The name of the region. e.g.: us-ashburn-1 + // (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region pulumi.StringOutput `pulumi:"region"` // (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod pulumi.StringOutput `pulumi:"routingMethod"` - // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. SasToken pulumi.StringPtrOutput `pulumi:"sasToken"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. SasTokenSecretId pulumi.StringPtrOutput `pulumi:"sasTokenSecretId"` - // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. SecretAccessKey pulumi.StringPtrOutput `pulumi:"secretAccessKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. SecretAccessKeySecretId pulumi.StringPtrOutput `pulumi:"secretAccessKeySecretId"` @@ -301,7 +309,7 @@ type Connection struct { SecurityProtocol pulumi.StringOutput `pulumi:"securityProtocol"` // (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` Servers pulumi.StringOutput `pulumi:"servers"` - // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. ServiceAccountKeyFile pulumi.StringPtrOutput `pulumi:"serviceAccountKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. ServiceAccountKeyFileSecretId pulumi.StringPtrOutput `pulumi:"serviceAccountKeyFileSecretId"` @@ -309,25 +317,27 @@ type Connection struct { SessionMode pulumi.StringOutput `pulumi:"sessionMode"` // (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi pulumi.BoolOutput `pulumi:"shouldUseJndi"` + // (Updatable) Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal pulumi.BoolOutput `pulumi:"shouldUseResourcePrincipal"` // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate pulumi.BoolOutput `pulumi:"shouldValidateServerCertificate"` // (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. SslCa pulumi.StringOutput `pulumi:"sslCa"` // (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). SslCert pulumi.StringOutput `pulumi:"sslCert"` - // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. SslClientKeystash pulumi.StringPtrOutput `pulumi:"sslClientKeystash"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. SslClientKeystashSecretId pulumi.StringPtrOutput `pulumi:"sslClientKeystashSecretId"` - // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. SslClientKeystoredb pulumi.StringPtrOutput `pulumi:"sslClientKeystoredb"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. SslClientKeystoredbSecretId pulumi.StringPtrOutput `pulumi:"sslClientKeystoredbSecretId"` // (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. SslCrl pulumi.StringOutput `pulumi:"sslCrl"` - // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. SslKey pulumi.StringPtrOutput `pulumi:"sslKey"` - // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. SslKeyPassword pulumi.StringPtrOutput `pulumi:"sslKeyPassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. SslKeyPasswordSecretId pulumi.StringPtrOutput `pulumi:"sslKeyPasswordSecretId"` @@ -340,6 +350,8 @@ type Connection struct { SslServerCertificate pulumi.StringOutput `pulumi:"sslServerCertificate"` // Possible lifecycle states for connection. State pulumi.StringOutput `pulumi:"state"` + // (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName pulumi.StringOutput `pulumi:"storageCredentialName"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId pulumi.StringOutput `pulumi:"streamPoolId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -350,18 +362,31 @@ type Connection struct { TechnologyType pulumi.StringOutput `pulumi:"technologyType"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId pulumi.StringOutput `pulumi:"tenancyId"` + // (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId pulumi.StringOutput `pulumi:"tenantId"` // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + TlsCaFile pulumi.StringOutput `pulumi:"tlsCaFile"` + // (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFile pulumi.StringOutput `pulumi:"tlsCertificateKeyFile"` + // (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFilePassword pulumi.StringOutput `pulumi:"tlsCertificateKeyFilePassword"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId pulumi.StringOutput `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId pulumi.StringOutput `pulumi:"tlsCertificateKeyFileSecretId"` // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TriggerRefresh pulumi.BoolPtrOutput `pulumi:"triggerRefresh"` - // (Updatable) The base64 encoded content of the TrustStore file. + // (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. TrustStore pulumi.StringPtrOutput `pulumi:"trustStore"` - // (Updatable) The TrustStore password. + // (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. TrustStorePassword pulumi.StringPtrOutput `pulumi:"trustStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId pulumi.StringPtrOutput `pulumi:"trustStorePasswordSecretId"` @@ -369,13 +394,13 @@ type Connection struct { TrustStoreSecretId pulumi.StringPtrOutput `pulumi:"trustStoreSecretId"` // (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url pulumi.StringOutput `pulumi:"url"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId pulumi.StringOutput `pulumi:"userId"` // (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username pulumi.StringOutput `pulumi:"username"` // (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. Wallet pulumi.StringPtrOutput `pulumi:"wallet"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. WalletSecretId pulumi.StringPtrOutput `pulumi:"walletSecretId"` @@ -445,6 +470,12 @@ func NewConnection(ctx *pulumi.Context, if args.SslKeyPassword != nil { args.SslKeyPassword = pulumi.ToSecret(args.SslKeyPassword).(pulumi.StringPtrInput) } + if args.TlsCertificateKeyFilePassword != nil { + args.TlsCertificateKeyFilePassword = pulumi.ToSecret(args.TlsCertificateKeyFilePassword).(pulumi.StringPtrInput) + } + if args.TlsCertificateKeyFilePasswordSecretId != nil { + args.TlsCertificateKeyFilePasswordSecretId = pulumi.ToSecret(args.TlsCertificateKeyFilePasswordSecretId).(pulumi.StringPtrInput) + } if args.TrustStore != nil { args.TrustStore = pulumi.ToSecret(args.TrustStore).(pulumi.StringPtrInput) } @@ -470,6 +501,8 @@ func NewConnection(ctx *pulumi.Context, "sslClientKeystoredb", "sslKey", "sslKeyPassword", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", "trustStore", "trustStorePassword", "wallet", @@ -500,7 +533,7 @@ func GetConnection(ctx *pulumi.Context, type connectionState struct { // (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" AccessKeyId *string `pulumi:"accessKeyId"` - // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. AccountKey *string `pulumi:"accountKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. AccountKeySecretId *string `pulumi:"accountKeySecretId"` @@ -518,9 +551,9 @@ type connectionState struct { BootstrapServers []ConnectionBootstrapServer `pulumi:"bootstrapServers"` // (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d ClientId *string `pulumi:"clientId"` - // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. ClientSecret *string `pulumi:"clientSecret"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. ClientSecretSecretId *string `pulumi:"clientSecretSecretId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId *string `pulumi:"compartmentId"` @@ -530,7 +563,7 @@ type connectionState struct { ConnectionString *string `pulumi:"connectionString"` // (Updatable) The connection type. ConnectionType *string `pulumi:"connectionType"` - // (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + // (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl *string `pulumi:"connectionUrl"` // (Updatable) The base64 encoded content of the consumer.properties file. ConsumerProperties *string `pulumi:"consumerProperties"` @@ -552,7 +585,7 @@ type connectionState struct { DisplayName *string `pulumi:"displayName"` // (Updatable) Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds *bool `pulumi:"doesUseSecretIds"` - // (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint *string `pulumi:"endpoint"` // (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' Fingerprint *string `pulumi:"fingerprint"` @@ -570,7 +603,7 @@ type connectionState struct { JndiInitialContextFactory *string `pulumi:"jndiInitialContextFactory"` // (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' JndiProviderUrl *string `pulumi:"jndiProviderUrl"` - // (Updatable) The password associated to the principal. + // (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. JndiSecurityCredentials *string `pulumi:"jndiSecurityCredentials"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. JndiSecurityCredentialsSecretId *string `pulumi:"jndiSecurityCredentialsSecretId"` @@ -578,9 +611,9 @@ type connectionState struct { JndiSecurityPrincipal *string `pulumi:"jndiSecurityPrincipal"` // (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId *string `pulumi:"keyId"` - // (Updatable) The base64 encoded content of the KeyStore file. + // (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. KeyStore *string `pulumi:"keyStore"` - // (Updatable) The KeyStore password. + // (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. KeyStorePassword *string `pulumi:"keyStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. KeyStorePasswordSecretId *string `pulumi:"keyStorePasswordSecretId"` @@ -592,7 +625,7 @@ type connectionState struct { Locks []ConnectionLock `pulumi:"locks"` // (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. NsgIds []string `pulumi:"nsgIds"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password *string `pulumi:"password"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. PasswordSecretId *string `pulumi:"passwordSecretId"` @@ -602,11 +635,11 @@ type connectionState struct { // // The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. PrivateIp *string `pulumi:"privateIp"` - // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. PrivateKeyFile *string `pulumi:"privateKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. PrivateKeyFileSecretId *string `pulumi:"privateKeyFileSecretId"` - // (Updatable) Password if the private key file is encrypted. + // (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. PrivateKeyPassphrase *string `pulumi:"privateKeyPassphrase"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. PrivateKeyPassphraseSecretId *string `pulumi:"privateKeyPassphraseSecretId"` @@ -616,15 +649,15 @@ type connectionState struct { PublicKeyFingerprint *string `pulumi:"publicKeyFingerprint"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId *string `pulumi:"redisClusterId"` - // (Updatable) The name of the region. e.g.: us-ashburn-1 + // (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region *string `pulumi:"region"` // (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod *string `pulumi:"routingMethod"` - // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. SasToken *string `pulumi:"sasToken"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. SasTokenSecretId *string `pulumi:"sasTokenSecretId"` - // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. SecretAccessKey *string `pulumi:"secretAccessKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. SecretAccessKeySecretId *string `pulumi:"secretAccessKeySecretId"` @@ -632,7 +665,7 @@ type connectionState struct { SecurityProtocol *string `pulumi:"securityProtocol"` // (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` Servers *string `pulumi:"servers"` - // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. ServiceAccountKeyFile *string `pulumi:"serviceAccountKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. ServiceAccountKeyFileSecretId *string `pulumi:"serviceAccountKeyFileSecretId"` @@ -640,25 +673,27 @@ type connectionState struct { SessionMode *string `pulumi:"sessionMode"` // (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi *bool `pulumi:"shouldUseJndi"` + // (Updatable) Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal *bool `pulumi:"shouldUseResourcePrincipal"` // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate *bool `pulumi:"shouldValidateServerCertificate"` // (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. SslCa *string `pulumi:"sslCa"` // (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). SslCert *string `pulumi:"sslCert"` - // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. SslClientKeystash *string `pulumi:"sslClientKeystash"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. SslClientKeystashSecretId *string `pulumi:"sslClientKeystashSecretId"` - // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. SslClientKeystoredb *string `pulumi:"sslClientKeystoredb"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. SslClientKeystoredbSecretId *string `pulumi:"sslClientKeystoredbSecretId"` // (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. SslCrl *string `pulumi:"sslCrl"` - // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. SslKey *string `pulumi:"sslKey"` - // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. SslKeyPassword *string `pulumi:"sslKeyPassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. SslKeyPasswordSecretId *string `pulumi:"sslKeyPasswordSecretId"` @@ -671,6 +706,8 @@ type connectionState struct { SslServerCertificate *string `pulumi:"sslServerCertificate"` // Possible lifecycle states for connection. State *string `pulumi:"state"` + // (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName *string `pulumi:"storageCredentialName"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId *string `pulumi:"streamPoolId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -681,18 +718,31 @@ type connectionState struct { TechnologyType *string `pulumi:"technologyType"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId *string `pulumi:"tenancyId"` + // (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId *string `pulumi:"tenantId"` // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated *string `pulumi:"timeCreated"` // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated *string `pulumi:"timeUpdated"` + // (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + TlsCaFile *string `pulumi:"tlsCaFile"` + // (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFile *string `pulumi:"tlsCertificateKeyFile"` + // (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFilePassword *string `pulumi:"tlsCertificateKeyFilePassword"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId *string `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId *string `pulumi:"tlsCertificateKeyFileSecretId"` // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TriggerRefresh *bool `pulumi:"triggerRefresh"` - // (Updatable) The base64 encoded content of the TrustStore file. + // (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. TrustStore *string `pulumi:"trustStore"` - // (Updatable) The TrustStore password. + // (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. TrustStorePassword *string `pulumi:"trustStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId *string `pulumi:"trustStorePasswordSecretId"` @@ -700,13 +750,13 @@ type connectionState struct { TrustStoreSecretId *string `pulumi:"trustStoreSecretId"` // (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url *string `pulumi:"url"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId *string `pulumi:"userId"` // (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username *string `pulumi:"username"` // (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId *string `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. Wallet *string `pulumi:"wallet"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. WalletSecretId *string `pulumi:"walletSecretId"` @@ -715,7 +765,7 @@ type connectionState struct { type ConnectionState struct { // (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" AccessKeyId pulumi.StringPtrInput - // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. AccountKey pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. AccountKeySecretId pulumi.StringPtrInput @@ -733,9 +783,9 @@ type ConnectionState struct { BootstrapServers ConnectionBootstrapServerArrayInput // (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d ClientId pulumi.StringPtrInput - // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. ClientSecret pulumi.StringPtrInput - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. ClientSecretSecretId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId pulumi.StringPtrInput @@ -745,7 +795,7 @@ type ConnectionState struct { ConnectionString pulumi.StringPtrInput // (Updatable) The connection type. ConnectionType pulumi.StringPtrInput - // (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + // (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl pulumi.StringPtrInput // (Updatable) The base64 encoded content of the consumer.properties file. ConsumerProperties pulumi.StringPtrInput @@ -767,7 +817,7 @@ type ConnectionState struct { DisplayName pulumi.StringPtrInput // (Updatable) Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds pulumi.BoolPtrInput - // (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint pulumi.StringPtrInput // (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' Fingerprint pulumi.StringPtrInput @@ -785,7 +835,7 @@ type ConnectionState struct { JndiInitialContextFactory pulumi.StringPtrInput // (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' JndiProviderUrl pulumi.StringPtrInput - // (Updatable) The password associated to the principal. + // (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. JndiSecurityCredentials pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. JndiSecurityCredentialsSecretId pulumi.StringPtrInput @@ -793,9 +843,9 @@ type ConnectionState struct { JndiSecurityPrincipal pulumi.StringPtrInput // (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the KeyStore file. + // (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. KeyStore pulumi.StringPtrInput - // (Updatable) The KeyStore password. + // (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. KeyStorePassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. KeyStorePasswordSecretId pulumi.StringPtrInput @@ -807,7 +857,7 @@ type ConnectionState struct { Locks ConnectionLockArrayInput // (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. NsgIds pulumi.StringArrayInput - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. PasswordSecretId pulumi.StringPtrInput @@ -817,11 +867,11 @@ type ConnectionState struct { // // The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. PrivateIp pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. PrivateKeyFile pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. PrivateKeyFileSecretId pulumi.StringPtrInput - // (Updatable) Password if the private key file is encrypted. + // (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. PrivateKeyPassphrase pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. PrivateKeyPassphraseSecretId pulumi.StringPtrInput @@ -831,15 +881,15 @@ type ConnectionState struct { PublicKeyFingerprint pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId pulumi.StringPtrInput - // (Updatable) The name of the region. e.g.: us-ashburn-1 + // (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region pulumi.StringPtrInput // (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod pulumi.StringPtrInput - // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. SasToken pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. SasTokenSecretId pulumi.StringPtrInput - // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. SecretAccessKey pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. SecretAccessKeySecretId pulumi.StringPtrInput @@ -847,7 +897,7 @@ type ConnectionState struct { SecurityProtocol pulumi.StringPtrInput // (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` Servers pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. ServiceAccountKeyFile pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. ServiceAccountKeyFileSecretId pulumi.StringPtrInput @@ -855,25 +905,27 @@ type ConnectionState struct { SessionMode pulumi.StringPtrInput // (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi pulumi.BoolPtrInput + // (Updatable) Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal pulumi.BoolPtrInput // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate pulumi.BoolPtrInput // (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. SslCa pulumi.StringPtrInput // (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). SslCert pulumi.StringPtrInput - // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. SslClientKeystash pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. SslClientKeystashSecretId pulumi.StringPtrInput - // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. SslClientKeystoredb pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. SslClientKeystoredbSecretId pulumi.StringPtrInput // (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. SslCrl pulumi.StringPtrInput - // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. SslKey pulumi.StringPtrInput - // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. SslKeyPassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. SslKeyPasswordSecretId pulumi.StringPtrInput @@ -886,6 +938,8 @@ type ConnectionState struct { SslServerCertificate pulumi.StringPtrInput // Possible lifecycle states for connection. State pulumi.StringPtrInput + // (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -896,18 +950,31 @@ type ConnectionState struct { TechnologyType pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId pulumi.StringPtrInput + // (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId pulumi.StringPtrInput // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated pulumi.StringPtrInput // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeUpdated pulumi.StringPtrInput + // (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + TlsCaFile pulumi.StringPtrInput + // (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFile pulumi.StringPtrInput + // (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFilePassword pulumi.StringPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId pulumi.StringPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId pulumi.StringPtrInput // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TriggerRefresh pulumi.BoolPtrInput - // (Updatable) The base64 encoded content of the TrustStore file. + // (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. TrustStore pulumi.StringPtrInput - // (Updatable) The TrustStore password. + // (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. TrustStorePassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId pulumi.StringPtrInput @@ -915,13 +982,13 @@ type ConnectionState struct { TrustStoreSecretId pulumi.StringPtrInput // (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url pulumi.StringPtrInput - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId pulumi.StringPtrInput // (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username pulumi.StringPtrInput // (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringPtrInput - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. Wallet pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. WalletSecretId pulumi.StringPtrInput @@ -934,7 +1001,7 @@ func (ConnectionState) ElementType() reflect.Type { type connectionArgs struct { // (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" AccessKeyId *string `pulumi:"accessKeyId"` - // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. AccountKey *string `pulumi:"accountKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. AccountKeySecretId *string `pulumi:"accountKeySecretId"` @@ -952,9 +1019,9 @@ type connectionArgs struct { BootstrapServers []ConnectionBootstrapServer `pulumi:"bootstrapServers"` // (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d ClientId *string `pulumi:"clientId"` - // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. ClientSecret *string `pulumi:"clientSecret"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. ClientSecretSecretId *string `pulumi:"clientSecretSecretId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId string `pulumi:"compartmentId"` @@ -964,7 +1031,7 @@ type connectionArgs struct { ConnectionString *string `pulumi:"connectionString"` // (Updatable) The connection type. ConnectionType string `pulumi:"connectionType"` - // (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + // (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl *string `pulumi:"connectionUrl"` // (Updatable) The base64 encoded content of the consumer.properties file. ConsumerProperties *string `pulumi:"consumerProperties"` @@ -986,7 +1053,7 @@ type connectionArgs struct { DisplayName string `pulumi:"displayName"` // (Updatable) Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds *bool `pulumi:"doesUseSecretIds"` - // (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint *string `pulumi:"endpoint"` // (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' Fingerprint *string `pulumi:"fingerprint"` @@ -1002,7 +1069,7 @@ type connectionArgs struct { JndiInitialContextFactory *string `pulumi:"jndiInitialContextFactory"` // (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' JndiProviderUrl *string `pulumi:"jndiProviderUrl"` - // (Updatable) The password associated to the principal. + // (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. JndiSecurityCredentials *string `pulumi:"jndiSecurityCredentials"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. JndiSecurityCredentialsSecretId *string `pulumi:"jndiSecurityCredentialsSecretId"` @@ -1010,9 +1077,9 @@ type connectionArgs struct { JndiSecurityPrincipal *string `pulumi:"jndiSecurityPrincipal"` // (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId *string `pulumi:"keyId"` - // (Updatable) The base64 encoded content of the KeyStore file. + // (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. KeyStore *string `pulumi:"keyStore"` - // (Updatable) The KeyStore password. + // (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. KeyStorePassword *string `pulumi:"keyStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. KeyStorePasswordSecretId *string `pulumi:"keyStorePasswordSecretId"` @@ -1022,7 +1089,7 @@ type connectionArgs struct { Locks []ConnectionLock `pulumi:"locks"` // (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. NsgIds []string `pulumi:"nsgIds"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password *string `pulumi:"password"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. PasswordSecretId *string `pulumi:"passwordSecretId"` @@ -1032,11 +1099,11 @@ type connectionArgs struct { // // The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. PrivateIp *string `pulumi:"privateIp"` - // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. PrivateKeyFile *string `pulumi:"privateKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. PrivateKeyFileSecretId *string `pulumi:"privateKeyFileSecretId"` - // (Updatable) Password if the private key file is encrypted. + // (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. PrivateKeyPassphrase *string `pulumi:"privateKeyPassphrase"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. PrivateKeyPassphraseSecretId *string `pulumi:"privateKeyPassphraseSecretId"` @@ -1046,15 +1113,15 @@ type connectionArgs struct { PublicKeyFingerprint *string `pulumi:"publicKeyFingerprint"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId *string `pulumi:"redisClusterId"` - // (Updatable) The name of the region. e.g.: us-ashburn-1 + // (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region *string `pulumi:"region"` // (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod *string `pulumi:"routingMethod"` - // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. SasToken *string `pulumi:"sasToken"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. SasTokenSecretId *string `pulumi:"sasTokenSecretId"` - // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. SecretAccessKey *string `pulumi:"secretAccessKey"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. SecretAccessKeySecretId *string `pulumi:"secretAccessKeySecretId"` @@ -1062,7 +1129,7 @@ type connectionArgs struct { SecurityProtocol *string `pulumi:"securityProtocol"` // (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` Servers *string `pulumi:"servers"` - // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. ServiceAccountKeyFile *string `pulumi:"serviceAccountKeyFile"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. ServiceAccountKeyFileSecretId *string `pulumi:"serviceAccountKeyFileSecretId"` @@ -1070,25 +1137,27 @@ type connectionArgs struct { SessionMode *string `pulumi:"sessionMode"` // (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi *bool `pulumi:"shouldUseJndi"` + // (Updatable) Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal *bool `pulumi:"shouldUseResourcePrincipal"` // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate *bool `pulumi:"shouldValidateServerCertificate"` // (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. SslCa *string `pulumi:"sslCa"` // (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). SslCert *string `pulumi:"sslCert"` - // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. SslClientKeystash *string `pulumi:"sslClientKeystash"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. SslClientKeystashSecretId *string `pulumi:"sslClientKeystashSecretId"` - // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. SslClientKeystoredb *string `pulumi:"sslClientKeystoredb"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. SslClientKeystoredbSecretId *string `pulumi:"sslClientKeystoredbSecretId"` // (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. SslCrl *string `pulumi:"sslCrl"` - // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. SslKey *string `pulumi:"sslKey"` - // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. SslKeyPassword *string `pulumi:"sslKeyPassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. SslKeyPasswordSecretId *string `pulumi:"sslKeyPasswordSecretId"` @@ -1099,6 +1168,8 @@ type connectionArgs struct { SslMode *string `pulumi:"sslMode"` // (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. SslServerCertificate *string `pulumi:"sslServerCertificate"` + // (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName *string `pulumi:"storageCredentialName"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId *string `pulumi:"streamPoolId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -1107,14 +1178,27 @@ type connectionArgs struct { TechnologyType string `pulumi:"technologyType"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId *string `pulumi:"tenancyId"` + // (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId *string `pulumi:"tenantId"` + // (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + TlsCaFile *string `pulumi:"tlsCaFile"` + // (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFile *string `pulumi:"tlsCertificateKeyFile"` + // (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFilePassword *string `pulumi:"tlsCertificateKeyFilePassword"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId *string `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId *string `pulumi:"tlsCertificateKeyFileSecretId"` // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TriggerRefresh *bool `pulumi:"triggerRefresh"` - // (Updatable) The base64 encoded content of the TrustStore file. + // (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. TrustStore *string `pulumi:"trustStore"` - // (Updatable) The TrustStore password. + // (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. TrustStorePassword *string `pulumi:"trustStorePassword"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId *string `pulumi:"trustStorePasswordSecretId"` @@ -1122,13 +1206,13 @@ type connectionArgs struct { TrustStoreSecretId *string `pulumi:"trustStoreSecretId"` // (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url *string `pulumi:"url"` - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId *string `pulumi:"userId"` // (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username *string `pulumi:"username"` // (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId *string `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. Wallet *string `pulumi:"wallet"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. WalletSecretId *string `pulumi:"walletSecretId"` @@ -1138,7 +1222,7 @@ type connectionArgs struct { type ConnectionArgs struct { // (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" AccessKeyId pulumi.StringPtrInput - // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + // (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. AccountKey pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. AccountKeySecretId pulumi.StringPtrInput @@ -1156,9 +1240,9 @@ type ConnectionArgs struct { BootstrapServers ConnectionBootstrapServerArrayInput // (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d ClientId pulumi.StringPtrInput - // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + // (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. ClientSecret pulumi.StringPtrInput - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. ClientSecretSecretId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. CompartmentId pulumi.StringInput @@ -1168,7 +1252,7 @@ type ConnectionArgs struct { ConnectionString pulumi.StringPtrInput // (Updatable) The connection type. ConnectionType pulumi.StringInput - // (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + // (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl pulumi.StringPtrInput // (Updatable) The base64 encoded content of the consumer.properties file. ConsumerProperties pulumi.StringPtrInput @@ -1190,7 +1274,7 @@ type ConnectionArgs struct { DisplayName pulumi.StringInput // (Updatable) Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds pulumi.BoolPtrInput - // (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint pulumi.StringPtrInput // (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' Fingerprint pulumi.StringPtrInput @@ -1206,7 +1290,7 @@ type ConnectionArgs struct { JndiInitialContextFactory pulumi.StringPtrInput // (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' JndiProviderUrl pulumi.StringPtrInput - // (Updatable) The password associated to the principal. + // (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. JndiSecurityCredentials pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. JndiSecurityCredentialsSecretId pulumi.StringPtrInput @@ -1214,9 +1298,9 @@ type ConnectionArgs struct { JndiSecurityPrincipal pulumi.StringPtrInput // (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the KeyStore file. + // (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. KeyStore pulumi.StringPtrInput - // (Updatable) The KeyStore password. + // (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. KeyStorePassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. KeyStorePasswordSecretId pulumi.StringPtrInput @@ -1226,7 +1310,7 @@ type ConnectionArgs struct { Locks ConnectionLockArrayInput // (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. NsgIds pulumi.StringArrayInput - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. PasswordSecretId pulumi.StringPtrInput @@ -1236,11 +1320,11 @@ type ConnectionArgs struct { // // The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. PrivateIp pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + // (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. PrivateKeyFile pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. PrivateKeyFileSecretId pulumi.StringPtrInput - // (Updatable) Password if the private key file is encrypted. + // (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. PrivateKeyPassphrase pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. PrivateKeyPassphraseSecretId pulumi.StringPtrInput @@ -1250,15 +1334,15 @@ type ConnectionArgs struct { PublicKeyFingerprint pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId pulumi.StringPtrInput - // (Updatable) The name of the region. e.g.: us-ashburn-1 + // (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region pulumi.StringPtrInput // (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod pulumi.StringPtrInput - // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + // (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. SasToken pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. SasTokenSecretId pulumi.StringPtrInput - // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + // (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. SecretAccessKey pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. SecretAccessKeySecretId pulumi.StringPtrInput @@ -1266,7 +1350,7 @@ type ConnectionArgs struct { SecurityProtocol pulumi.StringPtrInput // (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` Servers pulumi.StringPtrInput - // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + // (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. ServiceAccountKeyFile pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. ServiceAccountKeyFileSecretId pulumi.StringPtrInput @@ -1274,25 +1358,27 @@ type ConnectionArgs struct { SessionMode pulumi.StringPtrInput // (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi pulumi.BoolPtrInput + // (Updatable) Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal pulumi.BoolPtrInput // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate pulumi.BoolPtrInput // (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. SslCa pulumi.StringPtrInput // (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). SslCert pulumi.StringPtrInput - // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + // (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. SslClientKeystash pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. SslClientKeystashSecretId pulumi.StringPtrInput - // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + // (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. SslClientKeystoredb pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. SslClientKeystoredbSecretId pulumi.StringPtrInput // (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. SslCrl pulumi.StringPtrInput - // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + // (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. SslKey pulumi.StringPtrInput - // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + // (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. SslKeyPassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. SslKeyPasswordSecretId pulumi.StringPtrInput @@ -1303,6 +1389,8 @@ type ConnectionArgs struct { SslMode pulumi.StringPtrInput // (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. SslServerCertificate pulumi.StringPtrInput + // (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -1311,14 +1399,27 @@ type ConnectionArgs struct { TechnologyType pulumi.StringInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId pulumi.StringPtrInput + // (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId pulumi.StringPtrInput + // (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + TlsCaFile pulumi.StringPtrInput + // (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFile pulumi.StringPtrInput + // (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + TlsCertificateKeyFilePassword pulumi.StringPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId pulumi.StringPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId pulumi.StringPtrInput // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TriggerRefresh pulumi.BoolPtrInput - // (Updatable) The base64 encoded content of the TrustStore file. + // (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. TrustStore pulumi.StringPtrInput - // (Updatable) The TrustStore password. + // (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. TrustStorePassword pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId pulumi.StringPtrInput @@ -1326,13 +1427,13 @@ type ConnectionArgs struct { TrustStoreSecretId pulumi.StringPtrInput // (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url pulumi.StringPtrInput - // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId pulumi.StringPtrInput // (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username pulumi.StringPtrInput // (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringPtrInput - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. Wallet pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. WalletSecretId pulumi.StringPtrInput @@ -1430,7 +1531,7 @@ func (o ConnectionOutput) AccessKeyId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.AccessKeyId }).(pulumi.StringOutput) } -// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== +// (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) AccountKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.AccountKey }).(pulumi.StringPtrOutput) } @@ -1475,12 +1576,12 @@ func (o ConnectionOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) } -// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 +// (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) ClientSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.ClientSecret }).(pulumi.StringPtrOutput) } -// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. func (o ConnectionOutput) ClientSecretSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.ClientSecretSecretId }).(pulumi.StringPtrOutput) } @@ -1505,7 +1606,7 @@ func (o ConnectionOutput) ConnectionType() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.ConnectionType }).(pulumi.StringOutput) } -// (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' +// (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' func (o ConnectionOutput) ConnectionUrl() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.ConnectionUrl }).(pulumi.StringOutput) } @@ -1560,7 +1661,7 @@ func (o ConnectionOutput) DoesUseSecretIds() pulumi.BoolOutput { return o.ApplyT(func(v *Connection) pulumi.BoolOutput { return v.DoesUseSecretIds }).(pulumi.BoolOutput) } -// (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net +// (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com func (o ConnectionOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Endpoint }).(pulumi.StringOutput) } @@ -1605,7 +1706,7 @@ func (o ConnectionOutput) JndiProviderUrl() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.JndiProviderUrl }).(pulumi.StringOutput) } -// (Updatable) The password associated to the principal. +// (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) JndiSecurityCredentials() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.JndiSecurityCredentials }).(pulumi.StringPtrOutput) } @@ -1625,12 +1726,12 @@ func (o ConnectionOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.KeyId }).(pulumi.StringOutput) } -// (Updatable) The base64 encoded content of the KeyStore file. +// (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) KeyStore() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.KeyStore }).(pulumi.StringPtrOutput) } -// (Updatable) The KeyStore password. +// (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) KeyStorePassword() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.KeyStorePassword }).(pulumi.StringPtrOutput) } @@ -1660,7 +1761,7 @@ func (o ConnectionOutput) NsgIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Connection) pulumi.StringArrayOutput { return v.NsgIds }).(pulumi.StringArrayOutput) } -// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. +// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.Password }).(pulumi.StringPtrOutput) } @@ -1682,7 +1783,7 @@ func (o ConnectionOutput) PrivateIp() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) } -// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm +// (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) PrivateKeyFile() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.PrivateKeyFile }).(pulumi.StringPtrOutput) } @@ -1692,7 +1793,7 @@ func (o ConnectionOutput) PrivateKeyFileSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.PrivateKeyFileSecretId }).(pulumi.StringPtrOutput) } -// (Updatable) Password if the private key file is encrypted. +// (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) PrivateKeyPassphrase() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.PrivateKeyPassphrase }).(pulumi.StringPtrOutput) } @@ -1717,7 +1818,7 @@ func (o ConnectionOutput) RedisClusterId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.RedisClusterId }).(pulumi.StringOutput) } -// (Updatable) The name of the region. e.g.: us-ashburn-1 +// (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. func (o ConnectionOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } @@ -1727,7 +1828,7 @@ func (o ConnectionOutput) RoutingMethod() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.RoutingMethod }).(pulumi.StringOutput) } -// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D +// (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SasToken() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SasToken }).(pulumi.StringPtrOutput) } @@ -1737,7 +1838,7 @@ func (o ConnectionOutput) SasTokenSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SasTokenSecretId }).(pulumi.StringPtrOutput) } -// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" +// (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SecretAccessKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SecretAccessKey }).(pulumi.StringPtrOutput) } @@ -1757,7 +1858,7 @@ func (o ConnectionOutput) Servers() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Servers }).(pulumi.StringOutput) } -// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. +// (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) ServiceAccountKeyFile() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.ServiceAccountKeyFile }).(pulumi.StringPtrOutput) } @@ -1777,6 +1878,11 @@ func (o ConnectionOutput) ShouldUseJndi() pulumi.BoolOutput { return o.ApplyT(func(v *Connection) pulumi.BoolOutput { return v.ShouldUseJndi }).(pulumi.BoolOutput) } +// (Updatable) Indicates that the user intents to connect to the instance through resource principal. +func (o ConnectionOutput) ShouldUseResourcePrincipal() pulumi.BoolOutput { + return o.ApplyT(func(v *Connection) pulumi.BoolOutput { return v.ShouldUseResourcePrincipal }).(pulumi.BoolOutput) +} + // (Updatable) If set to true, the driver validates the certificate that is sent by the database server. func (o ConnectionOutput) ShouldValidateServerCertificate() pulumi.BoolOutput { return o.ApplyT(func(v *Connection) pulumi.BoolOutput { return v.ShouldValidateServerCertificate }).(pulumi.BoolOutput) @@ -1792,7 +1898,7 @@ func (o ConnectionOutput) SslCert() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.SslCert }).(pulumi.StringOutput) } -// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. +// (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SslClientKeystash() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SslClientKeystash }).(pulumi.StringPtrOutput) } @@ -1802,7 +1908,7 @@ func (o ConnectionOutput) SslClientKeystashSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SslClientKeystashSecretId }).(pulumi.StringPtrOutput) } -// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. +// (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SslClientKeystoredb() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SslClientKeystoredb }).(pulumi.StringPtrOutput) } @@ -1817,12 +1923,12 @@ func (o ConnectionOutput) SslCrl() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.SslCrl }).(pulumi.StringOutput) } -// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). +// (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SslKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SslKey }).(pulumi.StringPtrOutput) } -// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. +// (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) SslKeyPassword() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.SslKeyPassword }).(pulumi.StringPtrOutput) } @@ -1853,6 +1959,11 @@ func (o ConnectionOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. +func (o ConnectionOutput) StorageCredentialName() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.StorageCredentialName }).(pulumi.StringOutput) +} + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. func (o ConnectionOutput) StreamPoolId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.StreamPoolId }).(pulumi.StringOutput) @@ -1878,6 +1989,11 @@ func (o ConnectionOutput) TenancyId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TenancyId }).(pulumi.StringOutput) } +// (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f +func (o ConnectionOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TenantId }).(pulumi.StringOutput) +} + // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. func (o ConnectionOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) @@ -1888,6 +2004,32 @@ func (o ConnectionOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } +// (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). +func (o ConnectionOutput) TlsCaFile() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TlsCaFile }).(pulumi.StringOutput) +} + +// (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. +func (o ConnectionOutput) TlsCertificateKeyFile() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TlsCertificateKeyFile }).(pulumi.StringOutput) +} + +// (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. +func (o ConnectionOutput) TlsCertificateKeyFilePassword() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TlsCertificateKeyFilePassword }).(pulumi.StringOutput) +} + +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. +func (o ConnectionOutput) TlsCertificateKeyFilePasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TlsCertificateKeyFilePasswordSecretId }).(pulumi.StringOutput) +} + +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. +// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. +func (o ConnectionOutput) TlsCertificateKeyFileSecretId() pulumi.StringOutput { + return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.TlsCertificateKeyFileSecretId }).(pulumi.StringOutput) +} + // (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). // // ** IMPORTANT ** @@ -1896,12 +2038,12 @@ func (o ConnectionOutput) TriggerRefresh() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Connection) pulumi.BoolPtrOutput { return v.TriggerRefresh }).(pulumi.BoolPtrOutput) } -// (Updatable) The base64 encoded content of the TrustStore file. +// (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) TrustStore() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.TrustStore }).(pulumi.StringPtrOutput) } -// (Updatable) The TrustStore password. +// (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) TrustStorePassword() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.TrustStorePassword }).(pulumi.StringPtrOutput) } @@ -1921,7 +2063,7 @@ func (o ConnectionOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) } -// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. func (o ConnectionOutput) UserId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) } @@ -1936,7 +2078,7 @@ func (o ConnectionOutput) VaultId() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.VaultId }).(pulumi.StringOutput) } -// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. +// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. func (o ConnectionOutput) Wallet() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connection) pulumi.StringPtrOutput { return v.Wallet }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/goldengate/databaseRegistration.go b/sdk/go/oci/goldengate/databaseRegistration.go index 8902994799..48cde7657b 100644 --- a/sdk/go/oci/goldengate/databaseRegistration.go +++ b/sdk/go/oci/goldengate/databaseRegistration.go @@ -98,7 +98,7 @@ type DatabaseRegistration struct { KeyId pulumi.StringOutput `pulumi:"keyId"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringOutput `pulumi:"password"` // A Private Endpoint IP address created in the customer's subnet. A customer database can expect network traffic initiated by GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed. RcePrivateIp pulumi.StringOutput `pulumi:"rcePrivateIp"` @@ -122,7 +122,7 @@ type DatabaseRegistration struct { Username pulumi.StringOutput `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -208,7 +208,7 @@ type databaseRegistrationState struct { KeyId *string `pulumi:"keyId"` // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `pulumi:"lifecycleDetails"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password *string `pulumi:"password"` // A Private Endpoint IP address created in the customer's subnet. A customer database can expect network traffic initiated by GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed. RcePrivateIp *string `pulumi:"rcePrivateIp"` @@ -232,7 +232,7 @@ type databaseRegistrationState struct { Username *string `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId *string `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -264,7 +264,7 @@ type DatabaseRegistrationState struct { KeyId pulumi.StringPtrInput // Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails pulumi.StringPtrInput - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringPtrInput // A Private Endpoint IP address created in the customer's subnet. A customer database can expect network traffic initiated by GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed. RcePrivateIp pulumi.StringPtrInput @@ -288,7 +288,7 @@ type DatabaseRegistrationState struct { Username pulumi.StringPtrInput // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringPtrInput - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -322,7 +322,7 @@ type databaseRegistrationArgs struct { IpAddress *string `pulumi:"ipAddress"` // Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId *string `pulumi:"keyId"` - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password string `pulumi:"password"` // The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. SecretCompartmentId *string `pulumi:"secretCompartmentId"` @@ -334,7 +334,7 @@ type databaseRegistrationArgs struct { Username string `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId *string `pulumi:"vaultId"` - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -365,7 +365,7 @@ type DatabaseRegistrationArgs struct { IpAddress pulumi.StringPtrInput // Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. KeyId pulumi.StringPtrInput - // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + // (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. Password pulumi.StringInput // The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. SecretCompartmentId pulumi.StringPtrInput @@ -377,7 +377,7 @@ type DatabaseRegistrationArgs struct { Username pulumi.StringInput // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringPtrInput - // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + // (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -531,7 +531,7 @@ func (o DatabaseRegistrationOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseRegistration) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } -// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. +// (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. func (o DatabaseRegistrationOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseRegistration) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) } @@ -591,7 +591,7 @@ func (o DatabaseRegistrationOutput) VaultId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseRegistration) pulumi.StringOutput { return v.VaultId }).(pulumi.StringOutput) } -// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. +// (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. // // ** IMPORTANT ** // 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/goldengate/getConnection.go b/sdk/go/oci/goldengate/getConnection.go index 6f417cae31..86f96ee765 100644 --- a/sdk/go/oci/goldengate/getConnection.go +++ b/sdk/go/oci/goldengate/getConnection.go @@ -72,6 +72,9 @@ type LookupConnectionResult struct { // Used authentication mechanism to be provided for the following connection types: // * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE // * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + // * DATABRICKS - Required fields by authentication types: + // * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + // * OAUTH_M2M: user must enter clientId and clientSecret AuthenticationType string `pulumi:"authenticationType"` // Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f AzureTenantId string `pulumi:"azureTenantId"` @@ -96,6 +99,7 @@ type LookupConnectionResult struct { // * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' // * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' // * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + // * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl string `pulumi:"connectionUrl"` // The base64 encoded content of the consumer.properties file. ConsumerProperties string `pulumi:"consumerProperties"` @@ -115,9 +119,10 @@ type LookupConnectionResult struct { // An object's Display Name. DisplayName string `pulumi:"displayName"` // Indicates that sensitive attributes are provided via Secrets. - DoesUseSecretIds bool `pulumi:"doesUseSecretIds"` - Endpoint string `pulumi:"endpoint"` - Fingerprint string `pulumi:"fingerprint"` + DoesUseSecretIds bool `pulumi:"doesUseSecretIds"` + // Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + Endpoint string `pulumi:"endpoint"` + Fingerprint string `pulumi:"fingerprint"` // A 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 name or address of a host. @@ -173,7 +178,7 @@ type LookupConnectionResult struct { PublicKeyFingerprint string `pulumi:"publicKeyFingerprint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId string `pulumi:"redisClusterId"` - // The name of the region. e.g.: us-ashburn-1 + // The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region string `pulumi:"region"` // Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod string `pulumi:"routingMethod"` @@ -197,9 +202,11 @@ type LookupConnectionResult struct { SessionMode string `pulumi:"sessionMode"` // If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi bool `pulumi:"shouldUseJndi"` + // Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal bool `pulumi:"shouldUseResourcePrincipal"` // If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate bool `pulumi:"shouldValidateServerCertificate"` - // Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + // Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). SslCa string `pulumi:"sslCa"` SslCert string `pulumi:"sslCert"` SslClientKeystash string `pulumi:"sslClientKeystash"` @@ -221,6 +228,8 @@ type LookupConnectionResult struct { SslServerCertificate string `pulumi:"sslServerCertificate"` // Possible lifecycle states for connection. State string `pulumi:"state"` + // Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName string `pulumi:"storageCredentialName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId string `pulumi:"streamPoolId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -231,22 +240,32 @@ type LookupConnectionResult struct { TechnologyType string `pulumi:"technologyType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId string `pulumi:"tenancyId"` + // Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId string `pulumi:"tenantId"` // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated string `pulumi:"timeCreated"` // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. - TimeUpdated string `pulumi:"timeUpdated"` - TriggerRefresh bool `pulumi:"triggerRefresh"` - TrustStore string `pulumi:"trustStore"` - TrustStorePassword string `pulumi:"trustStorePassword"` + TimeUpdated string `pulumi:"timeUpdated"` + TlsCaFile string `pulumi:"tlsCaFile"` + TlsCertificateKeyFile string `pulumi:"tlsCertificateKeyFile"` + TlsCertificateKeyFilePassword string `pulumi:"tlsCertificateKeyFilePassword"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId string `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId string `pulumi:"tlsCertificateKeyFileSecretId"` + TriggerRefresh bool `pulumi:"triggerRefresh"` + TrustStore string `pulumi:"trustStore"` + TrustStorePassword string `pulumi:"trustStorePassword"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId string `pulumi:"trustStorePasswordSecretId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. TrustStoreSecretId string `pulumi:"trustStoreSecretId"` // Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url string `pulumi:"url"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId string `pulumi:"userId"` - // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username string `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId string `pulumi:"vaultId"` @@ -321,6 +340,9 @@ func (o LookupConnectionResultOutput) AuthenticationMode() pulumi.StringOutput { // Used authentication mechanism to be provided for the following connection types: // * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE // * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. +// * DATABRICKS - Required fields by authentication types: +// * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password +// * OAUTH_M2M: user must enter clientId and clientSecret func (o LookupConnectionResultOutput) AuthenticationType() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.AuthenticationType }).(pulumi.StringOutput) } @@ -378,6 +400,7 @@ func (o LookupConnectionResultOutput) ConnectionType() pulumi.StringOutput { // * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' // * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' // * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' +// * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' func (o LookupConnectionResultOutput) ConnectionUrl() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.ConnectionUrl }).(pulumi.StringOutput) } @@ -431,6 +454,7 @@ func (o LookupConnectionResultOutput) DoesUseSecretIds() pulumi.BoolOutput { return o.ApplyT(func(v LookupConnectionResult) bool { return v.DoesUseSecretIds }).(pulumi.BoolOutput) } +// Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com func (o LookupConnectionResultOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.Endpoint }).(pulumi.StringOutput) } @@ -584,7 +608,7 @@ func (o LookupConnectionResultOutput) RedisClusterId() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.RedisClusterId }).(pulumi.StringOutput) } -// The name of the region. e.g.: us-ashburn-1 +// The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. func (o LookupConnectionResultOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.Region }).(pulumi.StringOutput) } @@ -644,12 +668,17 @@ func (o LookupConnectionResultOutput) ShouldUseJndi() pulumi.BoolOutput { return o.ApplyT(func(v LookupConnectionResult) bool { return v.ShouldUseJndi }).(pulumi.BoolOutput) } +// Indicates that the user intents to connect to the instance through resource principal. +func (o LookupConnectionResultOutput) ShouldUseResourcePrincipal() pulumi.BoolOutput { + return o.ApplyT(func(v LookupConnectionResult) bool { return v.ShouldUseResourcePrincipal }).(pulumi.BoolOutput) +} + // If set to true, the driver validates the certificate that is sent by the database server. func (o LookupConnectionResultOutput) ShouldValidateServerCertificate() pulumi.BoolOutput { return o.ApplyT(func(v LookupConnectionResult) bool { return v.ShouldValidateServerCertificate }).(pulumi.BoolOutput) } -// Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). +// Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). func (o LookupConnectionResultOutput) SslCa() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.SslCa }).(pulumi.StringOutput) } @@ -713,6 +742,11 @@ func (o LookupConnectionResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.State }).(pulumi.StringOutput) } +// Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. +func (o LookupConnectionResultOutput) StorageCredentialName() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.StorageCredentialName }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. func (o LookupConnectionResultOutput) StreamPoolId() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.StreamPoolId }).(pulumi.StringOutput) @@ -738,6 +772,11 @@ func (o LookupConnectionResultOutput) TenancyId() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.TenancyId }).(pulumi.StringOutput) } +// Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f +func (o LookupConnectionResultOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TenantId }).(pulumi.StringOutput) +} + // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. func (o LookupConnectionResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -748,6 +787,29 @@ func (o LookupConnectionResultOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) } +func (o LookupConnectionResultOutput) TlsCaFile() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TlsCaFile }).(pulumi.StringOutput) +} + +func (o LookupConnectionResultOutput) TlsCertificateKeyFile() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TlsCertificateKeyFile }).(pulumi.StringOutput) +} + +func (o LookupConnectionResultOutput) TlsCertificateKeyFilePassword() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TlsCertificateKeyFilePassword }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. +func (o LookupConnectionResultOutput) TlsCertificateKeyFilePasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TlsCertificateKeyFilePasswordSecretId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. +// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. +func (o LookupConnectionResultOutput) TlsCertificateKeyFileSecretId() pulumi.StringOutput { + return o.ApplyT(func(v LookupConnectionResult) string { return v.TlsCertificateKeyFileSecretId }).(pulumi.StringOutput) +} + func (o LookupConnectionResultOutput) TriggerRefresh() pulumi.BoolOutput { return o.ApplyT(func(v LookupConnectionResult) bool { return v.TriggerRefresh }).(pulumi.BoolOutput) } @@ -765,7 +827,7 @@ func (o LookupConnectionResultOutput) TrustStorePasswordSecretId() pulumi.String return o.ApplyT(func(v LookupConnectionResult) string { return v.TrustStorePasswordSecretId }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. func (o LookupConnectionResultOutput) TrustStoreSecretId() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.TrustStoreSecretId }).(pulumi.StringOutput) } @@ -775,12 +837,12 @@ func (o LookupConnectionResultOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.Url }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. func (o LookupConnectionResultOutput) UserId() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.UserId }).(pulumi.StringOutput) } -// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. +// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. func (o LookupConnectionResultOutput) Username() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.Username }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/goldengate/pulumiTypes.go b/sdk/go/oci/goldengate/pulumiTypes.go index 31c5346b57..6422f309af 100644 --- a/sdk/go/oci/goldengate/pulumiTypes.go +++ b/sdk/go/oci/goldengate/pulumiTypes.go @@ -3765,6 +3765,9 @@ type GetConnectionsConnectionCollectionItem struct { // Used authentication mechanism to be provided for the following connection types: // * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS // * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + // * DATABRICKS - Required fields by authentication types: + // * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + // * OAUTH_M2M: user must enter clientId and clientSecret AuthenticationType string `pulumi:"authenticationType"` // Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f AzureTenantId string `pulumi:"azureTenantId"` @@ -3788,6 +3791,7 @@ type GetConnectionsConnectionCollectionItem struct { // * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' // * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' // * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + // * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl string `pulumi:"connectionUrl"` // The base64 encoded content of the consumer.properties file. ConsumerProperties string `pulumi:"consumerProperties"` @@ -3808,7 +3812,7 @@ type GetConnectionsConnectionCollectionItem struct { DisplayName string `pulumi:"displayName"` // Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds bool `pulumi:"doesUseSecretIds"` - // Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint string `pulumi:"endpoint"` Fingerprint string `pulumi:"fingerprint"` // A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` @@ -3866,7 +3870,7 @@ type GetConnectionsConnectionCollectionItem struct { PublicKeyFingerprint string `pulumi:"publicKeyFingerprint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId string `pulumi:"redisClusterId"` - // The name of the region. e.g.: us-ashburn-1 + // The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region string `pulumi:"region"` // Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod string `pulumi:"routingMethod"` @@ -3890,9 +3894,11 @@ type GetConnectionsConnectionCollectionItem struct { SessionMode string `pulumi:"sessionMode"` // If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi bool `pulumi:"shouldUseJndi"` + // Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal bool `pulumi:"shouldUseResourcePrincipal"` // If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate bool `pulumi:"shouldValidateServerCertificate"` - // Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + // Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). SslCa string `pulumi:"sslCa"` SslCert string `pulumi:"sslCert"` SslClientKeystash string `pulumi:"sslClientKeystash"` @@ -3914,6 +3920,8 @@ type GetConnectionsConnectionCollectionItem struct { SslServerCertificate string `pulumi:"sslServerCertificate"` // A filter to return only connections having the 'lifecycleState' given. State string `pulumi:"state"` + // Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName string `pulumi:"storageCredentialName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId string `pulumi:"streamPoolId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -3924,22 +3932,32 @@ type GetConnectionsConnectionCollectionItem struct { TechnologyType string `pulumi:"technologyType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId string `pulumi:"tenancyId"` + // Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId string `pulumi:"tenantId"` // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated string `pulumi:"timeCreated"` // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. - TimeUpdated string `pulumi:"timeUpdated"` - TriggerRefresh bool `pulumi:"triggerRefresh"` - TrustStore string `pulumi:"trustStore"` - TrustStorePassword string `pulumi:"trustStorePassword"` + TimeUpdated string `pulumi:"timeUpdated"` + TlsCaFile string `pulumi:"tlsCaFile"` + TlsCertificateKeyFile string `pulumi:"tlsCertificateKeyFile"` + TlsCertificateKeyFilePassword string `pulumi:"tlsCertificateKeyFilePassword"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId string `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId string `pulumi:"tlsCertificateKeyFileSecretId"` + TriggerRefresh bool `pulumi:"triggerRefresh"` + TrustStore string `pulumi:"trustStore"` + TrustStorePassword string `pulumi:"trustStorePassword"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId string `pulumi:"trustStorePasswordSecretId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. TrustStoreSecretId string `pulumi:"trustStoreSecretId"` // Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url string `pulumi:"url"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId string `pulumi:"userId"` - // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username string `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId string `pulumi:"vaultId"` @@ -3974,6 +3992,9 @@ type GetConnectionsConnectionCollectionItemArgs struct { // Used authentication mechanism to be provided for the following connection types: // * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS // * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + // * DATABRICKS - Required fields by authentication types: + // * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + // * OAUTH_M2M: user must enter clientId and clientSecret AuthenticationType pulumi.StringInput `pulumi:"authenticationType"` // Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f AzureTenantId pulumi.StringInput `pulumi:"azureTenantId"` @@ -3997,6 +4018,7 @@ type GetConnectionsConnectionCollectionItemArgs struct { // * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' // * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' // * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + // * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' ConnectionUrl pulumi.StringInput `pulumi:"connectionUrl"` // The base64 encoded content of the consumer.properties file. ConsumerProperties pulumi.StringInput `pulumi:"consumerProperties"` @@ -4017,7 +4039,7 @@ type GetConnectionsConnectionCollectionItemArgs struct { DisplayName pulumi.StringInput `pulumi:"displayName"` // Indicates that sensitive attributes are provided via Secrets. DoesUseSecretIds pulumi.BoolInput `pulumi:"doesUseSecretIds"` - // Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + // Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com Endpoint pulumi.StringInput `pulumi:"endpoint"` Fingerprint pulumi.StringInput `pulumi:"fingerprint"` // A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` @@ -4075,7 +4097,7 @@ type GetConnectionsConnectionCollectionItemArgs struct { PublicKeyFingerprint pulumi.StringInput `pulumi:"publicKeyFingerprint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. RedisClusterId pulumi.StringInput `pulumi:"redisClusterId"` - // The name of the region. e.g.: us-ashburn-1 + // The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. Region pulumi.StringInput `pulumi:"region"` // Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. RoutingMethod pulumi.StringInput `pulumi:"routingMethod"` @@ -4099,9 +4121,11 @@ type GetConnectionsConnectionCollectionItemArgs struct { SessionMode pulumi.StringInput `pulumi:"sessionMode"` // If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. ShouldUseJndi pulumi.BoolInput `pulumi:"shouldUseJndi"` + // Indicates that the user intents to connect to the instance through resource principal. + ShouldUseResourcePrincipal pulumi.BoolInput `pulumi:"shouldUseResourcePrincipal"` // If set to true, the driver validates the certificate that is sent by the database server. ShouldValidateServerCertificate pulumi.BoolInput `pulumi:"shouldValidateServerCertificate"` - // Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + // Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). SslCa pulumi.StringInput `pulumi:"sslCa"` SslCert pulumi.StringInput `pulumi:"sslCert"` SslClientKeystash pulumi.StringInput `pulumi:"sslClientKeystash"` @@ -4123,6 +4147,8 @@ type GetConnectionsConnectionCollectionItemArgs struct { SslServerCertificate pulumi.StringInput `pulumi:"sslServerCertificate"` // A filter to return only connections having the 'lifecycleState' given. State pulumi.StringInput `pulumi:"state"` + // Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + StorageCredentialName pulumi.StringInput `pulumi:"storageCredentialName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. StreamPoolId pulumi.StringInput `pulumi:"streamPoolId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. @@ -4133,22 +4159,32 @@ type GetConnectionsConnectionCollectionItemArgs struct { TechnologyType pulumi.StringInput `pulumi:"technologyType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. TenancyId pulumi.StringInput `pulumi:"tenancyId"` + // Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + TenantId pulumi.StringInput `pulumi:"tenantId"` // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - TriggerRefresh pulumi.BoolInput `pulumi:"triggerRefresh"` - TrustStore pulumi.StringInput `pulumi:"trustStore"` - TrustStorePassword pulumi.StringInput `pulumi:"trustStorePassword"` + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + TlsCaFile pulumi.StringInput `pulumi:"tlsCaFile"` + TlsCertificateKeyFile pulumi.StringInput `pulumi:"tlsCertificateKeyFile"` + TlsCertificateKeyFilePassword pulumi.StringInput `pulumi:"tlsCertificateKeyFilePassword"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + TlsCertificateKeyFilePasswordSecretId pulumi.StringInput `pulumi:"tlsCertificateKeyFilePasswordSecretId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + // * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + TlsCertificateKeyFileSecretId pulumi.StringInput `pulumi:"tlsCertificateKeyFileSecretId"` + TriggerRefresh pulumi.BoolInput `pulumi:"triggerRefresh"` + TrustStore pulumi.StringInput `pulumi:"trustStore"` + TrustStorePassword pulumi.StringInput `pulumi:"trustStorePassword"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. TrustStorePasswordSecretId pulumi.StringInput `pulumi:"trustStorePasswordSecretId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. TrustStoreSecretId pulumi.StringInput `pulumi:"trustStoreSecretId"` // Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' Url pulumi.StringInput `pulumi:"url"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. UserId pulumi.StringInput `pulumi:"userId"` - // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + // The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. Username pulumi.StringInput `pulumi:"username"` // Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. VaultId pulumi.StringInput `pulumi:"vaultId"` @@ -4242,6 +4278,9 @@ func (o GetConnectionsConnectionCollectionItemOutput) AuthenticationMode() pulum // Used authentication mechanism to be provided for the following connection types: // * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS // * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. +// * DATABRICKS - Required fields by authentication types: +// * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password +// * OAUTH_M2M: user must enter clientId and clientSecret func (o GetConnectionsConnectionCollectionItemOutput) AuthenticationType() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.AuthenticationType }).(pulumi.StringOutput) } @@ -4297,6 +4336,7 @@ func (o GetConnectionsConnectionCollectionItemOutput) ConnectionType() pulumi.St // * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' // * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' // * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' +// * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' func (o GetConnectionsConnectionCollectionItemOutput) ConnectionUrl() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.ConnectionUrl }).(pulumi.StringOutput) } @@ -4350,7 +4390,7 @@ func (o GetConnectionsConnectionCollectionItemOutput) DoesUseSecretIds() pulumi. return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) bool { return v.DoesUseSecretIds }).(pulumi.BoolOutput) } -// Azure Storage service endpoint. e.g: https://test.blob.core.windows.net +// Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com func (o GetConnectionsConnectionCollectionItemOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.Endpoint }).(pulumi.StringOutput) } @@ -4508,7 +4548,7 @@ func (o GetConnectionsConnectionCollectionItemOutput) RedisClusterId() pulumi.St return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.RedisClusterId }).(pulumi.StringOutput) } -// The name of the region. e.g.: us-ashburn-1 +// The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. func (o GetConnectionsConnectionCollectionItemOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.Region }).(pulumi.StringOutput) } @@ -4568,12 +4608,17 @@ func (o GetConnectionsConnectionCollectionItemOutput) ShouldUseJndi() pulumi.Boo return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) bool { return v.ShouldUseJndi }).(pulumi.BoolOutput) } +// Indicates that the user intents to connect to the instance through resource principal. +func (o GetConnectionsConnectionCollectionItemOutput) ShouldUseResourcePrincipal() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) bool { return v.ShouldUseResourcePrincipal }).(pulumi.BoolOutput) +} + // If set to true, the driver validates the certificate that is sent by the database server. func (o GetConnectionsConnectionCollectionItemOutput) ShouldValidateServerCertificate() pulumi.BoolOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) bool { return v.ShouldValidateServerCertificate }).(pulumi.BoolOutput) } -// Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). +// Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). func (o GetConnectionsConnectionCollectionItemOutput) SslCa() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.SslCa }).(pulumi.StringOutput) } @@ -4637,6 +4682,11 @@ func (o GetConnectionsConnectionCollectionItemOutput) State() pulumi.StringOutpu return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.State }).(pulumi.StringOutput) } +// Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. +func (o GetConnectionsConnectionCollectionItemOutput) StorageCredentialName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.StorageCredentialName }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. func (o GetConnectionsConnectionCollectionItemOutput) StreamPoolId() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.StreamPoolId }).(pulumi.StringOutput) @@ -4662,6 +4712,11 @@ func (o GetConnectionsConnectionCollectionItemOutput) TenancyId() pulumi.StringO return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TenancyId }).(pulumi.StringOutput) } +// Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f +func (o GetConnectionsConnectionCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +} + // The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. func (o GetConnectionsConnectionCollectionItemOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -4672,6 +4727,29 @@ func (o GetConnectionsConnectionCollectionItemOutput) TimeUpdated() pulumi.Strin return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } +func (o GetConnectionsConnectionCollectionItemOutput) TlsCaFile() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TlsCaFile }).(pulumi.StringOutput) +} + +func (o GetConnectionsConnectionCollectionItemOutput) TlsCertificateKeyFile() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TlsCertificateKeyFile }).(pulumi.StringOutput) +} + +func (o GetConnectionsConnectionCollectionItemOutput) TlsCertificateKeyFilePassword() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TlsCertificateKeyFilePassword }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. +func (o GetConnectionsConnectionCollectionItemOutput) TlsCertificateKeyFilePasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TlsCertificateKeyFilePasswordSecretId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. +// * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. +func (o GetConnectionsConnectionCollectionItemOutput) TlsCertificateKeyFileSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.TlsCertificateKeyFileSecretId }).(pulumi.StringOutput) +} + func (o GetConnectionsConnectionCollectionItemOutput) TriggerRefresh() pulumi.BoolOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) bool { return v.TriggerRefresh }).(pulumi.BoolOutput) } @@ -4699,12 +4777,12 @@ func (o GetConnectionsConnectionCollectionItemOutput) Url() pulumi.StringOutput return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.Url }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. func (o GetConnectionsConnectionCollectionItemOutput) UserId() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.UserId }).(pulumi.StringOutput) } -// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. +// The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. func (o GetConnectionsConnectionCollectionItemOutput) Username() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsConnectionCollectionItem) string { return v.Username }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/jms/getFleetErrorAnalytics.go b/sdk/go/oci/jms/getFleetErrorAnalytics.go new file mode 100644 index 0000000000..06f0b33190 --- /dev/null +++ b/sdk/go/oci/jms/getFleetErrorAnalytics.go @@ -0,0 +1,137 @@ +// 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 jms + +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 Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. +// +// Returns a high level summary of FleetErrors. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := jms.GetFleetErrorAnalytics(ctx, &jms.GetFleetErrorAnalyticsArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// CompartmentIdInSubtree: pulumi.BoolRef(fleetErrorAnalyticCompartmentIdInSubtree), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetFleetErrorAnalytics(ctx *pulumi.Context, args *GetFleetErrorAnalyticsArgs, opts ...pulumi.InvokeOption) (*GetFleetErrorAnalyticsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetFleetErrorAnalyticsResult + err := ctx.Invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getFleetErrorAnalytics. +type GetFleetErrorAnalyticsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetFleetErrorAnalyticsFilter `pulumi:"filters"` +} + +// A collection of values returned by getFleetErrorAnalytics. +type GetFleetErrorAnalyticsResult struct { + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetFleetErrorAnalyticsFilter `pulumi:"filters"` + // The list of fleet_error_aggregation_collection. + FleetErrorAggregationCollections []GetFleetErrorAnalyticsFleetErrorAggregationCollection `pulumi:"fleetErrorAggregationCollections"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetFleetErrorAnalyticsOutput(ctx *pulumi.Context, args GetFleetErrorAnalyticsOutputArgs, opts ...pulumi.InvokeOption) GetFleetErrorAnalyticsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetFleetErrorAnalyticsResultOutput, error) { + args := v.(GetFleetErrorAnalyticsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", args, GetFleetErrorAnalyticsResultOutput{}, options).(GetFleetErrorAnalyticsResultOutput), nil + }).(GetFleetErrorAnalyticsResultOutput) +} + +// A collection of arguments for invoking getFleetErrorAnalytics. +type GetFleetErrorAnalyticsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + Filters GetFleetErrorAnalyticsFilterArrayInput `pulumi:"filters"` +} + +func (GetFleetErrorAnalyticsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsArgs)(nil)).Elem() +} + +// A collection of values returned by getFleetErrorAnalytics. +type GetFleetErrorAnalyticsResultOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorAnalyticsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsResult)(nil)).Elem() +} + +func (o GetFleetErrorAnalyticsResultOutput) ToGetFleetErrorAnalyticsResultOutput() GetFleetErrorAnalyticsResultOutput { + return o +} + +func (o GetFleetErrorAnalyticsResultOutput) ToGetFleetErrorAnalyticsResultOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsResultOutput { + return o +} + +func (o GetFleetErrorAnalyticsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetFleetErrorAnalyticsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +func (o GetFleetErrorAnalyticsResultOutput) Filters() GetFleetErrorAnalyticsFilterArrayOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsResult) []GetFleetErrorAnalyticsFilter { return v.Filters }).(GetFleetErrorAnalyticsFilterArrayOutput) +} + +// The list of fleet_error_aggregation_collection. +func (o GetFleetErrorAnalyticsResultOutput) FleetErrorAggregationCollections() GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsResult) []GetFleetErrorAnalyticsFleetErrorAggregationCollection { + return v.FleetErrorAggregationCollections + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetFleetErrorAnalyticsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetFleetErrorAnalyticsResultOutput{}) +} diff --git a/sdk/go/oci/jms/getFleetErrors.go b/sdk/go/oci/jms/getFleetErrors.go new file mode 100644 index 0000000000..46cd7cd9cb --- /dev/null +++ b/sdk/go/oci/jms/getFleetErrors.go @@ -0,0 +1,189 @@ +// 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 jms + +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 Fleet Errors in Oracle Cloud Infrastructure Jms service. +// +// Returns a list of fleet errors that describe all detected errors. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := jms.GetFleetErrors(ctx, &jms.GetFleetErrorsArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// CompartmentIdInSubtree: pulumi.BoolRef(fleetErrorCompartmentIdInSubtree), +// FleetId: pulumi.StringRef(testFleet.Id), +// TimeFirstSeenGreaterThanOrEqualTo: pulumi.StringRef(fleetErrorTimeFirstSeenGreaterThanOrEqualTo), +// TimeFirstSeenLessThanOrEqualTo: pulumi.StringRef(fleetErrorTimeFirstSeenLessThanOrEqualTo), +// TimeLastSeenGreaterThanOrEqualTo: pulumi.StringRef(fleetErrorTimeLastSeenGreaterThanOrEqualTo), +// TimeLastSeenLessThanOrEqualTo: pulumi.StringRef(fleetErrorTimeLastSeenLessThanOrEqualTo), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetFleetErrors(ctx *pulumi.Context, args *GetFleetErrorsArgs, opts ...pulumi.InvokeOption) (*GetFleetErrorsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetFleetErrorsResult + err := ctx.Invoke("oci:Jms/getFleetErrors:getFleetErrors", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getFleetErrors. +type GetFleetErrorsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetFleetErrorsFilter `pulumi:"filters"` + // The ID of the Fleet. + FleetId *string `pulumi:"fleetId"` + // If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenGreaterThanOrEqualTo *string `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + // If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenLessThanOrEqualTo *string `pulumi:"timeFirstSeenLessThanOrEqualTo"` + // If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenGreaterThanOrEqualTo *string `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + // If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenLessThanOrEqualTo *string `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +// A collection of values returned by getFleetErrors. +type GetFleetErrorsResult struct { + // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetFleetErrorsFilter `pulumi:"filters"` + // The list of fleet_error_collection. + FleetErrorCollections []GetFleetErrorsFleetErrorCollection `pulumi:"fleetErrorCollections"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + FleetId *string `pulumi:"fleetId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + TimeFirstSeenGreaterThanOrEqualTo *string `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + TimeFirstSeenLessThanOrEqualTo *string `pulumi:"timeFirstSeenLessThanOrEqualTo"` + TimeLastSeenGreaterThanOrEqualTo *string `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + TimeLastSeenLessThanOrEqualTo *string `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +func GetFleetErrorsOutput(ctx *pulumi.Context, args GetFleetErrorsOutputArgs, opts ...pulumi.InvokeOption) GetFleetErrorsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetFleetErrorsResultOutput, error) { + args := v.(GetFleetErrorsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Jms/getFleetErrors:getFleetErrors", args, GetFleetErrorsResultOutput{}, options).(GetFleetErrorsResultOutput), nil + }).(GetFleetErrorsResultOutput) +} + +// A collection of arguments for invoking getFleetErrors. +type GetFleetErrorsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + Filters GetFleetErrorsFilterArrayInput `pulumi:"filters"` + // The ID of the Fleet. + FleetId pulumi.StringPtrInput `pulumi:"fleetId"` + // If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + // If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenLessThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeFirstSeenLessThanOrEqualTo"` + // If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + // If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenLessThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +func (GetFleetErrorsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsArgs)(nil)).Elem() +} + +// A collection of values returned by getFleetErrors. +type GetFleetErrorsResultOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsResult)(nil)).Elem() +} + +func (o GetFleetErrorsResultOutput) ToGetFleetErrorsResultOutput() GetFleetErrorsResultOutput { + return o +} + +func (o GetFleetErrorsResultOutput) ToGetFleetErrorsResultOutputWithContext(ctx context.Context) GetFleetErrorsResultOutput { + return o +} + +// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. +func (o GetFleetErrorsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetFleetErrorsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +func (o GetFleetErrorsResultOutput) Filters() GetFleetErrorsFilterArrayOutput { + return o.ApplyT(func(v GetFleetErrorsResult) []GetFleetErrorsFilter { return v.Filters }).(GetFleetErrorsFilterArrayOutput) +} + +// The list of fleet_error_collection. +func (o GetFleetErrorsResultOutput) FleetErrorCollections() GetFleetErrorsFleetErrorCollectionArrayOutput { + return o.ApplyT(func(v GetFleetErrorsResult) []GetFleetErrorsFleetErrorCollection { return v.FleetErrorCollections }).(GetFleetErrorsFleetErrorCollectionArrayOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. +func (o GetFleetErrorsResultOutput) FleetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.FleetId }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetFleetErrorsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetFleetErrorsResultOutput) TimeFirstSeenGreaterThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.TimeFirstSeenGreaterThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetFleetErrorsResultOutput) TimeFirstSeenLessThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.TimeFirstSeenLessThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetFleetErrorsResultOutput) TimeLastSeenGreaterThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.TimeLastSeenGreaterThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetFleetErrorsResultOutput) TimeLastSeenLessThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetErrorsResult) *string { return v.TimeLastSeenLessThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetFleetErrorsResultOutput{}) +} diff --git a/sdk/go/oci/jms/getFleetPerformanceTuningAnalysisResults.go b/sdk/go/oci/jms/getFleetPerformanceTuningAnalysisResults.go index 0f9aa24aa9..05829166fb 100644 --- a/sdk/go/oci/jms/getFleetPerformanceTuningAnalysisResults.go +++ b/sdk/go/oci/jms/getFleetPerformanceTuningAnalysisResults.go @@ -32,6 +32,7 @@ import ( // _, err := jms.GetFleetPerformanceTuningAnalysisResults(ctx, &jms.GetFleetPerformanceTuningAnalysisResultsArgs{ // FleetId: testFleet.Id, // ApplicationId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultApplicationId), +// ApplicationName: pulumi.StringRef(fleetPerformanceTuningAnalysisResultApplicationName), // HostName: pulumi.StringRef(fleetPerformanceTuningAnalysisResultHostName), // ManagedInstanceId: pulumi.StringRef(fleetPerformanceTuningAnalysisResultManagedInstanceId), // TimeEnd: pulumi.StringRef(fleetPerformanceTuningAnalysisResultTimeEnd), @@ -58,8 +59,10 @@ func GetFleetPerformanceTuningAnalysisResults(ctx *pulumi.Context, args *GetFlee // A collection of arguments for invoking getFleetPerformanceTuningAnalysisResults. type GetFleetPerformanceTuningAnalysisResultsArgs struct { // The Fleet-unique identifier of the related application. - ApplicationId *string `pulumi:"applicationId"` - Filters []GetFleetPerformanceTuningAnalysisResultsFilter `pulumi:"filters"` + ApplicationId *string `pulumi:"applicationId"` + // The name of the application. + ApplicationName *string `pulumi:"applicationName"` + Filters []GetFleetPerformanceTuningAnalysisResultsFilter `pulumi:"filters"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId string `pulumi:"fleetId"` // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. @@ -75,8 +78,10 @@ type GetFleetPerformanceTuningAnalysisResultsArgs struct { // A collection of values returned by getFleetPerformanceTuningAnalysisResults. type GetFleetPerformanceTuningAnalysisResultsResult struct { // The OCID of the application for which the report has been generated. - ApplicationId *string `pulumi:"applicationId"` - Filters []GetFleetPerformanceTuningAnalysisResultsFilter `pulumi:"filters"` + ApplicationId *string `pulumi:"applicationId"` + // The name of the application for which the report has been generated. + ApplicationName *string `pulumi:"applicationName"` + Filters []GetFleetPerformanceTuningAnalysisResultsFilter `pulumi:"filters"` // The fleet OCID. FleetId string `pulumi:"fleetId"` // The hostname of the managed instance. @@ -103,8 +108,10 @@ func GetFleetPerformanceTuningAnalysisResultsOutput(ctx *pulumi.Context, args Ge // A collection of arguments for invoking getFleetPerformanceTuningAnalysisResults. type GetFleetPerformanceTuningAnalysisResultsOutputArgs struct { // The Fleet-unique identifier of the related application. - ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` - Filters GetFleetPerformanceTuningAnalysisResultsFilterArrayInput `pulumi:"filters"` + ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` + // The name of the application. + ApplicationName pulumi.StringPtrInput `pulumi:"applicationName"` + Filters GetFleetPerformanceTuningAnalysisResultsFilterArrayInput `pulumi:"filters"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId pulumi.StringInput `pulumi:"fleetId"` // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. @@ -141,6 +148,11 @@ func (o GetFleetPerformanceTuningAnalysisResultsResultOutput) ApplicationId() pu return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsResult) *string { return v.ApplicationId }).(pulumi.StringPtrOutput) } +// The name of the application for which the report has been generated. +func (o GetFleetPerformanceTuningAnalysisResultsResultOutput) ApplicationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsResult) *string { return v.ApplicationName }).(pulumi.StringPtrOutput) +} + func (o GetFleetPerformanceTuningAnalysisResultsResultOutput) Filters() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsResult) []GetFleetPerformanceTuningAnalysisResultsFilter { return v.Filters diff --git a/sdk/go/oci/jms/getJmsPlugins.go b/sdk/go/oci/jms/getJmsPlugins.go index 18445646e8..f1f46e16bb 100644 --- a/sdk/go/oci/jms/getJmsPlugins.go +++ b/sdk/go/oci/jms/getJmsPlugins.go @@ -31,6 +31,7 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := jms.GetJmsPlugins(ctx, &jms.GetJmsPluginsArgs{ // AgentId: pulumi.StringRef(jmsPluginAgentId), +// AgentType: pulumi.StringRef(jmsPluginAgentType), // AvailabilityStatus: pulumi.StringRef(jmsPluginAvailabilityStatus), // CompartmentId: pulumi.StringRef(compartmentId), // CompartmentIdInSubtree: pulumi.BoolRef(jmsPluginCompartmentIdInSubtree), @@ -63,6 +64,8 @@ func GetJmsPlugins(ctx *pulumi.Context, args *GetJmsPluginsArgs, opts ...pulumi. type GetJmsPluginsArgs struct { // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. AgentId *string `pulumi:"agentId"` + // Filter JmsPlugin with agent type. + AgentType *string `pulumi:"agentType"` // Filter JmsPlugin with its availability status. AvailabilityStatus *string `pulumi:"availabilityStatus"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. @@ -88,6 +91,8 @@ type GetJmsPluginsArgs struct { type GetJmsPluginsResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed. AgentId *string `pulumi:"agentId"` + // The agent type. + AgentType *string `pulumi:"agentType"` // The availability status. AvailabilityStatus *string `pulumi:"availabilityStatus"` // The OMA/OCA agent's compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -120,6 +125,8 @@ func GetJmsPluginsOutput(ctx *pulumi.Context, args GetJmsPluginsOutputArgs, opts type GetJmsPluginsOutputArgs struct { // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. AgentId pulumi.StringPtrInput `pulumi:"agentId"` + // Filter JmsPlugin with agent type. + AgentType pulumi.StringPtrInput `pulumi:"agentType"` // Filter JmsPlugin with its availability status. AvailabilityStatus pulumi.StringPtrInput `pulumi:"availabilityStatus"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. @@ -165,6 +172,11 @@ func (o GetJmsPluginsResultOutput) AgentId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetJmsPluginsResult) *string { return v.AgentId }).(pulumi.StringPtrOutput) } +// The agent type. +func (o GetJmsPluginsResultOutput) AgentType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJmsPluginsResult) *string { return v.AgentType }).(pulumi.StringPtrOutput) +} + // The availability status. func (o GetJmsPluginsResultOutput) AvailabilityStatus() pulumi.StringPtrOutput { return o.ApplyT(func(v GetJmsPluginsResult) *string { return v.AvailabilityStatus }).(pulumi.StringPtrOutput) diff --git a/sdk/go/oci/jms/getPluginErrorAnalytics.go b/sdk/go/oci/jms/getPluginErrorAnalytics.go new file mode 100644 index 0000000000..ff65be9f42 --- /dev/null +++ b/sdk/go/oci/jms/getPluginErrorAnalytics.go @@ -0,0 +1,137 @@ +// 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 jms + +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 Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. +// +// Returns a high level summary of PluginErrors. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := jms.GetPluginErrorAnalytics(ctx, &jms.GetPluginErrorAnalyticsArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// CompartmentIdInSubtree: pulumi.BoolRef(pluginErrorAnalyticCompartmentIdInSubtree), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetPluginErrorAnalytics(ctx *pulumi.Context, args *GetPluginErrorAnalyticsArgs, opts ...pulumi.InvokeOption) (*GetPluginErrorAnalyticsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPluginErrorAnalyticsResult + err := ctx.Invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPluginErrorAnalytics. +type GetPluginErrorAnalyticsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetPluginErrorAnalyticsFilter `pulumi:"filters"` +} + +// A collection of values returned by getPluginErrorAnalytics. +type GetPluginErrorAnalyticsResult struct { + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetPluginErrorAnalyticsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The list of plugin_error_aggregation_collection. + PluginErrorAggregationCollections []GetPluginErrorAnalyticsPluginErrorAggregationCollection `pulumi:"pluginErrorAggregationCollections"` +} + +func GetPluginErrorAnalyticsOutput(ctx *pulumi.Context, args GetPluginErrorAnalyticsOutputArgs, opts ...pulumi.InvokeOption) GetPluginErrorAnalyticsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetPluginErrorAnalyticsResultOutput, error) { + args := v.(GetPluginErrorAnalyticsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", args, GetPluginErrorAnalyticsResultOutput{}, options).(GetPluginErrorAnalyticsResultOutput), nil + }).(GetPluginErrorAnalyticsResultOutput) +} + +// A collection of arguments for invoking getPluginErrorAnalytics. +type GetPluginErrorAnalyticsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + Filters GetPluginErrorAnalyticsFilterArrayInput `pulumi:"filters"` +} + +func (GetPluginErrorAnalyticsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsArgs)(nil)).Elem() +} + +// A collection of values returned by getPluginErrorAnalytics. +type GetPluginErrorAnalyticsResultOutput struct{ *pulumi.OutputState } + +func (GetPluginErrorAnalyticsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsResult)(nil)).Elem() +} + +func (o GetPluginErrorAnalyticsResultOutput) ToGetPluginErrorAnalyticsResultOutput() GetPluginErrorAnalyticsResultOutput { + return o +} + +func (o GetPluginErrorAnalyticsResultOutput) ToGetPluginErrorAnalyticsResultOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsResultOutput { + return o +} + +func (o GetPluginErrorAnalyticsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetPluginErrorAnalyticsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +func (o GetPluginErrorAnalyticsResultOutput) Filters() GetPluginErrorAnalyticsFilterArrayOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsResult) []GetPluginErrorAnalyticsFilter { return v.Filters }).(GetPluginErrorAnalyticsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPluginErrorAnalyticsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of plugin_error_aggregation_collection. +func (o GetPluginErrorAnalyticsResultOutput) PluginErrorAggregationCollections() GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsResult) []GetPluginErrorAnalyticsPluginErrorAggregationCollection { + return v.PluginErrorAggregationCollections + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPluginErrorAnalyticsResultOutput{}) +} diff --git a/sdk/go/oci/jms/getPluginErrors.go b/sdk/go/oci/jms/getPluginErrors.go new file mode 100644 index 0000000000..569cc4afbf --- /dev/null +++ b/sdk/go/oci/jms/getPluginErrors.go @@ -0,0 +1,189 @@ +// 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 jms + +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 Plugin Errors in Oracle Cloud Infrastructure Jms service. +// +// Returns a list of plugin errors that describe all detected errors. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := jms.GetPluginErrors(ctx, &jms.GetPluginErrorsArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// CompartmentIdInSubtree: pulumi.BoolRef(pluginErrorCompartmentIdInSubtree), +// ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id), +// TimeFirstSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenGreaterThanOrEqualTo), +// TimeFirstSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenLessThanOrEqualTo), +// TimeLastSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenGreaterThanOrEqualTo), +// TimeLastSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenLessThanOrEqualTo), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetPluginErrors(ctx *pulumi.Context, args *GetPluginErrorsArgs, opts ...pulumi.InvokeOption) (*GetPluginErrorsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPluginErrorsResult + err := ctx.Invoke("oci:Jms/getPluginErrors:getPluginErrors", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPluginErrors. +type GetPluginErrorsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetPluginErrorsFilter `pulumi:"filters"` + // The Fleet-unique identifier of the managed instance. + ManagedInstanceId *string `pulumi:"managedInstanceId"` + // If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenGreaterThanOrEqualTo *string `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + // If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenLessThanOrEqualTo *string `pulumi:"timeFirstSeenLessThanOrEqualTo"` + // If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenGreaterThanOrEqualTo *string `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + // If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenLessThanOrEqualTo *string `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +// A collection of values returned by getPluginErrors. +type GetPluginErrorsResult struct { + // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + Filters []GetPluginErrorsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. + ManagedInstanceId *string `pulumi:"managedInstanceId"` + // The list of plugin_error_collection. + PluginErrorCollections []GetPluginErrorsPluginErrorCollection `pulumi:"pluginErrorCollections"` + TimeFirstSeenGreaterThanOrEqualTo *string `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + TimeFirstSeenLessThanOrEqualTo *string `pulumi:"timeFirstSeenLessThanOrEqualTo"` + TimeLastSeenGreaterThanOrEqualTo *string `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + TimeLastSeenLessThanOrEqualTo *string `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +func GetPluginErrorsOutput(ctx *pulumi.Context, args GetPluginErrorsOutputArgs, opts ...pulumi.InvokeOption) GetPluginErrorsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetPluginErrorsResultOutput, error) { + args := v.(GetPluginErrorsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Jms/getPluginErrors:getPluginErrors", args, GetPluginErrorsResultOutput{}, options).(GetPluginErrorsResultOutput), nil + }).(GetPluginErrorsResultOutput) +} + +// A collection of arguments for invoking getPluginErrors. +type GetPluginErrorsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + Filters GetPluginErrorsFilterArrayInput `pulumi:"filters"` + // The Fleet-unique identifier of the managed instance. + ManagedInstanceId pulumi.StringPtrInput `pulumi:"managedInstanceId"` + // If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeFirstSeenGreaterThanOrEqualTo"` + // If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeFirstSeenLessThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeFirstSeenLessThanOrEqualTo"` + // If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeLastSeenGreaterThanOrEqualTo"` + // If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + TimeLastSeenLessThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeLastSeenLessThanOrEqualTo"` +} + +func (GetPluginErrorsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsArgs)(nil)).Elem() +} + +// A collection of values returned by getPluginErrors. +type GetPluginErrorsResultOutput struct{ *pulumi.OutputState } + +func (GetPluginErrorsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsResult)(nil)).Elem() +} + +func (o GetPluginErrorsResultOutput) ToGetPluginErrorsResultOutput() GetPluginErrorsResultOutput { + return o +} + +func (o GetPluginErrorsResultOutput) ToGetPluginErrorsResultOutputWithContext(ctx context.Context) GetPluginErrorsResultOutput { + return o +} + +// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. +func (o GetPluginErrorsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetPluginErrorsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +func (o GetPluginErrorsResultOutput) Filters() GetPluginErrorsFilterArrayOutput { + return o.ApplyT(func(v GetPluginErrorsResult) []GetPluginErrorsFilter { return v.Filters }).(GetPluginErrorsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPluginErrorsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. +func (o GetPluginErrorsResultOutput) ManagedInstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.ManagedInstanceId }).(pulumi.StringPtrOutput) +} + +// The list of plugin_error_collection. +func (o GetPluginErrorsResultOutput) PluginErrorCollections() GetPluginErrorsPluginErrorCollectionArrayOutput { + return o.ApplyT(func(v GetPluginErrorsResult) []GetPluginErrorsPluginErrorCollection { return v.PluginErrorCollections }).(GetPluginErrorsPluginErrorCollectionArrayOutput) +} + +func (o GetPluginErrorsResultOutput) TimeFirstSeenGreaterThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.TimeFirstSeenGreaterThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetPluginErrorsResultOutput) TimeFirstSeenLessThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.TimeFirstSeenLessThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetPluginErrorsResultOutput) TimeLastSeenGreaterThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.TimeLastSeenGreaterThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func (o GetPluginErrorsResultOutput) TimeLastSeenLessThanOrEqualTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPluginErrorsResult) *string { return v.TimeLastSeenLessThanOrEqualTo }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPluginErrorsResultOutput{}) +} diff --git a/sdk/go/oci/jms/pulumiTypes.go b/sdk/go/oci/jms/pulumiTypes.go index 5f4dfd88be..1b193f2761 100644 --- a/sdk/go/oci/jms/pulumiTypes.go +++ b/sdk/go/oci/jms/pulumiTypes.go @@ -6786,5283 +6786,5230 @@ func (o GetFleetDrsFilesFilterArrayOutput) Index(i pulumi.IntInput) GetFleetDrsF }).(GetFleetDrsFilesFilterOutput) } -type GetFleetInventoryLog struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId string `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId string `pulumi:"logId"` +type GetFleetErrorAnalyticsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetFleetInventoryLogInput is an input type that accepts GetFleetInventoryLogArgs and GetFleetInventoryLogOutput values. -// You can construct a concrete instance of `GetFleetInventoryLogInput` via: +// GetFleetErrorAnalyticsFilterInput is an input type that accepts GetFleetErrorAnalyticsFilterArgs and GetFleetErrorAnalyticsFilterOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFilterInput` via: // -// GetFleetInventoryLogArgs{...} -type GetFleetInventoryLogInput interface { +// GetFleetErrorAnalyticsFilterArgs{...} +type GetFleetErrorAnalyticsFilterInput interface { pulumi.Input - ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput - ToGetFleetInventoryLogOutputWithContext(context.Context) GetFleetInventoryLogOutput + ToGetFleetErrorAnalyticsFilterOutput() GetFleetErrorAnalyticsFilterOutput + ToGetFleetErrorAnalyticsFilterOutputWithContext(context.Context) GetFleetErrorAnalyticsFilterOutput } -type GetFleetInventoryLogArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId pulumi.StringInput `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId pulumi.StringInput `pulumi:"logId"` +type GetFleetErrorAnalyticsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetFleetInventoryLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetInventoryLog)(nil)).Elem() +func (GetFleetErrorAnalyticsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFilter)(nil)).Elem() } -func (i GetFleetInventoryLogArgs) ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput { - return i.ToGetFleetInventoryLogOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFilterArgs) ToGetFleetErrorAnalyticsFilterOutput() GetFleetErrorAnalyticsFilterOutput { + return i.ToGetFleetErrorAnalyticsFilterOutputWithContext(context.Background()) } -func (i GetFleetInventoryLogArgs) ToGetFleetInventoryLogOutputWithContext(ctx context.Context) GetFleetInventoryLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetInventoryLogOutput) +func (i GetFleetErrorAnalyticsFilterArgs) ToGetFleetErrorAnalyticsFilterOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFilterOutput) } -// GetFleetInventoryLogArrayInput is an input type that accepts GetFleetInventoryLogArray and GetFleetInventoryLogArrayOutput values. -// You can construct a concrete instance of `GetFleetInventoryLogArrayInput` via: +// GetFleetErrorAnalyticsFilterArrayInput is an input type that accepts GetFleetErrorAnalyticsFilterArray and GetFleetErrorAnalyticsFilterArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFilterArrayInput` via: // -// GetFleetInventoryLogArray{ GetFleetInventoryLogArgs{...} } -type GetFleetInventoryLogArrayInput interface { +// GetFleetErrorAnalyticsFilterArray{ GetFleetErrorAnalyticsFilterArgs{...} } +type GetFleetErrorAnalyticsFilterArrayInput interface { pulumi.Input - ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput - ToGetFleetInventoryLogArrayOutputWithContext(context.Context) GetFleetInventoryLogArrayOutput + ToGetFleetErrorAnalyticsFilterArrayOutput() GetFleetErrorAnalyticsFilterArrayOutput + ToGetFleetErrorAnalyticsFilterArrayOutputWithContext(context.Context) GetFleetErrorAnalyticsFilterArrayOutput } -type GetFleetInventoryLogArray []GetFleetInventoryLogInput +type GetFleetErrorAnalyticsFilterArray []GetFleetErrorAnalyticsFilterInput -func (GetFleetInventoryLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetInventoryLog)(nil)).Elem() +func (GetFleetErrorAnalyticsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFilter)(nil)).Elem() } -func (i GetFleetInventoryLogArray) ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput { - return i.ToGetFleetInventoryLogArrayOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFilterArray) ToGetFleetErrorAnalyticsFilterArrayOutput() GetFleetErrorAnalyticsFilterArrayOutput { + return i.ToGetFleetErrorAnalyticsFilterArrayOutputWithContext(context.Background()) } -func (i GetFleetInventoryLogArray) ToGetFleetInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetInventoryLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetInventoryLogArrayOutput) +func (i GetFleetErrorAnalyticsFilterArray) ToGetFleetErrorAnalyticsFilterArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFilterArrayOutput) } -type GetFleetInventoryLogOutput struct{ *pulumi.OutputState } +type GetFleetErrorAnalyticsFilterOutput struct{ *pulumi.OutputState } -func (GetFleetInventoryLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetInventoryLog)(nil)).Elem() +func (GetFleetErrorAnalyticsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFilter)(nil)).Elem() } -func (o GetFleetInventoryLogOutput) ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput { +func (o GetFleetErrorAnalyticsFilterOutput) ToGetFleetErrorAnalyticsFilterOutput() GetFleetErrorAnalyticsFilterOutput { return o } -func (o GetFleetInventoryLogOutput) ToGetFleetInventoryLogOutputWithContext(ctx context.Context) GetFleetInventoryLogOutput { +func (o GetFleetErrorAnalyticsFilterOutput) ToGetFleetErrorAnalyticsFilterOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFilterOutput { return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. -func (o GetFleetInventoryLogOutput) LogGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetInventoryLog) string { return v.LogGroupId }).(pulumi.StringOutput) +func (o GetFleetErrorAnalyticsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. -func (o GetFleetInventoryLogOutput) LogId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetInventoryLog) string { return v.LogId }).(pulumi.StringOutput) +func (o GetFleetErrorAnalyticsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetFleetInventoryLogArrayOutput struct{ *pulumi.OutputState } +func (o GetFleetErrorAnalyticsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetFleetInventoryLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetInventoryLog)(nil)).Elem() +type GetFleetErrorAnalyticsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorAnalyticsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFilter)(nil)).Elem() } -func (o GetFleetInventoryLogArrayOutput) ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput { +func (o GetFleetErrorAnalyticsFilterArrayOutput) ToGetFleetErrorAnalyticsFilterArrayOutput() GetFleetErrorAnalyticsFilterArrayOutput { return o } -func (o GetFleetInventoryLogArrayOutput) ToGetFleetInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetInventoryLogArrayOutput { +func (o GetFleetErrorAnalyticsFilterArrayOutput) ToGetFleetErrorAnalyticsFilterArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFilterArrayOutput { return o } -func (o GetFleetInventoryLogArrayOutput) Index(i pulumi.IntInput) GetFleetInventoryLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetInventoryLog { - return vs[0].([]GetFleetInventoryLog)[vs[1].(int)] - }).(GetFleetInventoryLogOutput) +func (o GetFleetErrorAnalyticsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetErrorAnalyticsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorAnalyticsFilter { + return vs[0].([]GetFleetErrorAnalyticsFilter)[vs[1].(int)] + }).(GetFleetErrorAnalyticsFilterOutput) } -type GetFleetJavaMigrationAnalysisResultsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollection struct { + // A list of FleetErrorAggregationSummary. + Items []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem `pulumi:"items"` } -// GetFleetJavaMigrationAnalysisResultsFilterInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsFilterArgs and GetFleetJavaMigrationAnalysisResultsFilterOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsFilterInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs and GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionInput` via: // -// GetFleetJavaMigrationAnalysisResultsFilterArgs{...} -type GetFleetJavaMigrationAnalysisResultsFilterInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs{...} +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput - ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput } -type GetFleetJavaMigrationAnalysisResultsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs struct { + // A list of FleetErrorAggregationSummary. + Items GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayInput `pulumi:"items"` } -func (GetFleetJavaMigrationAnalysisResultsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollection)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsFilterArgs) ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsFilterArgs) ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsFilterOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) } -// GetFleetJavaMigrationAnalysisResultsFilterArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsFilterArray and GetFleetJavaMigrationAnalysisResultsFilterArrayOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsFilterArrayInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray and GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayInput` via: // -// GetFleetJavaMigrationAnalysisResultsFilterArray{ GetFleetJavaMigrationAnalysisResultsFilterArgs{...} } -type GetFleetJavaMigrationAnalysisResultsFilterArrayInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray{ GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs{...} } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput - ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput } -type GetFleetJavaMigrationAnalysisResultsFilterArray []GetFleetJavaMigrationAnalysisResultsFilterInput +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray []GetFleetErrorAnalyticsFleetErrorAggregationCollectionInput -func (GetFleetJavaMigrationAnalysisResultsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollection)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsFilterArray) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsFilterArray) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) } -type GetFleetJavaMigrationAnalysisResultsFilterOutput struct{ *pulumi.OutputState } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput struct{ *pulumi.OutputState } -func (GetFleetJavaMigrationAnalysisResultsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollection)(nil)).Elem() } -func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// A list of FleetErrorAggregationSummary. +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) Items() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFleetErrorAggregationCollection) []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem { + return v.Items + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) } -type GetFleetJavaMigrationAnalysisResultsFilterArrayOutput struct{ *pulumi.OutputState } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollection)(nil)).Elem() } -func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsFilter { - return vs[0].([]GetFleetJavaMigrationAnalysisResultsFilter)[vs[1].(int)] - }).(GetFleetJavaMigrationAnalysisResultsFilterOutput) +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorAnalyticsFleetErrorAggregationCollection { + return vs[0].([]GetFleetErrorAnalyticsFleetErrorAggregationCollection)[vs[1].(int)] + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput) } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection struct { - Items []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem `pulumi:"items"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem struct { + // List of fleet error aggregations. + FleetErrorAggregations []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation `pulumi:"fleetErrorAggregations"` + // Count of fleets with no problems. + HealthyFleetCount int `pulumi:"healthyFleetCount"` } -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs and GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemInput` via: // -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs{...} -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs{...} +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs struct { - Items GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput `pulumi:"items"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs struct { + // List of fleet error aggregations. + FleetErrorAggregations GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayInput `pulumi:"fleetErrorAggregations"` + // Count of fleets with no problems. + HealthyFleetCount pulumi.IntInput `pulumi:"healthyFleetCount"` } -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) } -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray and GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayInput` via: // -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray{ GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs{...} } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray{ GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs{...} } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemInput -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput struct{ *pulumi.OutputState } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput struct{ *pulumi.OutputState } -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem)(nil)).Elem() } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) Items() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection) []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem { - return v.Items - }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) +// List of fleet error aggregations. +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) FleetErrorAggregations() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem) []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation { + return v.FleetErrorAggregations + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput struct{ *pulumi.OutputState } +// Count of fleets with no problems. +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) HealthyFleetCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem) int { return v.HealthyFleetCount }).(pulumi.IntOutput) +} -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem)(nil)).Elem() } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection { - return vs[0].([]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)[vs[1].(int)] - }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem { + return vs[0].([]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem)[vs[1].(int)] + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput) } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem struct { - // Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. - ApplicationExecutionType string `pulumi:"applicationExecutionType"` - // The unique key that identifies the application. - ApplicationKey string `pulumi:"applicationKey"` - // The name of the application. - ApplicationName string `pulumi:"applicationName"` - // The installation path of the application for which the Java migration analysis was performed. - ApplicationPath string `pulumi:"applicationPath"` - // The name of the object storage bucket that contains the results of the migration analysis. - Bucket string `pulumi:"bucket"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. - FleetId string `pulumi:"fleetId"` - // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. - HostName string `pulumi:"hostName"` - // The OCID of the migration analysis report. - Id string `pulumi:"id"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId string `pulumi:"managedInstanceId"` - // Additional info reserved for future use. - Metadata string `pulumi:"metadata"` - // The object storage namespace that contains the results of the migration analysis. - Namespace string `pulumi:"namespace"` - // The names of the object storage objects that contain the results of the migration analysis. - ObjectLists []string `pulumi:"objectLists"` - // The directory path of the object storage bucket that contains the results of the migration analysis. - ObjectStorageUploadDirPath string `pulumi:"objectStorageUploadDirPath"` - // The source JDK version of the application that's currently running. - SourceJdkVersion string `pulumi:"sourceJdkVersion"` - // The target JDK version of the application to be migrated. - TargetJdkVersion string `pulumi:"targetJdkVersion"` - // The time the result is compiled. - TimeCreated string `pulumi:"timeCreated"` - // The OCID of the work request of this analysis. - WorkRequestId string `pulumi:"workRequestId"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation struct { + // Number of FleetErrors encountered for the specific reason. + FleetErrorAnalyticCount int `pulumi:"fleetErrorAnalyticCount"` + // Enum that uniquely identifies the fleet error. + Reason string `pulumi:"reason"` } -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs and GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationInput` via: // -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs{...} -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs{...} +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs struct { - // Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. - ApplicationExecutionType pulumi.StringInput `pulumi:"applicationExecutionType"` - // The unique key that identifies the application. - ApplicationKey pulumi.StringInput `pulumi:"applicationKey"` - // The name of the application. - ApplicationName pulumi.StringInput `pulumi:"applicationName"` - // The installation path of the application for which the Java migration analysis was performed. - ApplicationPath pulumi.StringInput `pulumi:"applicationPath"` - // The name of the object storage bucket that contains the results of the migration analysis. - Bucket pulumi.StringInput `pulumi:"bucket"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. - FleetId pulumi.StringInput `pulumi:"fleetId"` - // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. - HostName pulumi.StringInput `pulumi:"hostName"` - // The OCID of the migration analysis report. - Id pulumi.StringInput `pulumi:"id"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` - // Additional info reserved for future use. - Metadata pulumi.StringInput `pulumi:"metadata"` - // The object storage namespace that contains the results of the migration analysis. - Namespace pulumi.StringInput `pulumi:"namespace"` - // The names of the object storage objects that contain the results of the migration analysis. - ObjectLists pulumi.StringArrayInput `pulumi:"objectLists"` - // The directory path of the object storage bucket that contains the results of the migration analysis. - ObjectStorageUploadDirPath pulumi.StringInput `pulumi:"objectStorageUploadDirPath"` - // The source JDK version of the application that's currently running. - SourceJdkVersion pulumi.StringInput `pulumi:"sourceJdkVersion"` - // The target JDK version of the application to be migrated. - TargetJdkVersion pulumi.StringInput `pulumi:"targetJdkVersion"` - // The time the result is compiled. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The OCID of the work request of this analysis. - WorkRequestId pulumi.StringInput `pulumi:"workRequestId"` +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs struct { + // Number of FleetErrors encountered for the specific reason. + FleetErrorAnalyticCount pulumi.IntInput `pulumi:"fleetErrorAnalyticCount"` + // Enum that uniquely identifies the fleet error. + Reason pulumi.StringInput `pulumi:"reason"` } -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) } -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput` via: +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayInput is an input type that accepts GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray and GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayInput` via: // -// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray{ GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs{...} } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput interface { +// GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray{ GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs{...} } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayInput interface { pulumi.Input - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput - ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput + ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutputWithContext(context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray []GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationInput -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation)(nil)).Elem() } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { - return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(context.Background()) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput { + return i.ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutputWithContext(context.Background()) } -func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) +func (i GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput struct{ *pulumi.OutputState } +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput struct{ *pulumi.OutputState } -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation)(nil)).Elem() } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput { return o } -// Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationExecutionType() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ApplicationExecutionType - }).(pulumi.StringOutput) +// Number of FleetErrors encountered for the specific reason. +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) FleetErrorAnalyticCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation) int { + return v.FleetErrorAnalyticCount + }).(pulumi.IntOutput) } -// The unique key that identifies the application. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationKey() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ApplicationKey +// Enum that uniquely identifies the fleet error. +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation) string { + return v.Reason }).(pulumi.StringOutput) } -// The name of the application. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationName() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ApplicationName - }).(pulumi.StringOutput) +type GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation)(nil)).Elem() } -// The installation path of the application for which the Java migration analysis was performed. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationPath() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ApplicationPath - }).(pulumi.StringOutput) +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput() GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput { + return o } -// The name of the object storage bucket that contains the results of the migration analysis. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.Bucket - }).(pulumi.StringOutput) +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) ToGetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutputWithContext(ctx context.Context) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput { + return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) FleetId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.FleetId - }).(pulumi.StringOutput) +func (o GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput) Index(i pulumi.IntInput) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation { + return vs[0].([]GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation)[vs[1].(int)] + }).(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput) } -// The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) HostName() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.HostName - }).(pulumi.StringOutput) +type GetFleetErrorsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// The OCID of the migration analysis report. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.Id - }).(pulumi.StringOutput) +// GetFleetErrorsFilterInput is an input type that accepts GetFleetErrorsFilterArgs and GetFleetErrorsFilterOutput values. +// You can construct a concrete instance of `GetFleetErrorsFilterInput` via: +// +// GetFleetErrorsFilterArgs{...} +type GetFleetErrorsFilterInput interface { + pulumi.Input + + ToGetFleetErrorsFilterOutput() GetFleetErrorsFilterOutput + ToGetFleetErrorsFilterOutputWithContext(context.Context) GetFleetErrorsFilterOutput } -// The Fleet-unique identifier of the related managed instance. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ManagedInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ManagedInstanceId - }).(pulumi.StringOutput) +type GetFleetErrorsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -// Additional info reserved for future use. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Metadata() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.Metadata - }).(pulumi.StringOutput) +func (GetFleetErrorsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFilter)(nil)).Elem() } -// The object storage namespace that contains the results of the migration analysis. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.Namespace - }).(pulumi.StringOutput) +func (i GetFleetErrorsFilterArgs) ToGetFleetErrorsFilterOutput() GetFleetErrorsFilterOutput { + return i.ToGetFleetErrorsFilterOutputWithContext(context.Background()) } -// The names of the object storage objects that contain the results of the migration analysis. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ObjectLists() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) []string { - return v.ObjectLists - }).(pulumi.StringArrayOutput) +func (i GetFleetErrorsFilterArgs) ToGetFleetErrorsFilterOutputWithContext(ctx context.Context) GetFleetErrorsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFilterOutput) } -// The directory path of the object storage bucket that contains the results of the migration analysis. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ObjectStorageUploadDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.ObjectStorageUploadDirPath - }).(pulumi.StringOutput) +// GetFleetErrorsFilterArrayInput is an input type that accepts GetFleetErrorsFilterArray and GetFleetErrorsFilterArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorsFilterArrayInput` via: +// +// GetFleetErrorsFilterArray{ GetFleetErrorsFilterArgs{...} } +type GetFleetErrorsFilterArrayInput interface { + pulumi.Input + + ToGetFleetErrorsFilterArrayOutput() GetFleetErrorsFilterArrayOutput + ToGetFleetErrorsFilterArrayOutputWithContext(context.Context) GetFleetErrorsFilterArrayOutput } -// The source JDK version of the application that's currently running. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) SourceJdkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.SourceJdkVersion - }).(pulumi.StringOutput) +type GetFleetErrorsFilterArray []GetFleetErrorsFilterInput + +func (GetFleetErrorsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFilter)(nil)).Elem() } -// The target JDK version of the application to be migrated. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) TargetJdkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.TargetJdkVersion - }).(pulumi.StringOutput) +func (i GetFleetErrorsFilterArray) ToGetFleetErrorsFilterArrayOutput() GetFleetErrorsFilterArrayOutput { + return i.ToGetFleetErrorsFilterArrayOutputWithContext(context.Background()) } -// The time the result is compiled. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.TimeCreated - }).(pulumi.StringOutput) +func (i GetFleetErrorsFilterArray) ToGetFleetErrorsFilterArrayOutputWithContext(ctx context.Context) GetFleetErrorsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFilterArrayOutput) } -// The OCID of the work request of this analysis. -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) WorkRequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { - return v.WorkRequestId - }).(pulumi.StringOutput) +type GetFleetErrorsFilterOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFilter)(nil)).Elem() } -type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput struct{ *pulumi.OutputState } +func (o GetFleetErrorsFilterOutput) ToGetFleetErrorsFilterOutput() GetFleetErrorsFilterOutput { + return o +} -func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() +func (o GetFleetErrorsFilterOutput) ToGetFleetErrorsFilterOutputWithContext(ctx context.Context) GetFleetErrorsFilterOutput { + return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { +func (o GetFleetErrorsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetFleetErrorsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetErrorsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetFleetErrorsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetErrorsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetFleetErrorsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFilter)(nil)).Elem() +} + +func (o GetFleetErrorsFilterArrayOutput) ToGetFleetErrorsFilterArrayOutput() GetFleetErrorsFilterArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { +func (o GetFleetErrorsFilterArrayOutput) ToGetFleetErrorsFilterArrayOutputWithContext(ctx context.Context) GetFleetErrorsFilterArrayOutput { return o } -func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem { - return vs[0].([]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)[vs[1].(int)] - }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) +func (o GetFleetErrorsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetErrorsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorsFilter { + return vs[0].([]GetFleetErrorsFilter)[vs[1].(int)] + }).(GetFleetErrorsFilterOutput) } -type GetFleetOperationLog struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId string `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId string `pulumi:"logId"` +type GetFleetErrorsFleetErrorCollection struct { + // A list of FleetErrorSummary. + Items []GetFleetErrorsFleetErrorCollectionItem `pulumi:"items"` } -// GetFleetOperationLogInput is an input type that accepts GetFleetOperationLogArgs and GetFleetOperationLogOutput values. -// You can construct a concrete instance of `GetFleetOperationLogInput` via: +// GetFleetErrorsFleetErrorCollectionInput is an input type that accepts GetFleetErrorsFleetErrorCollectionArgs and GetFleetErrorsFleetErrorCollectionOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionInput` via: // -// GetFleetOperationLogArgs{...} -type GetFleetOperationLogInput interface { +// GetFleetErrorsFleetErrorCollectionArgs{...} +type GetFleetErrorsFleetErrorCollectionInput interface { pulumi.Input - ToGetFleetOperationLogOutput() GetFleetOperationLogOutput - ToGetFleetOperationLogOutputWithContext(context.Context) GetFleetOperationLogOutput + ToGetFleetErrorsFleetErrorCollectionOutput() GetFleetErrorsFleetErrorCollectionOutput + ToGetFleetErrorsFleetErrorCollectionOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionOutput } -type GetFleetOperationLogArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId pulumi.StringInput `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId pulumi.StringInput `pulumi:"logId"` +type GetFleetErrorsFleetErrorCollectionArgs struct { + // A list of FleetErrorSummary. + Items GetFleetErrorsFleetErrorCollectionItemArrayInput `pulumi:"items"` } -func (GetFleetOperationLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetOperationLog)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollection)(nil)).Elem() } -func (i GetFleetOperationLogArgs) ToGetFleetOperationLogOutput() GetFleetOperationLogOutput { - return i.ToGetFleetOperationLogOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionArgs) ToGetFleetErrorsFleetErrorCollectionOutput() GetFleetErrorsFleetErrorCollectionOutput { + return i.ToGetFleetErrorsFleetErrorCollectionOutputWithContext(context.Background()) } -func (i GetFleetOperationLogArgs) ToGetFleetOperationLogOutputWithContext(ctx context.Context) GetFleetOperationLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetOperationLogOutput) +func (i GetFleetErrorsFleetErrorCollectionArgs) ToGetFleetErrorsFleetErrorCollectionOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionOutput) } -// GetFleetOperationLogArrayInput is an input type that accepts GetFleetOperationLogArray and GetFleetOperationLogArrayOutput values. -// You can construct a concrete instance of `GetFleetOperationLogArrayInput` via: +// GetFleetErrorsFleetErrorCollectionArrayInput is an input type that accepts GetFleetErrorsFleetErrorCollectionArray and GetFleetErrorsFleetErrorCollectionArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionArrayInput` via: // -// GetFleetOperationLogArray{ GetFleetOperationLogArgs{...} } -type GetFleetOperationLogArrayInput interface { +// GetFleetErrorsFleetErrorCollectionArray{ GetFleetErrorsFleetErrorCollectionArgs{...} } +type GetFleetErrorsFleetErrorCollectionArrayInput interface { pulumi.Input - ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput - ToGetFleetOperationLogArrayOutputWithContext(context.Context) GetFleetOperationLogArrayOutput + ToGetFleetErrorsFleetErrorCollectionArrayOutput() GetFleetErrorsFleetErrorCollectionArrayOutput + ToGetFleetErrorsFleetErrorCollectionArrayOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionArrayOutput } -type GetFleetOperationLogArray []GetFleetOperationLogInput +type GetFleetErrorsFleetErrorCollectionArray []GetFleetErrorsFleetErrorCollectionInput -func (GetFleetOperationLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetOperationLog)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollection)(nil)).Elem() } -func (i GetFleetOperationLogArray) ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput { - return i.ToGetFleetOperationLogArrayOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionArray) ToGetFleetErrorsFleetErrorCollectionArrayOutput() GetFleetErrorsFleetErrorCollectionArrayOutput { + return i.ToGetFleetErrorsFleetErrorCollectionArrayOutputWithContext(context.Background()) } -func (i GetFleetOperationLogArray) ToGetFleetOperationLogArrayOutputWithContext(ctx context.Context) GetFleetOperationLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetOperationLogArrayOutput) +func (i GetFleetErrorsFleetErrorCollectionArray) ToGetFleetErrorsFleetErrorCollectionArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionArrayOutput) } -type GetFleetOperationLogOutput struct{ *pulumi.OutputState } +type GetFleetErrorsFleetErrorCollectionOutput struct{ *pulumi.OutputState } -func (GetFleetOperationLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetOperationLog)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollection)(nil)).Elem() } -func (o GetFleetOperationLogOutput) ToGetFleetOperationLogOutput() GetFleetOperationLogOutput { +func (o GetFleetErrorsFleetErrorCollectionOutput) ToGetFleetErrorsFleetErrorCollectionOutput() GetFleetErrorsFleetErrorCollectionOutput { return o } -func (o GetFleetOperationLogOutput) ToGetFleetOperationLogOutputWithContext(ctx context.Context) GetFleetOperationLogOutput { +func (o GetFleetErrorsFleetErrorCollectionOutput) ToGetFleetErrorsFleetErrorCollectionOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionOutput { return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. -func (o GetFleetOperationLogOutput) LogGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetOperationLog) string { return v.LogGroupId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. -func (o GetFleetOperationLogOutput) LogId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetOperationLog) string { return v.LogId }).(pulumi.StringOutput) +// A list of FleetErrorSummary. +func (o GetFleetErrorsFleetErrorCollectionOutput) Items() GetFleetErrorsFleetErrorCollectionItemArrayOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollection) []GetFleetErrorsFleetErrorCollectionItem { return v.Items }).(GetFleetErrorsFleetErrorCollectionItemArrayOutput) } -type GetFleetOperationLogArrayOutput struct{ *pulumi.OutputState } +type GetFleetErrorsFleetErrorCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetFleetOperationLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetOperationLog)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollection)(nil)).Elem() } -func (o GetFleetOperationLogArrayOutput) ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput { +func (o GetFleetErrorsFleetErrorCollectionArrayOutput) ToGetFleetErrorsFleetErrorCollectionArrayOutput() GetFleetErrorsFleetErrorCollectionArrayOutput { return o } -func (o GetFleetOperationLogArrayOutput) ToGetFleetOperationLogArrayOutputWithContext(ctx context.Context) GetFleetOperationLogArrayOutput { +func (o GetFleetErrorsFleetErrorCollectionArrayOutput) ToGetFleetErrorsFleetErrorCollectionArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionArrayOutput { return o } -func (o GetFleetOperationLogArrayOutput) Index(i pulumi.IntInput) GetFleetOperationLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetOperationLog { - return vs[0].([]GetFleetOperationLog)[vs[1].(int)] - }).(GetFleetOperationLogOutput) +func (o GetFleetErrorsFleetErrorCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetErrorsFleetErrorCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorsFleetErrorCollection { + return vs[0].([]GetFleetErrorsFleetErrorCollection)[vs[1].(int)] + }).(GetFleetErrorsFleetErrorCollectionOutput) } -type GetFleetPerformanceTuningAnalysisResultsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetFleetErrorsFleetErrorCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // List of fleet error details. + Errors []GetFleetErrorsFleetErrorCollectionItemError `pulumi:"errors"` + // The ID of the Fleet. + FleetId string `pulumi:"fleetId"` + // The display name of the Fleet. + FleetName string `pulumi:"fleetName"` + // The timestamp of the first time an error was detected. + TimeFirstSeen string `pulumi:"timeFirstSeen"` + // The timestamp of the last time an error was detected. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// GetFleetPerformanceTuningAnalysisResultsFilterInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsFilterArgs and GetFleetPerformanceTuningAnalysisResultsFilterOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsFilterInput` via: +// GetFleetErrorsFleetErrorCollectionItemInput is an input type that accepts GetFleetErrorsFleetErrorCollectionItemArgs and GetFleetErrorsFleetErrorCollectionItemOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionItemInput` via: // -// GetFleetPerformanceTuningAnalysisResultsFilterArgs{...} -type GetFleetPerformanceTuningAnalysisResultsFilterInput interface { +// GetFleetErrorsFleetErrorCollectionItemArgs{...} +type GetFleetErrorsFleetErrorCollectionItemInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput - ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput + ToGetFleetErrorsFleetErrorCollectionItemOutput() GetFleetErrorsFleetErrorCollectionItemOutput + ToGetFleetErrorsFleetErrorCollectionItemOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionItemOutput } -type GetFleetPerformanceTuningAnalysisResultsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetFleetErrorsFleetErrorCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // List of fleet error details. + Errors GetFleetErrorsFleetErrorCollectionItemErrorArrayInput `pulumi:"errors"` + // The ID of the Fleet. + FleetId pulumi.StringInput `pulumi:"fleetId"` + // The display name of the Fleet. + FleetName pulumi.StringInput `pulumi:"fleetName"` + // The timestamp of the first time an error was detected. + TimeFirstSeen pulumi.StringInput `pulumi:"timeFirstSeen"` + // The timestamp of the last time an error was detected. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -func (GetFleetPerformanceTuningAnalysisResultsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItem)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsFilterArgs) ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionItemArgs) ToGetFleetErrorsFleetErrorCollectionItemOutput() GetFleetErrorsFleetErrorCollectionItemOutput { + return i.ToGetFleetErrorsFleetErrorCollectionItemOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsFilterArgs) ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsFilterOutput) +func (i GetFleetErrorsFleetErrorCollectionItemArgs) ToGetFleetErrorsFleetErrorCollectionItemOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionItemOutput) } -// GetFleetPerformanceTuningAnalysisResultsFilterArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsFilterArray and GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsFilterArrayInput` via: +// GetFleetErrorsFleetErrorCollectionItemArrayInput is an input type that accepts GetFleetErrorsFleetErrorCollectionItemArray and GetFleetErrorsFleetErrorCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionItemArrayInput` via: // -// GetFleetPerformanceTuningAnalysisResultsFilterArray{ GetFleetPerformanceTuningAnalysisResultsFilterArgs{...} } -type GetFleetPerformanceTuningAnalysisResultsFilterArrayInput interface { +// GetFleetErrorsFleetErrorCollectionItemArray{ GetFleetErrorsFleetErrorCollectionItemArgs{...} } +type GetFleetErrorsFleetErrorCollectionItemArrayInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput - ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput + ToGetFleetErrorsFleetErrorCollectionItemArrayOutput() GetFleetErrorsFleetErrorCollectionItemArrayOutput + ToGetFleetErrorsFleetErrorCollectionItemArrayOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionItemArrayOutput } -type GetFleetPerformanceTuningAnalysisResultsFilterArray []GetFleetPerformanceTuningAnalysisResultsFilterInput +type GetFleetErrorsFleetErrorCollectionItemArray []GetFleetErrorsFleetErrorCollectionItemInput -func (GetFleetPerformanceTuningAnalysisResultsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollectionItem)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsFilterArray) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionItemArray) ToGetFleetErrorsFleetErrorCollectionItemArrayOutput() GetFleetErrorsFleetErrorCollectionItemArrayOutput { + return i.ToGetFleetErrorsFleetErrorCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsFilterArray) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) +func (i GetFleetErrorsFleetErrorCollectionItemArray) ToGetFleetErrorsFleetErrorCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionItemArrayOutput) } -type GetFleetPerformanceTuningAnalysisResultsFilterOutput struct{ *pulumi.OutputState } +type GetFleetErrorsFleetErrorCollectionItemOutput struct{ *pulumi.OutputState } -func (GetFleetPerformanceTuningAnalysisResultsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItem)(nil)).Elem() } -func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput { +func (o GetFleetErrorsFleetErrorCollectionItemOutput) ToGetFleetErrorsFleetErrorCollectionItemOutput() GetFleetErrorsFleetErrorCollectionItemOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput { +func (o GetFleetErrorsFleetErrorCollectionItemOutput) ToGetFleetErrorsFleetErrorCollectionItemOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) string { return v.Name }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// List of fleet error details. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) Errors() GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) []GetFleetErrorsFleetErrorCollectionItemError { + return v.Errors + }).(GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) } -func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The ID of the Fleet. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) FleetId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) string { return v.FleetId }).(pulumi.StringOutput) } -type GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput struct{ *pulumi.OutputState } +// The display name of the Fleet. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) FleetName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) string { return v.FleetName }).(pulumi.StringOutput) +} -func (GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() +// The timestamp of the first time an error was detected. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) TimeFirstSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) string { return v.TimeFirstSeen }).(pulumi.StringOutput) } -func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { +// The timestamp of the last time an error was detected. +func (o GetFleetErrorsFleetErrorCollectionItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) +} + +type GetFleetErrorsFleetErrorCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorsFleetErrorCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollectionItem)(nil)).Elem() +} + +func (o GetFleetErrorsFleetErrorCollectionItemArrayOutput) ToGetFleetErrorsFleetErrorCollectionItemArrayOutput() GetFleetErrorsFleetErrorCollectionItemArrayOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { +func (o GetFleetErrorsFleetErrorCollectionItemArrayOutput) ToGetFleetErrorsFleetErrorCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemArrayOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsFilter { - return vs[0].([]GetFleetPerformanceTuningAnalysisResultsFilter)[vs[1].(int)] - }).(GetFleetPerformanceTuningAnalysisResultsFilterOutput) +func (o GetFleetErrorsFleetErrorCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetErrorsFleetErrorCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorsFleetErrorCollectionItem { + return vs[0].([]GetFleetErrorsFleetErrorCollectionItem)[vs[1].(int)] + }).(GetFleetErrorsFleetErrorCollectionItemOutput) } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection struct { - Items []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem `pulumi:"items"` +type GetFleetErrorsFleetErrorCollectionItemError struct { + // Optional string containing additional details. + Details string `pulumi:"details"` + // The fleet error reason. + Reason string `pulumi:"reason"` + // The timestamp of the last time an error was detected. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput` via: +// GetFleetErrorsFleetErrorCollectionItemErrorInput is an input type that accepts GetFleetErrorsFleetErrorCollectionItemErrorArgs and GetFleetErrorsFleetErrorCollectionItemErrorOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionItemErrorInput` via: // -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs{...} -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput interface { +// GetFleetErrorsFleetErrorCollectionItemErrorArgs{...} +type GetFleetErrorsFleetErrorCollectionItemErrorInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput + ToGetFleetErrorsFleetErrorCollectionItemErrorOutput() GetFleetErrorsFleetErrorCollectionItemErrorOutput + ToGetFleetErrorsFleetErrorCollectionItemErrorOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionItemErrorOutput } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs struct { - Items GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput `pulumi:"items"` +type GetFleetErrorsFleetErrorCollectionItemErrorArgs struct { + // Optional string containing additional details. + Details pulumi.StringInput `pulumi:"details"` + // The fleet error reason. + Reason pulumi.StringInput `pulumi:"reason"` + // The timestamp of the last time an error was detected. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemError)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionItemErrorArgs) ToGetFleetErrorsFleetErrorCollectionItemErrorOutput() GetFleetErrorsFleetErrorCollectionItemErrorOutput { + return i.ToGetFleetErrorsFleetErrorCollectionItemErrorOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) +func (i GetFleetErrorsFleetErrorCollectionItemErrorArgs) ToGetFleetErrorsFleetErrorCollectionItemErrorOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionItemErrorOutput) } -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput` via: +// GetFleetErrorsFleetErrorCollectionItemErrorArrayInput is an input type that accepts GetFleetErrorsFleetErrorCollectionItemErrorArray and GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput values. +// You can construct a concrete instance of `GetFleetErrorsFleetErrorCollectionItemErrorArrayInput` via: // -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray{ GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs{...} } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput interface { +// GetFleetErrorsFleetErrorCollectionItemErrorArray{ GetFleetErrorsFleetErrorCollectionItemErrorArgs{...} } +type GetFleetErrorsFleetErrorCollectionItemErrorArrayInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput + ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutput() GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput + ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutputWithContext(context.Context) GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput +type GetFleetErrorsFleetErrorCollectionItemErrorArray []GetFleetErrorsFleetErrorCollectionItemErrorInput -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollectionItemError)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(context.Background()) +func (i GetFleetErrorsFleetErrorCollectionItemErrorArray) ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutput() GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput { + return i.ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) +func (i GetFleetErrorsFleetErrorCollectionItemErrorArray) ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput struct{ *pulumi.OutputState } +type GetFleetErrorsFleetErrorCollectionItemErrorOutput struct{ *pulumi.OutputState } -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() +func (GetFleetErrorsFleetErrorCollectionItemErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemError)(nil)).Elem() } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { +func (o GetFleetErrorsFleetErrorCollectionItemErrorOutput) ToGetFleetErrorsFleetErrorCollectionItemErrorOutput() GetFleetErrorsFleetErrorCollectionItemErrorOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { +func (o GetFleetErrorsFleetErrorCollectionItemErrorOutput) ToGetFleetErrorsFleetErrorCollectionItemErrorOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemErrorOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) Items() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection) []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem { - return v.Items - }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) +// Optional string containing additional details. +func (o GetFleetErrorsFleetErrorCollectionItemErrorOutput) Details() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItemError) string { return v.Details }).(pulumi.StringOutput) } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput struct{ *pulumi.OutputState } +// The fleet error reason. +func (o GetFleetErrorsFleetErrorCollectionItemErrorOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItemError) string { return v.Reason }).(pulumi.StringOutput) +} -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() +// The timestamp of the last time an error was detected. +func (o GetFleetErrorsFleetErrorCollectionItemErrorOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetErrorsFleetErrorCollectionItemError) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { +type GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetErrorsFleetErrorCollectionItemError)(nil)).Elem() +} + +func (o GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutput() GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { +func (o GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) ToGetFleetErrorsFleetErrorCollectionItemErrorArrayOutputWithContext(ctx context.Context) GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection { - return vs[0].([]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)[vs[1].(int)] - }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) +func (o GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput) Index(i pulumi.IntInput) GetFleetErrorsFleetErrorCollectionItemErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetErrorsFleetErrorCollectionItemError { + return vs[0].([]GetFleetErrorsFleetErrorCollectionItemError)[vs[1].(int)] + }).(GetFleetErrorsFleetErrorCollectionItemErrorOutput) } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem struct { - // The Fleet-unique identifier of the related application. - ApplicationId string `pulumi:"applicationId"` - // The internal identifier of the application installation for which the report has been generated. - ApplicationInstallationId string `pulumi:"applicationInstallationId"` - // The installation path of the application for which the report has been generated. - ApplicationInstallationPath string `pulumi:"applicationInstallationPath"` - // The name of the application for which the report has been generated. - ApplicationName string `pulumi:"applicationName"` - // The Object Storage bucket name of this analysis result. - Bucket string `pulumi:"bucket"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. - FleetId string `pulumi:"fleetId"` - // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. - HostName string `pulumi:"hostName"` - // The OCID to identify this analysis results. - Id string `pulumi:"id"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId string `pulumi:"managedInstanceId"` - // The Object Storage namespace of this analysis result. - Namespace string `pulumi:"namespace"` - // The Object Storage object name of this analysis result. - Object string `pulumi:"object"` - // Result of the analysis based on whether warnings have been found or not. - Result string `pulumi:"result"` - // The time the result is compiled. - TimeCreated string `pulumi:"timeCreated"` - // The time the JFR recording has finished. - TimeFinished string `pulumi:"timeFinished"` - // The time the JFR recording has started. - TimeStarted string `pulumi:"timeStarted"` - // Total number of warnings reported by the analysis. - WarningCount int `pulumi:"warningCount"` - // The OCID of the work request to start the analysis. - WorkRequestId string `pulumi:"workRequestId"` +type GetFleetInventoryLog struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId string `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId string `pulumi:"logId"` } -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput` via: +// GetFleetInventoryLogInput is an input type that accepts GetFleetInventoryLogArgs and GetFleetInventoryLogOutput values. +// You can construct a concrete instance of `GetFleetInventoryLogInput` via: // -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs{...} -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput interface { +// GetFleetInventoryLogArgs{...} +type GetFleetInventoryLogInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput + ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput + ToGetFleetInventoryLogOutputWithContext(context.Context) GetFleetInventoryLogOutput } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs struct { - // The Fleet-unique identifier of the related application. - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - // The internal identifier of the application installation for which the report has been generated. - ApplicationInstallationId pulumi.StringInput `pulumi:"applicationInstallationId"` - // The installation path of the application for which the report has been generated. - ApplicationInstallationPath pulumi.StringInput `pulumi:"applicationInstallationPath"` - // The name of the application for which the report has been generated. - ApplicationName pulumi.StringInput `pulumi:"applicationName"` - // The Object Storage bucket name of this analysis result. - Bucket pulumi.StringInput `pulumi:"bucket"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. - FleetId pulumi.StringInput `pulumi:"fleetId"` - // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. - HostName pulumi.StringInput `pulumi:"hostName"` - // The OCID to identify this analysis results. - Id pulumi.StringInput `pulumi:"id"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` - // The Object Storage namespace of this analysis result. - Namespace pulumi.StringInput `pulumi:"namespace"` - // The Object Storage object name of this analysis result. - Object pulumi.StringInput `pulumi:"object"` - // Result of the analysis based on whether warnings have been found or not. - Result pulumi.StringInput `pulumi:"result"` - // The time the result is compiled. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the JFR recording has finished. - TimeFinished pulumi.StringInput `pulumi:"timeFinished"` - // The time the JFR recording has started. - TimeStarted pulumi.StringInput `pulumi:"timeStarted"` - // Total number of warnings reported by the analysis. - WarningCount pulumi.IntInput `pulumi:"warningCount"` - // The OCID of the work request to start the analysis. - WorkRequestId pulumi.StringInput `pulumi:"workRequestId"` +type GetFleetInventoryLogArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId pulumi.StringInput `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId pulumi.StringInput `pulumi:"logId"` } -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetInventoryLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetInventoryLog)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(context.Background()) +func (i GetFleetInventoryLogArgs) ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput { + return i.ToGetFleetInventoryLogOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) +func (i GetFleetInventoryLogArgs) ToGetFleetInventoryLogOutputWithContext(ctx context.Context) GetFleetInventoryLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetInventoryLogOutput) } -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput` via: +// GetFleetInventoryLogArrayInput is an input type that accepts GetFleetInventoryLogArray and GetFleetInventoryLogArrayOutput values. +// You can construct a concrete instance of `GetFleetInventoryLogArrayInput` via: // -// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray{ GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs{...} } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput interface { +// GetFleetInventoryLogArray{ GetFleetInventoryLogArgs{...} } +type GetFleetInventoryLogArrayInput interface { pulumi.Input - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput - ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput + ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput + ToGetFleetInventoryLogArrayOutputWithContext(context.Context) GetFleetInventoryLogArrayOutput } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput +type GetFleetInventoryLogArray []GetFleetInventoryLogInput -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetInventoryLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetInventoryLog)(nil)).Elem() } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { - return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(context.Background()) +func (i GetFleetInventoryLogArray) ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput { + return i.ToGetFleetInventoryLogArrayOutputWithContext(context.Background()) } -func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) +func (i GetFleetInventoryLogArray) ToGetFleetInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetInventoryLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetInventoryLogArrayOutput) } -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput struct{ *pulumi.OutputState } +type GetFleetInventoryLogOutput struct{ *pulumi.OutputState } -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() +func (GetFleetInventoryLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetInventoryLog)(nil)).Elem() } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { +func (o GetFleetInventoryLogOutput) ToGetFleetInventoryLogOutput() GetFleetInventoryLogOutput { return o } -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { +func (o GetFleetInventoryLogOutput) ToGetFleetInventoryLogOutputWithContext(ctx context.Context) GetFleetInventoryLogOutput { return o } -// The Fleet-unique identifier of the related application. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.ApplicationId - }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. +func (o GetFleetInventoryLogOutput) LogGroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetInventoryLog) string { return v.LogGroupId }).(pulumi.StringOutput) } -// The internal identifier of the application installation for which the report has been generated. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationInstallationId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.ApplicationInstallationId - }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. +func (o GetFleetInventoryLogOutput) LogId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetInventoryLog) string { return v.LogId }).(pulumi.StringOutput) } -// The installation path of the application for which the report has been generated. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationInstallationPath() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.ApplicationInstallationPath - }).(pulumi.StringOutput) +type GetFleetInventoryLogArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetInventoryLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetInventoryLog)(nil)).Elem() } -// The name of the application for which the report has been generated. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationName() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.ApplicationName - }).(pulumi.StringOutput) +func (o GetFleetInventoryLogArrayOutput) ToGetFleetInventoryLogArrayOutput() GetFleetInventoryLogArrayOutput { + return o } -// The Object Storage bucket name of this analysis result. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.Bucket - }).(pulumi.StringOutput) +func (o GetFleetInventoryLogArrayOutput) ToGetFleetInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetInventoryLogArrayOutput { + return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) FleetId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.FleetId - }).(pulumi.StringOutput) +func (o GetFleetInventoryLogArrayOutput) Index(i pulumi.IntInput) GetFleetInventoryLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetInventoryLog { + return vs[0].([]GetFleetInventoryLog)[vs[1].(int)] + }).(GetFleetInventoryLogOutput) } -// The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) HostName() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.HostName - }).(pulumi.StringOutput) -} - -// The OCID to identify this analysis results. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.Id - }).(pulumi.StringOutput) -} - -// The Fleet-unique identifier of the related managed instance. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ManagedInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.ManagedInstanceId - }).(pulumi.StringOutput) -} - -// The Object Storage namespace of this analysis result. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.Namespace - }).(pulumi.StringOutput) -} - -// The Object Storage object name of this analysis result. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Object() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.Object - }).(pulumi.StringOutput) -} - -// Result of the analysis based on whether warnings have been found or not. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Result() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.Result - }).(pulumi.StringOutput) -} - -// The time the result is compiled. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.TimeCreated - }).(pulumi.StringOutput) -} - -// The time the JFR recording has finished. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeFinished() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.TimeFinished - }).(pulumi.StringOutput) -} - -// The time the JFR recording has started. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeStarted() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.TimeStarted - }).(pulumi.StringOutput) -} - -// Total number of warnings reported by the analysis. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) WarningCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) int { - return v.WarningCount - }).(pulumi.IntOutput) -} - -// The OCID of the work request to start the analysis. -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) WorkRequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { - return v.WorkRequestId - }).(pulumi.StringOutput) -} - -type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput struct{ *pulumi.OutputState } - -func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() -} - -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { - return o -} - -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { - return o -} - -func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem { - return vs[0].([]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)[vs[1].(int)] - }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) -} - -type GetFleetsFilter struct { +type GetFleetJavaMigrationAnalysisResultsFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` Values []string `pulumi:"values"` } -// GetFleetsFilterInput is an input type that accepts GetFleetsFilterArgs and GetFleetsFilterOutput values. -// You can construct a concrete instance of `GetFleetsFilterInput` via: +// GetFleetJavaMigrationAnalysisResultsFilterInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsFilterArgs and GetFleetJavaMigrationAnalysisResultsFilterOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsFilterInput` via: // -// GetFleetsFilterArgs{...} -type GetFleetsFilterInput interface { +// GetFleetJavaMigrationAnalysisResultsFilterArgs{...} +type GetFleetJavaMigrationAnalysisResultsFilterInput interface { pulumi.Input - ToGetFleetsFilterOutput() GetFleetsFilterOutput - ToGetFleetsFilterOutputWithContext(context.Context) GetFleetsFilterOutput + ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput + ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput } -type GetFleetsFilterArgs struct { +type GetFleetJavaMigrationAnalysisResultsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetFleetsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFilter)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() } -func (i GetFleetsFilterArgs) ToGetFleetsFilterOutput() GetFleetsFilterOutput { - return i.ToGetFleetsFilterOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsFilterArgs) ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(context.Background()) } -func (i GetFleetsFilterArgs) ToGetFleetsFilterOutputWithContext(ctx context.Context) GetFleetsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFilterOutput) +func (i GetFleetJavaMigrationAnalysisResultsFilterArgs) ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsFilterOutput) } -// GetFleetsFilterArrayInput is an input type that accepts GetFleetsFilterArray and GetFleetsFilterArrayOutput values. -// You can construct a concrete instance of `GetFleetsFilterArrayInput` via: +// GetFleetJavaMigrationAnalysisResultsFilterArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsFilterArray and GetFleetJavaMigrationAnalysisResultsFilterArrayOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsFilterArrayInput` via: // -// GetFleetsFilterArray{ GetFleetsFilterArgs{...} } -type GetFleetsFilterArrayInput interface { +// GetFleetJavaMigrationAnalysisResultsFilterArray{ GetFleetJavaMigrationAnalysisResultsFilterArgs{...} } +type GetFleetJavaMigrationAnalysisResultsFilterArrayInput interface { pulumi.Input - ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput - ToGetFleetsFilterArrayOutputWithContext(context.Context) GetFleetsFilterArrayOutput + ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput + ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput } -type GetFleetsFilterArray []GetFleetsFilterInput +type GetFleetJavaMigrationAnalysisResultsFilterArray []GetFleetJavaMigrationAnalysisResultsFilterInput -func (GetFleetsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFilter)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() } -func (i GetFleetsFilterArray) ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput { - return i.ToGetFleetsFilterArrayOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsFilterArray) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(context.Background()) } -func (i GetFleetsFilterArray) ToGetFleetsFilterArrayOutputWithContext(ctx context.Context) GetFleetsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFilterArrayOutput) +func (i GetFleetJavaMigrationAnalysisResultsFilterArray) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) } -type GetFleetsFilterOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsFilterOutput struct{ *pulumi.OutputState } -func (GetFleetsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFilter)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() } -func (o GetFleetsFilterOutput) ToGetFleetsFilterOutput() GetFleetsFilterOutput { +func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) ToGetFleetJavaMigrationAnalysisResultsFilterOutput() GetFleetJavaMigrationAnalysisResultsFilterOutput { return o } -func (o GetFleetsFilterOutput) ToGetFleetsFilterOutputWithContext(ctx context.Context) GetFleetsFilterOutput { +func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) ToGetFleetJavaMigrationAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterOutput { return o } -func (o GetFleetsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFilter) string { return v.Name }).(pulumi.StringOutput) +func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetFleetsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFleetsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetFleetsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFleetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetFleetJavaMigrationAnalysisResultsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetFleetsFilterArrayOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetFleetsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFilter)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsFilter)(nil)).Elem() } -func (o GetFleetsFilterArrayOutput) ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutput() GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { return o } -func (o GetFleetsFilterArrayOutput) ToGetFleetsFilterArrayOutputWithContext(ctx context.Context) GetFleetsFilterArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) ToGetFleetJavaMigrationAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsFilterArrayOutput { return o } -func (o GetFleetsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFilter { - return vs[0].([]GetFleetsFilter)[vs[1].(int)] - }).(GetFleetsFilterOutput) +func (o GetFleetJavaMigrationAnalysisResultsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsFilter { + return vs[0].([]GetFleetJavaMigrationAnalysisResultsFilter)[vs[1].(int)] + }).(GetFleetJavaMigrationAnalysisResultsFilterOutput) } -type GetFleetsFleetCollection struct { - Items []GetFleetsFleetCollectionItem `pulumi:"items"` +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection struct { + Items []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem `pulumi:"items"` } -// GetFleetsFleetCollectionInput is an input type that accepts GetFleetsFleetCollectionArgs and GetFleetsFleetCollectionOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionInput` via: +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput` via: // -// GetFleetsFleetCollectionArgs{...} -type GetFleetsFleetCollectionInput interface { +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs{...} +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput interface { pulumi.Input - ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput - ToGetFleetsFleetCollectionOutputWithContext(context.Context) GetFleetsFleetCollectionOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput } -type GetFleetsFleetCollectionArgs struct { - Items GetFleetsFleetCollectionItemArrayInput `pulumi:"items"` +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs struct { + Items GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput `pulumi:"items"` } -func (GetFleetsFleetCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollection)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() } -func (i GetFleetsFleetCollectionArgs) ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput { - return i.ToGetFleetsFleetCollectionOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionArgs) ToGetFleetsFleetCollectionOutputWithContext(ctx context.Context) GetFleetsFleetCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionOutput) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) } -// GetFleetsFleetCollectionArrayInput is an input type that accepts GetFleetsFleetCollectionArray and GetFleetsFleetCollectionArrayOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionArrayInput` via: +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput` via: // -// GetFleetsFleetCollectionArray{ GetFleetsFleetCollectionArgs{...} } -type GetFleetsFleetCollectionArrayInput interface { +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray{ GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArgs{...} } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayInput interface { pulumi.Input - ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput - ToGetFleetsFleetCollectionArrayOutputWithContext(context.Context) GetFleetsFleetCollectionArrayOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput } -type GetFleetsFleetCollectionArray []GetFleetsFleetCollectionInput +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionInput -func (GetFleetsFleetCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollection)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() } -func (i GetFleetsFleetCollectionArray) ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput { - return i.ToGetFleetsFleetCollectionArrayOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionArray) ToGetFleetsFleetCollectionArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionArrayOutput) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) } -type GetFleetsFleetCollectionOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollection)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() } -func (o GetFleetsFleetCollectionOutput) ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { return o } -func (o GetFleetsFleetCollectionOutput) ToGetFleetsFleetCollectionOutputWithContext(ctx context.Context) GetFleetsFleetCollectionOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { return o } -func (o GetFleetsFleetCollectionOutput) Items() GetFleetsFleetCollectionItemArrayOutput { - return o.ApplyT(func(v GetFleetsFleetCollection) []GetFleetsFleetCollectionItem { return v.Items }).(GetFleetsFleetCollectionItemArrayOutput) +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) Items() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection) []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem { + return v.Items + }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) } -type GetFleetsFleetCollectionArrayOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollection)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)(nil)).Elem() } -func (o GetFleetsFleetCollectionArrayOutput) ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { return o } -func (o GetFleetsFleetCollectionArrayOutput) ToGetFleetsFleetCollectionArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput { return o } -func (o GetFleetsFleetCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollection { - return vs[0].([]GetFleetsFleetCollection)[vs[1].(int)] - }).(GetFleetsFleetCollectionOutput) +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection { + return vs[0].([]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection)[vs[1].(int)] + }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionOutput) } -type GetFleetsFleetCollectionItem struct { - // The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` - // The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateInstallationCount int `pulumi:"approximateInstallationCount"` - // The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateJavaServerCount int `pulumi:"approximateJavaServerCount"` - // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateJreCount int `pulumi:"approximateJreCount"` - // The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateManagedInstanceCount int `pulumi:"approximateManagedInstanceCount"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - CompartmentId string `pulumi:"compartmentId"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags map[string]string `pulumi:"definedTags"` - // The Fleet's description. - Description string `pulumi:"description"` - // The 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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags map[string]string `pulumi:"freeformTags"` - // The ID. +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem struct { + // Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. + ApplicationExecutionType string `pulumi:"applicationExecutionType"` + // The unique key that identifies the application. + ApplicationKey string `pulumi:"applicationKey"` + // The name of the application. + ApplicationName string `pulumi:"applicationName"` + // The installation path of the application for which the Java migration analysis was performed. + ApplicationPath string `pulumi:"applicationPath"` + // The name of the object storage bucket that contains the results of the migration analysis. + Bucket string `pulumi:"bucket"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + FleetId string `pulumi:"fleetId"` + // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. + HostName string `pulumi:"hostName"` + // The OCID of the migration analysis report. Id string `pulumi:"id"` - // Custom Log for inventory or operation log. - InventoryLogs []GetFleetsFleetCollectionItemInventoryLog `pulumi:"inventoryLogs"` - // Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. - IsAdvancedFeaturesEnabled bool `pulumi:"isAdvancedFeaturesEnabled"` - // Whether or not export setting is enabled in this Fleet. - IsExportSettingEnabled bool `pulumi:"isExportSettingEnabled"` - // Custom Log for inventory or operation log. - OperationLogs []GetFleetsFleetCollectionItemOperationLog `pulumi:"operationLogs"` - // The state of the lifecycle. - State string `pulumi:"state"` - // 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 creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // Additional info reserved for future use. + Metadata string `pulumi:"metadata"` + // The object storage namespace that contains the results of the migration analysis. + Namespace string `pulumi:"namespace"` + // The names of the object storage objects that contain the results of the migration analysis. + ObjectLists []string `pulumi:"objectLists"` + // The directory path of the object storage bucket that contains the results of the migration analysis. + ObjectStorageUploadDirPath string `pulumi:"objectStorageUploadDirPath"` + // The source JDK version of the application that's currently running. + SourceJdkVersion string `pulumi:"sourceJdkVersion"` + // The target JDK version of the application to be migrated. + TargetJdkVersion string `pulumi:"targetJdkVersion"` + // The time the result is compiled. TimeCreated string `pulumi:"timeCreated"` + // The OCID of the work request of this analysis. + WorkRequestId string `pulumi:"workRequestId"` } -// GetFleetsFleetCollectionItemInput is an input type that accepts GetFleetsFleetCollectionItemArgs and GetFleetsFleetCollectionItemOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemInput` via: +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput` via: // -// GetFleetsFleetCollectionItemArgs{...} -type GetFleetsFleetCollectionItemInput interface { +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs{...} +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput - ToGetFleetsFleetCollectionItemOutputWithContext(context.Context) GetFleetsFleetCollectionItemOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput } -type GetFleetsFleetCollectionItemArgs struct { - // The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` - // The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateInstallationCount pulumi.IntInput `pulumi:"approximateInstallationCount"` - // The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateJavaServerCount pulumi.IntInput `pulumi:"approximateJavaServerCount"` - // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateJreCount pulumi.IntInput `pulumi:"approximateJreCount"` - // The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. - ApproximateManagedInstanceCount pulumi.IntInput `pulumi:"approximateManagedInstanceCount"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - // The Fleet's description. - Description pulumi.StringInput `pulumi:"description"` - // The display name. - 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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // The ID. +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs struct { + // Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. + ApplicationExecutionType pulumi.StringInput `pulumi:"applicationExecutionType"` + // The unique key that identifies the application. + ApplicationKey pulumi.StringInput `pulumi:"applicationKey"` + // The name of the application. + ApplicationName pulumi.StringInput `pulumi:"applicationName"` + // The installation path of the application for which the Java migration analysis was performed. + ApplicationPath pulumi.StringInput `pulumi:"applicationPath"` + // The name of the object storage bucket that contains the results of the migration analysis. + Bucket pulumi.StringInput `pulumi:"bucket"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + FleetId pulumi.StringInput `pulumi:"fleetId"` + // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. + HostName pulumi.StringInput `pulumi:"hostName"` + // The OCID of the migration analysis report. Id pulumi.StringInput `pulumi:"id"` - // Custom Log for inventory or operation log. - InventoryLogs GetFleetsFleetCollectionItemInventoryLogArrayInput `pulumi:"inventoryLogs"` - // Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. - IsAdvancedFeaturesEnabled pulumi.BoolInput `pulumi:"isAdvancedFeaturesEnabled"` - // Whether or not export setting is enabled in this Fleet. - IsExportSettingEnabled pulumi.BoolInput `pulumi:"isExportSettingEnabled"` - // Custom Log for inventory or operation log. - OperationLogs GetFleetsFleetCollectionItemOperationLogArrayInput `pulumi:"operationLogs"` - // The state of the lifecycle. - State pulumi.StringInput `pulumi:"state"` - // 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 creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // Additional info reserved for future use. + Metadata pulumi.StringInput `pulumi:"metadata"` + // The object storage namespace that contains the results of the migration analysis. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The names of the object storage objects that contain the results of the migration analysis. + ObjectLists pulumi.StringArrayInput `pulumi:"objectLists"` + // The directory path of the object storage bucket that contains the results of the migration analysis. + ObjectStorageUploadDirPath pulumi.StringInput `pulumi:"objectStorageUploadDirPath"` + // The source JDK version of the application that's currently running. + SourceJdkVersion pulumi.StringInput `pulumi:"sourceJdkVersion"` + // The target JDK version of the application to be migrated. + TargetJdkVersion pulumi.StringInput `pulumi:"targetJdkVersion"` + // The time the result is compiled. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The OCID of the work request of this analysis. + WorkRequestId pulumi.StringInput `pulumi:"workRequestId"` } -func (GetFleetsFleetCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItem)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemArgs) ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput { - return i.ToGetFleetsFleetCollectionItemOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemArgs) ToGetFleetsFleetCollectionItemOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOutput) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) } -// GetFleetsFleetCollectionItemArrayInput is an input type that accepts GetFleetsFleetCollectionItemArray and GetFleetsFleetCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemArrayInput` via: +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput is an input type that accepts GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray and GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput` via: // -// GetFleetsFleetCollectionItemArray{ GetFleetsFleetCollectionItemArgs{...} } -type GetFleetsFleetCollectionItemArrayInput interface { +// GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray{ GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArgs{...} } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput - ToGetFleetsFleetCollectionItemArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemArrayOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput + ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput } -type GetFleetsFleetCollectionItemArray []GetFleetsFleetCollectionItemInput +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemInput -func (GetFleetsFleetCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItem)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemArray) ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput { - return i.ToGetFleetsFleetCollectionItemArrayOutputWithContext(context.Background()) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { + return i.ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemArray) ToGetFleetsFleetCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemArrayOutput) +func (i GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArray) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) } -type GetFleetsFleetCollectionItemOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItem)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemOutput) ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { return o } -func (o GetFleetsFleetCollectionItemOutput) ToGetFleetsFleetCollectionItemOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { return o } -// The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. -func (o GetFleetsFleetCollectionItemOutput) ApproximateApplicationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) +// Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationExecutionType() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ApplicationExecutionType + }).(pulumi.StringOutput) } -// The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. -func (o GetFleetsFleetCollectionItemOutput) ApproximateInstallationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateInstallationCount }).(pulumi.IntOutput) +// The unique key that identifies the application. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationKey() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ApplicationKey + }).(pulumi.StringOutput) } -// The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. -func (o GetFleetsFleetCollectionItemOutput) ApproximateJavaServerCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateJavaServerCount }).(pulumi.IntOutput) +// The name of the application. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ApplicationName + }).(pulumi.StringOutput) } -// The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. -func (o GetFleetsFleetCollectionItemOutput) ApproximateJreCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateJreCount }).(pulumi.IntOutput) +// The installation path of the application for which the Java migration analysis was performed. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ApplicationPath() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ApplicationPath + }).(pulumi.StringOutput) } -// The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. -func (o GetFleetsFleetCollectionItemOutput) ApproximateManagedInstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateManagedInstanceCount }).(pulumi.IntOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. -func (o GetFleetsFleetCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +// The name of the object storage bucket that contains the results of the migration analysis. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.Bucket + }).(pulumi.StringOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). -func (o GetFleetsFleetCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) FleetId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.FleetId + }).(pulumi.StringOutput) } -// The Fleet's description. -func (o GetFleetsFleetCollectionItemOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.Description }).(pulumi.StringOutput) +// The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) HostName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.HostName + }).(pulumi.StringOutput) } -// The display name. -func (o GetFleetsFleetCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +// The OCID of the migration analysis report. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.Id + }).(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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) -func (o GetFleetsFleetCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +// The Fleet-unique identifier of the related managed instance. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ManagedInstanceId + }).(pulumi.StringOutput) } -// The ID. -func (o GetFleetsFleetCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.Id }).(pulumi.StringOutput) +// Additional info reserved for future use. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Metadata() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.Metadata + }).(pulumi.StringOutput) } -// Custom Log for inventory or operation log. -func (o GetFleetsFleetCollectionItemOutput) InventoryLogs() GetFleetsFleetCollectionItemInventoryLogArrayOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) []GetFleetsFleetCollectionItemInventoryLog { - return v.InventoryLogs - }).(GetFleetsFleetCollectionItemInventoryLogArrayOutput) +// The object storage namespace that contains the results of the migration analysis. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.Namespace + }).(pulumi.StringOutput) } -// Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. -func (o GetFleetsFleetCollectionItemOutput) IsAdvancedFeaturesEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) bool { return v.IsAdvancedFeaturesEnabled }).(pulumi.BoolOutput) +// The names of the object storage objects that contain the results of the migration analysis. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ObjectLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) []string { + return v.ObjectLists + }).(pulumi.StringArrayOutput) } -// Whether or not export setting is enabled in this Fleet. -func (o GetFleetsFleetCollectionItemOutput) IsExportSettingEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) bool { return v.IsExportSettingEnabled }).(pulumi.BoolOutput) +// The directory path of the object storage bucket that contains the results of the migration analysis. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) ObjectStorageUploadDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.ObjectStorageUploadDirPath + }).(pulumi.StringOutput) } -// Custom Log for inventory or operation log. -func (o GetFleetsFleetCollectionItemOutput) OperationLogs() GetFleetsFleetCollectionItemOperationLogArrayOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) []GetFleetsFleetCollectionItemOperationLog { - return v.OperationLogs - }).(GetFleetsFleetCollectionItemOperationLogArrayOutput) +// The source JDK version of the application that's currently running. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) SourceJdkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.SourceJdkVersion + }).(pulumi.StringOutput) } -// The state of the lifecycle. -func (o GetFleetsFleetCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.State }).(pulumi.StringOutput) +// The target JDK version of the application to be migrated. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) TargetJdkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.TargetJdkVersion + }).(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 GetFleetsFleetCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +// The time the result is compiled. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) } -// The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetFleetsFleetCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +// The OCID of the work request of this analysis. +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) WorkRequestId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem) string { + return v.WorkRequestId + }).(pulumi.StringOutput) } -type GetFleetsFleetCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItem)(nil)).Elem() +func (GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemArrayOutput) ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput() GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { return o } -func (o GetFleetsFleetCollectionItemArrayOutput) ToGetFleetsFleetCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemArrayOutput { +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) ToGetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput { return o } -func (o GetFleetsFleetCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItem { - return vs[0].([]GetFleetsFleetCollectionItem)[vs[1].(int)] - }).(GetFleetsFleetCollectionItemOutput) +func (o GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem { + return vs[0].([]GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem)[vs[1].(int)] + }).(GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemOutput) } -type GetFleetsFleetCollectionItemInventoryLog struct { +type GetFleetOperationLog struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. LogGroupId string `pulumi:"logGroupId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. LogId string `pulumi:"logId"` } -// GetFleetsFleetCollectionItemInventoryLogInput is an input type that accepts GetFleetsFleetCollectionItemInventoryLogArgs and GetFleetsFleetCollectionItemInventoryLogOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemInventoryLogInput` via: +// GetFleetOperationLogInput is an input type that accepts GetFleetOperationLogArgs and GetFleetOperationLogOutput values. +// You can construct a concrete instance of `GetFleetOperationLogInput` via: // -// GetFleetsFleetCollectionItemInventoryLogArgs{...} -type GetFleetsFleetCollectionItemInventoryLogInput interface { +// GetFleetOperationLogArgs{...} +type GetFleetOperationLogInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput - ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(context.Context) GetFleetsFleetCollectionItemInventoryLogOutput + ToGetFleetOperationLogOutput() GetFleetOperationLogOutput + ToGetFleetOperationLogOutputWithContext(context.Context) GetFleetOperationLogOutput } -type GetFleetsFleetCollectionItemInventoryLogArgs struct { +type GetFleetOperationLogArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. LogGroupId pulumi.StringInput `pulumi:"logGroupId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. LogId pulumi.StringInput `pulumi:"logId"` } -func (GetFleetsFleetCollectionItemInventoryLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() +func (GetFleetOperationLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetOperationLog)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemInventoryLogArgs) ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput { - return i.ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(context.Background()) +func (i GetFleetOperationLogArgs) ToGetFleetOperationLogOutput() GetFleetOperationLogOutput { + return i.ToGetFleetOperationLogOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemInventoryLogArgs) ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemInventoryLogOutput) +func (i GetFleetOperationLogArgs) ToGetFleetOperationLogOutputWithContext(ctx context.Context) GetFleetOperationLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetOperationLogOutput) } -// GetFleetsFleetCollectionItemInventoryLogArrayInput is an input type that accepts GetFleetsFleetCollectionItemInventoryLogArray and GetFleetsFleetCollectionItemInventoryLogArrayOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemInventoryLogArrayInput` via: +// GetFleetOperationLogArrayInput is an input type that accepts GetFleetOperationLogArray and GetFleetOperationLogArrayOutput values. +// You can construct a concrete instance of `GetFleetOperationLogArrayInput` via: // -// GetFleetsFleetCollectionItemInventoryLogArray{ GetFleetsFleetCollectionItemInventoryLogArgs{...} } -type GetFleetsFleetCollectionItemInventoryLogArrayInput interface { +// GetFleetOperationLogArray{ GetFleetOperationLogArgs{...} } +type GetFleetOperationLogArrayInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput - ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput + ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput + ToGetFleetOperationLogArrayOutputWithContext(context.Context) GetFleetOperationLogArrayOutput } -type GetFleetsFleetCollectionItemInventoryLogArray []GetFleetsFleetCollectionItemInventoryLogInput +type GetFleetOperationLogArray []GetFleetOperationLogInput -func (GetFleetsFleetCollectionItemInventoryLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() +func (GetFleetOperationLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetOperationLog)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemInventoryLogArray) ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput { - return i.ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(context.Background()) +func (i GetFleetOperationLogArray) ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput { + return i.ToGetFleetOperationLogArrayOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemInventoryLogArray) ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemInventoryLogArrayOutput) +func (i GetFleetOperationLogArray) ToGetFleetOperationLogArrayOutputWithContext(ctx context.Context) GetFleetOperationLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetOperationLogArrayOutput) } -type GetFleetsFleetCollectionItemInventoryLogOutput struct{ *pulumi.OutputState } +type GetFleetOperationLogOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionItemInventoryLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() +func (GetFleetOperationLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetOperationLog)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemInventoryLogOutput) ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput { +func (o GetFleetOperationLogOutput) ToGetFleetOperationLogOutput() GetFleetOperationLogOutput { return o } -func (o GetFleetsFleetCollectionItemInventoryLogOutput) ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogOutput { +func (o GetFleetOperationLogOutput) ToGetFleetOperationLogOutputWithContext(ctx context.Context) GetFleetOperationLogOutput { return o } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. -func (o GetFleetsFleetCollectionItemInventoryLogOutput) LogGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItemInventoryLog) string { return v.LogGroupId }).(pulumi.StringOutput) +func (o GetFleetOperationLogOutput) LogGroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetOperationLog) string { return v.LogGroupId }).(pulumi.StringOutput) } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. -func (o GetFleetsFleetCollectionItemInventoryLogOutput) LogId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItemInventoryLog) string { return v.LogId }).(pulumi.StringOutput) +func (o GetFleetOperationLogOutput) LogId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetOperationLog) string { return v.LogId }).(pulumi.StringOutput) } -type GetFleetsFleetCollectionItemInventoryLogArrayOutput struct{ *pulumi.OutputState } +type GetFleetOperationLogArrayOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionItemInventoryLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() +func (GetFleetOperationLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetOperationLog)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput { +func (o GetFleetOperationLogArrayOutput) ToGetFleetOperationLogArrayOutput() GetFleetOperationLogArrayOutput { return o } -func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput { +func (o GetFleetOperationLogArrayOutput) ToGetFleetOperationLogArrayOutputWithContext(ctx context.Context) GetFleetOperationLogArrayOutput { return o } -func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemInventoryLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItemInventoryLog { - return vs[0].([]GetFleetsFleetCollectionItemInventoryLog)[vs[1].(int)] - }).(GetFleetsFleetCollectionItemInventoryLogOutput) +func (o GetFleetOperationLogArrayOutput) Index(i pulumi.IntInput) GetFleetOperationLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetOperationLog { + return vs[0].([]GetFleetOperationLog)[vs[1].(int)] + }).(GetFleetOperationLogOutput) } -type GetFleetsFleetCollectionItemOperationLog struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId string `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId string `pulumi:"logId"` +type GetFleetPerformanceTuningAnalysisResultsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetFleetsFleetCollectionItemOperationLogInput is an input type that accepts GetFleetsFleetCollectionItemOperationLogArgs and GetFleetsFleetCollectionItemOperationLogOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemOperationLogInput` via: +// GetFleetPerformanceTuningAnalysisResultsFilterInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsFilterArgs and GetFleetPerformanceTuningAnalysisResultsFilterOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsFilterInput` via: // -// GetFleetsFleetCollectionItemOperationLogArgs{...} -type GetFleetsFleetCollectionItemOperationLogInput interface { +// GetFleetPerformanceTuningAnalysisResultsFilterArgs{...} +type GetFleetPerformanceTuningAnalysisResultsFilterInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput - ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(context.Context) GetFleetsFleetCollectionItemOperationLogOutput + ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput + ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput } -type GetFleetsFleetCollectionItemOperationLogArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. - LogGroupId pulumi.StringInput `pulumi:"logGroupId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. - LogId pulumi.StringInput `pulumi:"logId"` +type GetFleetPerformanceTuningAnalysisResultsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetFleetsFleetCollectionItemOperationLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemOperationLogArgs) ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput { - return i.ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsFilterArgs) ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemOperationLogArgs) ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOperationLogOutput) +func (i GetFleetPerformanceTuningAnalysisResultsFilterArgs) ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsFilterOutput) } -// GetFleetsFleetCollectionItemOperationLogArrayInput is an input type that accepts GetFleetsFleetCollectionItemOperationLogArray and GetFleetsFleetCollectionItemOperationLogArrayOutput values. -// You can construct a concrete instance of `GetFleetsFleetCollectionItemOperationLogArrayInput` via: +// GetFleetPerformanceTuningAnalysisResultsFilterArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsFilterArray and GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsFilterArrayInput` via: // -// GetFleetsFleetCollectionItemOperationLogArray{ GetFleetsFleetCollectionItemOperationLogArgs{...} } -type GetFleetsFleetCollectionItemOperationLogArrayInput interface { +// GetFleetPerformanceTuningAnalysisResultsFilterArray{ GetFleetPerformanceTuningAnalysisResultsFilterArgs{...} } +type GetFleetPerformanceTuningAnalysisResultsFilterArrayInput interface { pulumi.Input - ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput - ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput } -type GetFleetsFleetCollectionItemOperationLogArray []GetFleetsFleetCollectionItemOperationLogInput +type GetFleetPerformanceTuningAnalysisResultsFilterArray []GetFleetPerformanceTuningAnalysisResultsFilterInput -func (GetFleetsFleetCollectionItemOperationLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() } -func (i GetFleetsFleetCollectionItemOperationLogArray) ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput { - return i.ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsFilterArray) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(context.Background()) } -func (i GetFleetsFleetCollectionItemOperationLogArray) ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOperationLogArrayOutput) +func (i GetFleetPerformanceTuningAnalysisResultsFilterArray) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) } -type GetFleetsFleetCollectionItemOperationLogOutput struct{ *pulumi.OutputState } +type GetFleetPerformanceTuningAnalysisResultsFilterOutput struct{ *pulumi.OutputState } -func (GetFleetsFleetCollectionItemOperationLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemOperationLogOutput) ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput { +func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterOutput() GetFleetPerformanceTuningAnalysisResultsFilterOutput { return o } -func (o GetFleetsFleetCollectionItemOperationLogOutput) ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogOutput { +func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterOutput { return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. -func (o GetFleetsFleetCollectionItemOperationLogOutput) LogGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItemOperationLog) string { return v.LogGroupId }).(pulumi.StringOutput) +func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. -func (o GetFleetsFleetCollectionItemOperationLogOutput) LogId() pulumi.StringOutput { - return o.ApplyT(func(v GetFleetsFleetCollectionItemOperationLog) string { return v.LogId }).(pulumi.StringOutput) +func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetFleetsFleetCollectionItemOperationLogArrayOutput struct{ *pulumi.OutputState } +func (o GetFleetPerformanceTuningAnalysisResultsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetFleetsFleetCollectionItemOperationLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() +type GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsFilter)(nil)).Elem() } -func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutput() GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { return o } -func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsFilterArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput { return o } -func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemOperationLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItemOperationLog { - return vs[0].([]GetFleetsFleetCollectionItemOperationLog)[vs[1].(int)] - }).(GetFleetsFleetCollectionItemOperationLogOutput) +func (o GetFleetPerformanceTuningAnalysisResultsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsFilter { + return vs[0].([]GetFleetPerformanceTuningAnalysisResultsFilter)[vs[1].(int)] + }).(GetFleetPerformanceTuningAnalysisResultsFilterOutput) } -type GetInstallationSiteItem struct { - // The approximate count of applications running on this installation - ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` - // The list of operations that are blocklisted. - Blocklists []GetInstallationSiteItemBlocklist `pulumi:"blocklists"` - // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. - InstallationKey string `pulumi:"installationKey"` - // The essential properties to identify a Java Runtime. - Jres []GetInstallationSiteItemJre `pulumi:"jres"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId string `pulumi:"managedInstanceId"` - // Operating System of the platform on which the Java Runtime was reported. - OperatingSystems []GetInstallationSiteItemOperatingSystem `pulumi:"operatingSystems"` - // The file system path of the installation. - Path string `pulumi:"path"` - // The security status of the Java Runtime. - SecurityStatus string `pulumi:"securityStatus"` - // The lifecycle state of the installation site. - State string `pulumi:"state"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen string `pulumi:"timeLastSeen"` +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection struct { + Items []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem `pulumi:"items"` } -// GetInstallationSiteItemInput is an input type that accepts GetInstallationSiteItemArgs and GetInstallationSiteItemOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemInput` via: +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput` via: // -// GetInstallationSiteItemArgs{...} -type GetInstallationSiteItemInput interface { +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs{...} +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput interface { pulumi.Input - ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput - ToGetInstallationSiteItemOutputWithContext(context.Context) GetInstallationSiteItemOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput } -type GetInstallationSiteItemArgs struct { - // The approximate count of applications running on this installation - ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` - // The list of operations that are blocklisted. - Blocklists GetInstallationSiteItemBlocklistArrayInput `pulumi:"blocklists"` - // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. - InstallationKey pulumi.StringInput `pulumi:"installationKey"` - // The essential properties to identify a Java Runtime. - Jres GetInstallationSiteItemJreArrayInput `pulumi:"jres"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` - // Operating System of the platform on which the Java Runtime was reported. - OperatingSystems GetInstallationSiteItemOperatingSystemArrayInput `pulumi:"operatingSystems"` - // The file system path of the installation. - Path pulumi.StringInput `pulumi:"path"` - // The security status of the Java Runtime. - SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` - // The lifecycle state of the installation site. - State pulumi.StringInput `pulumi:"state"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs struct { + Items GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput `pulumi:"items"` } -func (GetInstallationSiteItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItem)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() } -func (i GetInstallationSiteItemArgs) ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput { - return i.ToGetInstallationSiteItemOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemArgs) ToGetInstallationSiteItemOutputWithContext(ctx context.Context) GetInstallationSiteItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOutput) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) } -// GetInstallationSiteItemArrayInput is an input type that accepts GetInstallationSiteItemArray and GetInstallationSiteItemArrayOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemArrayInput` via: +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput` via: // -// GetInstallationSiteItemArray{ GetInstallationSiteItemArgs{...} } -type GetInstallationSiteItemArrayInput interface { +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray{ GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArgs{...} } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayInput interface { pulumi.Input - ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput - ToGetInstallationSiteItemArrayOutputWithContext(context.Context) GetInstallationSiteItemArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput } -type GetInstallationSiteItemArray []GetInstallationSiteItemInput +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionInput -func (GetInstallationSiteItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItem)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() } -func (i GetInstallationSiteItemArray) ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput { - return i.ToGetInstallationSiteItemArrayOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemArray) ToGetInstallationSiteItemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemArrayOutput) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) } -type GetInstallationSiteItemOutput struct{ *pulumi.OutputState } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItem)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() } -func (o GetInstallationSiteItemOutput) ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { return o } -func (o GetInstallationSiteItemOutput) ToGetInstallationSiteItemOutputWithContext(ctx context.Context) GetInstallationSiteItemOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { return o } -// The approximate count of applications running on this installation -func (o GetInstallationSiteItemOutput) ApproximateApplicationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstallationSiteItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) -} - -// The list of operations that are blocklisted. -func (o GetInstallationSiteItemOutput) Blocklists() GetInstallationSiteItemBlocklistArrayOutput { - return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemBlocklist { return v.Blocklists }).(GetInstallationSiteItemBlocklistArrayOutput) -} - -// The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. -func (o GetInstallationSiteItemOutput) InstallationKey() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.InstallationKey }).(pulumi.StringOutput) -} - -// The essential properties to identify a Java Runtime. -func (o GetInstallationSiteItemOutput) Jres() GetInstallationSiteItemJreArrayOutput { - return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemJre { return v.Jres }).(GetInstallationSiteItemJreArrayOutput) -} - -// The Fleet-unique identifier of the related managed instance. -func (o GetInstallationSiteItemOutput) ManagedInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) -} - -// Operating System of the platform on which the Java Runtime was reported. -func (o GetInstallationSiteItemOutput) OperatingSystems() GetInstallationSiteItemOperatingSystemArrayOutput { - return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemOperatingSystem { return v.OperatingSystems }).(GetInstallationSiteItemOperatingSystemArrayOutput) -} - -// The file system path of the installation. -func (o GetInstallationSiteItemOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.Path }).(pulumi.StringOutput) -} - -// The security status of the Java Runtime. -func (o GetInstallationSiteItemOutput) SecurityStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.SecurityStatus }).(pulumi.StringOutput) -} - -// The lifecycle state of the installation site. -func (o GetInstallationSiteItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.State }).(pulumi.StringOutput) -} - -// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. -func (o GetInstallationSiteItemOutput) TimeLastSeen() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) Items() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection) []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem { + return v.Items + }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) } -type GetInstallationSiteItemArrayOutput struct{ *pulumi.OutputState } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItem)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)(nil)).Elem() } -func (o GetInstallationSiteItemArrayOutput) ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { return o } -func (o GetInstallationSiteItemArrayOutput) ToGetInstallationSiteItemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput { return o } -func (o GetInstallationSiteItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItem { - return vs[0].([]GetInstallationSiteItem)[vs[1].(int)] - }).(GetInstallationSiteItemOutput) -} - -type GetInstallationSiteItemBlocklist struct { - // The operation type. - Operation string `pulumi:"operation"` - // The reason why the operation is blocklisted. - Reason string `pulumi:"reason"` +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection { + return vs[0].([]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollection)[vs[1].(int)] + }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionOutput) } -// GetInstallationSiteItemBlocklistInput is an input type that accepts GetInstallationSiteItemBlocklistArgs and GetInstallationSiteItemBlocklistOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemBlocklistInput` via: +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem struct { + // The Fleet-unique identifier of the related application. + ApplicationId string `pulumi:"applicationId"` + // The internal identifier of the application installation for which the report has been generated. + ApplicationInstallationId string `pulumi:"applicationInstallationId"` + // The installation path of the application for which the report has been generated. + ApplicationInstallationPath string `pulumi:"applicationInstallationPath"` + // The name of the application. + ApplicationName string `pulumi:"applicationName"` + // The Object Storage bucket name of this analysis result. + Bucket string `pulumi:"bucket"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + FleetId string `pulumi:"fleetId"` + // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. + HostName string `pulumi:"hostName"` + // The OCID to identify this analysis results. + Id string `pulumi:"id"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // The Object Storage namespace of this analysis result. + Namespace string `pulumi:"namespace"` + // The Object Storage object name of this analysis result. + Object string `pulumi:"object"` + // Result of the analysis based on whether warnings have been found or not. + Result string `pulumi:"result"` + // The time the result is compiled. + TimeCreated string `pulumi:"timeCreated"` + // The time the JFR recording has finished. + TimeFinished string `pulumi:"timeFinished"` + // The time the JFR recording has started. + TimeStarted string `pulumi:"timeStarted"` + // Total number of warnings reported by the analysis. + WarningCount int `pulumi:"warningCount"` + // The OCID of the work request to start the analysis. + WorkRequestId string `pulumi:"workRequestId"` +} + +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput` via: // -// GetInstallationSiteItemBlocklistArgs{...} -type GetInstallationSiteItemBlocklistInput interface { +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs{...} +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput interface { pulumi.Input - ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput - ToGetInstallationSiteItemBlocklistOutputWithContext(context.Context) GetInstallationSiteItemBlocklistOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput } -type GetInstallationSiteItemBlocklistArgs struct { - // The operation type. - Operation pulumi.StringInput `pulumi:"operation"` - // The reason why the operation is blocklisted. - Reason pulumi.StringInput `pulumi:"reason"` +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs struct { + // The Fleet-unique identifier of the related application. + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + // The internal identifier of the application installation for which the report has been generated. + ApplicationInstallationId pulumi.StringInput `pulumi:"applicationInstallationId"` + // The installation path of the application for which the report has been generated. + ApplicationInstallationPath pulumi.StringInput `pulumi:"applicationInstallationPath"` + // The name of the application. + ApplicationName pulumi.StringInput `pulumi:"applicationName"` + // The Object Storage bucket name of this analysis result. + Bucket pulumi.StringInput `pulumi:"bucket"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + FleetId pulumi.StringInput `pulumi:"fleetId"` + // The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. + HostName pulumi.StringInput `pulumi:"hostName"` + // The OCID to identify this analysis results. + Id pulumi.StringInput `pulumi:"id"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // The Object Storage namespace of this analysis result. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The Object Storage object name of this analysis result. + Object pulumi.StringInput `pulumi:"object"` + // Result of the analysis based on whether warnings have been found or not. + Result pulumi.StringInput `pulumi:"result"` + // The time the result is compiled. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The time the JFR recording has finished. + TimeFinished pulumi.StringInput `pulumi:"timeFinished"` + // The time the JFR recording has started. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` + // Total number of warnings reported by the analysis. + WarningCount pulumi.IntInput `pulumi:"warningCount"` + // The OCID of the work request to start the analysis. + WorkRequestId pulumi.StringInput `pulumi:"workRequestId"` } -func (GetInstallationSiteItemBlocklistArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemBlocklist)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() } -func (i GetInstallationSiteItemBlocklistArgs) ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput { - return i.ToGetInstallationSiteItemBlocklistOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemBlocklistArgs) ToGetInstallationSiteItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemBlocklistOutput) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) } -// GetInstallationSiteItemBlocklistArrayInput is an input type that accepts GetInstallationSiteItemBlocklistArray and GetInstallationSiteItemBlocklistArrayOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemBlocklistArrayInput` via: +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput is an input type that accepts GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray and GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput` via: // -// GetInstallationSiteItemBlocklistArray{ GetInstallationSiteItemBlocklistArgs{...} } -type GetInstallationSiteItemBlocklistArrayInput interface { +// GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray{ GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArgs{...} } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayInput interface { pulumi.Input - ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput - ToGetInstallationSiteItemBlocklistArrayOutputWithContext(context.Context) GetInstallationSiteItemBlocklistArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput + ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput } -type GetInstallationSiteItemBlocklistArray []GetInstallationSiteItemBlocklistInput +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray []GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemInput -func (GetInstallationSiteItemBlocklistArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemBlocklist)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() } -func (i GetInstallationSiteItemBlocklistArray) ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput { - return i.ToGetInstallationSiteItemBlocklistArrayOutputWithContext(context.Background()) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { + return i.ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemBlocklistArray) ToGetInstallationSiteItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemBlocklistArrayOutput) +func (i GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArray) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) } -type GetInstallationSiteItemBlocklistOutput struct{ *pulumi.OutputState } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemBlocklistOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemBlocklist)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() } -func (o GetInstallationSiteItemBlocklistOutput) ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { return o } -func (o GetInstallationSiteItemBlocklistOutput) ToGetInstallationSiteItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { return o } -// The operation type. -func (o GetInstallationSiteItemBlocklistOutput) Operation() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemBlocklist) string { return v.Operation }).(pulumi.StringOutput) +// The Fleet-unique identifier of the related application. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.ApplicationId + }).(pulumi.StringOutput) } -// The reason why the operation is blocklisted. -func (o GetInstallationSiteItemBlocklistOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemBlocklist) string { return v.Reason }).(pulumi.StringOutput) +// The internal identifier of the application installation for which the report has been generated. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationInstallationId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.ApplicationInstallationId + }).(pulumi.StringOutput) } -type GetInstallationSiteItemBlocklistArrayOutput struct{ *pulumi.OutputState } +// The installation path of the application for which the report has been generated. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationInstallationPath() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.ApplicationInstallationPath + }).(pulumi.StringOutput) +} -func (GetInstallationSiteItemBlocklistArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemBlocklist)(nil)).Elem() +// The name of the application. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ApplicationName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.ApplicationName + }).(pulumi.StringOutput) } -func (o GetInstallationSiteItemBlocklistArrayOutput) ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput { - return o +// The Object Storage bucket name of this analysis result. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.Bucket + }).(pulumi.StringOutput) } -func (o GetInstallationSiteItemBlocklistArrayOutput) ToGetInstallationSiteItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistArrayOutput { - return o +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) FleetId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.FleetId + }).(pulumi.StringOutput) } -func (o GetInstallationSiteItemBlocklistArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemBlocklistOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemBlocklist { - return vs[0].([]GetInstallationSiteItemBlocklist)[vs[1].(int)] - }).(GetInstallationSiteItemBlocklistOutput) +// The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) HostName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.HostName + }).(pulumi.StringOutput) } -type GetInstallationSiteItemJre struct { - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution string `pulumi:"distribution"` - // The unique identifier for a Java Runtime. - JreKey string `pulumi:"jreKey"` - // The vendor of the Java Runtime. - Vendor string `pulumi:"vendor"` - // The version of the operating system as provided by the Java system property os.version. - Version string `pulumi:"version"` +// The OCID to identify this analysis results. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.Id + }).(pulumi.StringOutput) } -// GetInstallationSiteItemJreInput is an input type that accepts GetInstallationSiteItemJreArgs and GetInstallationSiteItemJreOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemJreInput` via: -// -// GetInstallationSiteItemJreArgs{...} -type GetInstallationSiteItemJreInput interface { - pulumi.Input +// The Fleet-unique identifier of the related managed instance. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.ManagedInstanceId + }).(pulumi.StringOutput) +} - ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput - ToGetInstallationSiteItemJreOutputWithContext(context.Context) GetInstallationSiteItemJreOutput +// The Object Storage namespace of this analysis result. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.Namespace + }).(pulumi.StringOutput) } -type GetInstallationSiteItemJreArgs struct { - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution pulumi.StringInput `pulumi:"distribution"` - // The unique identifier for a Java Runtime. - JreKey pulumi.StringInput `pulumi:"jreKey"` - // The vendor of the Java Runtime. - Vendor pulumi.StringInput `pulumi:"vendor"` - // The version of the operating system as provided by the Java system property os.version. - Version pulumi.StringInput `pulumi:"version"` +// The Object Storage object name of this analysis result. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Object() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.Object + }).(pulumi.StringOutput) } -func (GetInstallationSiteItemJreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemJre)(nil)).Elem() +// Result of the analysis based on whether warnings have been found or not. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) Result() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.Result + }).(pulumi.StringOutput) } -func (i GetInstallationSiteItemJreArgs) ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput { - return i.ToGetInstallationSiteItemJreOutputWithContext(context.Background()) +// The time the result is compiled. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) } -func (i GetInstallationSiteItemJreArgs) ToGetInstallationSiteItemJreOutputWithContext(ctx context.Context) GetInstallationSiteItemJreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemJreOutput) +// The time the JFR recording has finished. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeFinished() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.TimeFinished + }).(pulumi.StringOutput) } -// GetInstallationSiteItemJreArrayInput is an input type that accepts GetInstallationSiteItemJreArray and GetInstallationSiteItemJreArrayOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemJreArrayInput` via: -// -// GetInstallationSiteItemJreArray{ GetInstallationSiteItemJreArgs{...} } -type GetInstallationSiteItemJreArrayInput interface { - pulumi.Input - - ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput - ToGetInstallationSiteItemJreArrayOutputWithContext(context.Context) GetInstallationSiteItemJreArrayOutput -} - -type GetInstallationSiteItemJreArray []GetInstallationSiteItemJreInput - -func (GetInstallationSiteItemJreArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemJre)(nil)).Elem() -} - -func (i GetInstallationSiteItemJreArray) ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput { - return i.ToGetInstallationSiteItemJreArrayOutputWithContext(context.Background()) -} - -func (i GetInstallationSiteItemJreArray) ToGetInstallationSiteItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemJreArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemJreArrayOutput) -} - -type GetInstallationSiteItemJreOutput struct{ *pulumi.OutputState } - -func (GetInstallationSiteItemJreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemJre)(nil)).Elem() -} - -func (o GetInstallationSiteItemJreOutput) ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput { - return o -} - -func (o GetInstallationSiteItemJreOutput) ToGetInstallationSiteItemJreOutputWithContext(ctx context.Context) GetInstallationSiteItemJreOutput { - return o -} - -// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. -func (o GetInstallationSiteItemJreOutput) Distribution() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Distribution }).(pulumi.StringOutput) -} - -// The unique identifier for a Java Runtime. -func (o GetInstallationSiteItemJreOutput) JreKey() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.JreKey }).(pulumi.StringOutput) +// The time the JFR recording has started. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.TimeStarted + }).(pulumi.StringOutput) } -// The vendor of the Java Runtime. -func (o GetInstallationSiteItemJreOutput) Vendor() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Vendor }).(pulumi.StringOutput) +// Total number of warnings reported by the analysis. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) WarningCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) int { + return v.WarningCount + }).(pulumi.IntOutput) } -// The version of the operating system as provided by the Java system property os.version. -func (o GetInstallationSiteItemJreOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Version }).(pulumi.StringOutput) +// The OCID of the work request to start the analysis. +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) WorkRequestId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem) string { + return v.WorkRequestId + }).(pulumi.StringOutput) } -type GetInstallationSiteItemJreArrayOutput struct{ *pulumi.OutputState } +type GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemJreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemJre)(nil)).Elem() +func (GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)(nil)).Elem() } -func (o GetInstallationSiteItemJreArrayOutput) ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput() GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { return o } -func (o GetInstallationSiteItemJreArrayOutput) ToGetInstallationSiteItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemJreArrayOutput { +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) ToGetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput { return o } -func (o GetInstallationSiteItemJreArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemJreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemJre { - return vs[0].([]GetInstallationSiteItemJre)[vs[1].(int)] - }).(GetInstallationSiteItemJreOutput) +func (o GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem { + return vs[0].([]GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem)[vs[1].(int)] + }).(GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemOutput) } -type GetInstallationSiteItemOperatingSystem struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture string `pulumi:"architecture"` - // The operating system type, such as Windows or Linux - Family string `pulumi:"family"` - // Number of instances running the operating system - ManagedInstanceCount int `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name string `pulumi:"name"` - // The version of the operating system as provided by the Java system property os.version. - Version string `pulumi:"version"` +type GetFleetsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetInstallationSiteItemOperatingSystemInput is an input type that accepts GetInstallationSiteItemOperatingSystemArgs and GetInstallationSiteItemOperatingSystemOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemOperatingSystemInput` via: +// GetFleetsFilterInput is an input type that accepts GetFleetsFilterArgs and GetFleetsFilterOutput values. +// You can construct a concrete instance of `GetFleetsFilterInput` via: // -// GetInstallationSiteItemOperatingSystemArgs{...} -type GetInstallationSiteItemOperatingSystemInput interface { +// GetFleetsFilterArgs{...} +type GetFleetsFilterInput interface { pulumi.Input - ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput - ToGetInstallationSiteItemOperatingSystemOutputWithContext(context.Context) GetInstallationSiteItemOperatingSystemOutput + ToGetFleetsFilterOutput() GetFleetsFilterOutput + ToGetFleetsFilterOutputWithContext(context.Context) GetFleetsFilterOutput } -type GetInstallationSiteItemOperatingSystemArgs struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture pulumi.StringInput `pulumi:"architecture"` - // The operating system type, such as Windows or Linux - Family pulumi.StringInput `pulumi:"family"` - // Number of instances running the operating system - ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name pulumi.StringInput `pulumi:"name"` - // The version of the operating system as provided by the Java system property os.version. - Version pulumi.StringInput `pulumi:"version"` +type GetFleetsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetInstallationSiteItemOperatingSystemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemOperatingSystem)(nil)).Elem() +func (GetFleetsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFilter)(nil)).Elem() } -func (i GetInstallationSiteItemOperatingSystemArgs) ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput { - return i.ToGetInstallationSiteItemOperatingSystemOutputWithContext(context.Background()) +func (i GetFleetsFilterArgs) ToGetFleetsFilterOutput() GetFleetsFilterOutput { + return i.ToGetFleetsFilterOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemOperatingSystemArgs) ToGetInstallationSiteItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOperatingSystemOutput) +func (i GetFleetsFilterArgs) ToGetFleetsFilterOutputWithContext(ctx context.Context) GetFleetsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFilterOutput) } -// GetInstallationSiteItemOperatingSystemArrayInput is an input type that accepts GetInstallationSiteItemOperatingSystemArray and GetInstallationSiteItemOperatingSystemArrayOutput values. -// You can construct a concrete instance of `GetInstallationSiteItemOperatingSystemArrayInput` via: +// GetFleetsFilterArrayInput is an input type that accepts GetFleetsFilterArray and GetFleetsFilterArrayOutput values. +// You can construct a concrete instance of `GetFleetsFilterArrayInput` via: // -// GetInstallationSiteItemOperatingSystemArray{ GetInstallationSiteItemOperatingSystemArgs{...} } -type GetInstallationSiteItemOperatingSystemArrayInput interface { +// GetFleetsFilterArray{ GetFleetsFilterArgs{...} } +type GetFleetsFilterArrayInput interface { pulumi.Input - ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput - ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(context.Context) GetInstallationSiteItemOperatingSystemArrayOutput + ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput + ToGetFleetsFilterArrayOutputWithContext(context.Context) GetFleetsFilterArrayOutput } -type GetInstallationSiteItemOperatingSystemArray []GetInstallationSiteItemOperatingSystemInput +type GetFleetsFilterArray []GetFleetsFilterInput -func (GetInstallationSiteItemOperatingSystemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemOperatingSystem)(nil)).Elem() +func (GetFleetsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFilter)(nil)).Elem() } -func (i GetInstallationSiteItemOperatingSystemArray) ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput { - return i.ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(context.Background()) +func (i GetFleetsFilterArray) ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput { + return i.ToGetFleetsFilterArrayOutputWithContext(context.Background()) } -func (i GetInstallationSiteItemOperatingSystemArray) ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOperatingSystemArrayOutput) +func (i GetFleetsFilterArray) ToGetFleetsFilterArrayOutputWithContext(ctx context.Context) GetFleetsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFilterArrayOutput) } -type GetInstallationSiteItemOperatingSystemOutput struct{ *pulumi.OutputState } +type GetFleetsFilterOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemOperatingSystemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSiteItemOperatingSystem)(nil)).Elem() +func (GetFleetsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFilter)(nil)).Elem() } -func (o GetInstallationSiteItemOperatingSystemOutput) ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput { +func (o GetFleetsFilterOutput) ToGetFleetsFilterOutput() GetFleetsFilterOutput { return o } -func (o GetInstallationSiteItemOperatingSystemOutput) ToGetInstallationSiteItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemOutput { +func (o GetFleetsFilterOutput) ToGetFleetsFilterOutputWithContext(ctx context.Context) GetFleetsFilterOutput { return o } -// The architecture of the operating system as provided by the Java system property os.arch. -func (o GetInstallationSiteItemOperatingSystemOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Architecture }).(pulumi.StringOutput) -} - -// The operating system type, such as Windows or Linux -func (o GetInstallationSiteItemOperatingSystemOutput) Family() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) -} - -// Number of instances running the operating system -func (o GetInstallationSiteItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) int { return v.ManagedInstanceCount }).(pulumi.IntOutput) +func (o GetFleetsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The name of the operating system as provided by the Java system property os.name. -func (o GetInstallationSiteItemOperatingSystemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) +func (o GetFleetsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFleetsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// The version of the operating system as provided by the Java system property os.version. -func (o GetInstallationSiteItemOperatingSystemOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) +func (o GetFleetsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetFleetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetInstallationSiteItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } +type GetFleetsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSiteItemOperatingSystemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSiteItemOperatingSystem)(nil)).Elem() +func (GetFleetsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFilter)(nil)).Elem() } -func (o GetInstallationSiteItemOperatingSystemArrayOutput) ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput { +func (o GetFleetsFilterArrayOutput) ToGetFleetsFilterArrayOutput() GetFleetsFilterArrayOutput { return o } -func (o GetInstallationSiteItemOperatingSystemArrayOutput) ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemArrayOutput { +func (o GetFleetsFilterArrayOutput) ToGetFleetsFilterArrayOutputWithContext(ctx context.Context) GetFleetsFilterArrayOutput { return o } -func (o GetInstallationSiteItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemOperatingSystemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemOperatingSystem { - return vs[0].([]GetInstallationSiteItemOperatingSystem)[vs[1].(int)] - }).(GetInstallationSiteItemOperatingSystemOutput) +func (o GetFleetsFilterArrayOutput) Index(i pulumi.IntInput) GetFleetsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFilter { + return vs[0].([]GetFleetsFilter)[vs[1].(int)] + }).(GetFleetsFilterOutput) } -type GetInstallationSitesFilter struct { - // The name of the operating system as provided by the Java system property os.name. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetFleetsFleetCollection struct { + Items []GetFleetsFleetCollectionItem `pulumi:"items"` } -// GetInstallationSitesFilterInput is an input type that accepts GetInstallationSitesFilterArgs and GetInstallationSitesFilterOutput values. -// You can construct a concrete instance of `GetInstallationSitesFilterInput` via: +// GetFleetsFleetCollectionInput is an input type that accepts GetFleetsFleetCollectionArgs and GetFleetsFleetCollectionOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionInput` via: // -// GetInstallationSitesFilterArgs{...} -type GetInstallationSitesFilterInput interface { +// GetFleetsFleetCollectionArgs{...} +type GetFleetsFleetCollectionInput interface { pulumi.Input - ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput - ToGetInstallationSitesFilterOutputWithContext(context.Context) GetInstallationSitesFilterOutput + ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput + ToGetFleetsFleetCollectionOutputWithContext(context.Context) GetFleetsFleetCollectionOutput } -type GetInstallationSitesFilterArgs struct { - // The name of the operating system as provided by the Java system property os.name. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetFleetsFleetCollectionArgs struct { + Items GetFleetsFleetCollectionItemArrayInput `pulumi:"items"` } -func (GetInstallationSitesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesFilter)(nil)).Elem() +func (GetFleetsFleetCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollection)(nil)).Elem() } -func (i GetInstallationSitesFilterArgs) ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput { - return i.ToGetInstallationSitesFilterOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionArgs) ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput { + return i.ToGetFleetsFleetCollectionOutputWithContext(context.Background()) } -func (i GetInstallationSitesFilterArgs) ToGetInstallationSitesFilterOutputWithContext(ctx context.Context) GetInstallationSitesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesFilterOutput) -} +func (i GetFleetsFleetCollectionArgs) ToGetFleetsFleetCollectionOutputWithContext(ctx context.Context) GetFleetsFleetCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionOutput) +} -// GetInstallationSitesFilterArrayInput is an input type that accepts GetInstallationSitesFilterArray and GetInstallationSitesFilterArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesFilterArrayInput` via: +// GetFleetsFleetCollectionArrayInput is an input type that accepts GetFleetsFleetCollectionArray and GetFleetsFleetCollectionArrayOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionArrayInput` via: // -// GetInstallationSitesFilterArray{ GetInstallationSitesFilterArgs{...} } -type GetInstallationSitesFilterArrayInput interface { +// GetFleetsFleetCollectionArray{ GetFleetsFleetCollectionArgs{...} } +type GetFleetsFleetCollectionArrayInput interface { pulumi.Input - ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput - ToGetInstallationSitesFilterArrayOutputWithContext(context.Context) GetInstallationSitesFilterArrayOutput + ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput + ToGetFleetsFleetCollectionArrayOutputWithContext(context.Context) GetFleetsFleetCollectionArrayOutput } -type GetInstallationSitesFilterArray []GetInstallationSitesFilterInput +type GetFleetsFleetCollectionArray []GetFleetsFleetCollectionInput -func (GetInstallationSitesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesFilter)(nil)).Elem() +func (GetFleetsFleetCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollection)(nil)).Elem() } -func (i GetInstallationSitesFilterArray) ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput { - return i.ToGetInstallationSitesFilterArrayOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionArray) ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput { + return i.ToGetFleetsFleetCollectionArrayOutputWithContext(context.Background()) } -func (i GetInstallationSitesFilterArray) ToGetInstallationSitesFilterArrayOutputWithContext(ctx context.Context) GetInstallationSitesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesFilterArrayOutput) +func (i GetFleetsFleetCollectionArray) ToGetFleetsFleetCollectionArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionArrayOutput) } -type GetInstallationSitesFilterOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesFilter)(nil)).Elem() +func (GetFleetsFleetCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollection)(nil)).Elem() } -func (o GetInstallationSitesFilterOutput) ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput { +func (o GetFleetsFleetCollectionOutput) ToGetFleetsFleetCollectionOutput() GetFleetsFleetCollectionOutput { return o } -func (o GetInstallationSitesFilterOutput) ToGetInstallationSitesFilterOutputWithContext(ctx context.Context) GetInstallationSitesFilterOutput { +func (o GetFleetsFleetCollectionOutput) ToGetFleetsFleetCollectionOutputWithContext(ctx context.Context) GetFleetsFleetCollectionOutput { return o } -// The name of the operating system as provided by the Java system property os.name. -func (o GetInstallationSitesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetInstallationSitesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetInstallationSitesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetInstallationSitesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInstallationSitesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetFleetsFleetCollectionOutput) Items() GetFleetsFleetCollectionItemArrayOutput { + return o.ApplyT(func(v GetFleetsFleetCollection) []GetFleetsFleetCollectionItem { return v.Items }).(GetFleetsFleetCollectionItemArrayOutput) } -type GetInstallationSitesFilterArrayOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesFilter)(nil)).Elem() +func (GetFleetsFleetCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollection)(nil)).Elem() } -func (o GetInstallationSitesFilterArrayOutput) ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput { +func (o GetFleetsFleetCollectionArrayOutput) ToGetFleetsFleetCollectionArrayOutput() GetFleetsFleetCollectionArrayOutput { return o } -func (o GetInstallationSitesFilterArrayOutput) ToGetInstallationSitesFilterArrayOutputWithContext(ctx context.Context) GetInstallationSitesFilterArrayOutput { +func (o GetFleetsFleetCollectionArrayOutput) ToGetFleetsFleetCollectionArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionArrayOutput { return o } -func (o GetInstallationSitesFilterArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesFilter { - return vs[0].([]GetInstallationSitesFilter)[vs[1].(int)] - }).(GetInstallationSitesFilterOutput) +func (o GetFleetsFleetCollectionArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollection { + return vs[0].([]GetFleetsFleetCollection)[vs[1].(int)] + }).(GetFleetsFleetCollectionOutput) } -type GetInstallationSitesInstallationSiteCollection struct { - // A list of Java installation sites. - Items []GetInstallationSitesInstallationSiteCollectionItem `pulumi:"items"` +type GetFleetsFleetCollectionItem struct { + // The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` + // The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateInstallationCount int `pulumi:"approximateInstallationCount"` + // The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateJavaServerCount int `pulumi:"approximateJavaServerCount"` + // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateJreCount int `pulumi:"approximateJreCount"` + // The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateManagedInstanceCount int `pulumi:"approximateManagedInstanceCount"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags map[string]string `pulumi:"definedTags"` + // The Fleet's description. + Description string `pulumi:"description"` + // The 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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags map[string]string `pulumi:"freeformTags"` + // The ID. + Id string `pulumi:"id"` + // Custom Log for inventory or operation log. + InventoryLogs []GetFleetsFleetCollectionItemInventoryLog `pulumi:"inventoryLogs"` + // Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. + IsAdvancedFeaturesEnabled bool `pulumi:"isAdvancedFeaturesEnabled"` + // Whether or not export setting is enabled in this Fleet. + IsExportSettingEnabled bool `pulumi:"isExportSettingEnabled"` + // Custom Log for inventory or operation log. + OperationLogs []GetFleetsFleetCollectionItemOperationLog `pulumi:"operationLogs"` + // The state of the lifecycle. + State string `pulumi:"state"` + // 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 creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeCreated string `pulumi:"timeCreated"` } -// GetInstallationSitesInstallationSiteCollectionInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionArgs and GetInstallationSitesInstallationSiteCollectionOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionInput` via: +// GetFleetsFleetCollectionItemInput is an input type that accepts GetFleetsFleetCollectionItemArgs and GetFleetsFleetCollectionItemOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemInput` via: // -// GetInstallationSitesInstallationSiteCollectionArgs{...} -type GetInstallationSitesInstallationSiteCollectionInput interface { +// GetFleetsFleetCollectionItemArgs{...} +type GetFleetsFleetCollectionItemInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput - ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionOutput + ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput + ToGetFleetsFleetCollectionItemOutputWithContext(context.Context) GetFleetsFleetCollectionItemOutput } -type GetInstallationSitesInstallationSiteCollectionArgs struct { - // A list of Java installation sites. - Items GetInstallationSitesInstallationSiteCollectionItemArrayInput `pulumi:"items"` +type GetFleetsFleetCollectionItemArgs struct { + // The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` + // The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateInstallationCount pulumi.IntInput `pulumi:"approximateInstallationCount"` + // The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateJavaServerCount pulumi.IntInput `pulumi:"approximateJavaServerCount"` + // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateJreCount pulumi.IntInput `pulumi:"approximateJreCount"` + // The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + ApproximateManagedInstanceCount pulumi.IntInput `pulumi:"approximateManagedInstanceCount"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + // The Fleet's description. + Description pulumi.StringInput `pulumi:"description"` + // The display name. + 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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // The ID. + Id pulumi.StringInput `pulumi:"id"` + // Custom Log for inventory or operation log. + InventoryLogs GetFleetsFleetCollectionItemInventoryLogArrayInput `pulumi:"inventoryLogs"` + // Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. + IsAdvancedFeaturesEnabled pulumi.BoolInput `pulumi:"isAdvancedFeaturesEnabled"` + // Whether or not export setting is enabled in this Fleet. + IsExportSettingEnabled pulumi.BoolInput `pulumi:"isExportSettingEnabled"` + // Custom Log for inventory or operation log. + OperationLogs GetFleetsFleetCollectionItemOperationLogArrayInput `pulumi:"operationLogs"` + // The state of the lifecycle. + State pulumi.StringInput `pulumi:"state"` + // 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 creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } -func (GetInstallationSitesInstallationSiteCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollection)(nil)).Elem() +func (GetFleetsFleetCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItem)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionArgs) ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemArgs) ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput { + return i.ToGetFleetsFleetCollectionItemOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionArgs) ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionOutput) +func (i GetFleetsFleetCollectionItemArgs) ToGetFleetsFleetCollectionItemOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOutput) } -// GetInstallationSitesInstallationSiteCollectionArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionArray and GetInstallationSitesInstallationSiteCollectionArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionArrayInput` via: +// GetFleetsFleetCollectionItemArrayInput is an input type that accepts GetFleetsFleetCollectionItemArray and GetFleetsFleetCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemArrayInput` via: // -// GetInstallationSitesInstallationSiteCollectionArray{ GetInstallationSitesInstallationSiteCollectionArgs{...} } -type GetInstallationSitesInstallationSiteCollectionArrayInput interface { +// GetFleetsFleetCollectionItemArray{ GetFleetsFleetCollectionItemArgs{...} } +type GetFleetsFleetCollectionItemArrayInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput - ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput + ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput + ToGetFleetsFleetCollectionItemArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemArrayOutput } -type GetInstallationSitesInstallationSiteCollectionArray []GetInstallationSitesInstallationSiteCollectionInput +type GetFleetsFleetCollectionItemArray []GetFleetsFleetCollectionItemInput -func (GetInstallationSitesInstallationSiteCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollection)(nil)).Elem() +func (GetFleetsFleetCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItem)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionArray) ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemArray) ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput { + return i.ToGetFleetsFleetCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionArray) ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionArrayOutput) +func (i GetFleetsFleetCollectionItemArray) ToGetFleetsFleetCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemArrayOutput) } -type GetInstallationSitesInstallationSiteCollectionOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionItemOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollection)(nil)).Elem() +func (GetFleetsFleetCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItem)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionOutput) ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput { +func (o GetFleetsFleetCollectionItemOutput) ToGetFleetsFleetCollectionItemOutput() GetFleetsFleetCollectionItemOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionOutput) ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionOutput { +func (o GetFleetsFleetCollectionItemOutput) ToGetFleetsFleetCollectionItemOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOutput { return o } -// A list of Java installation sites. -func (o GetInstallationSitesInstallationSiteCollectionOutput) Items() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollection) []GetInstallationSitesInstallationSiteCollectionItem { - return v.Items - }).(GetInstallationSitesInstallationSiteCollectionItemArrayOutput) +// The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. +func (o GetFleetsFleetCollectionItemOutput) ApproximateApplicationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) } -type GetInstallationSitesInstallationSiteCollectionArrayOutput struct{ *pulumi.OutputState } +// The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. +func (o GetFleetsFleetCollectionItemOutput) ApproximateInstallationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateInstallationCount }).(pulumi.IntOutput) +} -func (GetInstallationSitesInstallationSiteCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollection)(nil)).Elem() +// The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. +func (o GetFleetsFleetCollectionItemOutput) ApproximateJavaServerCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateJavaServerCount }).(pulumi.IntOutput) } -func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput { - return o +// The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. +func (o GetFleetsFleetCollectionItemOutput) ApproximateJreCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateJreCount }).(pulumi.IntOutput) } -func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput { - return o +// The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. +func (o GetFleetsFleetCollectionItemOutput) ApproximateManagedInstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) int { return v.ApproximateManagedInstanceCount }).(pulumi.IntOutput) } -func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollection { - return vs[0].([]GetInstallationSitesInstallationSiteCollection)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetFleetsFleetCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItem struct { - // A list of Java installation sites. - Items []GetInstallationSitesInstallationSiteCollectionItemItem `pulumi:"items"` +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). +func (o GetFleetsFleetCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -// GetInstallationSitesInstallationSiteCollectionItemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemArgs and GetInstallationSitesInstallationSiteCollectionItemOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemInput` via: -// -// GetInstallationSitesInstallationSiteCollectionItemArgs{...} -type GetInstallationSitesInstallationSiteCollectionItemInput interface { - pulumi.Input - - ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput - ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput -} - -type GetInstallationSitesInstallationSiteCollectionItemArgs struct { - // A list of Java installation sites. - Items GetInstallationSitesInstallationSiteCollectionItemItemArrayInput `pulumi:"items"` -} - -func (GetInstallationSitesInstallationSiteCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() +// The Fleet's description. +func (o GetFleetsFleetCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.Description }).(pulumi.StringOutput) } -func (i GetInstallationSitesInstallationSiteCollectionItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(context.Background()) +// The display name. +func (o GetFleetsFleetCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -func (i GetInstallationSitesInstallationSiteCollectionItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemOutput) +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) +func (o GetFleetsFleetCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) } -// GetInstallationSitesInstallationSiteCollectionItemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemArray and GetInstallationSitesInstallationSiteCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemArrayInput` via: -// -// GetInstallationSitesInstallationSiteCollectionItemArray{ GetInstallationSitesInstallationSiteCollectionItemArgs{...} } -type GetInstallationSitesInstallationSiteCollectionItemArrayInput interface { - pulumi.Input - - ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput - ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput +// The ID. +func (o GetFleetsFleetCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItemArray []GetInstallationSitesInstallationSiteCollectionItemInput - -func (GetInstallationSitesInstallationSiteCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() +// Custom Log for inventory or operation log. +func (o GetFleetsFleetCollectionItemOutput) InventoryLogs() GetFleetsFleetCollectionItemInventoryLogArrayOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) []GetFleetsFleetCollectionItemInventoryLog { + return v.InventoryLogs + }).(GetFleetsFleetCollectionItemInventoryLogArrayOutput) } -func (i GetInstallationSitesInstallationSiteCollectionItemArray) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(context.Background()) +// Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. +func (o GetFleetsFleetCollectionItemOutput) IsAdvancedFeaturesEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) bool { return v.IsAdvancedFeaturesEnabled }).(pulumi.BoolOutput) } -func (i GetInstallationSitesInstallationSiteCollectionItemArray) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemArrayOutput) +// Whether or not export setting is enabled in this Fleet. +func (o GetFleetsFleetCollectionItemOutput) IsExportSettingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) bool { return v.IsExportSettingEnabled }).(pulumi.BoolOutput) } -type GetInstallationSitesInstallationSiteCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetInstallationSitesInstallationSiteCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() +// Custom Log for inventory or operation log. +func (o GetFleetsFleetCollectionItemOutput) OperationLogs() GetFleetsFleetCollectionItemOperationLogArrayOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) []GetFleetsFleetCollectionItemOperationLog { + return v.OperationLogs + }).(GetFleetsFleetCollectionItemOperationLogArrayOutput) } -func (o GetInstallationSitesInstallationSiteCollectionItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput { - return o +// The state of the lifecycle. +func (o GetFleetsFleetCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.State }).(pulumi.StringOutput) } -func (o GetInstallationSitesInstallationSiteCollectionItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput { - return o +// 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 GetFleetsFleetCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) } -// A list of Java installation sites. -func (o GetInstallationSitesInstallationSiteCollectionItemOutput) Items() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItem) []GetInstallationSitesInstallationSiteCollectionItemItem { - return v.Items - }).(GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) +// The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetFleetsFleetCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() +func (GetFleetsFleetCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItem)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { +func (o GetFleetsFleetCollectionItemArrayOutput) ToGetFleetsFleetCollectionItemArrayOutput() GetFleetsFleetCollectionItemArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput { +func (o GetFleetsFleetCollectionItemArrayOutput) ToGetFleetsFleetCollectionItemArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItem { - return vs[0].([]GetInstallationSitesInstallationSiteCollectionItem)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionItemOutput) +func (o GetFleetsFleetCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItem { + return vs[0].([]GetFleetsFleetCollectionItem)[vs[1].(int)] + }).(GetFleetsFleetCollectionItemOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItem struct { - // The approximate count of applications running on this installation - ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` - // The list of operations that are blocklisted. - Blocklists []GetInstallationSitesInstallationSiteCollectionItemItemBlocklist `pulumi:"blocklists"` - // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. - InstallationKey string `pulumi:"installationKey"` - // The essential properties to identify a Java Runtime. - Jres []GetInstallationSitesInstallationSiteCollectionItemItemJre `pulumi:"jres"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId string `pulumi:"managedInstanceId"` - // Operating System of the platform on which the Java Runtime was reported. - OperatingSystems []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem `pulumi:"operatingSystems"` - // The file system path of the installation. - Path string `pulumi:"path"` - // The security status of the Java Runtime. - SecurityStatus string `pulumi:"securityStatus"` - // The lifecycle state of the installation site. - State string `pulumi:"state"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen string `pulumi:"timeLastSeen"` +type GetFleetsFleetCollectionItemInventoryLog struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId string `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId string `pulumi:"logId"` } -// GetInstallationSitesInstallationSiteCollectionItemItemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemArgs and GetInstallationSitesInstallationSiteCollectionItemItemOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemInput` via: +// GetFleetsFleetCollectionItemInventoryLogInput is an input type that accepts GetFleetsFleetCollectionItemInventoryLogArgs and GetFleetsFleetCollectionItemInventoryLogOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemInventoryLogInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemArgs{...} -type GetInstallationSitesInstallationSiteCollectionItemItemInput interface { +// GetFleetsFleetCollectionItemInventoryLogArgs{...} +type GetFleetsFleetCollectionItemInventoryLogInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput + ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput + ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(context.Context) GetFleetsFleetCollectionItemInventoryLogOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemArgs struct { - // The approximate count of applications running on this installation - ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` - // The list of operations that are blocklisted. - Blocklists GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput `pulumi:"blocklists"` - // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. - InstallationKey pulumi.StringInput `pulumi:"installationKey"` - // The essential properties to identify a Java Runtime. - Jres GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput `pulumi:"jres"` - // The Fleet-unique identifier of the related managed instance. - ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` - // Operating System of the platform on which the Java Runtime was reported. - OperatingSystems GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput `pulumi:"operatingSystems"` - // The file system path of the installation. - Path pulumi.StringInput `pulumi:"path"` - // The security status of the Java Runtime. - SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` - // The lifecycle state of the installation site. - State pulumi.StringInput `pulumi:"state"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` +type GetFleetsFleetCollectionItemInventoryLogArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId pulumi.StringInput `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId pulumi.StringInput `pulumi:"logId"` } -func (GetInstallationSitesInstallationSiteCollectionItemItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() +func (GetFleetsFleetCollectionItemInventoryLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemInventoryLogArgs) ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput { + return i.ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOutput) +func (i GetFleetsFleetCollectionItemInventoryLogArgs) ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemInventoryLogOutput) } -// GetInstallationSitesInstallationSiteCollectionItemItemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemArray and GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemArrayInput` via: +// GetFleetsFleetCollectionItemInventoryLogArrayInput is an input type that accepts GetFleetsFleetCollectionItemInventoryLogArray and GetFleetsFleetCollectionItemInventoryLogArrayOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemInventoryLogArrayInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemArray{ GetInstallationSitesInstallationSiteCollectionItemItemArgs{...} } -type GetInstallationSitesInstallationSiteCollectionItemItemArrayInput interface { +// GetFleetsFleetCollectionItemInventoryLogArray{ GetFleetsFleetCollectionItemInventoryLogArgs{...} } +type GetFleetsFleetCollectionItemInventoryLogArrayInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput + ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput + ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemArray []GetInstallationSitesInstallationSiteCollectionItemItemInput +type GetFleetsFleetCollectionItemInventoryLogArray []GetFleetsFleetCollectionItemInventoryLogInput -func (GetInstallationSitesInstallationSiteCollectionItemItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() +func (GetFleetsFleetCollectionItemInventoryLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemInventoryLogArray) ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput { + return i.ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) +func (i GetFleetsFleetCollectionItemInventoryLogArray) ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemInventoryLogArrayOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionItemInventoryLogOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionItemItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() +func (GetFleetsFleetCollectionItemInventoryLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput { +func (o GetFleetsFleetCollectionItemInventoryLogOutput) ToGetFleetsFleetCollectionItemInventoryLogOutput() GetFleetsFleetCollectionItemInventoryLogOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput { +func (o GetFleetsFleetCollectionItemInventoryLogOutput) ToGetFleetsFleetCollectionItemInventoryLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogOutput { return o } -// The approximate count of applications running on this installation -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ApproximateApplicationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) int { - return v.ApproximateApplicationCount - }).(pulumi.IntOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. +func (o GetFleetsFleetCollectionItemInventoryLogOutput) LogGroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItemInventoryLog) string { return v.LogGroupId }).(pulumi.StringOutput) } -// The list of operations that are blocklisted. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Blocklists() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemBlocklist { - return v.Blocklists - }).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. +func (o GetFleetsFleetCollectionItemInventoryLogOutput) LogId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItemInventoryLog) string { return v.LogId }).(pulumi.StringOutput) } -// The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) InstallationKey() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.InstallationKey }).(pulumi.StringOutput) -} +type GetFleetsFleetCollectionItemInventoryLogArrayOutput struct{ *pulumi.OutputState } -// The essential properties to identify a Java Runtime. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Jres() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemJre { - return v.Jres - }).(GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) +func (GetFleetsFleetCollectionItemInventoryLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItemInventoryLog)(nil)).Elem() } -// The Fleet-unique identifier of the related managed instance. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ManagedInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) +func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) ToGetFleetsFleetCollectionItemInventoryLogArrayOutput() GetFleetsFleetCollectionItemInventoryLogArrayOutput { + return o } -// Operating System of the platform on which the Java Runtime was reported. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) OperatingSystems() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem { - return v.OperatingSystems - }).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) +func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) ToGetFleetsFleetCollectionItemInventoryLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemInventoryLogArrayOutput { + return o } -// The file system path of the installation. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.Path }).(pulumi.StringOutput) -} - -// The security status of the Java Runtime. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) SecurityStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.SecurityStatus }).(pulumi.StringOutput) -} - -// The lifecycle state of the installation site. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.State }).(pulumi.StringOutput) -} - -// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) TimeLastSeen() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) -} - -type GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput struct{ *pulumi.OutputState } - -func (GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() -} - -func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { - return o -} - -func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { - return o -} - -func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItem { - return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItem)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionItemItemOutput) +func (o GetFleetsFleetCollectionItemInventoryLogArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemInventoryLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItemInventoryLog { + return vs[0].([]GetFleetsFleetCollectionItemInventoryLog)[vs[1].(int)] + }).(GetFleetsFleetCollectionItemInventoryLogOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklist struct { - // The operation type. - Operation string `pulumi:"operation"` - // The reason why the operation is blocklisted. - Reason string `pulumi:"reason"` +type GetFleetsFleetCollectionItemOperationLog struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId string `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId string `pulumi:"logId"` } -// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs and GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput` via: +// GetFleetsFleetCollectionItemOperationLogInput is an input type that accepts GetFleetsFleetCollectionItemOperationLogArgs and GetFleetsFleetCollectionItemOperationLogOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemOperationLogInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs{...} -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput interface { +// GetFleetsFleetCollectionItemOperationLogArgs{...} +type GetFleetsFleetCollectionItemOperationLogInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput + ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput + ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(context.Context) GetFleetsFleetCollectionItemOperationLogOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs struct { - // The operation type. - Operation pulumi.StringInput `pulumi:"operation"` - // The reason why the operation is blocklisted. - Reason pulumi.StringInput `pulumi:"reason"` +type GetFleetsFleetCollectionItemOperationLogArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. + LogGroupId pulumi.StringInput `pulumi:"logGroupId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. + LogId pulumi.StringInput `pulumi:"logId"` } -func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() +func (GetFleetsFleetCollectionItemOperationLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemOperationLogArgs) ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput { + return i.ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) +func (i GetFleetsFleetCollectionItemOperationLogArgs) ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOperationLogOutput) } -// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray and GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput` via: +// GetFleetsFleetCollectionItemOperationLogArrayInput is an input type that accepts GetFleetsFleetCollectionItemOperationLogArray and GetFleetsFleetCollectionItemOperationLogArrayOutput values. +// You can construct a concrete instance of `GetFleetsFleetCollectionItemOperationLogArrayInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray{ GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs{...} } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput interface { +// GetFleetsFleetCollectionItemOperationLogArray{ GetFleetsFleetCollectionItemOperationLogArgs{...} } +type GetFleetsFleetCollectionItemOperationLogArrayInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput + ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput + ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray []GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput +type GetFleetsFleetCollectionItemOperationLogArray []GetFleetsFleetCollectionItemOperationLogInput -func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() +func (GetFleetsFleetCollectionItemOperationLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(context.Background()) +func (i GetFleetsFleetCollectionItemOperationLogArray) ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput { + return i.ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) +func (i GetFleetsFleetCollectionItemOperationLogArray) ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFleetsFleetCollectionItemOperationLogArrayOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionItemOperationLogOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() +func (GetFleetsFleetCollectionItemOperationLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { +func (o GetFleetsFleetCollectionItemOperationLogOutput) ToGetFleetsFleetCollectionItemOperationLogOutput() GetFleetsFleetCollectionItemOperationLogOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { +func (o GetFleetsFleetCollectionItemOperationLogOutput) ToGetFleetsFleetCollectionItemOperationLogOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogOutput { return o } -// The operation type. -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) Operation() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemBlocklist) string { return v.Operation }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. +func (o GetFleetsFleetCollectionItemOperationLogOutput) LogGroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItemOperationLog) string { return v.LogGroupId }).(pulumi.StringOutput) } -// The reason why the operation is blocklisted. -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemBlocklist) string { return v.Reason }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. +func (o GetFleetsFleetCollectionItemOperationLogOutput) LogId() pulumi.StringOutput { + return o.ApplyT(func(v GetFleetsFleetCollectionItemOperationLog) string { return v.LogId }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput struct{ *pulumi.OutputState } +type GetFleetsFleetCollectionItemOperationLogArrayOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() +func (GetFleetsFleetCollectionItemOperationLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFleetsFleetCollectionItemOperationLog)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { +func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) ToGetFleetsFleetCollectionItemOperationLogArrayOutput() GetFleetsFleetCollectionItemOperationLogArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { +func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) ToGetFleetsFleetCollectionItemOperationLogArrayOutputWithContext(ctx context.Context) GetFleetsFleetCollectionItemOperationLogArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemBlocklist { - return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) +func (o GetFleetsFleetCollectionItemOperationLogArrayOutput) Index(i pulumi.IntInput) GetFleetsFleetCollectionItemOperationLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFleetsFleetCollectionItemOperationLog { + return vs[0].([]GetFleetsFleetCollectionItemOperationLog)[vs[1].(int)] + }).(GetFleetsFleetCollectionItemOperationLogOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemJre struct { - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution string `pulumi:"distribution"` - // The unique identifier for a Java Runtime. - JreKey string `pulumi:"jreKey"` - // The vendor of the Java Runtime. - Vendor string `pulumi:"vendor"` - // The version of the operating system as provided by the Java system property os.version. - Version string `pulumi:"version"` +type GetInstallationSiteItem struct { + // The approximate count of applications running on this installation + ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` + // The list of operations that are blocklisted. + Blocklists []GetInstallationSiteItemBlocklist `pulumi:"blocklists"` + // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. + InstallationKey string `pulumi:"installationKey"` + // The essential properties to identify a Java Runtime. + Jres []GetInstallationSiteItemJre `pulumi:"jres"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // Operating System of the platform on which the Java Runtime was reported. + OperatingSystems []GetInstallationSiteItemOperatingSystem `pulumi:"operatingSystems"` + // The file system path of the installation. + Path string `pulumi:"path"` + // The security status of the Java Runtime. + SecurityStatus string `pulumi:"securityStatus"` + // The lifecycle state of the installation site. + State string `pulumi:"state"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// GetInstallationSitesInstallationSiteCollectionItemItemJreInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemJreArgs and GetInstallationSitesInstallationSiteCollectionItemItemJreOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemJreInput` via: +// GetInstallationSiteItemInput is an input type that accepts GetInstallationSiteItemArgs and GetInstallationSiteItemOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemJreArgs{...} -type GetInstallationSitesInstallationSiteCollectionItemItemJreInput interface { +// GetInstallationSiteItemArgs{...} +type GetInstallationSiteItemInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput + ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput + ToGetInstallationSiteItemOutputWithContext(context.Context) GetInstallationSiteItemOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemJreArgs struct { - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution pulumi.StringInput `pulumi:"distribution"` - // The unique identifier for a Java Runtime. - JreKey pulumi.StringInput `pulumi:"jreKey"` - // The vendor of the Java Runtime. - Vendor pulumi.StringInput `pulumi:"vendor"` - // The version of the operating system as provided by the Java system property os.version. - Version pulumi.StringInput `pulumi:"version"` +type GetInstallationSiteItemArgs struct { + // The approximate count of applications running on this installation + ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` + // The list of operations that are blocklisted. + Blocklists GetInstallationSiteItemBlocklistArrayInput `pulumi:"blocklists"` + // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. + InstallationKey pulumi.StringInput `pulumi:"installationKey"` + // The essential properties to identify a Java Runtime. + Jres GetInstallationSiteItemJreArrayInput `pulumi:"jres"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // Operating System of the platform on which the Java Runtime was reported. + OperatingSystems GetInstallationSiteItemOperatingSystemArrayInput `pulumi:"operatingSystems"` + // The file system path of the installation. + Path pulumi.StringInput `pulumi:"path"` + // The security status of the Java Runtime. + SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` + // The lifecycle state of the installation site. + State pulumi.StringInput `pulumi:"state"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -func (GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() +func (GetInstallationSiteItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItem)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(context.Background()) +func (i GetInstallationSiteItemArgs) ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput { + return i.ToGetInstallationSiteItemOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) +func (i GetInstallationSiteItemArgs) ToGetInstallationSiteItemOutputWithContext(ctx context.Context) GetInstallationSiteItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOutput) } -// GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemJreArray and GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput` via: +// GetInstallationSiteItemArrayInput is an input type that accepts GetInstallationSiteItemArray and GetInstallationSiteItemArrayOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemArrayInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemJreArray{ GetInstallationSitesInstallationSiteCollectionItemItemJreArgs{...} } -type GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput interface { +// GetInstallationSiteItemArray{ GetInstallationSiteItemArgs{...} } +type GetInstallationSiteItemArrayInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput + ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput + ToGetInstallationSiteItemArrayOutputWithContext(context.Context) GetInstallationSiteItemArrayOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemJreArray []GetInstallationSitesInstallationSiteCollectionItemItemJreInput +type GetInstallationSiteItemArray []GetInstallationSiteItemInput -func (GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() +func (GetInstallationSiteItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItem)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(context.Background()) +func (i GetInstallationSiteItemArray) ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput { + return i.ToGetInstallationSiteItemArrayOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) +func (i GetInstallationSiteItemArray) ToGetInstallationSiteItemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemArrayOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemJreOutput struct{ *pulumi.OutputState } +type GetInstallationSiteItemOutput struct{ *pulumi.OutputState } -func (GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() +func (GetInstallationSiteItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItem)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { +func (o GetInstallationSiteItemOutput) ToGetInstallationSiteItemOutput() GetInstallationSiteItemOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { +func (o GetInstallationSiteItemOutput) ToGetInstallationSiteItemOutputWithContext(ctx context.Context) GetInstallationSiteItemOutput { return o } -// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Distribution() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Distribution }).(pulumi.StringOutput) +// The approximate count of applications running on this installation +func (o GetInstallationSiteItemOutput) ApproximateApplicationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstallationSiteItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) } -// The unique identifier for a Java Runtime. -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) JreKey() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.JreKey }).(pulumi.StringOutput) +// The list of operations that are blocklisted. +func (o GetInstallationSiteItemOutput) Blocklists() GetInstallationSiteItemBlocklistArrayOutput { + return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemBlocklist { return v.Blocklists }).(GetInstallationSiteItemBlocklistArrayOutput) } -// The vendor of the Java Runtime. -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Vendor() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Vendor }).(pulumi.StringOutput) +// The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. +func (o GetInstallationSiteItemOutput) InstallationKey() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.InstallationKey }).(pulumi.StringOutput) } -// The version of the operating system as provided by the Java system property os.version. -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Version }).(pulumi.StringOutput) +// The essential properties to identify a Java Runtime. +func (o GetInstallationSiteItemOutput) Jres() GetInstallationSiteItemJreArrayOutput { + return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemJre { return v.Jres }).(GetInstallationSiteItemJreArrayOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput struct{ *pulumi.OutputState } +// The Fleet-unique identifier of the related managed instance. +func (o GetInstallationSiteItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) +} -func (GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() +// Operating System of the platform on which the Java Runtime was reported. +func (o GetInstallationSiteItemOutput) OperatingSystems() GetInstallationSiteItemOperatingSystemArrayOutput { + return o.ApplyT(func(v GetInstallationSiteItem) []GetInstallationSiteItemOperatingSystem { return v.OperatingSystems }).(GetInstallationSiteItemOperatingSystemArrayOutput) } -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { - return o +// The file system path of the installation. +func (o GetInstallationSiteItemOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.Path }).(pulumi.StringOutput) } -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { - return o +// The security status of the Java Runtime. +func (o GetInstallationSiteItemOutput) SecurityStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.SecurityStatus }).(pulumi.StringOutput) } -func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemJre { - return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemJre)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) +// The lifecycle state of the installation site. +func (o GetInstallationSiteItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.State }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture string `pulumi:"architecture"` - // The operating system type, such as Windows, Linux or macOS - Family string `pulumi:"family"` - // Number of instances running the operating system. - ManagedInstanceCount int `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name string `pulumi:"name"` - // The version of the operating system as provided by the Java system property os.version. - Version string `pulumi:"version"` +// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. +func (o GetInstallationSiteItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs and GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput` via: -// -// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs{...} -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput interface { - pulumi.Input +type GetInstallationSiteItemArrayOutput struct{ *pulumi.OutputState } - ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput +func (GetInstallationSiteItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItem)(nil)).Elem() } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture pulumi.StringInput `pulumi:"architecture"` - // The operating system type, such as Windows, Linux or macOS - Family pulumi.StringInput `pulumi:"family"` - // Number of instances running the operating system. - ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name pulumi.StringInput `pulumi:"name"` - // The version of the operating system as provided by the Java system property os.version. - Version pulumi.StringInput `pulumi:"version"` +func (o GetInstallationSiteItemArrayOutput) ToGetInstallationSiteItemArrayOutput() GetInstallationSiteItemArrayOutput { + return o } -func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() +func (o GetInstallationSiteItemArrayOutput) ToGetInstallationSiteItemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemArrayOutput { + return o } -func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(context.Background()) +func (o GetInstallationSiteItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItem { + return vs[0].([]GetInstallationSiteItem)[vs[1].(int)] + }).(GetInstallationSiteItemOutput) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) +type GetInstallationSiteItemBlocklist struct { + // The operation type. + Operation string `pulumi:"operation"` + // The reason why the operation is blocklisted. + Reason string `pulumi:"reason"` } -// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray and GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput values. -// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput` via: +// GetInstallationSiteItemBlocklistInput is an input type that accepts GetInstallationSiteItemBlocklistArgs and GetInstallationSiteItemBlocklistOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemBlocklistInput` via: // -// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray{ GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs{...} } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput interface { +// GetInstallationSiteItemBlocklistArgs{...} +type GetInstallationSiteItemBlocklistInput interface { pulumi.Input - ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput - ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput + ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput + ToGetInstallationSiteItemBlocklistOutputWithContext(context.Context) GetInstallationSiteItemBlocklistOutput } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput +type GetInstallationSiteItemBlocklistArgs struct { + // The operation type. + Operation pulumi.StringInput `pulumi:"operation"` + // The reason why the operation is blocklisted. + Reason pulumi.StringInput `pulumi:"reason"` +} -func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() +func (GetInstallationSiteItemBlocklistArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemBlocklist)(nil)).Elem() } -func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { - return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(context.Background()) +func (i GetInstallationSiteItemBlocklistArgs) ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput { + return i.ToGetInstallationSiteItemBlocklistOutputWithContext(context.Background()) } -func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) +func (i GetInstallationSiteItemBlocklistArgs) ToGetInstallationSiteItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemBlocklistOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput struct{ *pulumi.OutputState } +// GetInstallationSiteItemBlocklistArrayInput is an input type that accepts GetInstallationSiteItemBlocklistArray and GetInstallationSiteItemBlocklistArrayOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemBlocklistArrayInput` via: +// +// GetInstallationSiteItemBlocklistArray{ GetInstallationSiteItemBlocklistArgs{...} } +type GetInstallationSiteItemBlocklistArrayInput interface { + pulumi.Input -func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() + ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput + ToGetInstallationSiteItemBlocklistArrayOutputWithContext(context.Context) GetInstallationSiteItemBlocklistArrayOutput } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { - return o +type GetInstallationSiteItemBlocklistArray []GetInstallationSiteItemBlocklistInput + +func (GetInstallationSiteItemBlocklistArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemBlocklist)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { - return o +func (i GetInstallationSiteItemBlocklistArray) ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput { + return i.ToGetInstallationSiteItemBlocklistArrayOutputWithContext(context.Background()) } -// The architecture of the operating system as provided by the Java system property os.arch. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { - return v.Architecture - }).(pulumi.StringOutput) +func (i GetInstallationSiteItemBlocklistArray) ToGetInstallationSiteItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemBlocklistArrayOutput) } -// The operating system type, such as Windows, Linux or macOS -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Family() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) +type GetInstallationSiteItemBlocklistOutput struct{ *pulumi.OutputState } + +func (GetInstallationSiteItemBlocklistOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemBlocklist)(nil)).Elem() } -// Number of instances running the operating system. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) int { - return v.ManagedInstanceCount - }).(pulumi.IntOutput) +func (o GetInstallationSiteItemBlocklistOutput) ToGetInstallationSiteItemBlocklistOutput() GetInstallationSiteItemBlocklistOutput { + return o } -// The name of the operating system as provided by the Java system property os.name. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) +func (o GetInstallationSiteItemBlocklistOutput) ToGetInstallationSiteItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistOutput { + return o } -// The version of the operating system as provided by the Java system property os.version. -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) +// The operation type. +func (o GetInstallationSiteItemBlocklistOutput) Operation() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemBlocklist) string { return v.Operation }).(pulumi.StringOutput) } -type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } +// The reason why the operation is blocklisted. +func (o GetInstallationSiteItemBlocklistOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemBlocklist) string { return v.Reason }).(pulumi.StringOutput) +} -func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() +type GetInstallationSiteItemBlocklistArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSiteItemBlocklistArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemBlocklist)(nil)).Elem() } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { +func (o GetInstallationSiteItemBlocklistArrayOutput) ToGetInstallationSiteItemBlocklistArrayOutput() GetInstallationSiteItemBlocklistArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { +func (o GetInstallationSiteItemBlocklistArrayOutput) ToGetInstallationSiteItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemBlocklistArrayOutput { return o } -func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem { - return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)[vs[1].(int)] - }).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) +func (o GetInstallationSiteItemBlocklistArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemBlocklistOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemBlocklist { + return vs[0].([]GetInstallationSiteItemBlocklist)[vs[1].(int)] + }).(GetInstallationSiteItemBlocklistOutput) } -type GetJavaDownloadsJavaDownloadRecordsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetInstallationSiteItemJre struct { + // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + Distribution string `pulumi:"distribution"` + // The unique identifier for a Java Runtime. + JreKey string `pulumi:"jreKey"` + // The vendor of the Java Runtime. + Vendor string `pulumi:"vendor"` + // The version of the operating system as provided by the Java system property os.version. + Version string `pulumi:"version"` } -// GetJavaDownloadsJavaDownloadRecordsFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsFilterArgs and GetJavaDownloadsJavaDownloadRecordsFilterOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsFilterInput` via: +// GetInstallationSiteItemJreInput is an input type that accepts GetInstallationSiteItemJreArgs and GetInstallationSiteItemJreOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemJreInput` via: // -// GetJavaDownloadsJavaDownloadRecordsFilterArgs{...} -type GetJavaDownloadsJavaDownloadRecordsFilterInput interface { +// GetInstallationSiteItemJreArgs{...} +type GetInstallationSiteItemJreInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput - ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput + ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput + ToGetInstallationSiteItemJreOutputWithContext(context.Context) GetInstallationSiteItemJreOutput } -type GetJavaDownloadsJavaDownloadRecordsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetInstallationSiteItemJreArgs struct { + // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + Distribution pulumi.StringInput `pulumi:"distribution"` + // The unique identifier for a Java Runtime. + JreKey pulumi.StringInput `pulumi:"jreKey"` + // The vendor of the Java Runtime. + Vendor pulumi.StringInput `pulumi:"vendor"` + // The version of the operating system as provided by the Java system property os.version. + Version pulumi.StringInput `pulumi:"version"` } -func (GetJavaDownloadsJavaDownloadRecordsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() +func (GetInstallationSiteItemJreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemJre)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadRecordsFilterArgs) ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(context.Background()) +func (i GetInstallationSiteItemJreArgs) ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput { + return i.ToGetInstallationSiteItemJreOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadRecordsFilterArgs) ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsFilterOutput) +func (i GetInstallationSiteItemJreArgs) ToGetInstallationSiteItemJreOutputWithContext(ctx context.Context) GetInstallationSiteItemJreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemJreOutput) } -// GetJavaDownloadsJavaDownloadRecordsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsFilterArray and GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsFilterArrayInput` via: +// GetInstallationSiteItemJreArrayInput is an input type that accepts GetInstallationSiteItemJreArray and GetInstallationSiteItemJreArrayOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemJreArrayInput` via: // -// GetJavaDownloadsJavaDownloadRecordsFilterArray{ GetJavaDownloadsJavaDownloadRecordsFilterArgs{...} } -type GetJavaDownloadsJavaDownloadRecordsFilterArrayInput interface { +// GetInstallationSiteItemJreArray{ GetInstallationSiteItemJreArgs{...} } +type GetInstallationSiteItemJreArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput - ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput + ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput + ToGetInstallationSiteItemJreArrayOutputWithContext(context.Context) GetInstallationSiteItemJreArrayOutput } -type GetJavaDownloadsJavaDownloadRecordsFilterArray []GetJavaDownloadsJavaDownloadRecordsFilterInput +type GetInstallationSiteItemJreArray []GetInstallationSiteItemJreInput -func (GetJavaDownloadsJavaDownloadRecordsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() +func (GetInstallationSiteItemJreArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemJre)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadRecordsFilterArray) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(context.Background()) +func (i GetInstallationSiteItemJreArray) ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput { + return i.ToGetInstallationSiteItemJreArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadRecordsFilterArray) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) +func (i GetInstallationSiteItemJreArray) ToGetInstallationSiteItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemJreArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemJreArrayOutput) } -type GetJavaDownloadsJavaDownloadRecordsFilterOutput struct{ *pulumi.OutputState } +type GetInstallationSiteItemJreOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadRecordsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() +func (GetInstallationSiteItemJreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemJre)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput { +func (o GetInstallationSiteItemJreOutput) ToGetInstallationSiteItemJreOutput() GetInstallationSiteItemJreOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput { +func (o GetInstallationSiteItemJreOutput) ToGetInstallationSiteItemJreOutputWithContext(ctx context.Context) GetInstallationSiteItemJreOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) string { return v.Name }).(pulumi.StringOutput) +// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. +func (o GetInstallationSiteItemJreOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Distribution }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// The unique identifier for a Java Runtime. +func (o GetInstallationSiteItemJreOutput) JreKey() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.JreKey }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The vendor of the Java Runtime. +func (o GetInstallationSiteItemJreOutput) Vendor() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Vendor }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput struct{ *pulumi.OutputState } +// The version of the operating system as provided by the Java system property os.version. +func (o GetInstallationSiteItemJreOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemJre) string { return v.Version }).(pulumi.StringOutput) +} -func (GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() +type GetInstallationSiteItemJreArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSiteItemJreArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemJre)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { +func (o GetInstallationSiteItemJreArrayOutput) ToGetInstallationSiteItemJreArrayOutput() GetInstallationSiteItemJreArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { +func (o GetInstallationSiteItemJreArrayOutput) ToGetInstallationSiteItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemJreArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsFilter { - return vs[0].([]GetJavaDownloadsJavaDownloadRecordsFilter)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadRecordsFilterOutput) +func (o GetInstallationSiteItemJreArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemJreOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemJre { + return vs[0].([]GetInstallationSiteItemJre)[vs[1].(int)] + }).(GetInstallationSiteItemJreOutput) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection struct { - // A list of Java download records in a tenancy. - Items []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem `pulumi:"items"` +type GetInstallationSiteItemOperatingSystem struct { + // The architecture of the operating system as provided by the Java system property os.arch. + Architecture string `pulumi:"architecture"` + // The operating system type, such as Windows or Linux + Family string `pulumi:"family"` + // Number of instances running the operating system + ManagedInstanceCount int `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name string `pulumi:"name"` + // The version of the operating system as provided by the Java system property os.version. + Version string `pulumi:"version"` } -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput` via: +// GetInstallationSiteItemOperatingSystemInput is an input type that accepts GetInstallationSiteItemOperatingSystemArgs and GetInstallationSiteItemOperatingSystemOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemOperatingSystemInput` via: // -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs{...} -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput interface { +// GetInstallationSiteItemOperatingSystemArgs{...} +type GetInstallationSiteItemOperatingSystemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput + ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput + ToGetInstallationSiteItemOperatingSystemOutputWithContext(context.Context) GetInstallationSiteItemOperatingSystemOutput } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs struct { - // A list of Java download records in a tenancy. - Items GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput `pulumi:"items"` +type GetInstallationSiteItemOperatingSystemArgs struct { + // The architecture of the operating system as provided by the Java system property os.arch. + Architecture pulumi.StringInput `pulumi:"architecture"` + // The operating system type, such as Windows or Linux + Family pulumi.StringInput `pulumi:"family"` + // Number of instances running the operating system + ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name pulumi.StringInput `pulumi:"name"` + // The version of the operating system as provided by the Java system property os.version. + Version pulumi.StringInput `pulumi:"version"` } -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() +func (GetInstallationSiteItemOperatingSystemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemOperatingSystem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(context.Background()) +func (i GetInstallationSiteItemOperatingSystemArgs) ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput { + return i.ToGetInstallationSiteItemOperatingSystemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) +func (i GetInstallationSiteItemOperatingSystemArgs) ToGetInstallationSiteItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOperatingSystemOutput) } -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput` via: +// GetInstallationSiteItemOperatingSystemArrayInput is an input type that accepts GetInstallationSiteItemOperatingSystemArray and GetInstallationSiteItemOperatingSystemArrayOutput values. +// You can construct a concrete instance of `GetInstallationSiteItemOperatingSystemArrayInput` via: // -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray{ GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs{...} } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput interface { +// GetInstallationSiteItemOperatingSystemArray{ GetInstallationSiteItemOperatingSystemArgs{...} } +type GetInstallationSiteItemOperatingSystemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput + ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput + ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(context.Context) GetInstallationSiteItemOperatingSystemArrayOutput } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput +type GetInstallationSiteItemOperatingSystemArray []GetInstallationSiteItemOperatingSystemInput -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() +func (GetInstallationSiteItemOperatingSystemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemOperatingSystem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(context.Background()) +func (i GetInstallationSiteItemOperatingSystemArray) ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput { + return i.ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) +func (i GetInstallationSiteItemOperatingSystemArray) ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSiteItemOperatingSystemArrayOutput) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput struct{ *pulumi.OutputState } +type GetInstallationSiteItemOperatingSystemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() +func (GetInstallationSiteItemOperatingSystemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSiteItemOperatingSystem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { +func (o GetInstallationSiteItemOperatingSystemOutput) ToGetInstallationSiteItemOperatingSystemOutput() GetInstallationSiteItemOperatingSystemOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { +func (o GetInstallationSiteItemOperatingSystemOutput) ToGetInstallationSiteItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemOutput { return o } -// A list of Java download records in a tenancy. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) Items() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection) []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem { - return v.Items - }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) +// The architecture of the operating system as provided by the Java system property os.arch. +func (o GetInstallationSiteItemOperatingSystemOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Architecture }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() +// The operating system type, such as Windows or Linux +func (o GetInstallationSiteItemOperatingSystemOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { - return o +// Number of instances running the operating system +func (o GetInstallationSiteItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) int { return v.ManagedInstanceCount }).(pulumi.IntOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { - return o +// The name of the operating system as provided by the Java system property os.name. +func (o GetInstallationSiteItemOperatingSystemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection { - return vs[0].([]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) +// The version of the operating system as provided by the Java system property os.version. +func (o GetInstallationSiteItemOperatingSystemOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSiteItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem struct { - // Target Operating System architecture of the artifact. - Architecture string `pulumi:"architecture"` - // Identifier of the source that downloaded the artifact. - DownloadSourceId string `pulumi:"downloadSourceId"` - // Type of download. - DownloadType string `pulumi:"downloadType"` - // The Java family display name. - FamilyDisplayName string `pulumi:"familyDisplayName"` - // Unique Java family version identifier. - FamilyVersion string `pulumi:"familyVersion"` - // Target Operating System family of the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type (typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Packaging type detail of the artifact. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // Unique Java release version identifier. - ReleaseVersion string `pulumi:"releaseVersion"` - // Timestamp of download. - TimeDownloaded string `pulumi:"timeDownloaded"` +type GetInstallationSiteItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSiteItemOperatingSystemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSiteItemOperatingSystem)(nil)).Elem() } -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput` via: -// -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs{...} -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput interface { - pulumi.Input +func (o GetInstallationSiteItemOperatingSystemArrayOutput) ToGetInstallationSiteItemOperatingSystemArrayOutput() GetInstallationSiteItemOperatingSystemArrayOutput { + return o +} - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput +func (o GetInstallationSiteItemOperatingSystemArrayOutput) ToGetInstallationSiteItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSiteItemOperatingSystemArrayOutput { + return o } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs struct { - // Target Operating System architecture of the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Identifier of the source that downloaded the artifact. - DownloadSourceId pulumi.StringInput `pulumi:"downloadSourceId"` - // Type of download. - DownloadType pulumi.StringInput `pulumi:"downloadType"` - // The Java family display name. - FamilyDisplayName pulumi.StringInput `pulumi:"familyDisplayName"` - // Unique Java family version identifier. - FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` - // Target Operating System family of the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type (typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Packaging type detail of the artifact. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // Unique Java release version identifier. - ReleaseVersion pulumi.StringInput `pulumi:"releaseVersion"` - // Timestamp of download. - TimeDownloaded pulumi.StringInput `pulumi:"timeDownloaded"` -} - -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() -} - -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(context.Background()) +func (o GetInstallationSiteItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetInstallationSiteItemOperatingSystemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSiteItemOperatingSystem { + return vs[0].([]GetInstallationSiteItemOperatingSystem)[vs[1].(int)] + }).(GetInstallationSiteItemOperatingSystemOutput) } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) +type GetInstallationSitesFilter struct { + // The name of the operating system as provided by the Java system property os.name. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput` via: +// GetInstallationSitesFilterInput is an input type that accepts GetInstallationSitesFilterArgs and GetInstallationSitesFilterOutput values. +// You can construct a concrete instance of `GetInstallationSitesFilterInput` via: // -// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray{ GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs{...} } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput interface { +// GetInstallationSitesFilterArgs{...} +type GetInstallationSitesFilterInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput - ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput + ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput + ToGetInstallationSitesFilterOutputWithContext(context.Context) GetInstallationSitesFilterOutput } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput - -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() +type GetInstallationSitesFilterArgs struct { + // The name of the operating system as provided by the Java system property os.name. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(context.Background()) +func (GetInstallationSitesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) +func (i GetInstallationSitesFilterArgs) ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput { + return i.ToGetInstallationSitesFilterOutputWithContext(context.Background()) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() +func (i GetInstallationSitesFilterArgs) ToGetInstallationSitesFilterOutputWithContext(ctx context.Context) GetInstallationSitesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesFilterOutput) } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { - return o -} +// GetInstallationSitesFilterArrayInput is an input type that accepts GetInstallationSitesFilterArray and GetInstallationSitesFilterArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesFilterArrayInput` via: +// +// GetInstallationSitesFilterArray{ GetInstallationSitesFilterArgs{...} } +type GetInstallationSitesFilterArrayInput interface { + pulumi.Input -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { - return o + ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput + ToGetInstallationSitesFilterArrayOutputWithContext(context.Context) GetInstallationSitesFilterArrayOutput } -// Target Operating System architecture of the artifact. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.Architecture - }).(pulumi.StringOutput) -} +type GetInstallationSitesFilterArray []GetInstallationSitesFilterInput -// Identifier of the source that downloaded the artifact. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) DownloadSourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.DownloadSourceId - }).(pulumi.StringOutput) +func (GetInstallationSitesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesFilter)(nil)).Elem() } -// Type of download. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) DownloadType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.DownloadType - }).(pulumi.StringOutput) +func (i GetInstallationSitesFilterArray) ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput { + return i.ToGetInstallationSitesFilterArrayOutputWithContext(context.Background()) } -// The Java family display name. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) FamilyDisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.FamilyDisplayName - }).(pulumi.StringOutput) +func (i GetInstallationSitesFilterArray) ToGetInstallationSitesFilterArrayOutputWithContext(ctx context.Context) GetInstallationSitesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesFilterArrayOutput) } -// Unique Java family version identifier. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) FamilyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.FamilyVersion - }).(pulumi.StringOutput) +type GetInstallationSitesFilterOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesFilter)(nil)).Elem() } -// Target Operating System family of the artifact. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { return v.OsFamily }).(pulumi.StringOutput) +func (o GetInstallationSitesFilterOutput) ToGetInstallationSitesFilterOutput() GetInstallationSitesFilterOutput { + return o } -// The package type (typically the file extension) of the artifact. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.PackageType - }).(pulumi.StringOutput) +func (o GetInstallationSitesFilterOutput) ToGetInstallationSitesFilterOutputWithContext(ctx context.Context) GetInstallationSitesFilterOutput { + return o } -// Packaging type detail of the artifact. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.PackageTypeDetail - }).(pulumi.StringOutput) +// The name of the operating system as provided by the Java system property os.name. +func (o GetInstallationSitesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesFilter) string { return v.Name }).(pulumi.StringOutput) } -// Unique Java release version identifier. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.ReleaseVersion - }).(pulumi.StringOutput) +func (o GetInstallationSitesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetInstallationSitesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Timestamp of download. -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) TimeDownloaded() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { - return v.TimeDownloaded - }).(pulumi.StringOutput) +func (o GetInstallationSitesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstallationSitesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetInstallationSitesFilterArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() +func (GetInstallationSitesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { +func (o GetInstallationSitesFilterArrayOutput) ToGetInstallationSitesFilterArrayOutput() GetInstallationSitesFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { +func (o GetInstallationSitesFilterArrayOutput) ToGetInstallationSitesFilterArrayOutputWithContext(ctx context.Context) GetInstallationSitesFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem { - return vs[0].([]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) +func (o GetInstallationSitesFilterArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesFilter { + return vs[0].([]GetInstallationSitesFilter)[vs[1].(int)] + }).(GetInstallationSitesFilterOutput) } -type GetJavaDownloadsJavaDownloadReportCreatedBy struct { - // Display name for the Java download report. - DisplayName string `pulumi:"displayName"` - // The email of the principal. - Email string `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id string `pulumi:"id"` +type GetInstallationSitesInstallationSiteCollection struct { + // A list of Java installation sites. + Items []GetInstallationSitesInstallationSiteCollectionItem `pulumi:"items"` } -// GetJavaDownloadsJavaDownloadReportCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadReportCreatedByArgs and GetJavaDownloadsJavaDownloadReportCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportCreatedByInput` via: +// GetInstallationSitesInstallationSiteCollectionInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionArgs and GetInstallationSitesInstallationSiteCollectionOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionInput` via: // -// GetJavaDownloadsJavaDownloadReportCreatedByArgs{...} -type GetJavaDownloadsJavaDownloadReportCreatedByInput interface { +// GetInstallationSitesInstallationSiteCollectionArgs{...} +type GetInstallationSitesInstallationSiteCollectionInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput - ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput + ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput + ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionOutput } -type GetJavaDownloadsJavaDownloadReportCreatedByArgs struct { - // Display name for the Java download report. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // The email of the principal. - Email pulumi.StringInput `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id pulumi.StringInput `pulumi:"id"` +type GetInstallationSitesInstallationSiteCollectionArgs struct { + // A list of Java installation sites. + Items GetInstallationSitesInstallationSiteCollectionItemArrayInput `pulumi:"items"` } -func (GetJavaDownloadsJavaDownloadReportCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionArgs) ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportCreatedByOutput) +func (i GetInstallationSitesInstallationSiteCollectionArgs) ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionOutput) } -// GetJavaDownloadsJavaDownloadReportCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportCreatedByArray and GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportCreatedByArrayInput` via: +// GetInstallationSitesInstallationSiteCollectionArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionArray and GetInstallationSitesInstallationSiteCollectionArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionArrayInput` via: // -// GetJavaDownloadsJavaDownloadReportCreatedByArray{ GetJavaDownloadsJavaDownloadReportCreatedByArgs{...} } -type GetJavaDownloadsJavaDownloadReportCreatedByArrayInput interface { +// GetInstallationSitesInstallationSiteCollectionArray{ GetInstallationSitesInstallationSiteCollectionArgs{...} } +type GetInstallationSitesInstallationSiteCollectionArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput - ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput + ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput + ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput } -type GetJavaDownloadsJavaDownloadReportCreatedByArray []GetJavaDownloadsJavaDownloadReportCreatedByInput +type GetInstallationSitesInstallationSiteCollectionArray []GetInstallationSitesInstallationSiteCollectionInput -func (GetJavaDownloadsJavaDownloadReportCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportCreatedByArray) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionArray) ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportCreatedByArray) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) +func (i GetInstallationSitesInstallationSiteCollectionArray) ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionArrayOutput) } -type GetJavaDownloadsJavaDownloadReportCreatedByOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput { +func (o GetInstallationSitesInstallationSiteCollectionOutput) ToGetInstallationSitesInstallationSiteCollectionOutput() GetInstallationSitesInstallationSiteCollectionOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput { +func (o GetInstallationSitesInstallationSiteCollectionOutput) ToGetInstallationSitesInstallationSiteCollectionOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionOutput { return o } -// Display name for the Java download report. -func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) -} - -// The email of the principal. -func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.Email }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. -func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.Id }).(pulumi.StringOutput) +// A list of Java installation sites. +func (o GetInstallationSitesInstallationSiteCollectionOutput) Items() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollection) []GetInstallationSitesInstallationSiteCollectionItem { + return v.Items + }).(GetInstallationSitesInstallationSiteCollectionItemArrayOutput) } -type GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) ToGetInstallationSitesInstallationSiteCollectionArrayOutput() GetInstallationSitesInstallationSiteCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) ToGetInstallationSitesInstallationSiteCollectionArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportCreatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadReportCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadReportCreatedByOutput) +func (o GetInstallationSitesInstallationSiteCollectionArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollection { + return vs[0].([]GetInstallationSitesInstallationSiteCollection)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionOutput) } -type GetJavaDownloadsJavaDownloadReportsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetInstallationSitesInstallationSiteCollectionItem struct { + // A list of Java installation sites. + Items []GetInstallationSitesInstallationSiteCollectionItemItem `pulumi:"items"` } -// GetJavaDownloadsJavaDownloadReportsFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsFilterArgs and GetJavaDownloadsJavaDownloadReportsFilterOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsFilterInput` via: +// GetInstallationSitesInstallationSiteCollectionItemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemArgs and GetInstallationSitesInstallationSiteCollectionItemOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemInput` via: // -// GetJavaDownloadsJavaDownloadReportsFilterArgs{...} -type GetJavaDownloadsJavaDownloadReportsFilterInput interface { +// GetInstallationSitesInstallationSiteCollectionItemArgs{...} +type GetInstallationSitesInstallationSiteCollectionItemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput - ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput + ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput + ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput } -type GetJavaDownloadsJavaDownloadReportsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetInstallationSitesInstallationSiteCollectionItemArgs struct { + // A list of Java installation sites. + Items GetInstallationSitesInstallationSiteCollectionItemItemArrayInput `pulumi:"items"` } -func (GetJavaDownloadsJavaDownloadReportsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsFilterArgs) ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsFilterArgs) ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsFilterOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemOutput) } -// GetJavaDownloadsJavaDownloadReportsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsFilterArray and GetJavaDownloadsJavaDownloadReportsFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsFilterArrayInput` via: +// GetInstallationSitesInstallationSiteCollectionItemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemArray and GetInstallationSitesInstallationSiteCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemArrayInput` via: // -// GetJavaDownloadsJavaDownloadReportsFilterArray{ GetJavaDownloadsJavaDownloadReportsFilterArgs{...} } -type GetJavaDownloadsJavaDownloadReportsFilterArrayInput interface { +// GetInstallationSitesInstallationSiteCollectionItemArray{ GetInstallationSitesInstallationSiteCollectionItemArgs{...} } +type GetInstallationSitesInstallationSiteCollectionItemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput - ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput } -type GetJavaDownloadsJavaDownloadReportsFilterArray []GetJavaDownloadsJavaDownloadReportsFilterInput +type GetInstallationSitesInstallationSiteCollectionItemArray []GetInstallationSitesInstallationSiteCollectionItemInput -func (GetJavaDownloadsJavaDownloadReportsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsFilterArray) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemArray) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsFilterArray) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemArray) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemArrayOutput) } -type GetJavaDownloadsJavaDownloadReportsFilterOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemOutput() GetInstallationSitesInstallationSiteCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// A list of Java installation sites. +func (o GetInstallationSitesInstallationSiteCollectionItemOutput) Items() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItem) []GetInstallationSitesInstallationSiteCollectionItemItem { + return v.Items + }).(GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) } -type GetJavaDownloadsJavaDownloadReportsFilterArrayOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsFilter { - return vs[0].([]GetJavaDownloadsJavaDownloadReportsFilter)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadReportsFilterOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItem { + return vs[0].([]GetInstallationSitesInstallationSiteCollectionItem)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionItemOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection struct { - Items []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem `pulumi:"items"` +type GetInstallationSitesInstallationSiteCollectionItemItem struct { + // The approximate count of applications running on this installation + ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` + // The list of operations that are blocklisted. + Blocklists []GetInstallationSitesInstallationSiteCollectionItemItemBlocklist `pulumi:"blocklists"` + // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. + InstallationKey string `pulumi:"installationKey"` + // The essential properties to identify a Java Runtime. + Jres []GetInstallationSitesInstallationSiteCollectionItemItemJre `pulumi:"jres"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // Operating System of the platform on which the Java Runtime was reported. + OperatingSystems []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem `pulumi:"operatingSystems"` + // The file system path of the installation. + Path string `pulumi:"path"` + // The security status of the Java Runtime. + SecurityStatus string `pulumi:"securityStatus"` + // The lifecycle state of the installation site. + State string `pulumi:"state"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemArgs and GetInstallationSitesInstallationSiteCollectionItemItemOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs{...} -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemArgs{...} +type GetInstallationSitesInstallationSiteCollectionItemItemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs struct { - Items GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput `pulumi:"items"` +type GetInstallationSitesInstallationSiteCollectionItemItemArgs struct { + // The approximate count of applications running on this installation + ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` + // The list of operations that are blocklisted. + Blocklists GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput `pulumi:"blocklists"` + // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. + InstallationKey pulumi.StringInput `pulumi:"installationKey"` + // The essential properties to identify a Java Runtime. + Jres GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput `pulumi:"jres"` + // The Fleet-unique identifier of the related managed instance. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // Operating System of the platform on which the Java Runtime was reported. + OperatingSystems GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput `pulumi:"operatingSystems"` + // The file system path of the installation. + Path pulumi.StringInput `pulumi:"path"` + // The security status of the Java Runtime. + SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` + // The lifecycle state of the installation site. + State pulumi.StringInput `pulumi:"state"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOutput) } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemArray and GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemArrayInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs{...} } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemArray{ GetInstallationSitesInstallationSiteCollectionItemItemArgs{...} } +type GetInstallationSitesInstallationSiteCollectionItemItemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput +type GetInstallationSitesInstallationSiteCollectionItemItemArray []GetInstallationSitesInstallationSiteCollectionItemItemInput -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionItemItemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) Items() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection) []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem { - return v.Items - }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) +// The approximate count of applications running on this installation +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ApproximateApplicationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) int { + return v.ApproximateApplicationCount + }).(pulumi.IntOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput struct{ *pulumi.OutputState } +// The list of operations that are blocklisted. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Blocklists() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemBlocklist { + return v.Blocklists + }).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) +} -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() +// The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) InstallationKey() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.InstallationKey }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { +// The essential properties to identify a Java Runtime. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Jres() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemJre { + return v.Jres + }).(GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) +} + +// The Fleet-unique identifier of the related managed instance. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) +} + +// Operating System of the platform on which the Java Runtime was reported. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) OperatingSystems() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem { + return v.OperatingSystems + }).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) +} + +// The file system path of the installation. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.Path }).(pulumi.StringOutput) +} + +// The security status of the Java Runtime. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) SecurityStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.SecurityStatus }).(pulumi.StringOutput) +} + +// The lifecycle state of the installation site. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) +} + +type GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItem)(nil)).Elem() +} + +func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection { - return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItem { + return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItem)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionItemItemOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem struct { - // The algorithm used for calculating the checksum. - ChecksumType string `pulumi:"checksumType"` - // The checksum value of the Java download report file. - ChecksumValue string `pulumi:"checksumValue"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - CompartmentId string `pulumi:"compartmentId"` - // An authorized principal. - CreatedBies []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy `pulumi:"createdBies"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags map[string]string `pulumi:"definedTags"` - // A filter to return only resources that match the display name. - DisplayName string `pulumi:"displayName"` - // Approximate size of the Java download report file in bytes. - FileSizeInBytes string `pulumi:"fileSizeInBytes"` - // The file format of the Java download report. - Format string `pulumi:"format"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags map[string]string `pulumi:"freeformTags"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id string `pulumi:"id"` - SortBy string `pulumi:"sortBy"` - SortOrder string `pulumi:"sortOrder"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State string `pulumi:"state"` - // 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 time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeCreated string `pulumi:"timeCreated"` - // The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeEnd string `pulumi:"timeEnd"` - // The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeStart string `pulumi:"timeStart"` +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklist struct { + // The operation type. + Operation string `pulumi:"operation"` + // The reason why the operation is blocklisted. + Reason string `pulumi:"reason"` } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs and GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs{...} -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs{...} +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs struct { - // The algorithm used for calculating the checksum. - ChecksumType pulumi.StringInput `pulumi:"checksumType"` - // The checksum value of the Java download report file. - ChecksumValue pulumi.StringInput `pulumi:"checksumValue"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // An authorized principal. - CreatedBies GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput `pulumi:"createdBies"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - // A filter to return only resources that match the display name. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Approximate size of the Java download report file in bytes. - FileSizeInBytes pulumi.StringInput `pulumi:"fileSizeInBytes"` - // The file format of the Java download report. - Format pulumi.StringInput `pulumi:"format"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id pulumi.StringInput `pulumi:"id"` - SortBy pulumi.StringInput `pulumi:"sortBy"` - SortOrder pulumi.StringInput `pulumi:"sortOrder"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State pulumi.StringInput `pulumi:"state"` - // System tags for this resource. Each key is predefined and scoped to a namespace. 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 time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeEnd pulumi.StringInput `pulumi:"timeEnd"` - // The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeStart pulumi.StringInput `pulumi:"timeStart"` +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs struct { + // The operation type. + Operation pulumi.StringInput `pulumi:"operation"` + // The reason why the operation is blocklisted. + Reason pulumi.StringInput `pulumi:"reason"` } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray and GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs{...} } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray{ GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArgs{...} } +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray []GetInstallationSitesInstallationSiteCollectionItemItemBlocklistInput -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArray) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { return o } -// The algorithm used for calculating the checksum. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ChecksumType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.ChecksumType - }).(pulumi.StringOutput) +// The operation type. +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) Operation() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemBlocklist) string { return v.Operation }).(pulumi.StringOutput) } -// The checksum value of the Java download report file. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ChecksumValue() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.ChecksumValue - }).(pulumi.StringOutput) +// The reason why the operation is blocklisted. +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemBlocklist) string { return v.Reason }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.CompartmentId - }).(pulumi.StringOutput) +type GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)(nil)).Elem() } -// An authorized principal. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy { - return v.CreatedBies - }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { + return o } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { - return v.DefinedTags - }).(pulumi.StringMapOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput { + return o } -// A filter to return only resources that match the display name. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.DisplayName - }).(pulumi.StringOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemBlocklistArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemBlocklist { + return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemBlocklist)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionItemItemBlocklistOutput) } -// Approximate size of the Java download report file in bytes. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) FileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.FileSizeInBytes - }).(pulumi.StringOutput) +type GetInstallationSitesInstallationSiteCollectionItemItemJre struct { + // The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + Distribution string `pulumi:"distribution"` + // The unique identifier for a Java Runtime. + JreKey string `pulumi:"jreKey"` + // The vendor of the Java Runtime. + Vendor string `pulumi:"vendor"` + // The version of the operating system as provided by the Java system property os.version. + Version string `pulumi:"version"` } -// The file format of the Java download report. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.Format }).(pulumi.StringOutput) +// GetInstallationSitesInstallationSiteCollectionItemItemJreInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemJreArgs and GetInstallationSitesInstallationSiteCollectionItemItemJreOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemJreInput` via: +// +// GetInstallationSitesInstallationSiteCollectionItemItemJreArgs{...} +type GetInstallationSitesInstallationSiteCollectionItemItemJreInput interface { + pulumi.Input + + ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput } -// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { - return v.FreeformTags - }).(pulumi.StringMapOutput) +type GetInstallationSitesInstallationSiteCollectionItemItemJreArgs struct { + // The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + Distribution pulumi.StringInput `pulumi:"distribution"` + // The unique identifier for a Java Runtime. + JreKey pulumi.StringInput `pulumi:"jreKey"` + // The vendor of the Java Runtime. + Vendor pulumi.StringInput `pulumi:"vendor"` + // The version of the operating system as provided by the Java system property os.version. + Version pulumi.StringInput `pulumi:"version"` } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.Id }).(pulumi.StringOutput) +func (GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SortBy() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.SortBy }).(pulumi.StringOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(context.Background()) } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SortOrder() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.SortOrder }).(pulumi.StringOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) } -// A filter to return only resources their lifecycleState matches the given lifecycleState. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.State }).(pulumi.StringOutput) +// GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemJreArray and GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput` via: +// +// GetInstallationSitesInstallationSiteCollectionItemItemJreArray{ GetInstallationSitesInstallationSiteCollectionItemItemJreArgs{...} } +type GetInstallationSitesInstallationSiteCollectionItemItemJreArrayInput interface { + pulumi.Input + + ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput } -// 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 GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { - return v.SystemTags - }).(pulumi.StringMapOutput) +type GetInstallationSitesInstallationSiteCollectionItemItemJreArray []GetInstallationSitesInstallationSiteCollectionItemItemJreInput + +func (GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() } -// The time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { - return v.TimeCreated - }).(pulumi.StringOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(context.Background()) } -// The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeEnd() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.TimeEnd }).(pulumi.StringOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemJreArray) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) } -// The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeStart() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.TimeStart }).(pulumi.StringOutput) +type GetInstallationSitesInstallationSiteCollectionItemItemJreOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput struct{ *pulumi.OutputState } +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { + return o +} -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { + return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { +// The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Distribution }).(pulumi.StringOutput) +} + +// The unique identifier for a Java Runtime. +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) JreKey() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.JreKey }).(pulumi.StringOutput) +} + +// The vendor of the Java Runtime. +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Vendor() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Vendor }).(pulumi.StringOutput) +} + +// The version of the operating system as provided by the Java system property os.version. +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemJre) string { return v.Version }).(pulumi.StringOutput) +} + +type GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemJre)(nil)).Elem() +} + +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem { - return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemJreArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemJreOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemJre { + return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemJre)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionItemItemJreOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy struct { - // A filter to return only resources that match the display name. - DisplayName string `pulumi:"displayName"` - // The email of the principal. - Email string `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id string `pulumi:"id"` +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem struct { + // The architecture of the operating system as provided by the Java system property os.arch. + Architecture string `pulumi:"architecture"` + // The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + Distribution string `pulumi:"distribution"` + // The operating system type, such as Windows, Linux or macOS + Family string `pulumi:"family"` + // Number of instances running the operating system. + ManagedInstanceCount int `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name string `pulumi:"name"` + // The version of the operating system as provided by the Java system property os.version. + Version string `pulumi:"version"` } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs and GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs{...} -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs{...} +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs struct { - // A filter to return only resources that match the display name. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // The email of the principal. - Email pulumi.StringInput `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. - Id pulumi.StringInput `pulumi:"id"` +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs struct { + // The architecture of the operating system as provided by the Java system property os.arch. + Architecture pulumi.StringInput `pulumi:"architecture"` + // The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + Distribution pulumi.StringInput `pulumi:"distribution"` + // The operating system type, such as Windows, Linux or macOS + Family pulumi.StringInput `pulumi:"family"` + // Number of instances running the operating system. + ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name pulumi.StringInput `pulumi:"name"` + // The version of the operating system as provided by the Java system property os.version. + Version pulumi.StringInput `pulumi:"version"` } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) } -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput` via: +// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput is an input type that accepts GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray and GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput values. +// You can construct a concrete instance of `GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput` via: // -// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs{...} } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput interface { +// GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray{ GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArgs{...} } +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput - ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput + ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemInput -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(context.Background()) +func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { + return i.ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) +func (i GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArray) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput struct{ *pulumi.OutputState } +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() +func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { return o } -// A filter to return only resources that match the display name. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { - return v.DisplayName +// The architecture of the operating system as provided by the Java system property os.arch. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { + return v.Architecture }).(pulumi.StringOutput) } -// The email of the principal. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { - return v.Email +// The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { + return v.Distribution }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { - return v.Id - }).(pulumi.StringOutput) +// The operating system type, such as Windows, Linux or macOS +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } - -func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() +// Number of instances running the operating system. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) int { + return v.ManagedInstanceCount + }).(pulumi.IntOutput) } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { +// The name of the operating system as provided by the Java system property os.name. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) +} + +// The version of the operating system as provided by the Java system property os.version. +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) +} + +type GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } + +func (GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)(nil)).Elem() +} + +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput() GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) ToGetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) +func (o GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem { + return vs[0].([]GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem)[vs[1].(int)] + }).(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemOutput) } -type GetJavaDownloadsJavaDownloadTokenCreatedBy struct { - // The name of the principal. - DisplayName string `pulumi:"displayName"` - // The email of the principal. - Email string `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. - Id string `pulumi:"id"` +type GetJavaDownloadsJavaDownloadRecordsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaDownloadsJavaDownloadTokenCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenCreatedByArgs and GetJavaDownloadsJavaDownloadTokenCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenCreatedByInput` via: +// GetJavaDownloadsJavaDownloadRecordsFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsFilterArgs and GetJavaDownloadsJavaDownloadRecordsFilterOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsFilterInput` via: // -// GetJavaDownloadsJavaDownloadTokenCreatedByArgs{...} -type GetJavaDownloadsJavaDownloadTokenCreatedByInput interface { +// GetJavaDownloadsJavaDownloadRecordsFilterArgs{...} +type GetJavaDownloadsJavaDownloadRecordsFilterInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput - ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput + ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput + ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput } -type GetJavaDownloadsJavaDownloadTokenCreatedByArgs struct { - // The name of the principal. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // The email of the principal. - Email pulumi.StringInput `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. - Id pulumi.StringInput `pulumi:"id"` +type GetJavaDownloadsJavaDownloadRecordsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsFilterArgs) ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenCreatedByOutput) +func (i GetJavaDownloadsJavaDownloadRecordsFilterArgs) ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsFilterOutput) } -// GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenCreatedByArray and GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadRecordsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsFilterArray and GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsFilterArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokenCreatedByArray{ GetJavaDownloadsJavaDownloadTokenCreatedByArgs{...} } -type GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadRecordsFilterArray{ GetJavaDownloadsJavaDownloadRecordsFilterArgs{...} } +type GetJavaDownloadsJavaDownloadRecordsFilterArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput - ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput } -type GetJavaDownloadsJavaDownloadTokenCreatedByArray []GetJavaDownloadsJavaDownloadTokenCreatedByInput +type GetJavaDownloadsJavaDownloadRecordsFilterArray []GetJavaDownloadsJavaDownloadRecordsFilterInput -func (GetJavaDownloadsJavaDownloadTokenCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokenCreatedByArray) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsFilterArray) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokenCreatedByArray) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadRecordsFilterArray) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) } -type GetJavaDownloadsJavaDownloadTokenCreatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadRecordsFilterOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterOutput() GetJavaDownloadsJavaDownloadRecordsFilterOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterOutput { return o } -// The name of the principal. -func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The email of the principal. -func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.Email }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. -func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadRecordsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutput() GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokenCreatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadTokenCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokenCreatedByOutput) +func (o GetJavaDownloadsJavaDownloadRecordsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsFilter { + return vs[0].([]GetJavaDownloadsJavaDownloadRecordsFilter)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadRecordsFilterOutput) } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedBy struct { - // The name of the principal. - DisplayName string `pulumi:"displayName"` - // The email of the principal. - Email string `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. - Id string `pulumi:"id"` +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection struct { + // A list of Java download records in a tenancy. + Items []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem `pulumi:"items"` } -// GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs and GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput` via: +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput` via: // -// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs{...} -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput interface { +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs{...} +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput - ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs struct { - // The name of the principal. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // The email of the principal. - Email pulumi.StringInput `pulumi:"email"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. - Id pulumi.StringInput `pulumi:"id"` +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs struct { + // A list of Java download records in a tenancy. + Items GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput `pulumi:"items"` } -func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) } -// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray and GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray{ GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs{...} } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray{ GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArgs{...} } +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput - ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray []GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionInput -func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { return o } -// The name of the principal. -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.DisplayName }).(pulumi.StringOutput) -} - -// The email of the principal. -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.Email }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +// A list of Java download records in a tenancy. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) Items() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection) []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem { + return v.Items + }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) } -type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokenLastUpdatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection { + return vs[0].([]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionOutput) } -type GetJavaDownloadsJavaDownloadTokensFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem struct { + // Target Operating System architecture of the artifact. + Architecture string `pulumi:"architecture"` + // Identifier of the source that downloaded the artifact. + DownloadSourceId string `pulumi:"downloadSourceId"` + // Type of download. + DownloadType string `pulumi:"downloadType"` + // The Java family display name. + FamilyDisplayName string `pulumi:"familyDisplayName"` + // Unique Java family version identifier. + FamilyVersion string `pulumi:"familyVersion"` + // Target Operating System family of the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type (typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Packaging type detail of the artifact. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // Unique Java release version identifier. + ReleaseVersion string `pulumi:"releaseVersion"` + // Timestamp of download. + TimeDownloaded string `pulumi:"timeDownloaded"` } -// GetJavaDownloadsJavaDownloadTokensFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensFilterArgs and GetJavaDownloadsJavaDownloadTokensFilterOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensFilterInput` via: +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput` via: // -// GetJavaDownloadsJavaDownloadTokensFilterArgs{...} -type GetJavaDownloadsJavaDownloadTokensFilterInput interface { +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs{...} +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput - ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput } -type GetJavaDownloadsJavaDownloadTokensFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs struct { + // Target Operating System architecture of the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Identifier of the source that downloaded the artifact. + DownloadSourceId pulumi.StringInput `pulumi:"downloadSourceId"` + // Type of download. + DownloadType pulumi.StringInput `pulumi:"downloadType"` + // The Java family display name. + FamilyDisplayName pulumi.StringInput `pulumi:"familyDisplayName"` + // Unique Java family version identifier. + FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` + // Target Operating System family of the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type (typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Packaging type detail of the artifact. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // Unique Java release version identifier. + ReleaseVersion pulumi.StringInput `pulumi:"releaseVersion"` + // Timestamp of download. + TimeDownloaded pulumi.StringInput `pulumi:"timeDownloaded"` } -func (GetJavaDownloadsJavaDownloadTokensFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensFilterArgs) ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensFilterArgs) ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensFilterOutput) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) } -// GetJavaDownloadsJavaDownloadTokensFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensFilterArray and GetJavaDownloadsJavaDownloadTokensFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensFilterArrayInput` via: +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray and GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokensFilterArray{ GetJavaDownloadsJavaDownloadTokensFilterArgs{...} } -type GetJavaDownloadsJavaDownloadTokensFilterArrayInput interface { +// GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray{ GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArgs{...} } +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput - ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput + ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput } -type GetJavaDownloadsJavaDownloadTokensFilterArray []GetJavaDownloadsJavaDownloadTokensFilterInput +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemInput -func (GetJavaDownloadsJavaDownloadTokensFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensFilterArray) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensFilterArray) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) +func (i GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArray) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) } -type GetJavaDownloadsJavaDownloadTokensFilterOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokensFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput { +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) string { return v.Name }).(pulumi.StringOutput) +// Target Operating System architecture of the artifact. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.Architecture + }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// Identifier of the source that downloaded the artifact. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) DownloadSourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.DownloadSourceId + }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// Type of download. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) DownloadType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.DownloadType + }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadTokensFilterArrayOutput struct{ *pulumi.OutputState } +// The Java family display name. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) FamilyDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.FamilyDisplayName + }).(pulumi.StringOutput) +} -func (GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() +// Unique Java family version identifier. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) FamilyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.FamilyVersion + }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { - return o +// Target Operating System family of the artifact. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { return v.OsFamily }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { - return o +// The package type (typically the file extension) of the artifact. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.PackageType + }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensFilter { - return vs[0].([]GetJavaDownloadsJavaDownloadTokensFilter)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokensFilterOutput) +// Packaging type detail of the artifact. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.PackageTypeDetail + }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection struct { - Items []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem `pulumi:"items"` +// Unique Java release version identifier. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) ReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.ReleaseVersion + }).(pulumi.StringOutput) } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput` via: -// -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs{...} -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput interface { - pulumi.Input +// Timestamp of download. +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) TimeDownloaded() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem) string { + return v.TimeDownloaded + }).(pulumi.StringOutput) +} - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput +type GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)(nil)).Elem() } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs struct { - Items GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput `pulumi:"items"` +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { + return o } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput { + return o } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(context.Background()) +func (o GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem { + return vs[0].([]GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItemOutput) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) +type GetJavaDownloadsJavaDownloadReportCreatedBy struct { + // Display name for the Java download report. + DisplayName string `pulumi:"displayName"` + // The email of the principal. + Email string `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. + Id string `pulumi:"id"` } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput` via: +// GetJavaDownloadsJavaDownloadReportCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadReportCreatedByArgs and GetJavaDownloadsJavaDownloadReportCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportCreatedByInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs{...} } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput interface { +// GetJavaDownloadsJavaDownloadReportCreatedByArgs{...} +type GetJavaDownloadsJavaDownloadReportCreatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput + ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput + ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput +type GetJavaDownloadsJavaDownloadReportCreatedByArgs struct { + // Display name for the Java download report. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the principal. + Email pulumi.StringInput `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. + Id pulumi.StringInput `pulumi:"id"` +} -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) +func (i GetJavaDownloadsJavaDownloadReportCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportCreatedByOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput struct{ *pulumi.OutputState } +// GetJavaDownloadsJavaDownloadReportCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportCreatedByArray and GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportCreatedByArrayInput` via: +// +// GetJavaDownloadsJavaDownloadReportCreatedByArray{ GetJavaDownloadsJavaDownloadReportCreatedByArgs{...} } +type GetJavaDownloadsJavaDownloadReportCreatedByArrayInput interface { + pulumi.Input -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() + ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { +type GetJavaDownloadsJavaDownloadReportCreatedByArray []GetJavaDownloadsJavaDownloadReportCreatedByInput + +func (GetJavaDownloadsJavaDownloadReportCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +} + +func (i GetJavaDownloadsJavaDownloadReportCreatedByArray) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(context.Background()) +} + +func (i GetJavaDownloadsJavaDownloadReportCreatedByArray) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) +} + +type GetJavaDownloadsJavaDownloadReportCreatedByOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByOutput() GetJavaDownloadsJavaDownloadReportCreatedByOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { +func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) Items() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem { - return v.Items - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) +// Display name for the Java download report. +func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput struct{ *pulumi.OutputState } +// The email of the principal. +func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.Email }).(pulumi.StringOutput) +} -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. +func (o GetJavaDownloadsJavaDownloadReportCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { +type GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportCreatedBy)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection { - return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) +func (o GetJavaDownloadsJavaDownloadReportCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportCreatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadReportCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadReportCreatedByOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - CompartmentId string `pulumi:"compartmentId"` - // An authorized principal. - CreatedBies []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy `pulumi:"createdBies"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags map[string]string `pulumi:"definedTags"` - // User provided description of the JavaDownloadToken. - Description string `pulumi:"description"` - // A filter to return only resources that match the entire display name given. - DisplayName string `pulumi:"displayName"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags map[string]string `pulumi:"freeformTags"` - // Unique JavaDownloadToken identifier. - Id string `pulumi:"id"` - // A flag to indicate if the token is default. - IsDefault bool `pulumi:"isDefault"` - // The associated Java version of the JavaDownloadToken. - JavaVersion string `pulumi:"javaVersion"` - // An authorized principal. - LastUpdatedBies []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy `pulumi:"lastUpdatedBies"` - // The license type(s) associated with the JavaDownloadToken. - LicenseTypes []string `pulumi:"licenseTypes"` - // Possible lifecycle substates. - LifecycleDetails string `pulumi:"lifecycleDetails"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State string `pulumi:"state"` - // 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 time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeCreated string `pulumi:"timeCreated"` - // The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeExpires string `pulumi:"timeExpires"` - // The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeLastUsed string `pulumi:"timeLastUsed"` - // The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeUpdated string `pulumi:"timeUpdated"` - // Unique JavaDownloadToken value. - Value string `pulumi:"value"` +type GetJavaDownloadsJavaDownloadReportsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput` via: +// GetJavaDownloadsJavaDownloadReportsFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsFilterArgs and GetJavaDownloadsJavaDownloadReportsFilterOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsFilterInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs{...} -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput interface { +// GetJavaDownloadsJavaDownloadReportsFilterArgs{...} +type GetJavaDownloadsJavaDownloadReportsFilterInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput + ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput + ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // An authorized principal. - CreatedBies GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput `pulumi:"createdBies"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - // User provided description of the JavaDownloadToken. - Description pulumi.StringInput `pulumi:"description"` - // A filter to return only resources that match the entire display name given. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // Unique JavaDownloadToken identifier. - Id pulumi.StringInput `pulumi:"id"` - // A flag to indicate if the token is default. - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // The associated Java version of the JavaDownloadToken. - JavaVersion pulumi.StringInput `pulumi:"javaVersion"` - // An authorized principal. - LastUpdatedBies GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput `pulumi:"lastUpdatedBies"` - // The license type(s) associated with the JavaDownloadToken. - LicenseTypes pulumi.StringArrayInput `pulumi:"licenseTypes"` - // Possible lifecycle substates. - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State pulumi.StringInput `pulumi:"state"` - // System tags for this resource. Each key is predefined and scoped to a namespace. 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 time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeExpires pulumi.StringInput `pulumi:"timeExpires"` - // The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeLastUsed pulumi.StringInput `pulumi:"timeLastUsed"` - // The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - // Unique JavaDownloadToken value. - Value pulumi.StringInput `pulumi:"value"` +type GetJavaDownloadsJavaDownloadReportsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsFilterArgs) ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) +func (i GetJavaDownloadsJavaDownloadReportsFilterArgs) ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsFilterOutput) } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput` via: +// GetJavaDownloadsJavaDownloadReportsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsFilterArray and GetJavaDownloadsJavaDownloadReportsFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsFilterArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs{...} } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput interface { +// GetJavaDownloadsJavaDownloadReportsFilterArray{ GetJavaDownloadsJavaDownloadReportsFilterArgs{...} } +type GetJavaDownloadsJavaDownloadReportsFilterArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput + ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput + ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput +type GetJavaDownloadsJavaDownloadReportsFilterArray []GetJavaDownloadsJavaDownloadReportsFilterInput -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsFilterArray) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) +func (i GetJavaDownloadsJavaDownloadReportsFilterArray) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadReportsFilterOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { +func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) ToGetJavaDownloadsJavaDownloadReportsFilterOutput() GetJavaDownloadsJavaDownloadReportsFilterOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { +func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) ToGetJavaDownloadsJavaDownloadReportsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterOutput { return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { - return v.CompartmentId - }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) string { return v.Name }).(pulumi.StringOutput) } -// An authorized principal. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy { - return v.CreatedBies - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { - return v.DefinedTags - }).(pulumi.StringMapOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -// User provided description of the JavaDownloadToken. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Description }).(pulumi.StringOutput) +type GetJavaDownloadsJavaDownloadReportsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsFilter)(nil)).Elem() } -// A filter to return only resources that match the entire display name given. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutput() GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { + return o } -// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { - return v.FreeformTags - }).(pulumi.StringMapOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) ToGetJavaDownloadsJavaDownloadReportsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsFilterArrayOutput { + return o } -// Unique JavaDownloadToken identifier. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Id }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadReportsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsFilter { + return vs[0].([]GetJavaDownloadsJavaDownloadReportsFilter)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadReportsFilterOutput) } -// A flag to indicate if the token is default. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) bool { return v.IsDefault }).(pulumi.BoolOutput) +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection struct { + Items []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem `pulumi:"items"` } -// The associated Java version of the JavaDownloadToken. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) JavaVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.JavaVersion }).(pulumi.StringOutput) +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput` via: +// +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs{...} +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput interface { + pulumi.Input + + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput } -// An authorized principal. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LastUpdatedBies() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy { - return v.LastUpdatedBies - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs struct { + Items GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput `pulumi:"items"` } -// The license type(s) associated with the JavaDownloadToken. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LicenseTypes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []string { - return v.LicenseTypes - }).(pulumi.StringArrayOutput) +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() } -// Possible lifecycle substates. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { - return v.LifecycleDetails - }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(context.Background()) } -// A filter to return only resources their lifecycleState matches the given lifecycleState. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.State }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) } -// 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 GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { - return v.SystemTags - }).(pulumi.StringMapOutput) +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput` via: +// +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArgs{...} } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayInput interface { + pulumi.Input + + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput } -// The time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionInput + +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() } -// The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeExpires() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeExpires }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(context.Background()) } -// The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeLastUsed() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { - return v.TimeLastUsed - }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) } -// The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() } -// Unique JavaDownloadToken value. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Value }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { + return o } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput struct{ *pulumi.OutputState } +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { + return o +} -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) Items() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection) []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem { + return v.Items + }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem { - return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection { + return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy struct { - // A filter to return only resources that match the entire display name given. +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem struct { + // The algorithm used for calculating the checksum. + ChecksumType string `pulumi:"checksumType"` + // The checksum value of the Java download report file. + ChecksumValue string `pulumi:"checksumValue"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + CompartmentId string `pulumi:"compartmentId"` + // An authorized principal. + CreatedBies []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy `pulumi:"createdBies"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags map[string]string `pulumi:"definedTags"` + // A filter to return only resources that match the display name. DisplayName string `pulumi:"displayName"` - // The email of the principal. - Email string `pulumi:"email"` - // Unique JavaDownloadToken identifier. - Id string `pulumi:"id"` + // Approximate size of the Java download report file in bytes. + FileSizeInBytes string `pulumi:"fileSizeInBytes"` + // The file format of the Java download report. + Format string `pulumi:"format"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags map[string]string `pulumi:"freeformTags"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. + Id string `pulumi:"id"` + SortBy string `pulumi:"sortBy"` + SortOrder string `pulumi:"sortOrder"` + // A filter to return only resources their lifecycleState matches the given lifecycleState. + State string `pulumi:"state"` + // 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 time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeEnd string `pulumi:"timeEnd"` + // The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeStart string `pulumi:"timeStart"` } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput` via: +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs{...} -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput interface { +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs{...} +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs struct { - // A filter to return only resources that match the entire display name given. +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs struct { + // The algorithm used for calculating the checksum. + ChecksumType pulumi.StringInput `pulumi:"checksumType"` + // The checksum value of the Java download report file. + ChecksumValue pulumi.StringInput `pulumi:"checksumValue"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // An authorized principal. + CreatedBies GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput `pulumi:"createdBies"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + // A filter to return only resources that match the display name. DisplayName pulumi.StringInput `pulumi:"displayName"` - // The email of the principal. - Email pulumi.StringInput `pulumi:"email"` - // Unique JavaDownloadToken identifier. - Id pulumi.StringInput `pulumi:"id"` + // Approximate size of the Java download report file in bytes. + FileSizeInBytes pulumi.StringInput `pulumi:"fileSizeInBytes"` + // The file format of the Java download report. + Format pulumi.StringInput `pulumi:"format"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. + Id pulumi.StringInput `pulumi:"id"` + SortBy pulumi.StringInput `pulumi:"sortBy"` + SortOrder pulumi.StringInput `pulumi:"sortOrder"` + // A filter to return only resources their lifecycleState matches the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. 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 time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeEnd pulumi.StringInput `pulumi:"timeEnd"` + // The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeStart pulumi.StringInput `pulumi:"timeStart"` } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs{...} } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArgs{...} } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemInput -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { return o } -// A filter to return only resources that match the entire display name given. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { +// The algorithm used for calculating the checksum. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ChecksumType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { + return v.ChecksumType + }).(pulumi.StringOutput) +} + +// The checksum value of the Java download report file. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) ChecksumValue() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { + return v.ChecksumValue + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { + return v.CompartmentId + }).(pulumi.StringOutput) +} + +// An authorized principal. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy { + return v.CreatedBies + }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// A filter to return only resources that match the display name. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -// The email of the principal. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { - return v.Email +// Approximate size of the Java download report file in bytes. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) FileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { + return v.FileSizeInBytes }).(pulumi.StringOutput) } -// Unique JavaDownloadToken identifier. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { return v.Id }).(pulumi.StringOutput) +// The file format of the Java download report. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.Format }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SortBy() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.SortBy }).(pulumi.StringOutput) +} + +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SortOrder() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.SortOrder }).(pulumi.StringOutput) +} + +// A filter to return only resources their lifecycleState matches the given lifecycleState. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { 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](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 GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// The time the Java download report was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) +} + +// The end time until when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.TimeEnd }).(pulumi.StringOutput) +} + +// The start time from when the download records are included (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) TimeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem) string { return v.TimeStart }).(pulumi.StringOutput) +} + +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem { + return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy struct { - // A filter to return only resources that match the entire display name given. +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy struct { + // A filter to return only resources that match the display name. DisplayName string `pulumi:"displayName"` // The email of the principal. Email string `pulumi:"email"` - // Unique JavaDownloadToken identifier. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. Id string `pulumi:"id"` } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput` via: +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs{...} -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput interface { +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs{...} +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs struct { - // A filter to return only resources that match the entire display name given. +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs struct { + // A filter to return only resources that match the display name. DisplayName pulumi.StringInput `pulumi:"displayName"` // The email of the principal. Email pulumi.StringInput `pulumi:"email"` - // Unique JavaDownloadToken identifier. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) } -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray and GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput` via: // -// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs{...} } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray{ GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArgs{...} } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput - ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByInput -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { - return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { return o } -// A filter to return only resources that match the entire display name given. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { +// A filter to return only resources that match the display name. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } // The email of the principal. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { return v.Email }).(pulumi.StringOutput) } -// Unique JavaDownloadToken identifier. -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java download report. +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy { - return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) +func (o GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedByOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy struct { +type GetJavaDownloadsJavaDownloadTokenCreatedBy struct { // The name of the principal. DisplayName string `pulumi:"displayName"` // The email of the principal. @@ -12071,18 +12018,18 @@ type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy struct { Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput` via: +// GetJavaDownloadsJavaDownloadTokenCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenCreatedByArgs and GetJavaDownloadsJavaDownloadTokenCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenCreatedByInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput interface { +// GetJavaDownloadsJavaDownloadTokenCreatedByArgs{...} +type GetJavaDownloadsJavaDownloadTokenCreatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput + ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput + ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs struct { +type GetJavaDownloadsJavaDownloadTokenCreatedByArgs struct { // The name of the principal. DisplayName pulumi.StringInput `pulumi:"displayName"` // The email of the principal. @@ -12091,93 +12038,93 @@ type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs struct { Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) +func (i GetJavaDownloadsJavaDownloadTokenCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenCreatedByOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenCreatedByArray and GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadTokenCreatedByArray{ GetJavaDownloadsJavaDownloadTokenCreatedByArgs{...} } +type GetJavaDownloadsJavaDownloadTokenCreatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput +type GetJavaDownloadsJavaDownloadTokenCreatedByArray []GetJavaDownloadsJavaDownloadTokenCreatedByInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokenCreatedByArray) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokenCreatedByArray) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokenCreatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutput() GetJavaDownloadsJavaDownloadTokenCreatedByOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { return o } // The name of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } // The email of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.Email }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.Email }).(pulumi.StringOutput) } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) +func (o GetJavaDownloadsJavaDownloadTokenCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokenCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokenCreatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadTokenCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokenCreatedByOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy struct { +type GetJavaDownloadsJavaDownloadTokenLastUpdatedBy struct { // The name of the principal. DisplayName string `pulumi:"displayName"` // The email of the principal. @@ -12186,18 +12133,18 @@ type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy struct { Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput` via: +// GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs and GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput interface { +// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs{...} +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs struct { +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs struct { // The name of the principal. DisplayName pulumi.StringInput `pulumi:"displayName"` // The email of the principal. @@ -12206,2999 +12153,3948 @@ type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs struct { Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) +func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray and GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray{ GetJavaDownloadsJavaDownloadTokenLastUpdatedByArgs{...} } +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray []GetJavaDownloadsJavaDownloadTokenLastUpdatedByInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokenLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { return o } // The name of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } // The email of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.Email }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.Email }).(pulumi.StringOutput) } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokenLastUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) +func (o GetJavaDownloadsJavaDownloadTokenLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokenLastUpdatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadTokenLastUpdatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokenLastUpdatedByOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter struct { +type GetJavaDownloadsJavaDownloadTokensFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` Values []string `pulumi:"values"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput` via: +// GetJavaDownloadsJavaDownloadTokensFilterInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensFilterArgs and GetJavaDownloadsJavaDownloadTokensFilterOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensFilterInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput interface { +// GetJavaDownloadsJavaDownloadTokensFilterArgs{...} +type GetJavaDownloadsJavaDownloadTokensFilterInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput + ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput + ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs struct { +type GetJavaDownloadsJavaDownloadTokensFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensFilterArgs) ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) +func (i GetJavaDownloadsJavaDownloadTokensFilterArgs) ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensFilterOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput` via: +// GetJavaDownloadsJavaDownloadTokensFilterArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensFilterArray and GetJavaDownloadsJavaDownloadTokensFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensFilterArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput interface { +// GetJavaDownloadsJavaDownloadTokensFilterArray{ GetJavaDownloadsJavaDownloadTokensFilterArgs{...} } +type GetJavaDownloadsJavaDownloadTokensFilterArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput + ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput + ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput +type GetJavaDownloadsJavaDownloadTokensFilterArray []GetJavaDownloadsJavaDownloadTokensFilterInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensFilterArray) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokensFilterArray) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensFilterOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { +func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) ToGetJavaDownloadsJavaDownloadTokensFilterOutput() GetJavaDownloadsJavaDownloadTokensFilterOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { +func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) ToGetJavaDownloadsJavaDownloadTokensFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) string { return v.Name }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetJavaDownloadsJavaDownloadTokensFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensFilterArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutput() GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) ToGetJavaDownloadsJavaDownloadTokensFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) +func (o GetJavaDownloadsJavaDownloadTokensFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensFilter { + return vs[0].([]GetJavaDownloadsJavaDownloadTokensFilter)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokensFilterOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection struct { - Items []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem `pulumi:"items"` +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection struct { + Items []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem `pulumi:"items"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs{...} +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs struct { - Items GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput `pulumi:"items"` +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs struct { + Items GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput `pulumi:"items"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArgs{...} } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) Items() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) Items() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem { return v.Items - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection { + return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem struct { +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. CompartmentId string `pulumi:"compartmentId"` // An authorized principal. - CreatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy `pulumi:"createdBies"` + CreatedBies []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy `pulumi:"createdBies"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]string `pulumi:"definedTags"` + // User provided description of the JavaDownloadToken. + Description string `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `pulumi:"freeformTags"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id string `pulumi:"id"` + // A flag to indicate if the token is default. + IsDefault bool `pulumi:"isDefault"` + // The associated Java version of the JavaDownloadToken. + JavaVersion string `pulumi:"javaVersion"` // An authorized principal. - LastUpdatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy `pulumi:"lastUpdatedBies"` - // Status of license acceptance. - LicenseAcceptanceStatus string `pulumi:"licenseAcceptanceStatus"` - // Unique Java license type. - LicenseType string `pulumi:"licenseType"` - // The current state of the JavaLicenseAcceptanceRecord. + LastUpdatedBies []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy `pulumi:"lastUpdatedBies"` + // The license type(s) associated with the JavaDownloadToken. + LicenseTypes []string `pulumi:"licenseTypes"` + // Possible lifecycle substates. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // A filter to return only resources their lifecycleState matches the given lifecycleState. State string `pulumi:"state"` // 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 of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeAccepted string `pulumi:"timeAccepted"` - // The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeLastUpdated string `pulumi:"timeLastUpdated"` + // The time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeExpires string `pulumi:"timeExpires"` + // The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeLastUsed string `pulumi:"timeLastUsed"` + // The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` + // Unique JavaDownloadToken value. + Value string `pulumi:"value"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs{...} +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs struct { +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // An authorized principal. - CreatedBies GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput `pulumi:"createdBies"` + CreatedBies GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput `pulumi:"createdBies"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + // User provided description of the JavaDownloadToken. + Description pulumi.StringInput `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringInput `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id pulumi.StringInput `pulumi:"id"` + // A flag to indicate if the token is default. + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // The associated Java version of the JavaDownloadToken. + JavaVersion pulumi.StringInput `pulumi:"javaVersion"` // An authorized principal. - LastUpdatedBies GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput `pulumi:"lastUpdatedBies"` - // Status of license acceptance. - LicenseAcceptanceStatus pulumi.StringInput `pulumi:"licenseAcceptanceStatus"` - // Unique Java license type. - LicenseType pulumi.StringInput `pulumi:"licenseType"` - // The current state of the JavaLicenseAcceptanceRecord. + LastUpdatedBies GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput `pulumi:"lastUpdatedBies"` + // The license type(s) associated with the JavaDownloadToken. + LicenseTypes pulumi.StringArrayInput `pulumi:"licenseTypes"` + // Possible lifecycle substates. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // A filter to return only resources their lifecycleState matches the given lifecycleState. State pulumi.StringInput `pulumi:"state"` // System tags for this resource. Each key is predefined and scoped to a namespace. 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 of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeAccepted pulumi.StringInput `pulumi:"timeAccepted"` - // The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeLastUpdated pulumi.StringInput `pulumi:"timeLastUpdated"` + // The time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeExpires pulumi.StringInput `pulumi:"timeExpires"` + // The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeLastUsed pulumi.StringInput `pulumi:"timeLastUsed"` + // The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // Unique JavaDownloadToken value. + Value pulumi.StringInput `pulumi:"value"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArgs{...} } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { return o } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } // An authorized principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy { return v.CreatedBies - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) } // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { - return v.FreeformTags - }).(pulumi.StringMapOutput) +// User provided description of the JavaDownloadToken. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Description }).(pulumi.StringOutput) } -// Unique Java license acceptance record identifier. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.Id - }).(pulumi.StringOutput) +// A filter to return only resources that match the entire display name given. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) 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"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// Unique JavaDownloadToken identifier. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// A flag to indicate if the token is default. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) bool { return v.IsDefault }).(pulumi.BoolOutput) +} + +// The associated Java version of the JavaDownloadToken. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) JavaVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.JavaVersion }).(pulumi.StringOutput) } // An authorized principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LastUpdatedBies() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LastUpdatedBies() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy { return v.LastUpdatedBies - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) } -// Status of license acceptance. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LicenseAcceptanceStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.LicenseAcceptanceStatus - }).(pulumi.StringOutput) +// The license type(s) associated with the JavaDownloadToken. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LicenseTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) []string { + return v.LicenseTypes + }).(pulumi.StringArrayOutput) } -// Unique Java license type. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LicenseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.LicenseType +// Possible lifecycle substates. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { + return v.LifecycleDetails }).(pulumi.StringOutput) } -// The current state of the JavaLicenseAcceptanceRecord. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.State - }).(pulumi.StringOutput) +// A filter to return only resources their lifecycleState matches the given lifecycleState. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { 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](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 GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) } -// The date and time of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) TimeAccepted() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.TimeAccepted - }).(pulumi.StringOutput) +// The time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -// The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) TimeLastUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { - return v.TimeLastUpdated +// The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeExpires() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeExpires }).(pulumi.StringOutput) +} + +// The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeLastUsed() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { + return v.TimeLastUsed }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput struct{ *pulumi.OutputState } +// The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() +// Unique JavaDownloadToken value. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem) string { return v.Value }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem { + return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItem)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy struct { - // The name of the principal. +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy struct { + // A filter to return only resources that match the entire display name given. DisplayName string `pulumi:"displayName"` // The email of the principal. Email string `pulumi:"email"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs{...} +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs struct { - // The name of the principal. +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs struct { + // A filter to return only resources that match the entire display name given. DisplayName pulumi.StringInput `pulumi:"displayName"` // The email of the principal. Email pulumi.StringInput `pulumi:"email"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArgs{...} } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { return o } -// The name of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { +// A filter to return only resources that match the entire display name given. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } // The email of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { return v.Email }).(pulumi.StringOutput) } -// Unique Java license acceptance record identifier. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { - return v.Id - }).(pulumi.StringOutput) +// Unique JavaDownloadToken identifier. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemCreatedByOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy struct { - // The name of the principal. +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy struct { + // A filter to return only resources that match the entire display name given. DisplayName string `pulumi:"displayName"` // The email of the principal. Email string `pulumi:"email"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs{...} -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs{...} +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs struct { - // The name of the principal. +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs struct { + // A filter to return only resources that match the entire display name given. DisplayName pulumi.StringInput `pulumi:"displayName"` // The email of the principal. Email pulumi.StringInput `pulumi:"email"` - // Unique Java license acceptance record identifier. + // Unique JavaDownloadToken identifier. Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) -} +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) +} -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput` via: +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray and GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput` via: // -// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs{...} } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput interface { +// GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray{ GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArgs{...} } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput - ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray []GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByInput -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { - return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { + return i.ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) +func (i GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { return o } -// The name of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { +// A filter to return only resources that match the entire display name given. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } // The email of the principal. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { return v.Email }).(pulumi.StringOutput) } -// Unique Java license acceptance record identifier. -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { +// Unique JavaDownloadToken identifier. +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() +func (GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy { - return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) +func (o GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy { + return vs[0].([]GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollectionItemLastUpdatedByOutput) } -type GetJavaDownloadsJavaLicensesFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy struct { + // The name of the principal. + DisplayName string `pulumi:"displayName"` + // The email of the principal. + Email string `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. + Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicensesFilterInput is an input type that accepts GetJavaDownloadsJavaLicensesFilterArgs and GetJavaDownloadsJavaLicensesFilterOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesFilterInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput` via: // -// GetJavaDownloadsJavaLicensesFilterArgs{...} -type GetJavaDownloadsJavaLicensesFilterInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput - ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesFilterOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput } -type GetJavaDownloadsJavaLicensesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs struct { + // The name of the principal. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the principal. + Email pulumi.StringInput `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicensesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesFilterArgs) ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput { - return i.ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesFilterArgs) ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesFilterOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) } -// GetJavaDownloadsJavaLicensesFilterArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesFilterArray and GetJavaDownloadsJavaLicensesFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesFilterArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput` via: // -// GetJavaDownloadsJavaLicensesFilterArray{ GetJavaDownloadsJavaLicensesFilterArgs{...} } -type GetJavaDownloadsJavaLicensesFilterArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput - ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput } -type GetJavaDownloadsJavaLicensesFilterArray []GetJavaDownloadsJavaLicensesFilterInput +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByInput -func (GetJavaDownloadsJavaLicensesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesFilterArray) ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput { - return i.ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesFilterArray) ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesFilterArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) } -type GetJavaDownloadsJavaLicensesFilterOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicensesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicensesFilterOutput) ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { return o } -func (o GetJavaDownloadsJavaLicensesFilterOutput) ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { return o } -func (o GetJavaDownloadsJavaLicensesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) string { return v.Name }).(pulumi.StringOutput) +// The name of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaLicensesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// The email of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.Email }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaLicensesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicensesFilterArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicensesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesFilter { - return vs[0].([]GetJavaDownloadsJavaLicensesFilter)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicensesFilterOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedByOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollection struct { - Items []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem `pulumi:"items"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy struct { + // The name of the principal. + DisplayName string `pulumi:"displayName"` + // The email of the principal. + Email string `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. + Id string `pulumi:"id"` } -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs and GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput` via: // -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs{...} -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs struct { - Items GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput `pulumi:"items"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs struct { + // The name of the principal. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the principal. + Email pulumi.StringInput `pulumi:"email"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { - return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) } -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray and GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput` via: // -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray{ GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs{...} } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray []GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByInput -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { - return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) Items() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollection) []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem { - return v.Items - }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) +// The name of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.DisplayName }).(pulumi.StringOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput struct{ *pulumi.OutputState } +// The email of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.Email }).(pulumi.StringOutput) +} -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { +type GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesJavaLicenseCollection { - return vs[0].([]GetJavaDownloadsJavaLicensesJavaLicenseCollection)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedByOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem struct { - // A filter to return only resources that match the display name. - DisplayName string `pulumi:"displayName"` - // Unique Java license type. - LicenseType string `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl string `pulumi:"licenseUrl"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs and GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput` via: // -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs{...} -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs struct { - // A filter to return only resources that match the display name. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Unique Java license type. - LicenseType pulumi.StringInput `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { - return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) } -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray and GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput` via: // -// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray{ GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs{...} } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayInput interface { pulumi.Input - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput - ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterInput -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { - return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { return o } -// A filter to return only resources that match the display name. -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) string { return v.Name }).(pulumi.StringOutput) } -// Unique Java license type. -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) LicenseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.LicenseType }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Publicly accessible license URL containing the detailed terms and conditions. -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) LicenseUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.LicenseUrl }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)(nil)).Elem() } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput { return o } -func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem { - return vs[0].([]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)[vs[1].(int)] - }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterOutput) } -type GetJavaFamiliesFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection struct { + Items []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem `pulumi:"items"` } -// GetJavaFamiliesFilterInput is an input type that accepts GetJavaFamiliesFilterArgs and GetJavaFamiliesFilterOutput values. -// You can construct a concrete instance of `GetJavaFamiliesFilterInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput` via: // -// GetJavaFamiliesFilterArgs{...} -type GetJavaFamiliesFilterInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput interface { pulumi.Input - ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput - ToGetJavaFamiliesFilterOutputWithContext(context.Context) GetJavaFamiliesFilterOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput } -type GetJavaFamiliesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs struct { + Items GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput `pulumi:"items"` } -func (GetJavaFamiliesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() } -func (i GetJavaFamiliesFilterArgs) ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput { - return i.ToGetJavaFamiliesFilterOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(context.Background()) } -func (i GetJavaFamiliesFilterArgs) ToGetJavaFamiliesFilterOutputWithContext(ctx context.Context) GetJavaFamiliesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesFilterOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) } -// GetJavaFamiliesFilterArrayInput is an input type that accepts GetJavaFamiliesFilterArray and GetJavaFamiliesFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaFamiliesFilterArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput` via: // -// GetJavaFamiliesFilterArray{ GetJavaFamiliesFilterArgs{...} } -type GetJavaFamiliesFilterArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayInput interface { pulumi.Input - ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput - ToGetJavaFamiliesFilterArrayOutputWithContext(context.Context) GetJavaFamiliesFilterArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput } -type GetJavaFamiliesFilterArray []GetJavaFamiliesFilterInput +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionInput -func (GetJavaFamiliesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() } -func (i GetJavaFamiliesFilterArray) ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput { - return i.ToGetJavaFamiliesFilterArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaFamiliesFilterArray) ToGetJavaFamiliesFilterArrayOutputWithContext(ctx context.Context) GetJavaFamiliesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesFilterArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) } -type GetJavaFamiliesFilterOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput struct{ *pulumi.OutputState } -func (GetJavaFamiliesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() } -func (o GetJavaFamiliesFilterOutput) ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { return o } -func (o GetJavaFamiliesFilterOutput) ToGetJavaFamiliesFilterOutputWithContext(ctx context.Context) GetJavaFamiliesFilterOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { return o } -func (o GetJavaFamiliesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetJavaFamiliesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaFamiliesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetJavaFamiliesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaFamiliesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) Items() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem { + return v.Items + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) } -type GetJavaFamiliesFilterArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaFamiliesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesFilter)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)(nil)).Elem() } -func (o GetJavaFamiliesFilterArrayOutput) ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { return o } -func (o GetJavaFamiliesFilterArrayOutput) ToGetJavaFamiliesFilterArrayOutputWithContext(ctx context.Context) GetJavaFamiliesFilterArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput { return o } -func (o GetJavaFamiliesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesFilter { - return vs[0].([]GetJavaFamiliesFilter)[vs[1].(int)] - }).(GetJavaFamiliesFilterOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionOutput) } -type GetJavaFamiliesJavaFamilyCollection struct { - Items []GetJavaFamiliesJavaFamilyCollectionItem `pulumi:"items"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + CompartmentId string `pulumi:"compartmentId"` + // An authorized principal. + CreatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy `pulumi:"createdBies"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags map[string]string `pulumi:"definedTags"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags map[string]string `pulumi:"freeformTags"` + // Unique Java license acceptance record identifier. + Id string `pulumi:"id"` + // An authorized principal. + LastUpdatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy `pulumi:"lastUpdatedBies"` + // Status of license acceptance. + LicenseAcceptanceStatus string `pulumi:"licenseAcceptanceStatus"` + // Unique Java license type. + LicenseType string `pulumi:"licenseType"` + // The current state of the JavaLicenseAcceptanceRecord. + State string `pulumi:"state"` + // 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 of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeAccepted string `pulumi:"timeAccepted"` + // The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeLastUpdated string `pulumi:"timeLastUpdated"` } -// GetJavaFamiliesJavaFamilyCollectionInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionArgs and GetJavaFamiliesJavaFamilyCollectionOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput` via: // -// GetJavaFamiliesJavaFamilyCollectionArgs{...} -type GetJavaFamiliesJavaFamilyCollectionInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput interface { pulumi.Input - ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput - ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput } -type GetJavaFamiliesJavaFamilyCollectionArgs struct { - Items GetJavaFamiliesJavaFamilyCollectionItemArrayInput `pulumi:"items"` +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // An authorized principal. + CreatedBies GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput `pulumi:"createdBies"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // Unique Java license acceptance record identifier. + Id pulumi.StringInput `pulumi:"id"` + // An authorized principal. + LastUpdatedBies GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput `pulumi:"lastUpdatedBies"` + // Status of license acceptance. + LicenseAcceptanceStatus pulumi.StringInput `pulumi:"licenseAcceptanceStatus"` + // Unique Java license type. + LicenseType pulumi.StringInput `pulumi:"licenseType"` + // The current state of the JavaLicenseAcceptanceRecord. + State pulumi.StringInput `pulumi:"state"` + // 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 of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeAccepted pulumi.StringInput `pulumi:"timeAccepted"` + // The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeLastUpdated pulumi.StringInput `pulumi:"timeLastUpdated"` } -func (GetJavaFamiliesJavaFamilyCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() } -func (i GetJavaFamiliesJavaFamilyCollectionArgs) ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaFamiliesJavaFamilyCollectionArgs) ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) } -// GetJavaFamiliesJavaFamilyCollectionArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionArray and GetJavaFamiliesJavaFamilyCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput` via: // -// GetJavaFamiliesJavaFamilyCollectionArray{ GetJavaFamiliesJavaFamilyCollectionArgs{...} } -type GetJavaFamiliesJavaFamilyCollectionArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayInput interface { pulumi.Input - ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput - ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput } -type GetJavaFamiliesJavaFamilyCollectionArray []GetJavaFamiliesJavaFamilyCollectionInput +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemInput -func (GetJavaFamiliesJavaFamilyCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() } -func (i GetJavaFamiliesJavaFamilyCollectionArray) ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaFamiliesJavaFamilyCollectionArray) ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) } -type GetJavaFamiliesJavaFamilyCollectionOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaFamiliesJavaFamilyCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() } -func (o GetJavaFamiliesJavaFamilyCollectionOutput) ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionOutput) ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionOutput) Items() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollection) []GetJavaFamiliesJavaFamilyCollectionItem { return v.Items }).(GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.CompartmentId + }).(pulumi.StringOutput) } -type GetJavaFamiliesJavaFamilyCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetJavaFamiliesJavaFamilyCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() +// An authorized principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) CreatedBies() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy { + return v.CreatedBies + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) } -func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput { - return o +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) } -func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput { - return o +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) } -func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollection { - return vs[0].([]GetJavaFamiliesJavaFamilyCollection)[vs[1].(int)] - }).(GetJavaFamiliesJavaFamilyCollectionOutput) +// Unique Java license acceptance record identifier. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJavaFamiliesJavaFamilyCollectionItem struct { - // The display name for the Java family. - DisplayName string `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl string `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` - // The version identifier for the Java family. - FamilyVersion string `pulumi:"familyVersion"` - // Filter the Java Release Family versions by support status. - IsSupportedVersion bool `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion string `pulumi:"latestReleaseVersion"` - // The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate string `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType string `pulumi:"supportType"` +// An authorized principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LastUpdatedBies() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy { + return v.LastUpdatedBies + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) } -// GetJavaFamiliesJavaFamilyCollectionItemInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemArgs and GetJavaFamiliesJavaFamilyCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemInput` via: -// -// GetJavaFamiliesJavaFamilyCollectionItemArgs{...} -type GetJavaFamiliesJavaFamilyCollectionItemInput interface { - pulumi.Input +// Status of license acceptance. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LicenseAcceptanceStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.LicenseAcceptanceStatus + }).(pulumi.StringOutput) +} - ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput - ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput +// Unique Java license type. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) LicenseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.LicenseType + }).(pulumi.StringOutput) } -type GetJavaFamiliesJavaFamilyCollectionItemArgs struct { - // The display name for the Java family. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl pulumi.StringInput `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` - // The version identifier for the Java family. - FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` - // Filter the Java Release Family versions by support status. - IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` - // The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType pulumi.StringInput `pulumi:"supportType"` +// The current state of the JavaLicenseAcceptanceRecord. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.State + }).(pulumi.StringOutput) } -func (GetJavaFamiliesJavaFamilyCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() +// 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 GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) } -func (i GetJavaFamiliesJavaFamilyCollectionItemArgs) ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(context.Background()) +// The date and time of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) TimeAccepted() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.TimeAccepted + }).(pulumi.StringOutput) } -func (i GetJavaFamiliesJavaFamilyCollectionItemArgs) ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemOutput) +// The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) TimeLastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem) string { + return v.TimeLastUpdated + }).(pulumi.StringOutput) } -// GetJavaFamiliesJavaFamilyCollectionItemArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemArray and GetJavaFamiliesJavaFamilyCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemArrayInput` via: -// -// GetJavaFamiliesJavaFamilyCollectionItemArray{ GetJavaFamiliesJavaFamilyCollectionItemArgs{...} } -type GetJavaFamiliesJavaFamilyCollectionItemArrayInput interface { - pulumi.Input +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput struct{ *pulumi.OutputState } - ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput - ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)(nil)).Elem() } -type GetJavaFamiliesJavaFamilyCollectionItemArray []GetJavaFamiliesJavaFamilyCollectionItemInput - -func (GetJavaFamiliesJavaFamilyCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { + return o } -func (i GetJavaFamiliesJavaFamilyCollectionItemArray) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(context.Background()) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput { + return o } -func (i GetJavaFamiliesJavaFamilyCollectionItemArray) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemOutput) } -type GetJavaFamiliesJavaFamilyCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetJavaFamiliesJavaFamilyCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy struct { + // The name of the principal. + DisplayName string `pulumi:"displayName"` + // The email of the principal. + Email string `pulumi:"email"` + // Unique Java license acceptance record identifier. + Id string `pulumi:"id"` } -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput { - return o -} +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput` via: +// +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput interface { + pulumi.Input -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput { - return o + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput } -// The display name for the Java family. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs struct { + // The name of the principal. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the principal. + Email pulumi.StringInput `pulumi:"email"` + // Unique Java license acceptance record identifier. + Id pulumi.StringInput `pulumi:"id"` } -// Link to access the documentation for the release. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) DocUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.DocUrl }).(pulumi.StringOutput) +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() } -// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) EndOfSupportLifeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(context.Background()) } -// The version identifier for the Java family. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) FamilyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.FamilyVersion }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) } -// Filter the Java Release Family versions by support status. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) IsSupportedVersion() pulumi.BoolOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) -} +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput` via: +// +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayInput interface { + pulumi.Input -// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) LatestReleaseArtifacts() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact { - return v.LatestReleaseArtifacts - }).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput } -// Latest Java release version in the family. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) LatestReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByInput + +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() } -// The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.ReleaseDate }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(context.Background()) } -// This indicates the support category for the Java release family. -func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) SupportType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.SupportType }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) } -type GetJavaFamiliesJavaFamilyCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput struct{ *pulumi.OutputState } -func (GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() } -func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollectionItem { - return vs[0].([]GetJavaFamiliesJavaFamilyCollectionItem)[vs[1].(int)] - }).(GetJavaFamiliesJavaFamilyCollectionItemOutput) +// The name of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { + return v.DisplayName + }).(pulumi.StringOutput) } -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` +// The email of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { + return v.Email + }).(pulumi.StringOutput) } -// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs and GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput` via: -// -// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs{...} -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput interface { - pulumi.Input +// Unique Java license acceptance record identifier. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy) string { + return v.Id + }).(pulumi.StringOutput) +} - ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput - ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)(nil)).Elem() } -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { + return o } -func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput { + return o } -func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(context.Background()) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedByOutput) } -func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy struct { + // The name of the principal. + DisplayName string `pulumi:"displayName"` + // The email of the principal. + Email string `pulumi:"email"` + // Unique Java license acceptance record identifier. + Id string `pulumi:"id"` } -// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray and GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput` via: +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput` via: // -// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray{ GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs{...} } -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput interface { +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs{...} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput interface { pulumi.Input - ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput - ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput } -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput - -func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs struct { + // The name of the principal. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The email of the principal. + Email pulumi.StringInput `pulumi:"email"` + // Unique Java license acceptance record identifier. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { - return i.ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(context.Background()) +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() } -func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(context.Background()) } -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput struct{ *pulumi.OutputState } +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) +} -func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() -} - -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { - return o -} - -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { - return o -} +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput is an input type that accepts GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray and GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput` via: +// +// GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray{ GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArgs{...} } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayInput interface { + pulumi.Input -// Approximate compressed file size in bytes. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.ApproximateFileSizeInBytes - }).(pulumi.StringOutput) + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput + ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput } -// The target Operating System architecture for the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) -} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray []GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByInput -// Product content type of this artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.ArtifactContentType - }).(pulumi.StringOutput) +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() } -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.ArtifactDescription - }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { + return i.ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(context.Background()) } -// The file name of the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArray) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) } -// Unique identifier for the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) -} +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput struct{ *pulumi.OutputState } -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() } -// The target Operating System family for the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { + return o } -// The package type(typically the file extension) of the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { + return o } -// Additional information about the package type. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.PackageTypeDetail +// The name of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { + return v.DisplayName }).(pulumi.StringOutput) } -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.ScriptChecksumUrl +// The email of the principal. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { + return v.Email }).(pulumi.StringOutput) } -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { - return v.ScriptDownloadUrl +// Unique Java license acceptance record identifier. +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy) string { + return v.Id }).(pulumi.StringOutput) } -// SHA256 checksum of the artifact. -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) -} - -type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput struct{ *pulumi.OutputState } -func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)(nil)).Elem() } -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput() GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) ToGetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput { return o } -func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact { - return vs[0].([]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)[vs[1].(int)] - }).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) +func (o GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy { + return vs[0].([]GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedByOutput) } -type GetJavaFamilyLatestReleaseArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` +type GetJavaDownloadsJavaLicensesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaFamilyLatestReleaseArtifactInput is an input type that accepts GetJavaFamilyLatestReleaseArtifactArgs and GetJavaFamilyLatestReleaseArtifactOutput values. -// You can construct a concrete instance of `GetJavaFamilyLatestReleaseArtifactInput` via: +// GetJavaDownloadsJavaLicensesFilterInput is an input type that accepts GetJavaDownloadsJavaLicensesFilterArgs and GetJavaDownloadsJavaLicensesFilterOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesFilterInput` via: // -// GetJavaFamilyLatestReleaseArtifactArgs{...} -type GetJavaFamilyLatestReleaseArtifactInput interface { +// GetJavaDownloadsJavaLicensesFilterArgs{...} +type GetJavaDownloadsJavaLicensesFilterInput interface { pulumi.Input - ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput - ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(context.Context) GetJavaFamilyLatestReleaseArtifactOutput + ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput + ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesFilterOutput } -type GetJavaFamilyLatestReleaseArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` +type GetJavaDownloadsJavaLicensesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaFamilyLatestReleaseArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() } -func (i GetJavaFamilyLatestReleaseArtifactArgs) ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput { - return i.ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicensesFilterArgs) ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput { + return i.ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(context.Background()) } -func (i GetJavaFamilyLatestReleaseArtifactArgs) ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamilyLatestReleaseArtifactOutput) +func (i GetJavaDownloadsJavaLicensesFilterArgs) ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesFilterOutput) } -// GetJavaFamilyLatestReleaseArtifactArrayInput is an input type that accepts GetJavaFamilyLatestReleaseArtifactArray and GetJavaFamilyLatestReleaseArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaFamilyLatestReleaseArtifactArrayInput` via: +// GetJavaDownloadsJavaLicensesFilterArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesFilterArray and GetJavaDownloadsJavaLicensesFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesFilterArrayInput` via: // -// GetJavaFamilyLatestReleaseArtifactArray{ GetJavaFamilyLatestReleaseArtifactArgs{...} } -type GetJavaFamilyLatestReleaseArtifactArrayInput interface { +// GetJavaDownloadsJavaLicensesFilterArray{ GetJavaDownloadsJavaLicensesFilterArgs{...} } +type GetJavaDownloadsJavaLicensesFilterArrayInput interface { pulumi.Input - ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput - ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput + ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput + ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput } -type GetJavaFamilyLatestReleaseArtifactArray []GetJavaFamilyLatestReleaseArtifactInput +type GetJavaDownloadsJavaLicensesFilterArray []GetJavaDownloadsJavaLicensesFilterInput -func (GetJavaFamilyLatestReleaseArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() } -func (i GetJavaFamilyLatestReleaseArtifactArray) ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput { - return i.ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicensesFilterArray) ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput { + return i.ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaFamilyLatestReleaseArtifactArray) ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamilyLatestReleaseArtifactArrayOutput) +func (i GetJavaDownloadsJavaLicensesFilterArray) ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesFilterArrayOutput) } -type GetJavaFamilyLatestReleaseArtifactOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicensesFilterOutput struct{ *pulumi.OutputState } -func (GetJavaFamilyLatestReleaseArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() } -func (o GetJavaFamilyLatestReleaseArtifactOutput) ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput { +func (o GetJavaDownloadsJavaLicensesFilterOutput) ToGetJavaDownloadsJavaLicensesFilterOutput() GetJavaDownloadsJavaLicensesFilterOutput { return o } -func (o GetJavaFamilyLatestReleaseArtifactOutput) ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactOutput { +func (o GetJavaDownloadsJavaLicensesFilterOutput) ToGetJavaDownloadsJavaLicensesFilterOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterOutput { return o } -// Approximate compressed file size in bytes. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) string { return v.Name }).(pulumi.StringOutput) } -// The target Operating System architecture for the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Product content type of this artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) -} +type GetJavaDownloadsJavaLicensesFilterArrayOutput struct{ *pulumi.OutputState } -// The file name of the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +func (GetJavaDownloadsJavaLicensesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesFilter)(nil)).Elem() } -// Unique identifier for the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) ToGetJavaDownloadsJavaLicensesFilterArrayOutput() GetJavaDownloadsJavaLicensesFilterArrayOutput { + return o } -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaFamilyLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) ToGetJavaDownloadsJavaLicensesFilterArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesFilterArrayOutput { + return o } -// The target Operating System family for the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +func (o GetJavaDownloadsJavaLicensesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesFilter { + return vs[0].([]GetJavaDownloadsJavaLicensesFilter)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicensesFilterOutput) } -// The package type(typically the file extension) of the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) +type GetJavaDownloadsJavaLicensesJavaLicenseCollection struct { + Items []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem `pulumi:"items"` } -// Additional information about the package type. -func (o GetJavaFamilyLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs and GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput` via: +// +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs{...} +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput interface { + pulumi.Input + + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput } -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs struct { + Items GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput `pulumi:"items"` } -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaFamilyLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() } -// SHA256 checksum of the artifact. -func (o GetJavaFamilyLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { + return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(context.Background()) } -type GetJavaFamilyLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) +} -func (GetJavaFamilyLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray and GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput` via: +// +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray{ GetJavaDownloadsJavaLicensesJavaLicenseCollectionArgs{...} } +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayInput interface { + pulumi.Input + + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput } -func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput { +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray []GetJavaDownloadsJavaLicensesJavaLicenseCollectionInput + +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +} + +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { + return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) +} + +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() +} + +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { return o } -func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput { +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { return o } -func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaFamilyLatestReleaseArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamilyLatestReleaseArtifact { - return vs[0].([]GetJavaFamilyLatestReleaseArtifact)[vs[1].(int)] - }).(GetJavaFamilyLatestReleaseArtifactOutput) +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) Items() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollection) []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem { + return v.Items + }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) } -type GetJavaReleaseArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollection)(nil)).Elem() } -// GetJavaReleaseArtifactInput is an input type that accepts GetJavaReleaseArtifactArgs and GetJavaReleaseArtifactOutput values. -// You can construct a concrete instance of `GetJavaReleaseArtifactInput` via: +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { + return o +} + +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput { + return o +} + +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesJavaLicenseCollection { + return vs[0].([]GetJavaDownloadsJavaLicensesJavaLicenseCollection)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionOutput) +} + +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem struct { + // A filter to return only resources that match the display name. + DisplayName string `pulumi:"displayName"` + // Unique Java license type. + LicenseType string `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl string `pulumi:"licenseUrl"` +} + +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs and GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput` via: // -// GetJavaReleaseArtifactArgs{...} -type GetJavaReleaseArtifactInput interface { +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs{...} +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput interface { pulumi.Input - ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput - ToGetJavaReleaseArtifactOutputWithContext(context.Context) GetJavaReleaseArtifactOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput } -type GetJavaReleaseArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs struct { + // A filter to return only resources that match the display name. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Unique Java license type. + LicenseType pulumi.StringInput `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` } -func (GetJavaReleaseArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() } -func (i GetJavaReleaseArtifactArgs) ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput { - return i.ToGetJavaReleaseArtifactOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { + return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(context.Background()) } -func (i GetJavaReleaseArtifactArgs) ToGetJavaReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseArtifactOutput) +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) } -// GetJavaReleaseArtifactArrayInput is an input type that accepts GetJavaReleaseArtifactArray and GetJavaReleaseArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaReleaseArtifactArrayInput` via: +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput is an input type that accepts GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray and GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput` via: // -// GetJavaReleaseArtifactArray{ GetJavaReleaseArtifactArgs{...} } -type GetJavaReleaseArtifactArrayInput interface { +// GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray{ GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArgs{...} } +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayInput interface { pulumi.Input - ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput - ToGetJavaReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleaseArtifactArrayOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput + ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput } -type GetJavaReleaseArtifactArray []GetJavaReleaseArtifactInput +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray []GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemInput -func (GetJavaReleaseArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() } -func (i GetJavaReleaseArtifactArray) ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput { - return i.ToGetJavaReleaseArtifactArrayOutputWithContext(context.Background()) +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { + return i.ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJavaReleaseArtifactArray) ToGetJavaReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseArtifactArrayOutput) +func (i GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArray) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) } -type GetJavaReleaseArtifactOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() } -func (o GetJavaReleaseArtifactOutput) ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput { +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { return o } -func (o GetJavaReleaseArtifactOutput) ToGetJavaReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseArtifactOutput { +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { return o } -// Approximate compressed file size in bytes. -func (o GetJavaReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +// A filter to return only resources that match the display name. +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -// The target Operating System architecture for the artifact. -func (o GetJavaReleaseArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) -} - -// Product content type of this artifact. -func (o GetJavaReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) -} - -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) -} - -// The file name of the artifact. -func (o GetJavaReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) -} - -// Unique identifier for the artifact. -func (o GetJavaReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) -} - -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) -} - -// The target Operating System family for the artifact. -func (o GetJavaReleaseArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) -} - -// The package type(typically the file extension) of the artifact. -func (o GetJavaReleaseArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) -} - -// Additional information about the package type. -func (o GetJavaReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) -} - -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) -} - -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +// Unique Java license type. +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) LicenseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.LicenseType }).(pulumi.StringOutput) } -// SHA256 checksum of the artifact. -func (o GetJavaReleaseArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +// Publicly accessible license URL containing the detailed terms and conditions. +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) LicenseUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem) string { return v.LicenseUrl }).(pulumi.StringOutput) } -type GetJavaReleaseArtifactArrayOutput struct{ *pulumi.OutputState } +type GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseArtifact)(nil)).Elem() +func (GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)(nil)).Elem() } -func (o GetJavaReleaseArtifactArrayOutput) ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput { +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput() GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { return o } -func (o GetJavaReleaseArtifactArrayOutput) ToGetJavaReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseArtifactArrayOutput { +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) ToGetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput { return o } -func (o GetJavaReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseArtifact { - return vs[0].([]GetJavaReleaseArtifact)[vs[1].(int)] - }).(GetJavaReleaseArtifactOutput) +func (o GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem { + return vs[0].([]GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem)[vs[1].(int)] + }).(GetJavaDownloadsJavaLicensesJavaLicenseCollectionItemOutput) } -type GetJavaReleaseFamilyDetail struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl string `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` - // Java release family identifier. - FamilyVersion string `pulumi:"familyVersion"` - // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. - IsSupportedVersion bool `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts []GetJavaReleaseFamilyDetailLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion string `pulumi:"latestReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate string `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType string `pulumi:"supportType"` +type GetJavaFamiliesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaReleaseFamilyDetailInput is an input type that accepts GetJavaReleaseFamilyDetailArgs and GetJavaReleaseFamilyDetailOutput values. -// You can construct a concrete instance of `GetJavaReleaseFamilyDetailInput` via: +// GetJavaFamiliesFilterInput is an input type that accepts GetJavaFamiliesFilterArgs and GetJavaFamiliesFilterOutput values. +// You can construct a concrete instance of `GetJavaFamiliesFilterInput` via: // -// GetJavaReleaseFamilyDetailArgs{...} -type GetJavaReleaseFamilyDetailInput interface { +// GetJavaFamiliesFilterArgs{...} +type GetJavaFamiliesFilterInput interface { pulumi.Input - ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput - ToGetJavaReleaseFamilyDetailOutputWithContext(context.Context) GetJavaReleaseFamilyDetailOutput + ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput + ToGetJavaFamiliesFilterOutputWithContext(context.Context) GetJavaFamiliesFilterOutput } -type GetJavaReleaseFamilyDetailArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl pulumi.StringInput `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` - // Java release family identifier. - FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` - // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. - IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType pulumi.StringInput `pulumi:"supportType"` +type GetJavaFamiliesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaReleaseFamilyDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseFamilyDetail)(nil)).Elem() +func (GetJavaFamiliesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesFilter)(nil)).Elem() } -func (i GetJavaReleaseFamilyDetailArgs) ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput { - return i.ToGetJavaReleaseFamilyDetailOutputWithContext(context.Background()) +func (i GetJavaFamiliesFilterArgs) ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput { + return i.ToGetJavaFamiliesFilterOutputWithContext(context.Background()) } -func (i GetJavaReleaseFamilyDetailArgs) ToGetJavaReleaseFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailOutput) +func (i GetJavaFamiliesFilterArgs) ToGetJavaFamiliesFilterOutputWithContext(ctx context.Context) GetJavaFamiliesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesFilterOutput) } -// GetJavaReleaseFamilyDetailArrayInput is an input type that accepts GetJavaReleaseFamilyDetailArray and GetJavaReleaseFamilyDetailArrayOutput values. -// You can construct a concrete instance of `GetJavaReleaseFamilyDetailArrayInput` via: +// GetJavaFamiliesFilterArrayInput is an input type that accepts GetJavaFamiliesFilterArray and GetJavaFamiliesFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaFamiliesFilterArrayInput` via: // -// GetJavaReleaseFamilyDetailArray{ GetJavaReleaseFamilyDetailArgs{...} } -type GetJavaReleaseFamilyDetailArrayInput interface { +// GetJavaFamiliesFilterArray{ GetJavaFamiliesFilterArgs{...} } +type GetJavaFamiliesFilterArrayInput interface { pulumi.Input - ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput - ToGetJavaReleaseFamilyDetailArrayOutputWithContext(context.Context) GetJavaReleaseFamilyDetailArrayOutput + ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput + ToGetJavaFamiliesFilterArrayOutputWithContext(context.Context) GetJavaFamiliesFilterArrayOutput } -type GetJavaReleaseFamilyDetailArray []GetJavaReleaseFamilyDetailInput +type GetJavaFamiliesFilterArray []GetJavaFamiliesFilterInput -func (GetJavaReleaseFamilyDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseFamilyDetail)(nil)).Elem() +func (GetJavaFamiliesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesFilter)(nil)).Elem() } -func (i GetJavaReleaseFamilyDetailArray) ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput { - return i.ToGetJavaReleaseFamilyDetailArrayOutputWithContext(context.Background()) +func (i GetJavaFamiliesFilterArray) ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput { + return i.ToGetJavaFamiliesFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaReleaseFamilyDetailArray) ToGetJavaReleaseFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailArrayOutput) +func (i GetJavaFamiliesFilterArray) ToGetJavaFamiliesFilterArrayOutputWithContext(ctx context.Context) GetJavaFamiliesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesFilterArrayOutput) } -type GetJavaReleaseFamilyDetailOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesFilterOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseFamilyDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseFamilyDetail)(nil)).Elem() +func (GetJavaFamiliesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesFilter)(nil)).Elem() } -func (o GetJavaReleaseFamilyDetailOutput) ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput { +func (o GetJavaFamiliesFilterOutput) ToGetJavaFamiliesFilterOutput() GetJavaFamiliesFilterOutput { return o } -func (o GetJavaReleaseFamilyDetailOutput) ToGetJavaReleaseFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailOutput { +func (o GetJavaFamiliesFilterOutput) ToGetJavaFamiliesFilterOutputWithContext(ctx context.Context) GetJavaFamiliesFilterOutput { return o } -// Commonly used name for the MoS release. -func (o GetJavaReleaseFamilyDetailOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetJavaFamiliesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesFilter) string { return v.Name }).(pulumi.StringOutput) } -// Link to access the documentation for the release. -func (o GetJavaReleaseFamilyDetailOutput) DocUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.DocUrl }).(pulumi.StringOutput) +func (o GetJavaFamiliesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaFamiliesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaReleaseFamilyDetailOutput) EndOfSupportLifeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +func (o GetJavaFamiliesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaFamiliesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -// Java release family identifier. -func (o GetJavaReleaseFamilyDetailOutput) FamilyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.FamilyVersion }).(pulumi.StringOutput) -} +type GetJavaFamiliesFilterArrayOutput struct{ *pulumi.OutputState } -// Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. -func (o GetJavaReleaseFamilyDetailOutput) IsSupportedVersion() pulumi.BoolOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) +func (GetJavaFamiliesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesFilter)(nil)).Elem() } -// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. -func (o GetJavaReleaseFamilyDetailOutput) LatestReleaseArtifacts() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) []GetJavaReleaseFamilyDetailLatestReleaseArtifact { - return v.LatestReleaseArtifacts - }).(GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) +func (o GetJavaFamiliesFilterArrayOutput) ToGetJavaFamiliesFilterArrayOutput() GetJavaFamiliesFilterArrayOutput { + return o } -// Latest Java release version in the family. -func (o GetJavaReleaseFamilyDetailOutput) LatestReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) +func (o GetJavaFamiliesFilterArrayOutput) ToGetJavaFamiliesFilterArrayOutputWithContext(ctx context.Context) GetJavaFamiliesFilterArrayOutput { + return o } -// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaReleaseFamilyDetailOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.ReleaseDate }).(pulumi.StringOutput) +func (o GetJavaFamiliesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesFilter { + return vs[0].([]GetJavaFamiliesFilter)[vs[1].(int)] + }).(GetJavaFamiliesFilterOutput) } -// This indicates the support category for the Java release family. -func (o GetJavaReleaseFamilyDetailOutput) SupportType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.SupportType }).(pulumi.StringOutput) +type GetJavaFamiliesJavaFamilyCollection struct { + Items []GetJavaFamiliesJavaFamilyCollectionItem `pulumi:"items"` } -type GetJavaReleaseFamilyDetailArrayOutput struct{ *pulumi.OutputState } +// GetJavaFamiliesJavaFamilyCollectionInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionArgs and GetJavaFamiliesJavaFamilyCollectionOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionInput` via: +// +// GetJavaFamiliesJavaFamilyCollectionArgs{...} +type GetJavaFamiliesJavaFamilyCollectionInput interface { + pulumi.Input -func (GetJavaReleaseFamilyDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseFamilyDetail)(nil)).Elem() + ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput + ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionOutput } -func (o GetJavaReleaseFamilyDetailArrayOutput) ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput { - return o +type GetJavaFamiliesJavaFamilyCollectionArgs struct { + Items GetJavaFamiliesJavaFamilyCollectionItemArrayInput `pulumi:"items"` } -func (o GetJavaReleaseFamilyDetailArrayOutput) ToGetJavaReleaseFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailArrayOutput { - return o +func (GetJavaFamiliesJavaFamilyCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() } -func (o GetJavaReleaseFamilyDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseFamilyDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseFamilyDetail { - return vs[0].([]GetJavaReleaseFamilyDetail)[vs[1].(int)] - }).(GetJavaReleaseFamilyDetailOutput) +func (i GetJavaFamiliesJavaFamilyCollectionArgs) ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(context.Background()) } -type GetJavaReleaseFamilyDetailLatestReleaseArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` +func (i GetJavaFamiliesJavaFamilyCollectionArgs) ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionOutput) } -// GetJavaReleaseFamilyDetailLatestReleaseArtifactInput is an input type that accepts GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs and GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput values. -// You can construct a concrete instance of `GetJavaReleaseFamilyDetailLatestReleaseArtifactInput` via: +// GetJavaFamiliesJavaFamilyCollectionArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionArray and GetJavaFamiliesJavaFamilyCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionArrayInput` via: // -// GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs{...} -type GetJavaReleaseFamilyDetailLatestReleaseArtifactInput interface { +// GetJavaFamiliesJavaFamilyCollectionArray{ GetJavaFamiliesJavaFamilyCollectionArgs{...} } +type GetJavaFamiliesJavaFamilyCollectionArrayInput interface { pulumi.Input - ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput - ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput + ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput + ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput } -type GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` -} +type GetJavaFamiliesJavaFamilyCollectionArray []GetJavaFamiliesJavaFamilyCollectionInput -func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() } -func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { - return i.ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(context.Background()) +func (i GetJavaFamiliesJavaFamilyCollectionArray) ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) +func (i GetJavaFamiliesJavaFamilyCollectionArray) ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionArrayOutput) } -// GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput is an input type that accepts GetJavaReleaseFamilyDetailLatestReleaseArtifactArray and GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput` via: -// -// GetJavaReleaseFamilyDetailLatestReleaseArtifactArray{ GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs{...} } -type GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput interface { - pulumi.Input +type GetJavaFamiliesJavaFamilyCollectionOutput struct{ *pulumi.OutputState } - ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput - ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput +func (GetJavaFamiliesJavaFamilyCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() } -type GetJavaReleaseFamilyDetailLatestReleaseArtifactArray []GetJavaReleaseFamilyDetailLatestReleaseArtifactInput - -func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (o GetJavaFamiliesJavaFamilyCollectionOutput) ToGetJavaFamiliesJavaFamilyCollectionOutput() GetJavaFamiliesJavaFamilyCollectionOutput { + return o } -func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { - return i.ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Background()) +func (o GetJavaFamiliesJavaFamilyCollectionOutput) ToGetJavaFamiliesJavaFamilyCollectionOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionOutput { + return o } -func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) +func (o GetJavaFamiliesJavaFamilyCollectionOutput) Items() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollection) []GetJavaFamiliesJavaFamilyCollectionItem { return v.Items }).(GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) } -type GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesJavaFamilyCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollection)(nil)).Elem() } -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { +func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionArrayOutput() GetJavaFamiliesJavaFamilyCollectionArrayOutput { return o } -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { +func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionArrayOutput { return o } -// Approximate compressed file size in bytes. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +func (o GetJavaFamiliesJavaFamilyCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollection { + return vs[0].([]GetJavaFamiliesJavaFamilyCollection)[vs[1].(int)] + }).(GetJavaFamiliesJavaFamilyCollectionOutput) } -// The target Operating System architecture for the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) +type GetJavaFamiliesJavaFamilyCollectionItem struct { + // The display name for the Java family. + DisplayName string `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl string `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` + // The version identifier for the Java family. + FamilyVersion string `pulumi:"familyVersion"` + // Filter the Java Release Family versions by support status. + IsSupportedVersion bool `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion string `pulumi:"latestReleaseVersion"` + // The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate string `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType string `pulumi:"supportType"` } -// Product content type of this artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) -} +// GetJavaFamiliesJavaFamilyCollectionItemInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemArgs and GetJavaFamiliesJavaFamilyCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemInput` via: +// +// GetJavaFamiliesJavaFamilyCollectionItemArgs{...} +type GetJavaFamiliesJavaFamilyCollectionItemInput interface { + pulumi.Input -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) + ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput + ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput } -// The file name of the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +type GetJavaFamiliesJavaFamilyCollectionItemArgs struct { + // The display name for the Java family. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl pulumi.StringInput `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` + // The version identifier for the Java family. + FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` + // Filter the Java Release Family versions by support status. + IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` + // The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType pulumi.StringInput `pulumi:"supportType"` } -// Unique identifier for the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) +func (GetJavaFamiliesJavaFamilyCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() } -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemArgs) ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(context.Background()) } -// The target Operating System family for the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemArgs) ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemOutput) } -// The package type(typically the file extension) of the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) -} +// GetJavaFamiliesJavaFamilyCollectionItemArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemArray and GetJavaFamiliesJavaFamilyCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemArrayInput` via: +// +// GetJavaFamiliesJavaFamilyCollectionItemArray{ GetJavaFamiliesJavaFamilyCollectionItemArgs{...} } +type GetJavaFamiliesJavaFamilyCollectionItemArrayInput interface { + pulumi.Input -// Additional information about the package type. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) + ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput + ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput } -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +type GetJavaFamiliesJavaFamilyCollectionItemArray []GetJavaFamiliesJavaFamilyCollectionItemInput + +func (GetJavaFamiliesJavaFamilyCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() } -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemArray) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(context.Background()) } -// SHA256 checksum of the artifact. -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemArray) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) } -type GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesJavaFamilyCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() } -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ToGetJavaFamiliesJavaFamilyCollectionItemOutput() GetJavaFamiliesJavaFamilyCollectionItemOutput { return o } -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ToGetJavaFamiliesJavaFamilyCollectionItemOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemOutput { return o } -func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseFamilyDetailLatestReleaseArtifact { - return vs[0].([]GetJavaReleaseFamilyDetailLatestReleaseArtifact)[vs[1].(int)] - }).(GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) +// The display name for the Java family. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -type GetJavaReleaseLicenseDetail struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // License type for the Java version. - LicenseType string `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl string `pulumi:"licenseUrl"` -} - -// GetJavaReleaseLicenseDetailInput is an input type that accepts GetJavaReleaseLicenseDetailArgs and GetJavaReleaseLicenseDetailOutput values. -// You can construct a concrete instance of `GetJavaReleaseLicenseDetailInput` via: -// -// GetJavaReleaseLicenseDetailArgs{...} -type GetJavaReleaseLicenseDetailInput interface { - pulumi.Input - - ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput - ToGetJavaReleaseLicenseDetailOutputWithContext(context.Context) GetJavaReleaseLicenseDetailOutput -} - -type GetJavaReleaseLicenseDetailArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // License type for the Java version. - LicenseType pulumi.StringInput `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` -} - -func (GetJavaReleaseLicenseDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseLicenseDetail)(nil)).Elem() -} - -func (i GetJavaReleaseLicenseDetailArgs) ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput { - return i.ToGetJavaReleaseLicenseDetailOutputWithContext(context.Background()) -} - -func (i GetJavaReleaseLicenseDetailArgs) ToGetJavaReleaseLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseLicenseDetailOutput) -} - -// GetJavaReleaseLicenseDetailArrayInput is an input type that accepts GetJavaReleaseLicenseDetailArray and GetJavaReleaseLicenseDetailArrayOutput values. -// You can construct a concrete instance of `GetJavaReleaseLicenseDetailArrayInput` via: -// -// GetJavaReleaseLicenseDetailArray{ GetJavaReleaseLicenseDetailArgs{...} } -type GetJavaReleaseLicenseDetailArrayInput interface { - pulumi.Input - - ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput - ToGetJavaReleaseLicenseDetailArrayOutputWithContext(context.Context) GetJavaReleaseLicenseDetailArrayOutput -} - -type GetJavaReleaseLicenseDetailArray []GetJavaReleaseLicenseDetailInput - -func (GetJavaReleaseLicenseDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseLicenseDetail)(nil)).Elem() -} - -func (i GetJavaReleaseLicenseDetailArray) ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput { - return i.ToGetJavaReleaseLicenseDetailArrayOutputWithContext(context.Background()) +// Link to access the documentation for the release. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) DocUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.DocUrl }).(pulumi.StringOutput) } -func (i GetJavaReleaseLicenseDetailArray) ToGetJavaReleaseLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseLicenseDetailArrayOutput) +// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) EndOfSupportLifeDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) } -type GetJavaReleaseLicenseDetailOutput struct{ *pulumi.OutputState } - -func (GetJavaReleaseLicenseDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseLicenseDetail)(nil)).Elem() +// The version identifier for the Java family. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) FamilyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.FamilyVersion }).(pulumi.StringOutput) } -func (o GetJavaReleaseLicenseDetailOutput) ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput { - return o +// Filter the Java Release Family versions by support status. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) IsSupportedVersion() pulumi.BoolOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) } -func (o GetJavaReleaseLicenseDetailOutput) ToGetJavaReleaseLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailOutput { - return o +// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) LatestReleaseArtifacts() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact { + return v.LatestReleaseArtifacts + }).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) } -// Commonly used name for the MoS release. -func (o GetJavaReleaseLicenseDetailOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.DisplayName }).(pulumi.StringOutput) +// Latest Java release version in the family. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) LatestReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) } -// License type for the Java version. -func (o GetJavaReleaseLicenseDetailOutput) LicenseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.LicenseType }).(pulumi.StringOutput) +// The date on which the Java release family was first made available (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.ReleaseDate }).(pulumi.StringOutput) } -// Publicly accessible license URL containing the detailed terms and conditions. -func (o GetJavaReleaseLicenseDetailOutput) LicenseUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.LicenseUrl }).(pulumi.StringOutput) +// This indicates the support category for the Java release family. +func (o GetJavaFamiliesJavaFamilyCollectionItemOutput) SupportType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItem) string { return v.SupportType }).(pulumi.StringOutput) } -type GetJavaReleaseLicenseDetailArrayOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesJavaFamilyCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseLicenseDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseLicenseDetail)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItem)(nil)).Elem() } -func (o GetJavaReleaseLicenseDetailArrayOutput) ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { return o } -func (o GetJavaReleaseLicenseDetailArrayOutput) ToGetJavaReleaseLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailArrayOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemArrayOutput { return o } -func (o GetJavaReleaseLicenseDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseLicenseDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseLicenseDetail { - return vs[0].([]GetJavaReleaseLicenseDetail)[vs[1].(int)] - }).(GetJavaReleaseLicenseDetailOutput) +func (o GetJavaFamiliesJavaFamilyCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollectionItem { + return vs[0].([]GetJavaFamiliesJavaFamilyCollectionItem)[vs[1].(int)] + }).(GetJavaFamiliesJavaFamilyCollectionItemOutput) } -type GetJavaReleaseMosPatch struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // MoS URL to access the artifacts for the Java release. - PatchUrl string `pulumi:"patchUrl"` +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` } -// GetJavaReleaseMosPatchInput is an input type that accepts GetJavaReleaseMosPatchArgs and GetJavaReleaseMosPatchOutput values. -// You can construct a concrete instance of `GetJavaReleaseMosPatchInput` via: +// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs and GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput` via: // -// GetJavaReleaseMosPatchArgs{...} -type GetJavaReleaseMosPatchInput interface { +// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs{...} +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput interface { pulumi.Input - ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput - ToGetJavaReleaseMosPatchOutputWithContext(context.Context) GetJavaReleaseMosPatchOutput + ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput + ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput } -type GetJavaReleaseMosPatchArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // MoS URL to access the artifacts for the Java release. - PatchUrl pulumi.StringInput `pulumi:"patchUrl"` +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` } -func (GetJavaReleaseMosPatchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseMosPatch)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() } -func (i GetJavaReleaseMosPatchArgs) ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput { - return i.ToGetJavaReleaseMosPatchOutputWithContext(context.Background()) +func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(context.Background()) } -func (i GetJavaReleaseMosPatchArgs) ToGetJavaReleaseMosPatchOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseMosPatchOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) } -// GetJavaReleaseMosPatchArrayInput is an input type that accepts GetJavaReleaseMosPatchArray and GetJavaReleaseMosPatchArrayOutput values. -// You can construct a concrete instance of `GetJavaReleaseMosPatchArrayInput` via: +// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput is an input type that accepts GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray and GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput` via: // -// GetJavaReleaseMosPatchArray{ GetJavaReleaseMosPatchArgs{...} } -type GetJavaReleaseMosPatchArrayInput interface { +// GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray{ GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArgs{...} } +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayInput interface { pulumi.Input - ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput - ToGetJavaReleaseMosPatchArrayOutputWithContext(context.Context) GetJavaReleaseMosPatchArrayOutput + ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput + ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput } -type GetJavaReleaseMosPatchArray []GetJavaReleaseMosPatchInput +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray []GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactInput -func (GetJavaReleaseMosPatchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseMosPatch)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() } -func (i GetJavaReleaseMosPatchArray) ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput { - return i.ToGetJavaReleaseMosPatchArrayOutputWithContext(context.Background()) +func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { + return i.ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(context.Background()) } -func (i GetJavaReleaseMosPatchArray) ToGetJavaReleaseMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseMosPatchArrayOutput) +func (i GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArray) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) } -type GetJavaReleaseMosPatchOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput struct{ *pulumi.OutputState } -func (GetJavaReleaseMosPatchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleaseMosPatch)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() } -func (o GetJavaReleaseMosPatchOutput) ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { return o } -func (o GetJavaReleaseMosPatchOutput) ToGetJavaReleaseMosPatchOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { return o } -// Commonly used name for the MoS release. -func (o GetJavaReleaseMosPatchOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseMosPatch) string { return v.DisplayName }).(pulumi.StringOutput) +// Approximate compressed file size in bytes. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.ApproximateFileSizeInBytes + }).(pulumi.StringOutput) } -// MoS URL to access the artifacts for the Java release. -func (o GetJavaReleaseMosPatchOutput) PatchUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleaseMosPatch) string { return v.PatchUrl }).(pulumi.StringOutput) +// The target Operating System architecture for the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) } -type GetJavaReleaseMosPatchArrayOutput struct{ *pulumi.OutputState } - -func (GetJavaReleaseMosPatchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleaseMosPatch)(nil)).Elem() -} - -func (o GetJavaReleaseMosPatchArrayOutput) ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput { - return o -} - -func (o GetJavaReleaseMosPatchArrayOutput) ToGetJavaReleaseMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchArrayOutput { - return o -} - -func (o GetJavaReleaseMosPatchArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseMosPatchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseMosPatch { - return vs[0].([]GetJavaReleaseMosPatch)[vs[1].(int)] - }).(GetJavaReleaseMosPatchOutput) +// Product content type of this artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.ArtifactContentType + }).(pulumi.StringOutput) } -type GetJavaReleasesFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.ArtifactDescription + }).(pulumi.StringOutput) } -// GetJavaReleasesFilterInput is an input type that accepts GetJavaReleasesFilterArgs and GetJavaReleasesFilterOutput values. -// You can construct a concrete instance of `GetJavaReleasesFilterInput` via: -// -// GetJavaReleasesFilterArgs{...} -type GetJavaReleasesFilterInput interface { - pulumi.Input - - ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput - ToGetJavaReleasesFilterOutputWithContext(context.Context) GetJavaReleasesFilterOutput +// The file name of the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) } -type GetJavaReleasesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +// Unique identifier for the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) } -func (GetJavaReleasesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesFilter)(nil)).Elem() +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) } -func (i GetJavaReleasesFilterArgs) ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput { - return i.ToGetJavaReleasesFilterOutputWithContext(context.Background()) +// The target Operating System family for the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) } -func (i GetJavaReleasesFilterArgs) ToGetJavaReleasesFilterOutputWithContext(ctx context.Context) GetJavaReleasesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesFilterOutput) +// The package type(typically the file extension) of the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) } -// GetJavaReleasesFilterArrayInput is an input type that accepts GetJavaReleasesFilterArray and GetJavaReleasesFilterArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesFilterArrayInput` via: -// -// GetJavaReleasesFilterArray{ GetJavaReleasesFilterArgs{...} } -type GetJavaReleasesFilterArrayInput interface { - pulumi.Input - - ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput - ToGetJavaReleasesFilterArrayOutputWithContext(context.Context) GetJavaReleasesFilterArrayOutput +// Additional information about the package type. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.PackageTypeDetail + }).(pulumi.StringOutput) } -type GetJavaReleasesFilterArray []GetJavaReleasesFilterInput - -func (GetJavaReleasesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesFilter)(nil)).Elem() +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.ScriptChecksumUrl + }).(pulumi.StringOutput) } -func (i GetJavaReleasesFilterArray) ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput { - return i.ToGetJavaReleasesFilterArrayOutputWithContext(context.Background()) +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { + return v.ScriptDownloadUrl + }).(pulumi.StringOutput) } -func (i GetJavaReleasesFilterArray) ToGetJavaReleasesFilterArrayOutputWithContext(ctx context.Context) GetJavaReleasesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesFilterArrayOutput) +// SHA256 checksum of the artifact. +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) } -type GetJavaReleasesFilterOutput struct{ *pulumi.OutputState } +type GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesFilter)(nil)).Elem() +func (GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)(nil)).Elem() } -func (o GetJavaReleasesFilterOutput) ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput() GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { return o } -func (o GetJavaReleasesFilterOutput) ToGetJavaReleasesFilterOutputWithContext(ctx context.Context) GetJavaReleasesFilterOutput { +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) ToGetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput { return o } -func (o GetJavaReleasesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetJavaReleasesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJavaReleasesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact { + return vs[0].([]GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact)[vs[1].(int)] + }).(GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifactOutput) } -func (o GetJavaReleasesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaReleasesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +type GetJavaFamilyLatestReleaseArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` } -type GetJavaReleasesFilterArrayOutput struct{ *pulumi.OutputState } +// GetJavaFamilyLatestReleaseArtifactInput is an input type that accepts GetJavaFamilyLatestReleaseArtifactArgs and GetJavaFamilyLatestReleaseArtifactOutput values. +// You can construct a concrete instance of `GetJavaFamilyLatestReleaseArtifactInput` via: +// +// GetJavaFamilyLatestReleaseArtifactArgs{...} +type GetJavaFamilyLatestReleaseArtifactInput interface { + pulumi.Input -func (GetJavaReleasesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesFilter)(nil)).Elem() + ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput + ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(context.Context) GetJavaFamilyLatestReleaseArtifactOutput } -func (o GetJavaReleasesFilterArrayOutput) ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput { - return o +type GetJavaFamilyLatestReleaseArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` } -func (o GetJavaReleasesFilterArrayOutput) ToGetJavaReleasesFilterArrayOutputWithContext(ctx context.Context) GetJavaReleasesFilterArrayOutput { - return o +func (GetJavaFamilyLatestReleaseArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() } -func (o GetJavaReleasesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesFilter { - return vs[0].([]GetJavaReleasesFilter)[vs[1].(int)] - }).(GetJavaReleasesFilterOutput) +func (i GetJavaFamilyLatestReleaseArtifactArgs) ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput { + return i.ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(context.Background()) } -type GetJavaReleasesJavaReleaseCollection struct { - Items []GetJavaReleasesJavaReleaseCollectionItem `pulumi:"items"` +func (i GetJavaFamilyLatestReleaseArtifactArgs) ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamilyLatestReleaseArtifactOutput) } -// GetJavaReleasesJavaReleaseCollectionInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionArgs and GetJavaReleasesJavaReleaseCollectionOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionInput` via: +// GetJavaFamilyLatestReleaseArtifactArrayInput is an input type that accepts GetJavaFamilyLatestReleaseArtifactArray and GetJavaFamilyLatestReleaseArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaFamilyLatestReleaseArtifactArrayInput` via: // -// GetJavaReleasesJavaReleaseCollectionArgs{...} -type GetJavaReleasesJavaReleaseCollectionInput interface { +// GetJavaFamilyLatestReleaseArtifactArray{ GetJavaFamilyLatestReleaseArtifactArgs{...} } +type GetJavaFamilyLatestReleaseArtifactArrayInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput - ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionOutput + ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput + ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput } -type GetJavaReleasesJavaReleaseCollectionArgs struct { - Items GetJavaReleasesJavaReleaseCollectionItemArrayInput `pulumi:"items"` -} +type GetJavaFamilyLatestReleaseArtifactArray []GetJavaFamilyLatestReleaseArtifactInput -func (GetJavaReleasesJavaReleaseCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +func (GetJavaFamilyLatestReleaseArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionArgs) ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(context.Background()) +func (i GetJavaFamilyLatestReleaseArtifactArray) ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput { + return i.ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionArgs) ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionOutput) +func (i GetJavaFamilyLatestReleaseArtifactArray) ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaFamilyLatestReleaseArtifactArrayOutput) } -// GetJavaReleasesJavaReleaseCollectionArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionArray and GetJavaReleasesJavaReleaseCollectionArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionArrayInput` via: -// -// GetJavaReleasesJavaReleaseCollectionArray{ GetJavaReleasesJavaReleaseCollectionArgs{...} } -type GetJavaReleasesJavaReleaseCollectionArrayInput interface { - pulumi.Input +type GetJavaFamilyLatestReleaseArtifactOutput struct{ *pulumi.OutputState } - ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput - ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput +func (GetJavaFamilyLatestReleaseArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() } -type GetJavaReleasesJavaReleaseCollectionArray []GetJavaReleasesJavaReleaseCollectionInput +func (o GetJavaFamilyLatestReleaseArtifactOutput) ToGetJavaFamilyLatestReleaseArtifactOutput() GetJavaFamilyLatestReleaseArtifactOutput { + return o +} -func (GetJavaReleasesJavaReleaseCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +func (o GetJavaFamilyLatestReleaseArtifactOutput) ToGetJavaFamilyLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactOutput { + return o } -func (i GetJavaReleasesJavaReleaseCollectionArray) ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(context.Background()) +// Approximate compressed file size in bytes. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) } -func (i GetJavaReleasesJavaReleaseCollectionArray) ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionArrayOutput) +// The target Operating System architecture for the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionOutput struct{ *pulumi.OutputState } +// Product content type of this artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +} -func (GetJavaReleasesJavaReleaseCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionOutput) ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput { - return o +// The file name of the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionOutput) ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionOutput { - return o +// Unique identifier for the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionOutput) Items() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollection) []GetJavaReleasesJavaReleaseCollectionItem { - return v.Items - }).(GetJavaReleasesJavaReleaseCollectionItemArrayOutput) +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaFamilyLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionArrayOutput struct{ *pulumi.OutputState } +// The target Operating System family for the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +} -func (GetJavaReleasesJavaReleaseCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +// The package type(typically the file extension) of the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput { +// Additional information about the package type. +func (o GetJavaFamilyLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +} + +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +} + +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaFamilyLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +} + +// SHA256 checksum of the artifact. +func (o GetJavaFamilyLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaFamilyLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +} + +type GetJavaFamilyLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaFamilyLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaFamilyLatestReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) ToGetJavaFamilyLatestReleaseArtifactArrayOutput() GetJavaFamilyLatestReleaseArtifactArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput { +func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) ToGetJavaFamilyLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaFamilyLatestReleaseArtifactArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollection { - return vs[0].([]GetJavaReleasesJavaReleaseCollection)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionOutput) +func (o GetJavaFamilyLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaFamilyLatestReleaseArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaFamilyLatestReleaseArtifact { + return vs[0].([]GetJavaFamilyLatestReleaseArtifact)[vs[1].(int)] + }).(GetJavaFamilyLatestReleaseArtifactOutput) } -type GetJavaReleasesJavaReleaseCollectionItem struct { - // Artifact content types for the Java version. - ArtifactContentTypes []string `pulumi:"artifactContentTypes"` - // List of Java artifacts. - Artifacts []GetJavaReleasesJavaReleaseCollectionItemArtifact `pulumi:"artifacts"` - // The number of days since this release has been under the security baseline. - DaysUnderSecurityBaseline int `pulumi:"daysUnderSecurityBaseline"` - // Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. - FamilyDetails []GetJavaReleasesJavaReleaseCollectionItemFamilyDetail `pulumi:"familyDetails"` - // The version identifier for the Java family. - FamilyVersion string `pulumi:"familyVersion"` - // Information about a license type for Java. - LicenseDetails []GetJavaReleasesJavaReleaseCollectionItemLicenseDetail `pulumi:"licenseDetails"` - // Java license type. - LicenseType string `pulumi:"licenseType"` - // List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. - MosPatches []GetJavaReleasesJavaReleaseCollectionItemMosPatch `pulumi:"mosPatches"` - // Parent Java release version identifier. This is applicable for BPR releases. - ParentReleaseVersion string `pulumi:"parentReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate string `pulumi:"releaseDate"` - // Release notes associated with the Java version. - ReleaseNotesUrl string `pulumi:"releaseNotesUrl"` - // Java release type. - ReleaseType string `pulumi:"releaseType"` - // Unique Java release version identifier - ReleaseVersion string `pulumi:"releaseVersion"` - // The security status of the Java version. - SecurityStatus string `pulumi:"securityStatus"` +type GetJavaReleaseArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` } -// GetJavaReleasesJavaReleaseCollectionItemInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArgs and GetJavaReleasesJavaReleaseCollectionItemOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemInput` via: +// GetJavaReleaseArtifactInput is an input type that accepts GetJavaReleaseArtifactArgs and GetJavaReleaseArtifactOutput values. +// You can construct a concrete instance of `GetJavaReleaseArtifactInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemInput interface { +// GetJavaReleaseArtifactArgs{...} +type GetJavaReleaseArtifactInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput - ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput + ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput + ToGetJavaReleaseArtifactOutputWithContext(context.Context) GetJavaReleaseArtifactOutput } -type GetJavaReleasesJavaReleaseCollectionItemArgs struct { - // Artifact content types for the Java version. - ArtifactContentTypes pulumi.StringArrayInput `pulumi:"artifactContentTypes"` - // List of Java artifacts. - Artifacts GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput `pulumi:"artifacts"` - // The number of days since this release has been under the security baseline. - DaysUnderSecurityBaseline pulumi.IntInput `pulumi:"daysUnderSecurityBaseline"` - // Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. - FamilyDetails GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput `pulumi:"familyDetails"` - // The version identifier for the Java family. - FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` - // Information about a license type for Java. - LicenseDetails GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput `pulumi:"licenseDetails"` - // Java license type. - LicenseType pulumi.StringInput `pulumi:"licenseType"` - // List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. - MosPatches GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput `pulumi:"mosPatches"` - // Parent Java release version identifier. This is applicable for BPR releases. - ParentReleaseVersion pulumi.StringInput `pulumi:"parentReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - // Release notes associated with the Java version. - ReleaseNotesUrl pulumi.StringInput `pulumi:"releaseNotesUrl"` - // Java release type. - ReleaseType pulumi.StringInput `pulumi:"releaseType"` - // Unique Java release version identifier - ReleaseVersion pulumi.StringInput `pulumi:"releaseVersion"` - // The security status of the Java version. - SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` +type GetJavaReleaseArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` } -func (GetJavaReleasesJavaReleaseCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +func (GetJavaReleaseArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseArtifact)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemArgs) ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(context.Background()) +func (i GetJavaReleaseArtifactArgs) ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput { + return i.ToGetJavaReleaseArtifactOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemArgs) ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemOutput) +func (i GetJavaReleaseArtifactArgs) ToGetJavaReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseArtifactOutput) } -// GetJavaReleasesJavaReleaseCollectionItemArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArray and GetJavaReleasesJavaReleaseCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArrayInput` via: +// GetJavaReleaseArtifactArrayInput is an input type that accepts GetJavaReleaseArtifactArray and GetJavaReleaseArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaReleaseArtifactArrayInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemArray{ GetJavaReleasesJavaReleaseCollectionItemArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemArrayInput interface { +// GetJavaReleaseArtifactArray{ GetJavaReleaseArtifactArgs{...} } +type GetJavaReleaseArtifactArrayInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput + ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput + ToGetJavaReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleaseArtifactArrayOutput } -type GetJavaReleasesJavaReleaseCollectionItemArray []GetJavaReleasesJavaReleaseCollectionItemInput +type GetJavaReleaseArtifactArray []GetJavaReleaseArtifactInput -func (GetJavaReleasesJavaReleaseCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +func (GetJavaReleaseArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseArtifact)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemArray) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(context.Background()) +func (i GetJavaReleaseArtifactArray) ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput { + return i.ToGetJavaReleaseArtifactArrayOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemArray) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArrayOutput) +func (i GetJavaReleaseArtifactArray) ToGetJavaReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseArtifactArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemOutput struct{ *pulumi.OutputState } +type GetJavaReleaseArtifactOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +func (GetJavaReleaseArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseArtifact)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput { +func (o GetJavaReleaseArtifactOutput) ToGetJavaReleaseArtifactOutput() GetJavaReleaseArtifactOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput { +func (o GetJavaReleaseArtifactOutput) ToGetJavaReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseArtifactOutput { return o } -// Artifact content types for the Java version. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ArtifactContentTypes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []string { return v.ArtifactContentTypes }).(pulumi.StringArrayOutput) -} - +// Approximate compressed file size in bytes. +func (o GetJavaReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +} + +// The target Operating System architecture for the artifact. +func (o GetJavaReleaseArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) +} + +// Product content type of this artifact. +func (o GetJavaReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +} + +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) +} + +// The file name of the artifact. +func (o GetJavaReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +} + +// Unique identifier for the artifact. +func (o GetJavaReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) +} + +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +} + +// The target Operating System family for the artifact. +func (o GetJavaReleaseArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +} + +// The package type(typically the file extension) of the artifact. +func (o GetJavaReleaseArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) +} + +// Additional information about the package type. +func (o GetJavaReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +} + +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +} + +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +} + +// SHA256 checksum of the artifact. +func (o GetJavaReleaseArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +} + +type GetJavaReleaseArtifactArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaReleaseArtifactArrayOutput) ToGetJavaReleaseArtifactArrayOutput() GetJavaReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleaseArtifactArrayOutput) ToGetJavaReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseArtifact { + return vs[0].([]GetJavaReleaseArtifact)[vs[1].(int)] + }).(GetJavaReleaseArtifactOutput) +} + +type GetJavaReleaseFamilyDetail struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl string `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` + // Java release family identifier. + FamilyVersion string `pulumi:"familyVersion"` + // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. + IsSupportedVersion bool `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts []GetJavaReleaseFamilyDetailLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion string `pulumi:"latestReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate string `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType string `pulumi:"supportType"` +} + +// GetJavaReleaseFamilyDetailInput is an input type that accepts GetJavaReleaseFamilyDetailArgs and GetJavaReleaseFamilyDetailOutput values. +// You can construct a concrete instance of `GetJavaReleaseFamilyDetailInput` via: +// +// GetJavaReleaseFamilyDetailArgs{...} +type GetJavaReleaseFamilyDetailInput interface { + pulumi.Input + + ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput + ToGetJavaReleaseFamilyDetailOutputWithContext(context.Context) GetJavaReleaseFamilyDetailOutput +} + +type GetJavaReleaseFamilyDetailArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl pulumi.StringInput `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` + // Java release family identifier. + FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` + // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. + IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType pulumi.StringInput `pulumi:"supportType"` +} + +func (GetJavaReleaseFamilyDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseFamilyDetail)(nil)).Elem() +} + +func (i GetJavaReleaseFamilyDetailArgs) ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput { + return i.ToGetJavaReleaseFamilyDetailOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseFamilyDetailArgs) ToGetJavaReleaseFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailOutput) +} + +// GetJavaReleaseFamilyDetailArrayInput is an input type that accepts GetJavaReleaseFamilyDetailArray and GetJavaReleaseFamilyDetailArrayOutput values. +// You can construct a concrete instance of `GetJavaReleaseFamilyDetailArrayInput` via: +// +// GetJavaReleaseFamilyDetailArray{ GetJavaReleaseFamilyDetailArgs{...} } +type GetJavaReleaseFamilyDetailArrayInput interface { + pulumi.Input + + ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput + ToGetJavaReleaseFamilyDetailArrayOutputWithContext(context.Context) GetJavaReleaseFamilyDetailArrayOutput +} + +type GetJavaReleaseFamilyDetailArray []GetJavaReleaseFamilyDetailInput + +func (GetJavaReleaseFamilyDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseFamilyDetail)(nil)).Elem() +} + +func (i GetJavaReleaseFamilyDetailArray) ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput { + return i.ToGetJavaReleaseFamilyDetailArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseFamilyDetailArray) ToGetJavaReleaseFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailArrayOutput) +} + +type GetJavaReleaseFamilyDetailOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseFamilyDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseFamilyDetail)(nil)).Elem() +} + +func (o GetJavaReleaseFamilyDetailOutput) ToGetJavaReleaseFamilyDetailOutput() GetJavaReleaseFamilyDetailOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailOutput) ToGetJavaReleaseFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleaseFamilyDetailOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Link to access the documentation for the release. +func (o GetJavaReleaseFamilyDetailOutput) DocUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.DocUrl }).(pulumi.StringOutput) +} + +// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaReleaseFamilyDetailOutput) EndOfSupportLifeDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +} + +// Java release family identifier. +func (o GetJavaReleaseFamilyDetailOutput) FamilyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.FamilyVersion }).(pulumi.StringOutput) +} + +// Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. +func (o GetJavaReleaseFamilyDetailOutput) IsSupportedVersion() pulumi.BoolOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) +} + +// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. +func (o GetJavaReleaseFamilyDetailOutput) LatestReleaseArtifacts() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) []GetJavaReleaseFamilyDetailLatestReleaseArtifact { + return v.LatestReleaseArtifacts + }).(GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) +} + +// Latest Java release version in the family. +func (o GetJavaReleaseFamilyDetailOutput) LatestReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) +} + +// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaReleaseFamilyDetailOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.ReleaseDate }).(pulumi.StringOutput) +} + +// This indicates the support category for the Java release family. +func (o GetJavaReleaseFamilyDetailOutput) SupportType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetail) string { return v.SupportType }).(pulumi.StringOutput) +} + +type GetJavaReleaseFamilyDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseFamilyDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseFamilyDetail)(nil)).Elem() +} + +func (o GetJavaReleaseFamilyDetailArrayOutput) ToGetJavaReleaseFamilyDetailArrayOutput() GetJavaReleaseFamilyDetailArrayOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailArrayOutput) ToGetJavaReleaseFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailArrayOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseFamilyDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseFamilyDetail { + return vs[0].([]GetJavaReleaseFamilyDetail)[vs[1].(int)] + }).(GetJavaReleaseFamilyDetailOutput) +} + +type GetJavaReleaseFamilyDetailLatestReleaseArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` +} + +// GetJavaReleaseFamilyDetailLatestReleaseArtifactInput is an input type that accepts GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs and GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput values. +// You can construct a concrete instance of `GetJavaReleaseFamilyDetailLatestReleaseArtifactInput` via: +// +// GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs{...} +type GetJavaReleaseFamilyDetailLatestReleaseArtifactInput interface { + pulumi.Input + + ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput + ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput +} + +type GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` +} + +func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { + return i.ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) +} + +// GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput is an input type that accepts GetJavaReleaseFamilyDetailLatestReleaseArtifactArray and GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput` via: +// +// GetJavaReleaseFamilyDetailLatestReleaseArtifactArray{ GetJavaReleaseFamilyDetailLatestReleaseArtifactArgs{...} } +type GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayInput interface { + pulumi.Input + + ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput + ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput +} + +type GetJavaReleaseFamilyDetailLatestReleaseArtifactArray []GetJavaReleaseFamilyDetailLatestReleaseArtifactInput + +func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { + return i.ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) +} + +type GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { + return o +} + +// Approximate compressed file size in bytes. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +} + +// The target Operating System architecture for the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.Architecture }).(pulumi.StringOutput) +} + +// Product content type of this artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +} + +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) +} + +// The file name of the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +} + +// Unique identifier for the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) +} + +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +} + +// The target Operating System family for the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +} + +// The package type(typically the file extension) of the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.PackageType }).(pulumi.StringOutput) +} + +// Additional information about the package type. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +} + +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +} + +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +} + +// SHA256 checksum of the artifact. +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseFamilyDetailLatestReleaseArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +} + +type GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleaseFamilyDetailLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseFamilyDetailLatestReleaseArtifact { + return vs[0].([]GetJavaReleaseFamilyDetailLatestReleaseArtifact)[vs[1].(int)] + }).(GetJavaReleaseFamilyDetailLatestReleaseArtifactOutput) +} + +type GetJavaReleaseLicenseDetail struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // License type for the Java version. + LicenseType string `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl string `pulumi:"licenseUrl"` +} + +// GetJavaReleaseLicenseDetailInput is an input type that accepts GetJavaReleaseLicenseDetailArgs and GetJavaReleaseLicenseDetailOutput values. +// You can construct a concrete instance of `GetJavaReleaseLicenseDetailInput` via: +// +// GetJavaReleaseLicenseDetailArgs{...} +type GetJavaReleaseLicenseDetailInput interface { + pulumi.Input + + ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput + ToGetJavaReleaseLicenseDetailOutputWithContext(context.Context) GetJavaReleaseLicenseDetailOutput +} + +type GetJavaReleaseLicenseDetailArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // License type for the Java version. + LicenseType pulumi.StringInput `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` +} + +func (GetJavaReleaseLicenseDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseLicenseDetail)(nil)).Elem() +} + +func (i GetJavaReleaseLicenseDetailArgs) ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput { + return i.ToGetJavaReleaseLicenseDetailOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseLicenseDetailArgs) ToGetJavaReleaseLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseLicenseDetailOutput) +} + +// GetJavaReleaseLicenseDetailArrayInput is an input type that accepts GetJavaReleaseLicenseDetailArray and GetJavaReleaseLicenseDetailArrayOutput values. +// You can construct a concrete instance of `GetJavaReleaseLicenseDetailArrayInput` via: +// +// GetJavaReleaseLicenseDetailArray{ GetJavaReleaseLicenseDetailArgs{...} } +type GetJavaReleaseLicenseDetailArrayInput interface { + pulumi.Input + + ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput + ToGetJavaReleaseLicenseDetailArrayOutputWithContext(context.Context) GetJavaReleaseLicenseDetailArrayOutput +} + +type GetJavaReleaseLicenseDetailArray []GetJavaReleaseLicenseDetailInput + +func (GetJavaReleaseLicenseDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseLicenseDetail)(nil)).Elem() +} + +func (i GetJavaReleaseLicenseDetailArray) ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput { + return i.ToGetJavaReleaseLicenseDetailArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseLicenseDetailArray) ToGetJavaReleaseLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseLicenseDetailArrayOutput) +} + +type GetJavaReleaseLicenseDetailOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseLicenseDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseLicenseDetail)(nil)).Elem() +} + +func (o GetJavaReleaseLicenseDetailOutput) ToGetJavaReleaseLicenseDetailOutput() GetJavaReleaseLicenseDetailOutput { + return o +} + +func (o GetJavaReleaseLicenseDetailOutput) ToGetJavaReleaseLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleaseLicenseDetailOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// License type for the Java version. +func (o GetJavaReleaseLicenseDetailOutput) LicenseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.LicenseType }).(pulumi.StringOutput) +} + +// Publicly accessible license URL containing the detailed terms and conditions. +func (o GetJavaReleaseLicenseDetailOutput) LicenseUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseLicenseDetail) string { return v.LicenseUrl }).(pulumi.StringOutput) +} + +type GetJavaReleaseLicenseDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseLicenseDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseLicenseDetail)(nil)).Elem() +} + +func (o GetJavaReleaseLicenseDetailArrayOutput) ToGetJavaReleaseLicenseDetailArrayOutput() GetJavaReleaseLicenseDetailArrayOutput { + return o +} + +func (o GetJavaReleaseLicenseDetailArrayOutput) ToGetJavaReleaseLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleaseLicenseDetailArrayOutput { + return o +} + +func (o GetJavaReleaseLicenseDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseLicenseDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseLicenseDetail { + return vs[0].([]GetJavaReleaseLicenseDetail)[vs[1].(int)] + }).(GetJavaReleaseLicenseDetailOutput) +} + +type GetJavaReleaseMosPatch struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // MoS URL to access the artifacts for the Java release. + PatchUrl string `pulumi:"patchUrl"` +} + +// GetJavaReleaseMosPatchInput is an input type that accepts GetJavaReleaseMosPatchArgs and GetJavaReleaseMosPatchOutput values. +// You can construct a concrete instance of `GetJavaReleaseMosPatchInput` via: +// +// GetJavaReleaseMosPatchArgs{...} +type GetJavaReleaseMosPatchInput interface { + pulumi.Input + + ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput + ToGetJavaReleaseMosPatchOutputWithContext(context.Context) GetJavaReleaseMosPatchOutput +} + +type GetJavaReleaseMosPatchArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // MoS URL to access the artifacts for the Java release. + PatchUrl pulumi.StringInput `pulumi:"patchUrl"` +} + +func (GetJavaReleaseMosPatchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseMosPatch)(nil)).Elem() +} + +func (i GetJavaReleaseMosPatchArgs) ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput { + return i.ToGetJavaReleaseMosPatchOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseMosPatchArgs) ToGetJavaReleaseMosPatchOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseMosPatchOutput) +} + +// GetJavaReleaseMosPatchArrayInput is an input type that accepts GetJavaReleaseMosPatchArray and GetJavaReleaseMosPatchArrayOutput values. +// You can construct a concrete instance of `GetJavaReleaseMosPatchArrayInput` via: +// +// GetJavaReleaseMosPatchArray{ GetJavaReleaseMosPatchArgs{...} } +type GetJavaReleaseMosPatchArrayInput interface { + pulumi.Input + + ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput + ToGetJavaReleaseMosPatchArrayOutputWithContext(context.Context) GetJavaReleaseMosPatchArrayOutput +} + +type GetJavaReleaseMosPatchArray []GetJavaReleaseMosPatchInput + +func (GetJavaReleaseMosPatchArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseMosPatch)(nil)).Elem() +} + +func (i GetJavaReleaseMosPatchArray) ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput { + return i.ToGetJavaReleaseMosPatchArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleaseMosPatchArray) ToGetJavaReleaseMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleaseMosPatchArrayOutput) +} + +type GetJavaReleaseMosPatchOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseMosPatchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleaseMosPatch)(nil)).Elem() +} + +func (o GetJavaReleaseMosPatchOutput) ToGetJavaReleaseMosPatchOutput() GetJavaReleaseMosPatchOutput { + return o +} + +func (o GetJavaReleaseMosPatchOutput) ToGetJavaReleaseMosPatchOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleaseMosPatchOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseMosPatch) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// MoS URL to access the artifacts for the Java release. +func (o GetJavaReleaseMosPatchOutput) PatchUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleaseMosPatch) string { return v.PatchUrl }).(pulumi.StringOutput) +} + +type GetJavaReleaseMosPatchArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleaseMosPatchArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleaseMosPatch)(nil)).Elem() +} + +func (o GetJavaReleaseMosPatchArrayOutput) ToGetJavaReleaseMosPatchArrayOutput() GetJavaReleaseMosPatchArrayOutput { + return o +} + +func (o GetJavaReleaseMosPatchArrayOutput) ToGetJavaReleaseMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleaseMosPatchArrayOutput { + return o +} + +func (o GetJavaReleaseMosPatchArrayOutput) Index(i pulumi.IntInput) GetJavaReleaseMosPatchOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleaseMosPatch { + return vs[0].([]GetJavaReleaseMosPatch)[vs[1].(int)] + }).(GetJavaReleaseMosPatchOutput) +} + +type GetJavaReleasesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetJavaReleasesFilterInput is an input type that accepts GetJavaReleasesFilterArgs and GetJavaReleasesFilterOutput values. +// You can construct a concrete instance of `GetJavaReleasesFilterInput` via: +// +// GetJavaReleasesFilterArgs{...} +type GetJavaReleasesFilterInput interface { + pulumi.Input + + ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput + ToGetJavaReleasesFilterOutputWithContext(context.Context) GetJavaReleasesFilterOutput +} + +type GetJavaReleasesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetJavaReleasesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesFilter)(nil)).Elem() +} + +func (i GetJavaReleasesFilterArgs) ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput { + return i.ToGetJavaReleasesFilterOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesFilterArgs) ToGetJavaReleasesFilterOutputWithContext(ctx context.Context) GetJavaReleasesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesFilterOutput) +} + +// GetJavaReleasesFilterArrayInput is an input type that accepts GetJavaReleasesFilterArray and GetJavaReleasesFilterArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesFilterArrayInput` via: +// +// GetJavaReleasesFilterArray{ GetJavaReleasesFilterArgs{...} } +type GetJavaReleasesFilterArrayInput interface { + pulumi.Input + + ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput + ToGetJavaReleasesFilterArrayOutputWithContext(context.Context) GetJavaReleasesFilterArrayOutput +} + +type GetJavaReleasesFilterArray []GetJavaReleasesFilterInput + +func (GetJavaReleasesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesFilter)(nil)).Elem() +} + +func (i GetJavaReleasesFilterArray) ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput { + return i.ToGetJavaReleasesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesFilterArray) ToGetJavaReleasesFilterArrayOutputWithContext(ctx context.Context) GetJavaReleasesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesFilterArrayOutput) +} + +type GetJavaReleasesFilterOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesFilter)(nil)).Elem() +} + +func (o GetJavaReleasesFilterOutput) ToGetJavaReleasesFilterOutput() GetJavaReleasesFilterOutput { + return o +} + +func (o GetJavaReleasesFilterOutput) ToGetJavaReleasesFilterOutputWithContext(ctx context.Context) GetJavaReleasesFilterOutput { + return o +} + +func (o GetJavaReleasesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetJavaReleasesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJavaReleasesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetJavaReleasesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaReleasesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetJavaReleasesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesFilter)(nil)).Elem() +} + +func (o GetJavaReleasesFilterArrayOutput) ToGetJavaReleasesFilterArrayOutput() GetJavaReleasesFilterArrayOutput { + return o +} + +func (o GetJavaReleasesFilterArrayOutput) ToGetJavaReleasesFilterArrayOutputWithContext(ctx context.Context) GetJavaReleasesFilterArrayOutput { + return o +} + +func (o GetJavaReleasesFilterArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesFilter { + return vs[0].([]GetJavaReleasesFilter)[vs[1].(int)] + }).(GetJavaReleasesFilterOutput) +} + +type GetJavaReleasesJavaReleaseCollection struct { + Items []GetJavaReleasesJavaReleaseCollectionItem `pulumi:"items"` +} + +// GetJavaReleasesJavaReleaseCollectionInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionArgs and GetJavaReleasesJavaReleaseCollectionOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionInput` via: +// +// GetJavaReleasesJavaReleaseCollectionArgs{...} +type GetJavaReleasesJavaReleaseCollectionInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput + ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionOutput +} + +type GetJavaReleasesJavaReleaseCollectionArgs struct { + Items GetJavaReleasesJavaReleaseCollectionItemArrayInput `pulumi:"items"` +} + +func (GetJavaReleasesJavaReleaseCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionArgs) ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionArgs) ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionOutput) +} + +// GetJavaReleasesJavaReleaseCollectionArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionArray and GetJavaReleasesJavaReleaseCollectionArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionArray{ GetJavaReleasesJavaReleaseCollectionArgs{...} } +type GetJavaReleasesJavaReleaseCollectionArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput + ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionArray []GetJavaReleasesJavaReleaseCollectionInput + +func (GetJavaReleasesJavaReleaseCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionArray) ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionArray) ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionOutput) ToGetJavaReleasesJavaReleaseCollectionOutput() GetJavaReleasesJavaReleaseCollectionOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionOutput) ToGetJavaReleasesJavaReleaseCollectionOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionOutput) Items() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollection) []GetJavaReleasesJavaReleaseCollectionItem { + return v.Items + }).(GetJavaReleasesJavaReleaseCollectionItemArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollection)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) ToGetJavaReleasesJavaReleaseCollectionArrayOutput() GetJavaReleasesJavaReleaseCollectionArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) ToGetJavaReleasesJavaReleaseCollectionArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollection { + return vs[0].([]GetJavaReleasesJavaReleaseCollection)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItem struct { + // Artifact content types for the Java version. + ArtifactContentTypes []string `pulumi:"artifactContentTypes"` + // List of Java artifacts. + Artifacts []GetJavaReleasesJavaReleaseCollectionItemArtifact `pulumi:"artifacts"` + // The number of days since this release has been under the security baseline. + DaysUnderSecurityBaseline int `pulumi:"daysUnderSecurityBaseline"` + // Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. + FamilyDetails []GetJavaReleasesJavaReleaseCollectionItemFamilyDetail `pulumi:"familyDetails"` + // The version identifier for the Java family. + FamilyVersion string `pulumi:"familyVersion"` + // Information about a license type for Java. + LicenseDetails []GetJavaReleasesJavaReleaseCollectionItemLicenseDetail `pulumi:"licenseDetails"` + // Java license type. + LicenseType string `pulumi:"licenseType"` + // List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. + MosPatches []GetJavaReleasesJavaReleaseCollectionItemMosPatch `pulumi:"mosPatches"` + // Parent Java release version identifier. This is applicable for BPR releases. + ParentReleaseVersion string `pulumi:"parentReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate string `pulumi:"releaseDate"` + // Release notes associated with the Java version. + ReleaseNotesUrl string `pulumi:"releaseNotesUrl"` + // Java release type. + ReleaseType string `pulumi:"releaseType"` + // Unique Java release version identifier + ReleaseVersion string `pulumi:"releaseVersion"` + // The security status of the Java version. + SecurityStatus string `pulumi:"securityStatus"` +} + +// GetJavaReleasesJavaReleaseCollectionItemInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArgs and GetJavaReleasesJavaReleaseCollectionItemOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput + ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemArgs struct { + // Artifact content types for the Java version. + ArtifactContentTypes pulumi.StringArrayInput `pulumi:"artifactContentTypes"` + // List of Java artifacts. + Artifacts GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput `pulumi:"artifacts"` + // The number of days since this release has been under the security baseline. + DaysUnderSecurityBaseline pulumi.IntInput `pulumi:"daysUnderSecurityBaseline"` + // Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. + FamilyDetails GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput `pulumi:"familyDetails"` + // The version identifier for the Java family. + FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` + // Information about a license type for Java. + LicenseDetails GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput `pulumi:"licenseDetails"` + // Java license type. + LicenseType pulumi.StringInput `pulumi:"licenseType"` + // List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. + MosPatches GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput `pulumi:"mosPatches"` + // Parent Java release version identifier. This is applicable for BPR releases. + ParentReleaseVersion pulumi.StringInput `pulumi:"parentReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + // Release notes associated with the Java version. + ReleaseNotesUrl pulumi.StringInput `pulumi:"releaseNotesUrl"` + // Java release type. + ReleaseType pulumi.StringInput `pulumi:"releaseType"` + // Unique Java release version identifier + ReleaseVersion pulumi.StringInput `pulumi:"releaseVersion"` + // The security status of the Java version. + SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArgs) ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArgs) ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArray and GetJavaReleasesJavaReleaseCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemArray{ GetJavaReleasesJavaReleaseCollectionItemArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemArray []GetJavaReleasesJavaReleaseCollectionItemInput + +func (GetJavaReleasesJavaReleaseCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArray) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArray) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ToGetJavaReleasesJavaReleaseCollectionItemOutput() GetJavaReleasesJavaReleaseCollectionItemOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ToGetJavaReleasesJavaReleaseCollectionItemOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemOutput { + return o +} + +// Artifact content types for the Java version. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ArtifactContentTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []string { return v.ArtifactContentTypes }).(pulumi.StringArrayOutput) +} + // List of Java artifacts. func (o GetJavaReleasesJavaReleaseCollectionItemOutput) Artifacts() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemArtifact { @@ -15206,1751 +16102,2647 @@ func (o GetJavaReleasesJavaReleaseCollectionItemOutput) Artifacts() GetJavaRelea }).(GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) } -// The number of days since this release has been under the security baseline. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) DaysUnderSecurityBaseline() pulumi.IntOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) int { return v.DaysUnderSecurityBaseline }).(pulumi.IntOutput) +// The number of days since this release has been under the security baseline. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) DaysUnderSecurityBaseline() pulumi.IntOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) int { return v.DaysUnderSecurityBaseline }).(pulumi.IntOutput) +} + +// Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) FamilyDetails() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemFamilyDetail { + return v.FamilyDetails + }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) +} + +// The version identifier for the Java family. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) FamilyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.FamilyVersion }).(pulumi.StringOutput) +} + +// Information about a license type for Java. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) LicenseDetails() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemLicenseDetail { + return v.LicenseDetails + }).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) +} + +// Java license type. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) LicenseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.LicenseType }).(pulumi.StringOutput) +} + +// List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) MosPatches() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemMosPatch { + return v.MosPatches + }).(GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) +} + +// Parent Java release version identifier. This is applicable for BPR releases. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ParentReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ParentReleaseVersion }).(pulumi.StringOutput) +} + +// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseDate }).(pulumi.StringOutput) +} + +// Release notes associated with the Java version. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseNotesUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseNotesUrl }).(pulumi.StringOutput) +} + +// Java release type. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseType }).(pulumi.StringOutput) +} + +// Unique Java release version identifier +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseVersion }).(pulumi.StringOutput) +} + +// The security status of the Java version. +func (o GetJavaReleasesJavaReleaseCollectionItemOutput) SecurityStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.SecurityStatus }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItem { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItem)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` +} + +// GetJavaReleasesJavaReleaseCollectionItemArtifactInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArtifactArgs and GetJavaReleasesJavaReleaseCollectionItemArtifactOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArtifactInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemArtifactArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemArtifactInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput + ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArtifactArray and GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemArtifactArray{ GetJavaReleasesJavaReleaseCollectionItemArtifactArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemArtifactArray []GetJavaReleasesJavaReleaseCollectionItemArtifactInput + +func (GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemArtifactOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { + return o +} + +// Approximate compressed file size in bytes. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +} + +// The target Operating System architecture for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.Architecture }).(pulumi.StringOutput) +} + +// Product content type of this artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +} + +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) +} + +// The file name of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +} + +// Unique identifier for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) +} + +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) +} + +// The target Operating System family for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +} + +// The package type(typically the file extension) of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.PackageType }).(pulumi.StringOutput) +} + +// Additional information about the package type. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +} + +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +} + +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) +} + +// SHA256 checksum of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.Sha256 }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemArtifact { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemArtifact)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetail struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl string `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` + // The version identifier for the Java family. + FamilyVersion string `pulumi:"familyVersion"` + // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. + IsSupportedVersion bool `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion string `pulumi:"latestReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate string `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType string `pulumi:"supportType"` +} + +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Link to access the documentation for the release. + DocUrl pulumi.StringInput `pulumi:"docUrl"` + // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` + // The version identifier for the Java family. + FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` + // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. + IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` + // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. + LatestReleaseArtifacts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` + // Latest Java release version in the family. + LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` + // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + // This indicates the support category for the Java release family. + SupportType pulumi.StringInput `pulumi:"supportType"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray{ GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Link to access the documentation for the release. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) DocUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.DocUrl }).(pulumi.StringOutput) +} + +// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) EndOfSupportLifeDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +} + +// The version identifier for the Java family. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) FamilyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.FamilyVersion }).(pulumi.StringOutput) +} + +// Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) IsSupportedVersion() pulumi.BoolOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) +} + +// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) LatestReleaseArtifacts() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact { + return v.LatestReleaseArtifacts + }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) +} + +// Latest Java release version in the family. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) LatestReleaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) +} + +// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.ReleaseDate }).(pulumi.StringOutput) +} + +// This indicates the support category for the Java release family. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) SupportType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.SupportType }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemFamilyDetail { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture string `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType string `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription string `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName string `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId string `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl string `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily string `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType string `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail string `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 string `pulumi:"sha256"` +} + +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs struct { + // Approximate compressed file size in bytes. + ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` + // The target Operating System architecture for the artifact. + Architecture pulumi.StringInput `pulumi:"architecture"` + // Product content type of this artifact. + ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` + // Description of the binary artifact. Typically includes the OS, architecture, and installer type. + ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` + // The file name of the artifact. + ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` + // Unique identifier for the artifact. + ArtifactId pulumi.StringInput `pulumi:"artifactId"` + // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. + DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` + // The target Operating System family for the artifact. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The package type(typically the file extension) of the artifact. + PackageType pulumi.StringInput `pulumi:"packageType"` + // Additional information about the package type. + PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` + // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. + ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` + // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. + ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` + // SHA256 checksum of the artifact. + Sha256 pulumi.StringInput `pulumi:"sha256"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray{ GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { + return o +} + +// Approximate compressed file size in bytes. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ApproximateFileSizeInBytes + }).(pulumi.StringOutput) +} + +// The target Operating System architecture for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.Architecture + }).(pulumi.StringOutput) +} + +// Product content type of this artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ArtifactContentType + }).(pulumi.StringOutput) +} + +// Description of the binary artifact. Typically includes the OS, architecture, and installer type. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ArtifactDescription + }).(pulumi.StringOutput) +} + +// The file name of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ArtifactFileName + }).(pulumi.StringOutput) +} + +// Unique identifier for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ArtifactId + }).(pulumi.StringOutput) +} + +// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.DownloadUrl + }).(pulumi.StringOutput) +} + +// The target Operating System family for the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.OsFamily + }).(pulumi.StringOutput) +} + +// The package type(typically the file extension) of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.PackageType + }).(pulumi.StringOutput) +} + +// Additional information about the package type. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.PackageTypeDetail + }).(pulumi.StringOutput) +} + +// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ScriptChecksumUrl + }).(pulumi.StringOutput) +} + +// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.ScriptDownloadUrl + }).(pulumi.StringOutput) +} + +// SHA256 checksum of the artifact. +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { + return v.Sha256 + }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetail struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // Java license type. + LicenseType string `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl string `pulumi:"licenseUrl"` +} + +// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs and GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput + ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Java license type. + LicenseType pulumi.StringInput `pulumi:"licenseType"` + // Publicly accessible license URL containing the detailed terms and conditions. + LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray and GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray{ GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray []GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput + +func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Java license type. +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) LicenseType() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.LicenseType }).(pulumi.StringOutput) +} + +// Publicly accessible license URL containing the detailed terms and conditions. +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) LicenseUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.LicenseUrl }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemLicenseDetail { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemMosPatch struct { + // Commonly used name for the MoS release. + DisplayName string `pulumi:"displayName"` + // MoS URL to access the artifacts for the Java release. + PatchUrl string `pulumi:"patchUrl"` +} + +// GetJavaReleasesJavaReleaseCollectionItemMosPatchInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs and GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemMosPatchInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs{...} +type GetJavaReleasesJavaReleaseCollectionItemMosPatchInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput + ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs struct { + // Commonly used name for the MoS release. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // MoS URL to access the artifacts for the Java release. + PatchUrl pulumi.StringInput `pulumi:"patchUrl"` +} + +func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) +} + +// GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemMosPatchArray and GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput values. +// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput` via: +// +// GetJavaReleasesJavaReleaseCollectionItemMosPatchArray{ GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs{...} } +type GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput interface { + pulumi.Input + + ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput + ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput +} + +type GetJavaReleasesJavaReleaseCollectionItemMosPatchArray []GetJavaReleasesJavaReleaseCollectionItemMosPatchInput + +func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +} + +func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { + return i.ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(context.Background()) +} + +func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { + return o +} + +// Commonly used name for the MoS release. +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemMosPatch) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// MoS URL to access the artifacts for the Java release. +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) PatchUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemMosPatch) string { return v.PatchUrl }).(pulumi.StringOutput) +} + +type GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput struct{ *pulumi.OutputState } + +func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +} + +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { + return o +} + +func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemMosPatch { + return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemMosPatch)[vs[1].(int)] + }).(GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) +} + +type GetJmsPluginsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetJmsPluginsFilterInput is an input type that accepts GetJmsPluginsFilterArgs and GetJmsPluginsFilterOutput values. +// You can construct a concrete instance of `GetJmsPluginsFilterInput` via: +// +// GetJmsPluginsFilterArgs{...} +type GetJmsPluginsFilterInput interface { + pulumi.Input + + ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput + ToGetJmsPluginsFilterOutputWithContext(context.Context) GetJmsPluginsFilterOutput +} + +type GetJmsPluginsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetJmsPluginsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsFilter)(nil)).Elem() +} + +func (i GetJmsPluginsFilterArgs) ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput { + return i.ToGetJmsPluginsFilterOutputWithContext(context.Background()) +} + +func (i GetJmsPluginsFilterArgs) ToGetJmsPluginsFilterOutputWithContext(ctx context.Context) GetJmsPluginsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsFilterOutput) +} + +// GetJmsPluginsFilterArrayInput is an input type that accepts GetJmsPluginsFilterArray and GetJmsPluginsFilterArrayOutput values. +// You can construct a concrete instance of `GetJmsPluginsFilterArrayInput` via: +// +// GetJmsPluginsFilterArray{ GetJmsPluginsFilterArgs{...} } +type GetJmsPluginsFilterArrayInput interface { + pulumi.Input + + ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput + ToGetJmsPluginsFilterArrayOutputWithContext(context.Context) GetJmsPluginsFilterArrayOutput +} + +type GetJmsPluginsFilterArray []GetJmsPluginsFilterInput + +func (GetJmsPluginsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsFilter)(nil)).Elem() } -// Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) FamilyDetails() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemFamilyDetail { - return v.FamilyDetails - }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) +func (i GetJmsPluginsFilterArray) ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput { + return i.ToGetJmsPluginsFilterArrayOutputWithContext(context.Background()) } -// The version identifier for the Java family. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) FamilyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.FamilyVersion }).(pulumi.StringOutput) +func (i GetJmsPluginsFilterArray) ToGetJmsPluginsFilterArrayOutputWithContext(ctx context.Context) GetJmsPluginsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsFilterArrayOutput) } -// Information about a license type for Java. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) LicenseDetails() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemLicenseDetail { - return v.LicenseDetails - }).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) +type GetJmsPluginsFilterOutput struct{ *pulumi.OutputState } + +func (GetJmsPluginsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsFilter)(nil)).Elem() } -// Java license type. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) LicenseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.LicenseType }).(pulumi.StringOutput) +func (o GetJmsPluginsFilterOutput) ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput { + return o } -// List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) MosPatches() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) []GetJavaReleasesJavaReleaseCollectionItemMosPatch { - return v.MosPatches - }).(GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) +func (o GetJmsPluginsFilterOutput) ToGetJmsPluginsFilterOutputWithContext(ctx context.Context) GetJmsPluginsFilterOutput { + return o +} + +func (o GetJmsPluginsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetJmsPluginsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJmsPluginsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetJmsPluginsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJmsPluginsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetJmsPluginsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetJmsPluginsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsFilter)(nil)).Elem() +} + +func (o GetJmsPluginsFilterArrayOutput) ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput { + return o +} + +func (o GetJmsPluginsFilterArrayOutput) ToGetJmsPluginsFilterArrayOutputWithContext(ctx context.Context) GetJmsPluginsFilterArrayOutput { + return o +} + +func (o GetJmsPluginsFilterArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsFilter { + return vs[0].([]GetJmsPluginsFilter)[vs[1].(int)] + }).(GetJmsPluginsFilterOutput) +} + +type GetJmsPluginsJmsPluginCollection struct { + Items []GetJmsPluginsJmsPluginCollectionItem `pulumi:"items"` +} + +// GetJmsPluginsJmsPluginCollectionInput is an input type that accepts GetJmsPluginsJmsPluginCollectionArgs and GetJmsPluginsJmsPluginCollectionOutput values. +// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionInput` via: +// +// GetJmsPluginsJmsPluginCollectionArgs{...} +type GetJmsPluginsJmsPluginCollectionInput interface { + pulumi.Input + + ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput + ToGetJmsPluginsJmsPluginCollectionOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionOutput +} + +type GetJmsPluginsJmsPluginCollectionArgs struct { + Items GetJmsPluginsJmsPluginCollectionItemArrayInput `pulumi:"items"` +} + +func (GetJmsPluginsJmsPluginCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsJmsPluginCollection)(nil)).Elem() +} + +func (i GetJmsPluginsJmsPluginCollectionArgs) ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput { + return i.ToGetJmsPluginsJmsPluginCollectionOutputWithContext(context.Background()) +} + +func (i GetJmsPluginsJmsPluginCollectionArgs) ToGetJmsPluginsJmsPluginCollectionOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionOutput) +} + +// GetJmsPluginsJmsPluginCollectionArrayInput is an input type that accepts GetJmsPluginsJmsPluginCollectionArray and GetJmsPluginsJmsPluginCollectionArrayOutput values. +// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionArrayInput` via: +// +// GetJmsPluginsJmsPluginCollectionArray{ GetJmsPluginsJmsPluginCollectionArgs{...} } +type GetJmsPluginsJmsPluginCollectionArrayInput interface { + pulumi.Input + + ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput + ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput +} + +type GetJmsPluginsJmsPluginCollectionArray []GetJmsPluginsJmsPluginCollectionInput + +func (GetJmsPluginsJmsPluginCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollection)(nil)).Elem() +} + +func (i GetJmsPluginsJmsPluginCollectionArray) ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput { + return i.ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetJmsPluginsJmsPluginCollectionArray) ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionArrayOutput) +} + +type GetJmsPluginsJmsPluginCollectionOutput struct{ *pulumi.OutputState } + +func (GetJmsPluginsJmsPluginCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsJmsPluginCollection)(nil)).Elem() +} + +func (o GetJmsPluginsJmsPluginCollectionOutput) ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput { + return o +} + +func (o GetJmsPluginsJmsPluginCollectionOutput) ToGetJmsPluginsJmsPluginCollectionOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionOutput { + return o +} + +func (o GetJmsPluginsJmsPluginCollectionOutput) Items() GetJmsPluginsJmsPluginCollectionItemArrayOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollection) []GetJmsPluginsJmsPluginCollectionItem { return v.Items }).(GetJmsPluginsJmsPluginCollectionItemArrayOutput) +} + +type GetJmsPluginsJmsPluginCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetJmsPluginsJmsPluginCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollection)(nil)).Elem() +} + +func (o GetJmsPluginsJmsPluginCollectionArrayOutput) ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput { + return o +} + +func (o GetJmsPluginsJmsPluginCollectionArrayOutput) ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput { + return o +} + +func (o GetJmsPluginsJmsPluginCollectionArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsJmsPluginCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsJmsPluginCollection { + return vs[0].([]GetJmsPluginsJmsPluginCollection)[vs[1].(int)] + }).(GetJmsPluginsJmsPluginCollectionOutput) +} + +type GetJmsPluginsJmsPluginCollectionItem struct { + // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. + AgentId string `pulumi:"agentId"` + // Filter JmsPlugin with agent type. + AgentType string `pulumi:"agentType"` + // Filter JmsPlugin with its availability status. + AvailabilityStatus string `pulumi:"availabilityStatus"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags map[string]string `pulumi:"definedTags"` + // The ID of the Fleet. + FleetId string `pulumi:"fleetId"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags map[string]string `pulumi:"freeformTags"` + // The hostname of the agent. + Hostname string `pulumi:"hostname"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. + Id string `pulumi:"id"` + // The architecture of the operating system of the plugin. + OsArchitecture string `pulumi:"osArchitecture"` + // The distribution of the operating system of the plugin. + OsDistribution string `pulumi:"osDistribution"` + // The operating system family for the plugin. + OsFamily string `pulumi:"osFamily"` + // The version of the plugin. + PluginVersion string `pulumi:"pluginVersion"` + // Filter JmsPlugin with its lifecycle state. + State string `pulumi:"state"` + // 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 resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen string `pulumi:"timeLastSeen"` + // The date and time the plugin was registered. + TimeRegistered string `pulumi:"timeRegistered"` +} + +// GetJmsPluginsJmsPluginCollectionItemInput is an input type that accepts GetJmsPluginsJmsPluginCollectionItemArgs and GetJmsPluginsJmsPluginCollectionItemOutput values. +// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionItemInput` via: +// +// GetJmsPluginsJmsPluginCollectionItemArgs{...} +type GetJmsPluginsJmsPluginCollectionItemInput interface { + pulumi.Input + + ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput + ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionItemOutput +} + +type GetJmsPluginsJmsPluginCollectionItemArgs struct { + // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. + AgentId pulumi.StringInput `pulumi:"agentId"` + // Filter JmsPlugin with agent type. + AgentType pulumi.StringInput `pulumi:"agentType"` + // Filter JmsPlugin with its availability status. + AvailabilityStatus pulumi.StringInput `pulumi:"availabilityStatus"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). + DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + // The ID of the Fleet. + FleetId pulumi.StringInput `pulumi:"fleetId"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // The hostname of the agent. + Hostname pulumi.StringInput `pulumi:"hostname"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. + Id pulumi.StringInput `pulumi:"id"` + // The architecture of the operating system of the plugin. + OsArchitecture pulumi.StringInput `pulumi:"osArchitecture"` + // The distribution of the operating system of the plugin. + OsDistribution pulumi.StringInput `pulumi:"osDistribution"` + // The operating system family for the plugin. + OsFamily pulumi.StringInput `pulumi:"osFamily"` + // The version of the plugin. + PluginVersion pulumi.StringInput `pulumi:"pluginVersion"` + // Filter JmsPlugin with its lifecycle state. + State pulumi.StringInput `pulumi:"state"` + // 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 resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` + // The date and time the plugin was registered. + TimeRegistered pulumi.StringInput `pulumi:"timeRegistered"` +} + +func (GetJmsPluginsJmsPluginCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() } -// Parent Java release version identifier. This is applicable for BPR releases. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ParentReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ParentReleaseVersion }).(pulumi.StringOutput) +func (i GetJmsPluginsJmsPluginCollectionItemArgs) ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput { + return i.ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(context.Background()) } -// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseDate }).(pulumi.StringOutput) +func (i GetJmsPluginsJmsPluginCollectionItemArgs) ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionItemOutput) } -// Release notes associated with the Java version. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseNotesUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseNotesUrl }).(pulumi.StringOutput) +// GetJmsPluginsJmsPluginCollectionItemArrayInput is an input type that accepts GetJmsPluginsJmsPluginCollectionItemArray and GetJmsPluginsJmsPluginCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionItemArrayInput` via: +// +// GetJmsPluginsJmsPluginCollectionItemArray{ GetJmsPluginsJmsPluginCollectionItemArgs{...} } +type GetJmsPluginsJmsPluginCollectionItemArrayInput interface { + pulumi.Input + + ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput + ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput } -// Java release type. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseType }).(pulumi.StringOutput) +type GetJmsPluginsJmsPluginCollectionItemArray []GetJmsPluginsJmsPluginCollectionItemInput + +func (GetJmsPluginsJmsPluginCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() } -// Unique Java release version identifier -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) ReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.ReleaseVersion }).(pulumi.StringOutput) +func (i GetJmsPluginsJmsPluginCollectionItemArray) ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput { + return i.ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(context.Background()) } -// The security status of the Java version. -func (o GetJavaReleasesJavaReleaseCollectionItemOutput) SecurityStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItem) string { return v.SecurityStatus }).(pulumi.StringOutput) +func (i GetJmsPluginsJmsPluginCollectionItemArray) ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionItemArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetJmsPluginsJmsPluginCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItem)(nil)).Elem() +func (GetJmsPluginsJmsPluginCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArrayOutput { +func (o GetJmsPluginsJmsPluginCollectionItemOutput) ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArrayOutput { +func (o GetJmsPluginsJmsPluginCollectionItemOutput) ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItem { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItem)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemOutput) +// The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) AgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AgentId }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` +// Filter JmsPlugin with agent type. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) AgentType() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AgentType }).(pulumi.StringOutput) } -// GetJavaReleasesJavaReleaseCollectionItemArtifactInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArtifactArgs and GetJavaReleasesJavaReleaseCollectionItemArtifactOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArtifactInput` via: -// -// GetJavaReleasesJavaReleaseCollectionItemArtifactArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemArtifactInput interface { - pulumi.Input - - ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput - ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput +// Filter JmsPlugin with its availability status. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) AvailabilityStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AvailabilityStatus }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. - Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -func (GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). +func (o GetJmsPluginsJmsPluginCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(context.Background()) +// The ID of the Fleet. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) FleetId() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.FleetId }).(pulumi.StringOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) +func (o GetJmsPluginsJmsPluginCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) } -// GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemArtifactArray and GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput` via: -// -// GetJavaReleasesJavaReleaseCollectionItemArtifactArray{ GetJavaReleasesJavaReleaseCollectionItemArtifactArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemArtifactArrayInput interface { - pulumi.Input +// The hostname of the agent. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.Hostname }).(pulumi.StringOutput) +} - ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemArtifactArray []GetJavaReleasesJavaReleaseCollectionItemArtifactInput +// The architecture of the operating system of the plugin. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsArchitecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsArchitecture }).(pulumi.StringOutput) +} -func (GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +// The distribution of the operating system of the plugin. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsDistribution() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsDistribution }).(pulumi.StringOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(context.Background()) +// The operating system family for the plugin. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsFamily }).(pulumi.StringOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) +// The version of the plugin. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) PluginVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.PluginVersion }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemArtifactOutput struct{ *pulumi.OutputState } +// Filter JmsPlugin with its lifecycle state. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.State }).(pulumi.StringOutput) +} -func (GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +// 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 GetJmsPluginsJmsPluginCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) } -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { - return o +// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { - return o +// The date and time the plugin was registered. +func (o GetJmsPluginsJmsPluginCollectionItemOutput) TimeRegistered() pulumi.StringOutput { + return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.TimeRegistered }).(pulumi.StringOutput) } -// Approximate compressed file size in bytes. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ApproximateFileSizeInBytes }).(pulumi.StringOutput) +type GetJmsPluginsJmsPluginCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetJmsPluginsJmsPluginCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() } -// The target Operating System architecture for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.Architecture }).(pulumi.StringOutput) +func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput { + return o } -// Product content type of this artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactContentType }).(pulumi.StringOutput) +func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput { + return o } -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactDescription }).(pulumi.StringOutput) +func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsJmsPluginCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsJmsPluginCollectionItem { + return vs[0].([]GetJmsPluginsJmsPluginCollectionItem)[vs[1].(int)] + }).(GetJmsPluginsJmsPluginCollectionItemOutput) } -// The file name of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactFileName }).(pulumi.StringOutput) +type GetListJreUsageItem struct { + // The approximate count of the applications running on this Java Runtime. + ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` + // The approximate count of installations that are installations of this Java Runtime. + ApproximateInstallationCount int `pulumi:"approximateInstallationCount"` + // The approximate count of the managed instances that report this Java Runtime. + ApproximateManagedInstanceCount int `pulumi:"approximateManagedInstanceCount"` + // The approximate count of work requests working on this Java Runtime. + ApproximatePendingWorkRequestCount int `pulumi:"approximatePendingWorkRequestCount"` + // The number of days since this release has been under the security baseline. + DaysUnderSecurityBaseline int `pulumi:"daysUnderSecurityBaseline"` + // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + Distribution string `pulumi:"distribution"` + // The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. + FleetId string `pulumi:"fleetId"` + // The internal identifier of the Java Runtime. + Id string `pulumi:"id"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // The operating systems that have this Java Runtime installed. + OperatingSystems []GetListJreUsageItemOperatingSystem `pulumi:"operatingSystems"` + // The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate string `pulumi:"releaseDate"` + // The security status of the Java Runtime. + SecurityStatus string `pulumi:"securityStatus"` + // The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeEnd string `pulumi:"timeEnd"` + // The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeFirstSeen string `pulumi:"timeFirstSeen"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen string `pulumi:"timeLastSeen"` + // The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeStart string `pulumi:"timeStart"` + // The vendor of the Java Runtime. + Vendor string `pulumi:"vendor"` + // The version of the Java Runtime. + Version string `pulumi:"version"` } -// Unique identifier for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ArtifactId }).(pulumi.StringOutput) -} +// GetListJreUsageItemInput is an input type that accepts GetListJreUsageItemArgs and GetListJreUsageItemOutput values. +// You can construct a concrete instance of `GetListJreUsageItemInput` via: +// +// GetListJreUsageItemArgs{...} +type GetListJreUsageItemInput interface { + pulumi.Input -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.DownloadUrl }).(pulumi.StringOutput) + ToGetListJreUsageItemOutput() GetListJreUsageItemOutput + ToGetListJreUsageItemOutputWithContext(context.Context) GetListJreUsageItemOutput } -// The target Operating System family for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.OsFamily }).(pulumi.StringOutput) +type GetListJreUsageItemArgs struct { + // The approximate count of the applications running on this Java Runtime. + ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` + // The approximate count of installations that are installations of this Java Runtime. + ApproximateInstallationCount pulumi.IntInput `pulumi:"approximateInstallationCount"` + // The approximate count of the managed instances that report this Java Runtime. + ApproximateManagedInstanceCount pulumi.IntInput `pulumi:"approximateManagedInstanceCount"` + // The approximate count of work requests working on this Java Runtime. + ApproximatePendingWorkRequestCount pulumi.IntInput `pulumi:"approximatePendingWorkRequestCount"` + // The number of days since this release has been under the security baseline. + DaysUnderSecurityBaseline pulumi.IntInput `pulumi:"daysUnderSecurityBaseline"` + // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + Distribution pulumi.StringInput `pulumi:"distribution"` + // The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. + FleetId pulumi.StringInput `pulumi:"fleetId"` + // The internal identifier of the Java Runtime. + Id pulumi.StringInput `pulumi:"id"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // The operating systems that have this Java Runtime installed. + OperatingSystems GetListJreUsageItemOperatingSystemArrayInput `pulumi:"operatingSystems"` + // The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + // The security status of the Java Runtime. + SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` + // The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeEnd pulumi.StringInput `pulumi:"timeEnd"` + // The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeFirstSeen pulumi.StringInput `pulumi:"timeFirstSeen"` + // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` + // The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + TimeStart pulumi.StringInput `pulumi:"timeStart"` + // The vendor of the Java Runtime. + Vendor pulumi.StringInput `pulumi:"vendor"` + // The version of the Java Runtime. + Version pulumi.StringInput `pulumi:"version"` } -// The package type(typically the file extension) of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.PackageType }).(pulumi.StringOutput) +func (GetListJreUsageItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListJreUsageItem)(nil)).Elem() } -// Additional information about the package type. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.PackageTypeDetail }).(pulumi.StringOutput) +func (i GetListJreUsageItemArgs) ToGetListJreUsageItemOutput() GetListJreUsageItemOutput { + return i.ToGetListJreUsageItemOutputWithContext(context.Background()) } -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ScriptChecksumUrl }).(pulumi.StringOutput) +func (i GetListJreUsageItemArgs) ToGetListJreUsageItemOutputWithContext(ctx context.Context) GetListJreUsageItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOutput) } -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.ScriptDownloadUrl }).(pulumi.StringOutput) -} +// GetListJreUsageItemArrayInput is an input type that accepts GetListJreUsageItemArray and GetListJreUsageItemArrayOutput values. +// You can construct a concrete instance of `GetListJreUsageItemArrayInput` via: +// +// GetListJreUsageItemArray{ GetListJreUsageItemArgs{...} } +type GetListJreUsageItemArrayInput interface { + pulumi.Input -// SHA256 checksum of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemArtifact) string { return v.Sha256 }).(pulumi.StringOutput) + ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput + ToGetListJreUsageItemArrayOutputWithContext(context.Context) GetListJreUsageItemArrayOutput } -type GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput struct{ *pulumi.OutputState } +type GetListJreUsageItemArray []GetListJreUsageItemInput -func (GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemArtifact)(nil)).Elem() +func (GetListJreUsageItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListJreUsageItem)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { - return o +func (i GetListJreUsageItemArray) ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput { + return i.ToGetListJreUsageItemArrayOutputWithContext(context.Background()) } -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput { - return o +func (i GetListJreUsageItemArray) ToGetListJreUsageItemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemArrayOutput) } -func (o GetJavaReleasesJavaReleaseCollectionItemArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemArtifact { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemArtifact)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemArtifactOutput) -} +type GetListJreUsageItemOutput struct{ *pulumi.OutputState } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetail struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl string `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` - // The version identifier for the Java family. - FamilyVersion string `pulumi:"familyVersion"` - // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. - IsSupportedVersion bool `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion string `pulumi:"latestReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate string `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType string `pulumi:"supportType"` +func (GetListJreUsageItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListJreUsageItem)(nil)).Elem() } -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput` via: -// -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput interface { - pulumi.Input - - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput +func (o GetListJreUsageItemOutput) ToGetListJreUsageItemOutput() GetListJreUsageItemOutput { + return o } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Link to access the documentation for the release. - DocUrl pulumi.StringInput `pulumi:"docUrl"` - // The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` - // The version identifier for the Java family. - FamilyVersion pulumi.StringInput `pulumi:"familyVersion"` - // Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. - IsSupportedVersion pulumi.BoolInput `pulumi:"isSupportedVersion"` - // List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. - LatestReleaseArtifacts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput `pulumi:"latestReleaseArtifacts"` - // Latest Java release version in the family. - LatestReleaseVersion pulumi.StringInput `pulumi:"latestReleaseVersion"` - // The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - // This indicates the support category for the Java release family. - SupportType pulumi.StringInput `pulumi:"supportType"` +func (o GetListJreUsageItemOutput) ToGetListJreUsageItemOutputWithContext(ctx context.Context) GetListJreUsageItemOutput { + return o } -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +// The approximate count of the applications running on this Java Runtime. +func (o GetListJreUsageItemOutput) ApproximateApplicationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(context.Background()) +// The approximate count of installations that are installations of this Java Runtime. +func (o GetListJreUsageItemOutput) ApproximateInstallationCount() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateInstallationCount }).(pulumi.IntOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) +// The approximate count of the managed instances that report this Java Runtime. +func (o GetListJreUsageItemOutput) ApproximateManagedInstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateManagedInstanceCount }).(pulumi.IntOutput) } -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput` via: -// -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray{ GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayInput interface { - pulumi.Input - - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput +// The approximate count of work requests working on this Java Runtime. +func (o GetListJreUsageItemOutput) ApproximatePendingWorkRequestCount() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximatePendingWorkRequestCount }).(pulumi.IntOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailInput - -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +// The number of days since this release has been under the security baseline. +func (o GetListJreUsageItemOutput) DaysUnderSecurityBaseline() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItem) int { return v.DaysUnderSecurityBaseline }).(pulumi.IntOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(context.Background()) +// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. +func (o GetListJreUsageItemOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.Distribution }).(pulumi.StringOutput) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) +// The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetListJreUsageItemOutput) EndOfSupportLifeDate() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput struct{ *pulumi.OutputState } - -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. +func (o GetListJreUsageItemOutput) FleetId() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.FleetId }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { - return o +// The internal identifier of the Java Runtime. +func (o GetListJreUsageItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { - return o +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. +func (o GetListJreUsageItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) } -// Commonly used name for the MoS release. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.DisplayName }).(pulumi.StringOutput) +// The operating systems that have this Java Runtime installed. +func (o GetListJreUsageItemOutput) OperatingSystems() GetListJreUsageItemOperatingSystemArrayOutput { + return o.ApplyT(func(v GetListJreUsageItem) []GetListJreUsageItemOperatingSystem { return v.OperatingSystems }).(GetListJreUsageItemOperatingSystemArrayOutput) } -// Link to access the documentation for the release. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) DocUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.DocUrl }).(pulumi.StringOutput) +// The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetListJreUsageItemOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.ReleaseDate }).(pulumi.StringOutput) } -// The End of Support Life (EOSL) date of the Java release family (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) EndOfSupportLifeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +// The security status of the Java Runtime. +func (o GetListJreUsageItemOutput) SecurityStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.SecurityStatus }).(pulumi.StringOutput) } -// The version identifier for the Java family. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) FamilyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.FamilyVersion }).(pulumi.StringOutput) +// The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetListJreUsageItemOutput) TimeEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeEnd }).(pulumi.StringOutput) } -// Whether or not this Java release family is under active support. Refer [Java Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) for more details. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) IsSupportedVersion() pulumi.BoolOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) bool { return v.IsSupportedVersion }).(pulumi.BoolOutput) +// The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. +func (o GetListJreUsageItemOutput) TimeFirstSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeFirstSeen }).(pulumi.StringOutput) } -// List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) LatestReleaseArtifacts() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact { - return v.LatestReleaseArtifacts - }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) +// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. +func (o GetListJreUsageItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -// Latest Java release version in the family. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) LatestReleaseVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.LatestReleaseVersion }).(pulumi.StringOutput) +// The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). +func (o GetListJreUsageItemOutput) TimeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeStart }).(pulumi.StringOutput) } -// The release date of the Java version (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.ReleaseDate }).(pulumi.StringOutput) +// The vendor of the Java Runtime. +func (o GetListJreUsageItemOutput) Vendor() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.Vendor }).(pulumi.StringOutput) } -// This indicates the support category for the Java release family. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) SupportType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetail) string { return v.SupportType }).(pulumi.StringOutput) +// The version of the Java Runtime. +func (o GetListJreUsageItemOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItem) string { return v.Version }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput struct{ *pulumi.OutputState } +type GetListJreUsageItemArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)(nil)).Elem() +func (GetListJreUsageItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListJreUsageItem)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { +func (o GetListJreUsageItemArrayOutput) ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput { +func (o GetListJreUsageItemArrayOutput) ToGetListJreUsageItemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemFamilyDetail { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemFamilyDetail)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailOutput) +func (o GetListJreUsageItemArrayOutput) Index(i pulumi.IntInput) GetListJreUsageItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListJreUsageItem { + return vs[0].([]GetListJreUsageItem)[vs[1].(int)] + }).(GetListJreUsageItemOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes string `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. +type GetListJreUsageItemOperatingSystem struct { + // The architecture of the operating system as provided by the Java system property os.arch. Architecture string `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType string `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription string `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName string `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId string `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl string `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily string `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType string `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail string `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl string `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl string `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 string `pulumi:"sha256"` + // The operating system type, such as Windows or Linux + Family string `pulumi:"family"` + // Number of instances running the operating system + ManagedInstanceCount int `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name string `pulumi:"name"` + // The version of the Java Runtime. + Version string `pulumi:"version"` } -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput` via: +// GetListJreUsageItemOperatingSystemInput is an input type that accepts GetListJreUsageItemOperatingSystemArgs and GetListJreUsageItemOperatingSystemOutput values. +// You can construct a concrete instance of `GetListJreUsageItemOperatingSystemInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput interface { +// GetListJreUsageItemOperatingSystemArgs{...} +type GetListJreUsageItemOperatingSystemInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput + ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput + ToGetListJreUsageItemOperatingSystemOutputWithContext(context.Context) GetListJreUsageItemOperatingSystemOutput } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs struct { - // Approximate compressed file size in bytes. - ApproximateFileSizeInBytes pulumi.StringInput `pulumi:"approximateFileSizeInBytes"` - // The target Operating System architecture for the artifact. +type GetListJreUsageItemOperatingSystemArgs struct { + // The architecture of the operating system as provided by the Java system property os.arch. Architecture pulumi.StringInput `pulumi:"architecture"` - // Product content type of this artifact. - ArtifactContentType pulumi.StringInput `pulumi:"artifactContentType"` - // Description of the binary artifact. Typically includes the OS, architecture, and installer type. - ArtifactDescription pulumi.StringInput `pulumi:"artifactDescription"` - // The file name of the artifact. - ArtifactFileName pulumi.StringInput `pulumi:"artifactFileName"` - // Unique identifier for the artifact. - ArtifactId pulumi.StringInput `pulumi:"artifactId"` - // The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. - DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"` - // The target Operating System family for the artifact. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The package type(typically the file extension) of the artifact. - PackageType pulumi.StringInput `pulumi:"packageType"` - // Additional information about the package type. - PackageTypeDetail pulumi.StringInput `pulumi:"packageTypeDetail"` - // The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. - ScriptChecksumUrl pulumi.StringInput `pulumi:"scriptChecksumUrl"` - // The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. - ScriptDownloadUrl pulumi.StringInput `pulumi:"scriptDownloadUrl"` - // SHA256 checksum of the artifact. - Sha256 pulumi.StringInput `pulumi:"sha256"` + // The operating system type, such as Windows or Linux + Family pulumi.StringInput `pulumi:"family"` + // Number of instances running the operating system + ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` + // The name of the operating system as provided by the Java system property os.name. + Name pulumi.StringInput `pulumi:"name"` + // The version of the Java Runtime. + Version pulumi.StringInput `pulumi:"version"` } -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetListJreUsageItemOperatingSystemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListJreUsageItemOperatingSystem)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(context.Background()) +func (i GetListJreUsageItemOperatingSystemArgs) ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput { + return i.ToGetListJreUsageItemOperatingSystemOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) +func (i GetListJreUsageItemOperatingSystemArgs) ToGetListJreUsageItemOperatingSystemOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOperatingSystemOutput) } -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray and GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput` via: +// GetListJreUsageItemOperatingSystemArrayInput is an input type that accepts GetListJreUsageItemOperatingSystemArray and GetListJreUsageItemOperatingSystemArrayOutput values. +// You can construct a concrete instance of `GetListJreUsageItemOperatingSystemArrayInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray{ GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayInput interface { +// GetListJreUsageItemOperatingSystemArray{ GetListJreUsageItemOperatingSystemArgs{...} } +type GetListJreUsageItemOperatingSystemArrayInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput + ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput + ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(context.Context) GetListJreUsageItemOperatingSystemArrayOutput } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray []GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactInput +type GetListJreUsageItemOperatingSystemArray []GetListJreUsageItemOperatingSystemInput -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetListJreUsageItemOperatingSystemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListJreUsageItemOperatingSystem)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(context.Background()) +func (i GetListJreUsageItemOperatingSystemArray) ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput { + return i.ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArray) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) +func (i GetListJreUsageItemOperatingSystemArray) ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOperatingSystemArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput struct{ *pulumi.OutputState } +type GetListJreUsageItemOperatingSystemOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetListJreUsageItemOperatingSystemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListJreUsageItemOperatingSystem)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { +func (o GetListJreUsageItemOperatingSystemOutput) ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { +func (o GetListJreUsageItemOperatingSystemOutput) ToGetListJreUsageItemOperatingSystemOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemOutput { return o } -// Approximate compressed file size in bytes. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ApproximateFileSizeInBytes() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ApproximateFileSizeInBytes - }).(pulumi.StringOutput) -} - -// The target Operating System architecture for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.Architecture - }).(pulumi.StringOutput) -} - -// Product content type of this artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ArtifactContentType - }).(pulumi.StringOutput) -} - -// Description of the binary artifact. Typically includes the OS, architecture, and installer type. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ArtifactDescription - }).(pulumi.StringOutput) -} - -// The file name of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ArtifactFileName - }).(pulumi.StringOutput) -} - -// Unique identifier for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ArtifactId() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ArtifactId - }).(pulumi.StringOutput) -} - -// The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this [API](https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl) for more details. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) DownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.DownloadUrl - }).(pulumi.StringOutput) -} - -// The target Operating System family for the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.OsFamily - }).(pulumi.StringOutput) -} - -// The package type(typically the file extension) of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.PackageType - }).(pulumi.StringOutput) +// The architecture of the operating system as provided by the Java system property os.arch. +func (o GetListJreUsageItemOperatingSystemOutput) Architecture() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Architecture }).(pulumi.StringOutput) } -// Additional information about the package type. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) PackageTypeDetail() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.PackageTypeDetail - }).(pulumi.StringOutput) +// The operating system type, such as Windows or Linux +func (o GetListJreUsageItemOperatingSystemOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) } -// The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ScriptChecksumUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ScriptChecksumUrl - }).(pulumi.StringOutput) +// Number of instances running the operating system +func (o GetListJreUsageItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) int { return v.ManagedInstanceCount }).(pulumi.IntOutput) } -// The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) ScriptDownloadUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.ScriptDownloadUrl - }).(pulumi.StringOutput) +// The name of the operating system as provided by the Java system property os.name. +func (o GetListJreUsageItemOperatingSystemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) } -// SHA256 checksum of the artifact. -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) Sha256() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact) string { - return v.Sha256 - }).(pulumi.StringOutput) +// The version of the Java Runtime. +func (o GetListJreUsageItemOperatingSystemOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) } -type GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput struct{ *pulumi.OutputState } +type GetListJreUsageItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)(nil)).Elem() +func (GetListJreUsageItemOperatingSystemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListJreUsageItemOperatingSystem)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput() GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { +func (o GetListJreUsageItemOperatingSystemArrayOutput) ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput { +func (o GetListJreUsageItemOperatingSystemArrayOutput) ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifact)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemFamilyDetailLatestReleaseArtifactOutput) +func (o GetListJreUsageItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetListJreUsageItemOperatingSystemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListJreUsageItemOperatingSystem { + return vs[0].([]GetListJreUsageItemOperatingSystem)[vs[1].(int)] + }).(GetListJreUsageItemOperatingSystemOutput) } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetail struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // Java license type. - LicenseType string `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl string `pulumi:"licenseUrl"` +type GetPluginErrorAnalyticsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs and GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput` via: +// GetPluginErrorAnalyticsFilterInput is an input type that accepts GetPluginErrorAnalyticsFilterArgs and GetPluginErrorAnalyticsFilterOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsFilterInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput interface { +// GetPluginErrorAnalyticsFilterArgs{...} +type GetPluginErrorAnalyticsFilterInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput - ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput + ToGetPluginErrorAnalyticsFilterOutput() GetPluginErrorAnalyticsFilterOutput + ToGetPluginErrorAnalyticsFilterOutputWithContext(context.Context) GetPluginErrorAnalyticsFilterOutput } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Java license type. - LicenseType pulumi.StringInput `pulumi:"licenseType"` - // Publicly accessible license URL containing the detailed terms and conditions. - LicenseUrl pulumi.StringInput `pulumi:"licenseUrl"` +type GetPluginErrorAnalyticsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +func (GetPluginErrorAnalyticsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsFilter)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsFilterArgs) ToGetPluginErrorAnalyticsFilterOutput() GetPluginErrorAnalyticsFilterOutput { + return i.ToGetPluginErrorAnalyticsFilterOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) +func (i GetPluginErrorAnalyticsFilterArgs) ToGetPluginErrorAnalyticsFilterOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsFilterOutput) } -// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray and GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput` via: +// GetPluginErrorAnalyticsFilterArrayInput is an input type that accepts GetPluginErrorAnalyticsFilterArray and GetPluginErrorAnalyticsFilterArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsFilterArrayInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray{ GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayInput interface { +// GetPluginErrorAnalyticsFilterArray{ GetPluginErrorAnalyticsFilterArgs{...} } +type GetPluginErrorAnalyticsFilterArrayInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput + ToGetPluginErrorAnalyticsFilterArrayOutput() GetPluginErrorAnalyticsFilterArrayOutput + ToGetPluginErrorAnalyticsFilterArrayOutputWithContext(context.Context) GetPluginErrorAnalyticsFilterArrayOutput } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray []GetJavaReleasesJavaReleaseCollectionItemLicenseDetailInput +type GetPluginErrorAnalyticsFilterArray []GetPluginErrorAnalyticsFilterInput -func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +func (GetPluginErrorAnalyticsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsFilter)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsFilterArray) ToGetPluginErrorAnalyticsFilterArrayOutput() GetPluginErrorAnalyticsFilterArrayOutput { + return i.ToGetPluginErrorAnalyticsFilterArrayOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArray) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) +func (i GetPluginErrorAnalyticsFilterArray) ToGetPluginErrorAnalyticsFilterArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsFilterArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsFilterOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +func (GetPluginErrorAnalyticsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsFilter)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { +func (o GetPluginErrorAnalyticsFilterOutput) ToGetPluginErrorAnalyticsFilterOutput() GetPluginErrorAnalyticsFilterOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { +func (o GetPluginErrorAnalyticsFilterOutput) ToGetPluginErrorAnalyticsFilterOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsFilterOutput { return o } -// Commonly used name for the MoS release. -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetPluginErrorAnalyticsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsFilter) string { return v.Name }).(pulumi.StringOutput) } -// Java license type. -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) LicenseType() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.LicenseType }).(pulumi.StringOutput) +func (o GetPluginErrorAnalyticsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Publicly accessible license URL containing the detailed terms and conditions. -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) LicenseUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemLicenseDetail) string { return v.LicenseUrl }).(pulumi.StringOutput) +func (o GetPluginErrorAnalyticsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)(nil)).Elem() +func (GetPluginErrorAnalyticsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsFilter)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput() GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { +func (o GetPluginErrorAnalyticsFilterArrayOutput) ToGetPluginErrorAnalyticsFilterArrayOutput() GetPluginErrorAnalyticsFilterArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput { +func (o GetPluginErrorAnalyticsFilterArrayOutput) ToGetPluginErrorAnalyticsFilterArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsFilterArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemLicenseDetailArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemLicenseDetail { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemLicenseDetail)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemLicenseDetailOutput) +func (o GetPluginErrorAnalyticsFilterArrayOutput) Index(i pulumi.IntInput) GetPluginErrorAnalyticsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorAnalyticsFilter { + return vs[0].([]GetPluginErrorAnalyticsFilter)[vs[1].(int)] + }).(GetPluginErrorAnalyticsFilterOutput) } -type GetJavaReleasesJavaReleaseCollectionItemMosPatch struct { - // Commonly used name for the MoS release. - DisplayName string `pulumi:"displayName"` - // MoS URL to access the artifacts for the Java release. - PatchUrl string `pulumi:"patchUrl"` +type GetPluginErrorAnalyticsPluginErrorAggregationCollection struct { + // A list of PluginErrorAggregationSummary. + Items []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem `pulumi:"items"` } -// GetJavaReleasesJavaReleaseCollectionItemMosPatchInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs and GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemMosPatchInput` via: +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs and GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs{...} -type GetJavaReleasesJavaReleaseCollectionItemMosPatchInput interface { +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs{...} +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput - ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput } -type GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs struct { - // Commonly used name for the MoS release. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // MoS URL to access the artifacts for the Java release. - PatchUrl pulumi.StringInput `pulumi:"patchUrl"` +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs struct { + // A list of PluginErrorAggregationSummary. + Items GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayInput `pulumi:"items"` } -func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollection)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) } -// GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput is an input type that accepts GetJavaReleasesJavaReleaseCollectionItemMosPatchArray and GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput values. -// You can construct a concrete instance of `GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput` via: +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray and GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayInput` via: // -// GetJavaReleasesJavaReleaseCollectionItemMosPatchArray{ GetJavaReleasesJavaReleaseCollectionItemMosPatchArgs{...} } -type GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayInput interface { +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray{ GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs{...} } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayInput interface { pulumi.Input - ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput - ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput } -type GetJavaReleasesJavaReleaseCollectionItemMosPatchArray []GetJavaReleasesJavaReleaseCollectionItemMosPatchInput +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray []GetPluginErrorAnalyticsPluginErrorAggregationCollectionInput -func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollection)(nil)).Elem() } -func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { - return i.ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutputWithContext(context.Background()) } -func (i GetJavaReleasesJavaReleaseCollectionItemMosPatchArray) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollection)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput { return o } -// Commonly used name for the MoS release. -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemMosPatch) string { return v.DisplayName }).(pulumi.StringOutput) -} - -// MoS URL to access the artifacts for the Java release. -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) PatchUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetJavaReleasesJavaReleaseCollectionItemMosPatch) string { return v.PatchUrl }).(pulumi.StringOutput) +// A list of PluginErrorAggregationSummary. +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) Items() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsPluginErrorAggregationCollection) []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem { + return v.Items + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) } -type GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJavaReleasesJavaReleaseCollectionItemMosPatch)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollection)(nil)).Elem() } -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput() GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) ToGetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutputWithContext(ctx context.Context) GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput { return o } -func (o GetJavaReleasesJavaReleaseCollectionItemMosPatchArrayOutput) Index(i pulumi.IntInput) GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJavaReleasesJavaReleaseCollectionItemMosPatch { - return vs[0].([]GetJavaReleasesJavaReleaseCollectionItemMosPatch)[vs[1].(int)] - }).(GetJavaReleasesJavaReleaseCollectionItemMosPatchOutput) +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput) Index(i pulumi.IntInput) GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorAnalyticsPluginErrorAggregationCollection { + return vs[0].([]GetPluginErrorAnalyticsPluginErrorAggregationCollection)[vs[1].(int)] + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput) } -type GetJmsPluginsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem struct { + // Count of plugins with no problems. + HealthyPluginCount int `pulumi:"healthyPluginCount"` + // List of plugin aggregation errors. + PluginErrorAggregations []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation `pulumi:"pluginErrorAggregations"` } -// GetJmsPluginsFilterInput is an input type that accepts GetJmsPluginsFilterArgs and GetJmsPluginsFilterOutput values. -// You can construct a concrete instance of `GetJmsPluginsFilterInput` via: +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs and GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemInput` via: // -// GetJmsPluginsFilterArgs{...} -type GetJmsPluginsFilterInput interface { +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs{...} +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemInput interface { pulumi.Input - ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput - ToGetJmsPluginsFilterOutputWithContext(context.Context) GetJmsPluginsFilterOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput } -type GetJmsPluginsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs struct { + // Count of plugins with no problems. + HealthyPluginCount pulumi.IntInput `pulumi:"healthyPluginCount"` + // List of plugin aggregation errors. + PluginErrorAggregations GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayInput `pulumi:"pluginErrorAggregations"` } -func (GetJmsPluginsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsFilter)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem)(nil)).Elem() } -func (i GetJmsPluginsFilterArgs) ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput { - return i.ToGetJmsPluginsFilterOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutputWithContext(context.Background()) } -func (i GetJmsPluginsFilterArgs) ToGetJmsPluginsFilterOutputWithContext(ctx context.Context) GetJmsPluginsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsFilterOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) } -// GetJmsPluginsFilterArrayInput is an input type that accepts GetJmsPluginsFilterArray and GetJmsPluginsFilterArrayOutput values. -// You can construct a concrete instance of `GetJmsPluginsFilterArrayInput` via: +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray and GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayInput` via: // -// GetJmsPluginsFilterArray{ GetJmsPluginsFilterArgs{...} } -type GetJmsPluginsFilterArrayInput interface { +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray{ GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs{...} } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayInput interface { pulumi.Input - ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput - ToGetJmsPluginsFilterArrayOutputWithContext(context.Context) GetJmsPluginsFilterArrayOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput } -type GetJmsPluginsFilterArray []GetJmsPluginsFilterInput +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemInput -func (GetJmsPluginsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsFilter)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem)(nil)).Elem() } -func (i GetJmsPluginsFilterArray) ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput { - return i.ToGetJmsPluginsFilterArrayOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetJmsPluginsFilterArray) ToGetJmsPluginsFilterArrayOutputWithContext(ctx context.Context) GetJmsPluginsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsFilterArrayOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) } -type GetJmsPluginsFilterOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput struct{ *pulumi.OutputState } -func (GetJmsPluginsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsFilter)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem)(nil)).Elem() } -func (o GetJmsPluginsFilterOutput) ToGetJmsPluginsFilterOutput() GetJmsPluginsFilterOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput { return o } -func (o GetJmsPluginsFilterOutput) ToGetJmsPluginsFilterOutputWithContext(ctx context.Context) GetJmsPluginsFilterOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput { return o } -func (o GetJmsPluginsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetJmsPluginsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJmsPluginsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// Count of plugins with no problems. +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) HealthyPluginCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem) int { return v.HealthyPluginCount }).(pulumi.IntOutput) } -func (o GetJmsPluginsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJmsPluginsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// List of plugin aggregation errors. +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) PluginErrorAggregations() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem) []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation { + return v.PluginErrorAggregations + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) } -type GetJmsPluginsFilterArrayOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetJmsPluginsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsFilter)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem)(nil)).Elem() } -func (o GetJmsPluginsFilterArrayOutput) ToGetJmsPluginsFilterArrayOutput() GetJmsPluginsFilterArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput { return o } -func (o GetJmsPluginsFilterArrayOutput) ToGetJmsPluginsFilterArrayOutputWithContext(ctx context.Context) GetJmsPluginsFilterArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput { return o } -func (o GetJmsPluginsFilterArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsFilter { - return vs[0].([]GetJmsPluginsFilter)[vs[1].(int)] - }).(GetJmsPluginsFilterOutput) +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput) Index(i pulumi.IntInput) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem { + return vs[0].([]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem)[vs[1].(int)] + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput) } -type GetJmsPluginsJmsPluginCollection struct { - Items []GetJmsPluginsJmsPluginCollectionItem `pulumi:"items"` +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation struct { + // Number of FleetErrors encountered for the specific reason. + PluginErrorAnalyticCount int `pulumi:"pluginErrorAnalyticCount"` + // Enum that uniquely identifies the plugin error. + Reason string `pulumi:"reason"` } -// GetJmsPluginsJmsPluginCollectionInput is an input type that accepts GetJmsPluginsJmsPluginCollectionArgs and GetJmsPluginsJmsPluginCollectionOutput values. -// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionInput` via: +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs and GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationInput` via: // -// GetJmsPluginsJmsPluginCollectionArgs{...} -type GetJmsPluginsJmsPluginCollectionInput interface { +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs{...} +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationInput interface { pulumi.Input - ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput - ToGetJmsPluginsJmsPluginCollectionOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionOutput -} - -type GetJmsPluginsJmsPluginCollectionArgs struct { - Items GetJmsPluginsJmsPluginCollectionItemArrayInput `pulumi:"items"` -} - -func (GetJmsPluginsJmsPluginCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsJmsPluginCollection)(nil)).Elem() -} - -func (i GetJmsPluginsJmsPluginCollectionArgs) ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput { - return i.ToGetJmsPluginsJmsPluginCollectionOutputWithContext(context.Background()) -} - -func (i GetJmsPluginsJmsPluginCollectionArgs) ToGetJmsPluginsJmsPluginCollectionOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionOutput) + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput } -// GetJmsPluginsJmsPluginCollectionArrayInput is an input type that accepts GetJmsPluginsJmsPluginCollectionArray and GetJmsPluginsJmsPluginCollectionArrayOutput values. -// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionArrayInput` via: -// -// GetJmsPluginsJmsPluginCollectionArray{ GetJmsPluginsJmsPluginCollectionArgs{...} } -type GetJmsPluginsJmsPluginCollectionArrayInput interface { - pulumi.Input - - ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput - ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs struct { + // Number of FleetErrors encountered for the specific reason. + PluginErrorAnalyticCount pulumi.IntInput `pulumi:"pluginErrorAnalyticCount"` + // Enum that uniquely identifies the plugin error. + Reason pulumi.StringInput `pulumi:"reason"` } -type GetJmsPluginsJmsPluginCollectionArray []GetJmsPluginsJmsPluginCollectionInput - -func (GetJmsPluginsJmsPluginCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollection)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation)(nil)).Elem() } -func (i GetJmsPluginsJmsPluginCollectionArray) ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput { - return i.ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(context.Background()) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutputWithContext(context.Background()) } -func (i GetJmsPluginsJmsPluginCollectionArray) ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionArrayOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) } -type GetJmsPluginsJmsPluginCollectionOutput struct{ *pulumi.OutputState } +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayInput is an input type that accepts GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray and GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayInput` via: +// +// GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray{ GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs{...} } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayInput interface { + pulumi.Input -func (GetJmsPluginsJmsPluginCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsJmsPluginCollection)(nil)).Elem() + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput + ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutputWithContext(context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput } -func (o GetJmsPluginsJmsPluginCollectionOutput) ToGetJmsPluginsJmsPluginCollectionOutput() GetJmsPluginsJmsPluginCollectionOutput { - return o +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray []GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationInput + +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation)(nil)).Elem() } -func (o GetJmsPluginsJmsPluginCollectionOutput) ToGetJmsPluginsJmsPluginCollectionOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionOutput { - return o +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput { + return i.ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutputWithContext(context.Background()) } -func (o GetJmsPluginsJmsPluginCollectionOutput) Items() GetJmsPluginsJmsPluginCollectionItemArrayOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollection) []GetJmsPluginsJmsPluginCollectionItem { return v.Items }).(GetJmsPluginsJmsPluginCollectionItemArrayOutput) +func (i GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) } -type GetJmsPluginsJmsPluginCollectionArrayOutput struct{ *pulumi.OutputState } +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput struct{ *pulumi.OutputState } -func (GetJmsPluginsJmsPluginCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollection)(nil)).Elem() +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation)(nil)).Elem() } -func (o GetJmsPluginsJmsPluginCollectionArrayOutput) ToGetJmsPluginsJmsPluginCollectionArrayOutput() GetJmsPluginsJmsPluginCollectionArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput { return o } -func (o GetJmsPluginsJmsPluginCollectionArrayOutput) ToGetJmsPluginsJmsPluginCollectionArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionArrayOutput { +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput { return o } -func (o GetJmsPluginsJmsPluginCollectionArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsJmsPluginCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsJmsPluginCollection { - return vs[0].([]GetJmsPluginsJmsPluginCollection)[vs[1].(int)] - }).(GetJmsPluginsJmsPluginCollectionOutput) +// Number of FleetErrors encountered for the specific reason. +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) PluginErrorAnalyticCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation) int { + return v.PluginErrorAnalyticCount + }).(pulumi.IntOutput) } -type GetJmsPluginsJmsPluginCollectionItem struct { - // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. - AgentId string `pulumi:"agentId"` - // The agent type. - AgentType string `pulumi:"agentType"` - // Filter JmsPlugin with its availability status. - AvailabilityStatus string `pulumi:"availabilityStatus"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - CompartmentId string `pulumi:"compartmentId"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags map[string]string `pulumi:"definedTags"` - // The ID of the Fleet. - FleetId string `pulumi:"fleetId"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags map[string]string `pulumi:"freeformTags"` - // The hostname of the agent. - Hostname string `pulumi:"hostname"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. - Id string `pulumi:"id"` - // The architecture of the operating system of the plugin. - OsArchitecture string `pulumi:"osArchitecture"` - // The distribution of the operating system of the plugin. - OsDistribution string `pulumi:"osDistribution"` - // The operating system family for the plugin. - OsFamily string `pulumi:"osFamily"` - // The version of the plugin. - PluginVersion string `pulumi:"pluginVersion"` - // Filter JmsPlugin with its lifecycle state. - State string `pulumi:"state"` - // 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 resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen string `pulumi:"timeLastSeen"` - // The date and time the plugin was registered. - TimeRegistered string `pulumi:"timeRegistered"` +// Enum that uniquely identifies the plugin error. +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation) string { + return v.Reason + }).(pulumi.StringOutput) } -// GetJmsPluginsJmsPluginCollectionItemInput is an input type that accepts GetJmsPluginsJmsPluginCollectionItemArgs and GetJmsPluginsJmsPluginCollectionItemOutput values. -// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionItemInput` via: -// -// GetJmsPluginsJmsPluginCollectionItemArgs{...} -type GetJmsPluginsJmsPluginCollectionItemInput interface { - pulumi.Input +type GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput struct{ *pulumi.OutputState } - ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput - ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionItemOutput +func (GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation)(nil)).Elem() } -type GetJmsPluginsJmsPluginCollectionItemArgs struct { - // The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. - AgentId pulumi.StringInput `pulumi:"agentId"` - // The agent type. - AgentType pulumi.StringInput `pulumi:"agentType"` - // Filter JmsPlugin with its availability status. - AvailabilityStatus pulumi.StringInput `pulumi:"availabilityStatus"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - // The ID of the Fleet. - FleetId pulumi.StringInput `pulumi:"fleetId"` - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // The hostname of the agent. - Hostname pulumi.StringInput `pulumi:"hostname"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. - Id pulumi.StringInput `pulumi:"id"` - // The architecture of the operating system of the plugin. - OsArchitecture pulumi.StringInput `pulumi:"osArchitecture"` - // The distribution of the operating system of the plugin. - OsDistribution pulumi.StringInput `pulumi:"osDistribution"` - // The operating system family for the plugin. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The version of the plugin. - PluginVersion pulumi.StringInput `pulumi:"pluginVersion"` - // Filter JmsPlugin with its lifecycle state. - State pulumi.StringInput `pulumi:"state"` - // 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 resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` - // The date and time the plugin was registered. - TimeRegistered pulumi.StringInput `pulumi:"timeRegistered"` +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput() GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput { + return o } -func (GetJmsPluginsJmsPluginCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) ToGetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutputWithContext(ctx context.Context) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput { + return o } -func (i GetJmsPluginsJmsPluginCollectionItemArgs) ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput { - return i.ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(context.Background()) +func (o GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput) Index(i pulumi.IntInput) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation { + return vs[0].([]GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation)[vs[1].(int)] + }).(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput) } -func (i GetJmsPluginsJmsPluginCollectionItemArgs) ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionItemOutput) +type GetPluginErrorsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetJmsPluginsJmsPluginCollectionItemArrayInput is an input type that accepts GetJmsPluginsJmsPluginCollectionItemArray and GetJmsPluginsJmsPluginCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetJmsPluginsJmsPluginCollectionItemArrayInput` via: +// GetPluginErrorsFilterInput is an input type that accepts GetPluginErrorsFilterArgs and GetPluginErrorsFilterOutput values. +// You can construct a concrete instance of `GetPluginErrorsFilterInput` via: // -// GetJmsPluginsJmsPluginCollectionItemArray{ GetJmsPluginsJmsPluginCollectionItemArgs{...} } -type GetJmsPluginsJmsPluginCollectionItemArrayInput interface { +// GetPluginErrorsFilterArgs{...} +type GetPluginErrorsFilterInput interface { pulumi.Input - ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput - ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput + ToGetPluginErrorsFilterOutput() GetPluginErrorsFilterOutput + ToGetPluginErrorsFilterOutputWithContext(context.Context) GetPluginErrorsFilterOutput } -type GetJmsPluginsJmsPluginCollectionItemArray []GetJmsPluginsJmsPluginCollectionItemInput - -func (GetJmsPluginsJmsPluginCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() +type GetPluginErrorsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (i GetJmsPluginsJmsPluginCollectionItemArray) ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput { - return i.ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(context.Background()) +func (GetPluginErrorsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsFilter)(nil)).Elem() } -func (i GetJmsPluginsJmsPluginCollectionItemArray) ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJmsPluginsJmsPluginCollectionItemArrayOutput) +func (i GetPluginErrorsFilterArgs) ToGetPluginErrorsFilterOutput() GetPluginErrorsFilterOutput { + return i.ToGetPluginErrorsFilterOutputWithContext(context.Background()) } -type GetJmsPluginsJmsPluginCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetJmsPluginsJmsPluginCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() +func (i GetPluginErrorsFilterArgs) ToGetPluginErrorsFilterOutputWithContext(ctx context.Context) GetPluginErrorsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsFilterOutput) } -func (o GetJmsPluginsJmsPluginCollectionItemOutput) ToGetJmsPluginsJmsPluginCollectionItemOutput() GetJmsPluginsJmsPluginCollectionItemOutput { - return o -} +// GetPluginErrorsFilterArrayInput is an input type that accepts GetPluginErrorsFilterArray and GetPluginErrorsFilterArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorsFilterArrayInput` via: +// +// GetPluginErrorsFilterArray{ GetPluginErrorsFilterArgs{...} } +type GetPluginErrorsFilterArrayInput interface { + pulumi.Input -func (o GetJmsPluginsJmsPluginCollectionItemOutput) ToGetJmsPluginsJmsPluginCollectionItemOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemOutput { - return o + ToGetPluginErrorsFilterArrayOutput() GetPluginErrorsFilterArrayOutput + ToGetPluginErrorsFilterArrayOutputWithContext(context.Context) GetPluginErrorsFilterArrayOutput } -// The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) AgentId() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AgentId }).(pulumi.StringOutput) -} +type GetPluginErrorsFilterArray []GetPluginErrorsFilterInput -// The agent type. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) AgentType() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AgentType }).(pulumi.StringOutput) +func (GetPluginErrorsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsFilter)(nil)).Elem() } -// Filter JmsPlugin with its availability status. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) AvailabilityStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.AvailabilityStatus }).(pulumi.StringOutput) +func (i GetPluginErrorsFilterArray) ToGetPluginErrorsFilterArrayOutput() GetPluginErrorsFilterArrayOutput { + return i.ToGetPluginErrorsFilterArrayOutputWithContext(context.Background()) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +func (i GetPluginErrorsFilterArray) ToGetPluginErrorsFilterArrayOutputWithContext(ctx context.Context) GetPluginErrorsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsFilterArrayOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). -func (o GetJmsPluginsJmsPluginCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} +type GetPluginErrorsFilterOutput struct{ *pulumi.OutputState } -// The ID of the Fleet. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) FleetId() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.FleetId }).(pulumi.StringOutput) +func (GetPluginErrorsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsFilter)(nil)).Elem() } -// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) -func (o GetJmsPluginsJmsPluginCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +func (o GetPluginErrorsFilterOutput) ToGetPluginErrorsFilterOutput() GetPluginErrorsFilterOutput { + return o } -// The hostname of the agent. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.Hostname }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterOutput) ToGetPluginErrorsFilterOutputWithContext(ctx context.Context) GetPluginErrorsFilterOutput { + return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.Id }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The architecture of the operating system of the plugin. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsArchitecture() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsArchitecture }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPluginErrorsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// The distribution of the operating system of the plugin. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsDistribution() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsDistribution }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPluginErrorsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -// The operating system family for the plugin. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.OsFamily }).(pulumi.StringOutput) -} +type GetPluginErrorsFilterArrayOutput struct{ *pulumi.OutputState } -// The version of the plugin. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) PluginVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.PluginVersion }).(pulumi.StringOutput) +func (GetPluginErrorsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsFilter)(nil)).Elem() } -// Filter JmsPlugin with its lifecycle state. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.State }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterArrayOutput) ToGetPluginErrorsFilterArrayOutput() GetPluginErrorsFilterArrayOutput { + return o } -// 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 GetJmsPluginsJmsPluginCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +func (o GetPluginErrorsFilterArrayOutput) ToGetPluginErrorsFilterArrayOutputWithContext(ctx context.Context) GetPluginErrorsFilterArrayOutput { + return o } -// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) TimeLastSeen() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) +func (o GetPluginErrorsFilterArrayOutput) Index(i pulumi.IntInput) GetPluginErrorsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorsFilter { + return vs[0].([]GetPluginErrorsFilter)[vs[1].(int)] + }).(GetPluginErrorsFilterOutput) } -// The date and time the plugin was registered. -func (o GetJmsPluginsJmsPluginCollectionItemOutput) TimeRegistered() pulumi.StringOutput { - return o.ApplyT(func(v GetJmsPluginsJmsPluginCollectionItem) string { return v.TimeRegistered }).(pulumi.StringOutput) +type GetPluginErrorsPluginErrorCollection struct { + // A list of PluginErrorSummary. + Items []GetPluginErrorsPluginErrorCollectionItem `pulumi:"items"` } -type GetJmsPluginsJmsPluginCollectionItemArrayOutput struct{ *pulumi.OutputState } +// GetPluginErrorsPluginErrorCollectionInput is an input type that accepts GetPluginErrorsPluginErrorCollectionArgs and GetPluginErrorsPluginErrorCollectionOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionInput` via: +// +// GetPluginErrorsPluginErrorCollectionArgs{...} +type GetPluginErrorsPluginErrorCollectionInput interface { + pulumi.Input -func (GetJmsPluginsJmsPluginCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJmsPluginsJmsPluginCollectionItem)(nil)).Elem() + ToGetPluginErrorsPluginErrorCollectionOutput() GetPluginErrorsPluginErrorCollectionOutput + ToGetPluginErrorsPluginErrorCollectionOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionOutput } -func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) ToGetJmsPluginsJmsPluginCollectionItemArrayOutput() GetJmsPluginsJmsPluginCollectionItemArrayOutput { - return o +type GetPluginErrorsPluginErrorCollectionArgs struct { + // A list of PluginErrorSummary. + Items GetPluginErrorsPluginErrorCollectionItemArrayInput `pulumi:"items"` } -func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) ToGetJmsPluginsJmsPluginCollectionItemArrayOutputWithContext(ctx context.Context) GetJmsPluginsJmsPluginCollectionItemArrayOutput { - return o +func (GetPluginErrorsPluginErrorCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollection)(nil)).Elem() } -func (o GetJmsPluginsJmsPluginCollectionItemArrayOutput) Index(i pulumi.IntInput) GetJmsPluginsJmsPluginCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJmsPluginsJmsPluginCollectionItem { - return vs[0].([]GetJmsPluginsJmsPluginCollectionItem)[vs[1].(int)] - }).(GetJmsPluginsJmsPluginCollectionItemOutput) +func (i GetPluginErrorsPluginErrorCollectionArgs) ToGetPluginErrorsPluginErrorCollectionOutput() GetPluginErrorsPluginErrorCollectionOutput { + return i.ToGetPluginErrorsPluginErrorCollectionOutputWithContext(context.Background()) } -type GetListJreUsageItem struct { - // The approximate count of the applications running on this Java Runtime. - ApproximateApplicationCount int `pulumi:"approximateApplicationCount"` - // The approximate count of installations that are installations of this Java Runtime. - ApproximateInstallationCount int `pulumi:"approximateInstallationCount"` - // The approximate count of the managed instances that report this Java Runtime. - ApproximateManagedInstanceCount int `pulumi:"approximateManagedInstanceCount"` - // The approximate count of work requests working on this Java Runtime. - ApproximatePendingWorkRequestCount int `pulumi:"approximatePendingWorkRequestCount"` - // The number of days since this release has been under the security baseline. - DaysUnderSecurityBaseline int `pulumi:"daysUnderSecurityBaseline"` - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution string `pulumi:"distribution"` - // The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate string `pulumi:"endOfSupportLifeDate"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. - FleetId string `pulumi:"fleetId"` - // The internal identifier of the Java Runtime. - Id string `pulumi:"id"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. - ManagedInstanceId string `pulumi:"managedInstanceId"` - // The operating systems that have this Java Runtime installed. - OperatingSystems []GetListJreUsageItemOperatingSystem `pulumi:"operatingSystems"` - // The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate string `pulumi:"releaseDate"` - // The security status of the Java Runtime. - SecurityStatus string `pulumi:"securityStatus"` - // The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeEnd string `pulumi:"timeEnd"` - // The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeFirstSeen string `pulumi:"timeFirstSeen"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen string `pulumi:"timeLastSeen"` - // The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeStart string `pulumi:"timeStart"` - // The vendor of the Java Runtime. - Vendor string `pulumi:"vendor"` - // The version of the Java Runtime. - Version string `pulumi:"version"` +func (i GetPluginErrorsPluginErrorCollectionArgs) ToGetPluginErrorsPluginErrorCollectionOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionOutput) } -// GetListJreUsageItemInput is an input type that accepts GetListJreUsageItemArgs and GetListJreUsageItemOutput values. -// You can construct a concrete instance of `GetListJreUsageItemInput` via: +// GetPluginErrorsPluginErrorCollectionArrayInput is an input type that accepts GetPluginErrorsPluginErrorCollectionArray and GetPluginErrorsPluginErrorCollectionArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionArrayInput` via: // -// GetListJreUsageItemArgs{...} -type GetListJreUsageItemInput interface { +// GetPluginErrorsPluginErrorCollectionArray{ GetPluginErrorsPluginErrorCollectionArgs{...} } +type GetPluginErrorsPluginErrorCollectionArrayInput interface { pulumi.Input - ToGetListJreUsageItemOutput() GetListJreUsageItemOutput - ToGetListJreUsageItemOutputWithContext(context.Context) GetListJreUsageItemOutput + ToGetPluginErrorsPluginErrorCollectionArrayOutput() GetPluginErrorsPluginErrorCollectionArrayOutput + ToGetPluginErrorsPluginErrorCollectionArrayOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionArrayOutput } -type GetListJreUsageItemArgs struct { - // The approximate count of the applications running on this Java Runtime. - ApproximateApplicationCount pulumi.IntInput `pulumi:"approximateApplicationCount"` - // The approximate count of installations that are installations of this Java Runtime. - ApproximateInstallationCount pulumi.IntInput `pulumi:"approximateInstallationCount"` - // The approximate count of the managed instances that report this Java Runtime. - ApproximateManagedInstanceCount pulumi.IntInput `pulumi:"approximateManagedInstanceCount"` - // The approximate count of work requests working on this Java Runtime. - ApproximatePendingWorkRequestCount pulumi.IntInput `pulumi:"approximatePendingWorkRequestCount"` - // The number of days since this release has been under the security baseline. - DaysUnderSecurityBaseline pulumi.IntInput `pulumi:"daysUnderSecurityBaseline"` - // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. - Distribution pulumi.StringInput `pulumi:"distribution"` - // The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - EndOfSupportLifeDate pulumi.StringInput `pulumi:"endOfSupportLifeDate"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. - FleetId pulumi.StringInput `pulumi:"fleetId"` - // The internal identifier of the Java Runtime. - Id pulumi.StringInput `pulumi:"id"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. - ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` - // The operating systems that have this Java Runtime installed. - OperatingSystems GetListJreUsageItemOperatingSystemArrayInput `pulumi:"operatingSystems"` - // The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - // The security status of the Java Runtime. - SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` - // The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeEnd pulumi.StringInput `pulumi:"timeEnd"` - // The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeFirstSeen pulumi.StringInput `pulumi:"timeFirstSeen"` - // The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. - TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` - // The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). - TimeStart pulumi.StringInput `pulumi:"timeStart"` - // The vendor of the Java Runtime. - Vendor pulumi.StringInput `pulumi:"vendor"` - // The version of the Java Runtime. - Version pulumi.StringInput `pulumi:"version"` -} +type GetPluginErrorsPluginErrorCollectionArray []GetPluginErrorsPluginErrorCollectionInput -func (GetListJreUsageItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetListJreUsageItem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollection)(nil)).Elem() } -func (i GetListJreUsageItemArgs) ToGetListJreUsageItemOutput() GetListJreUsageItemOutput { - return i.ToGetListJreUsageItemOutputWithContext(context.Background()) +func (i GetPluginErrorsPluginErrorCollectionArray) ToGetPluginErrorsPluginErrorCollectionArrayOutput() GetPluginErrorsPluginErrorCollectionArrayOutput { + return i.ToGetPluginErrorsPluginErrorCollectionArrayOutputWithContext(context.Background()) } -func (i GetListJreUsageItemArgs) ToGetListJreUsageItemOutputWithContext(ctx context.Context) GetListJreUsageItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOutput) +func (i GetPluginErrorsPluginErrorCollectionArray) ToGetPluginErrorsPluginErrorCollectionArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionArrayOutput) } -// GetListJreUsageItemArrayInput is an input type that accepts GetListJreUsageItemArray and GetListJreUsageItemArrayOutput values. -// You can construct a concrete instance of `GetListJreUsageItemArrayInput` via: -// -// GetListJreUsageItemArray{ GetListJreUsageItemArgs{...} } -type GetListJreUsageItemArrayInput interface { - pulumi.Input +type GetPluginErrorsPluginErrorCollectionOutput struct{ *pulumi.OutputState } - ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput - ToGetListJreUsageItemArrayOutputWithContext(context.Context) GetListJreUsageItemArrayOutput +func (GetPluginErrorsPluginErrorCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollection)(nil)).Elem() } -type GetListJreUsageItemArray []GetListJreUsageItemInput - -func (GetListJreUsageItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetListJreUsageItem)(nil)).Elem() +func (o GetPluginErrorsPluginErrorCollectionOutput) ToGetPluginErrorsPluginErrorCollectionOutput() GetPluginErrorsPluginErrorCollectionOutput { + return o } -func (i GetListJreUsageItemArray) ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput { - return i.ToGetListJreUsageItemArrayOutputWithContext(context.Background()) +func (o GetPluginErrorsPluginErrorCollectionOutput) ToGetPluginErrorsPluginErrorCollectionOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionOutput { + return o } -func (i GetListJreUsageItemArray) ToGetListJreUsageItemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemArrayOutput) +// A list of PluginErrorSummary. +func (o GetPluginErrorsPluginErrorCollectionOutput) Items() GetPluginErrorsPluginErrorCollectionItemArrayOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollection) []GetPluginErrorsPluginErrorCollectionItem { + return v.Items + }).(GetPluginErrorsPluginErrorCollectionItemArrayOutput) } -type GetListJreUsageItemOutput struct{ *pulumi.OutputState } +type GetPluginErrorsPluginErrorCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetListJreUsageItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetListJreUsageItem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollection)(nil)).Elem() } -func (o GetListJreUsageItemOutput) ToGetListJreUsageItemOutput() GetListJreUsageItemOutput { +func (o GetPluginErrorsPluginErrorCollectionArrayOutput) ToGetPluginErrorsPluginErrorCollectionArrayOutput() GetPluginErrorsPluginErrorCollectionArrayOutput { return o } -func (o GetListJreUsageItemOutput) ToGetListJreUsageItemOutputWithContext(ctx context.Context) GetListJreUsageItemOutput { +func (o GetPluginErrorsPluginErrorCollectionArrayOutput) ToGetPluginErrorsPluginErrorCollectionArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionArrayOutput { return o } -// The approximate count of the applications running on this Java Runtime. -func (o GetListJreUsageItemOutput) ApproximateApplicationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateApplicationCount }).(pulumi.IntOutput) +func (o GetPluginErrorsPluginErrorCollectionArrayOutput) Index(i pulumi.IntInput) GetPluginErrorsPluginErrorCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorsPluginErrorCollection { + return vs[0].([]GetPluginErrorsPluginErrorCollection)[vs[1].(int)] + }).(GetPluginErrorsPluginErrorCollectionOutput) } -// The approximate count of installations that are installations of this Java Runtime. -func (o GetListJreUsageItemOutput) ApproximateInstallationCount() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateInstallationCount }).(pulumi.IntOutput) +type GetPluginErrorsPluginErrorCollectionItem struct { + // The agent type. + AgentType string `pulumi:"agentType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // List of plugin error details. + Errors []GetPluginErrorsPluginErrorCollectionItemError `pulumi:"errors"` + // The HostName or Compute Instance name of the Managed Instance running the plugin. + HostName string `pulumi:"hostName"` + // The Fleet-unique identifier of the managed instance. + ManagedInstanceId string `pulumi:"managedInstanceId"` + // The timestamp of the first time an error was detected. + TimeFirstSeen string `pulumi:"timeFirstSeen"` + // The timestamp of the last time an error was detected. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// The approximate count of the managed instances that report this Java Runtime. -func (o GetListJreUsageItemOutput) ApproximateManagedInstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximateManagedInstanceCount }).(pulumi.IntOutput) +// GetPluginErrorsPluginErrorCollectionItemInput is an input type that accepts GetPluginErrorsPluginErrorCollectionItemArgs and GetPluginErrorsPluginErrorCollectionItemOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionItemInput` via: +// +// GetPluginErrorsPluginErrorCollectionItemArgs{...} +type GetPluginErrorsPluginErrorCollectionItemInput interface { + pulumi.Input + + ToGetPluginErrorsPluginErrorCollectionItemOutput() GetPluginErrorsPluginErrorCollectionItemOutput + ToGetPluginErrorsPluginErrorCollectionItemOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionItemOutput } -// The approximate count of work requests working on this Java Runtime. -func (o GetListJreUsageItemOutput) ApproximatePendingWorkRequestCount() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItem) int { return v.ApproximatePendingWorkRequestCount }).(pulumi.IntOutput) +type GetPluginErrorsPluginErrorCollectionItemArgs struct { + // The agent type. + AgentType pulumi.StringInput `pulumi:"agentType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // List of plugin error details. + Errors GetPluginErrorsPluginErrorCollectionItemErrorArrayInput `pulumi:"errors"` + // The HostName or Compute Instance name of the Managed Instance running the plugin. + HostName pulumi.StringInput `pulumi:"hostName"` + // The Fleet-unique identifier of the managed instance. + ManagedInstanceId pulumi.StringInput `pulumi:"managedInstanceId"` + // The timestamp of the first time an error was detected. + TimeFirstSeen pulumi.StringInput `pulumi:"timeFirstSeen"` + // The timestamp of the last time an error was detected. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -// The number of days since this release has been under the security baseline. -func (o GetListJreUsageItemOutput) DaysUnderSecurityBaseline() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItem) int { return v.DaysUnderSecurityBaseline }).(pulumi.IntOutput) +func (GetPluginErrorsPluginErrorCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItem)(nil)).Elem() } -// The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. -func (o GetListJreUsageItemOutput) Distribution() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.Distribution }).(pulumi.StringOutput) +func (i GetPluginErrorsPluginErrorCollectionItemArgs) ToGetPluginErrorsPluginErrorCollectionItemOutput() GetPluginErrorsPluginErrorCollectionItemOutput { + return i.ToGetPluginErrorsPluginErrorCollectionItemOutputWithContext(context.Background()) } -// The End of Support Life (EOSL) date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetListJreUsageItemOutput) EndOfSupportLifeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.EndOfSupportLifeDate }).(pulumi.StringOutput) +func (i GetPluginErrorsPluginErrorCollectionItemArgs) ToGetPluginErrorsPluginErrorCollectionItemOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionItemOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related fleet. -func (o GetListJreUsageItemOutput) FleetId() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.FleetId }).(pulumi.StringOutput) +// GetPluginErrorsPluginErrorCollectionItemArrayInput is an input type that accepts GetPluginErrorsPluginErrorCollectionItemArray and GetPluginErrorsPluginErrorCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionItemArrayInput` via: +// +// GetPluginErrorsPluginErrorCollectionItemArray{ GetPluginErrorsPluginErrorCollectionItemArgs{...} } +type GetPluginErrorsPluginErrorCollectionItemArrayInput interface { + pulumi.Input + + ToGetPluginErrorsPluginErrorCollectionItemArrayOutput() GetPluginErrorsPluginErrorCollectionItemArrayOutput + ToGetPluginErrorsPluginErrorCollectionItemArrayOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionItemArrayOutput } -// The internal identifier of the Java Runtime. -func (o GetListJreUsageItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.Id }).(pulumi.StringOutput) +type GetPluginErrorsPluginErrorCollectionItemArray []GetPluginErrorsPluginErrorCollectionItemInput + +func (GetPluginErrorsPluginErrorCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollectionItem)(nil)).Elem() } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /listJreUsage. -func (o GetListJreUsageItemOutput) ManagedInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) +func (i GetPluginErrorsPluginErrorCollectionItemArray) ToGetPluginErrorsPluginErrorCollectionItemArrayOutput() GetPluginErrorsPluginErrorCollectionItemArrayOutput { + return i.ToGetPluginErrorsPluginErrorCollectionItemArrayOutputWithContext(context.Background()) } -// The operating systems that have this Java Runtime installed. -func (o GetListJreUsageItemOutput) OperatingSystems() GetListJreUsageItemOperatingSystemArrayOutput { - return o.ApplyT(func(v GetListJreUsageItem) []GetListJreUsageItemOperatingSystem { return v.OperatingSystems }).(GetListJreUsageItemOperatingSystemArrayOutput) +func (i GetPluginErrorsPluginErrorCollectionItemArray) ToGetPluginErrorsPluginErrorCollectionItemArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionItemArrayOutput) } -// The release date of the Java Runtime (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetListJreUsageItemOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.ReleaseDate }).(pulumi.StringOutput) +type GetPluginErrorsPluginErrorCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetPluginErrorsPluginErrorCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItem)(nil)).Elem() } -// The security status of the Java Runtime. -func (o GetListJreUsageItemOutput) SecurityStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.SecurityStatus }).(pulumi.StringOutput) +func (o GetPluginErrorsPluginErrorCollectionItemOutput) ToGetPluginErrorsPluginErrorCollectionItemOutput() GetPluginErrorsPluginErrorCollectionItemOutput { + return o } -// The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetListJreUsageItemOutput) TimeEnd() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeEnd }).(pulumi.StringOutput) +func (o GetPluginErrorsPluginErrorCollectionItemOutput) ToGetPluginErrorsPluginErrorCollectionItemOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemOutput { + return o } -// The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period. -func (o GetListJreUsageItemOutput) TimeFirstSeen() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeFirstSeen }).(pulumi.StringOutput) +// The agent type. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) AgentType() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.AgentType }).(pulumi.StringOutput) } -// The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. -func (o GetListJreUsageItemOutput) TimeLastSeen() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -// The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). -func (o GetListJreUsageItemOutput) TimeStart() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.TimeStart }).(pulumi.StringOutput) +// List of plugin error details. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) Errors() GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) []GetPluginErrorsPluginErrorCollectionItemError { + return v.Errors + }).(GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) } -// The vendor of the Java Runtime. -func (o GetListJreUsageItemOutput) Vendor() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.Vendor }).(pulumi.StringOutput) +// The HostName or Compute Instance name of the Managed Instance running the plugin. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) HostName() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.HostName }).(pulumi.StringOutput) } -// The version of the Java Runtime. -func (o GetListJreUsageItemOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItem) string { return v.Version }).(pulumi.StringOutput) +// The Fleet-unique identifier of the managed instance. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) ManagedInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.ManagedInstanceId }).(pulumi.StringOutput) } -type GetListJreUsageItemArrayOutput struct{ *pulumi.OutputState } +// The timestamp of the first time an error was detected. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) TimeFirstSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.TimeFirstSeen }).(pulumi.StringOutput) +} -func (GetListJreUsageItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetListJreUsageItem)(nil)).Elem() +// The timestamp of the last time an error was detected. +func (o GetPluginErrorsPluginErrorCollectionItemOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItem) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -func (o GetListJreUsageItemArrayOutput) ToGetListJreUsageItemArrayOutput() GetListJreUsageItemArrayOutput { +type GetPluginErrorsPluginErrorCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetPluginErrorsPluginErrorCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollectionItem)(nil)).Elem() +} + +func (o GetPluginErrorsPluginErrorCollectionItemArrayOutput) ToGetPluginErrorsPluginErrorCollectionItemArrayOutput() GetPluginErrorsPluginErrorCollectionItemArrayOutput { return o } -func (o GetListJreUsageItemArrayOutput) ToGetListJreUsageItemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemArrayOutput { +func (o GetPluginErrorsPluginErrorCollectionItemArrayOutput) ToGetPluginErrorsPluginErrorCollectionItemArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemArrayOutput { return o } -func (o GetListJreUsageItemArrayOutput) Index(i pulumi.IntInput) GetListJreUsageItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListJreUsageItem { - return vs[0].([]GetListJreUsageItem)[vs[1].(int)] - }).(GetListJreUsageItemOutput) +func (o GetPluginErrorsPluginErrorCollectionItemArrayOutput) Index(i pulumi.IntInput) GetPluginErrorsPluginErrorCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorsPluginErrorCollectionItem { + return vs[0].([]GetPluginErrorsPluginErrorCollectionItem)[vs[1].(int)] + }).(GetPluginErrorsPluginErrorCollectionItemOutput) } -type GetListJreUsageItemOperatingSystem struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture string `pulumi:"architecture"` - // The operating system type, such as Windows or Linux - Family string `pulumi:"family"` - // Number of instances running the operating system - ManagedInstanceCount int `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name string `pulumi:"name"` - // The version of the Java Runtime. - Version string `pulumi:"version"` +type GetPluginErrorsPluginErrorCollectionItemError struct { + // Optional string containing additional details. + Details string `pulumi:"details"` + // The plugin error reason. + Reason string `pulumi:"reason"` + // The timestamp of the last time an error was detected. + TimeLastSeen string `pulumi:"timeLastSeen"` } -// GetListJreUsageItemOperatingSystemInput is an input type that accepts GetListJreUsageItemOperatingSystemArgs and GetListJreUsageItemOperatingSystemOutput values. -// You can construct a concrete instance of `GetListJreUsageItemOperatingSystemInput` via: +// GetPluginErrorsPluginErrorCollectionItemErrorInput is an input type that accepts GetPluginErrorsPluginErrorCollectionItemErrorArgs and GetPluginErrorsPluginErrorCollectionItemErrorOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionItemErrorInput` via: // -// GetListJreUsageItemOperatingSystemArgs{...} -type GetListJreUsageItemOperatingSystemInput interface { +// GetPluginErrorsPluginErrorCollectionItemErrorArgs{...} +type GetPluginErrorsPluginErrorCollectionItemErrorInput interface { pulumi.Input - ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput - ToGetListJreUsageItemOperatingSystemOutputWithContext(context.Context) GetListJreUsageItemOperatingSystemOutput + ToGetPluginErrorsPluginErrorCollectionItemErrorOutput() GetPluginErrorsPluginErrorCollectionItemErrorOutput + ToGetPluginErrorsPluginErrorCollectionItemErrorOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionItemErrorOutput } -type GetListJreUsageItemOperatingSystemArgs struct { - // The architecture of the operating system as provided by the Java system property os.arch. - Architecture pulumi.StringInput `pulumi:"architecture"` - // The operating system type, such as Windows or Linux - Family pulumi.StringInput `pulumi:"family"` - // Number of instances running the operating system - ManagedInstanceCount pulumi.IntInput `pulumi:"managedInstanceCount"` - // The name of the operating system as provided by the Java system property os.name. - Name pulumi.StringInput `pulumi:"name"` - // The version of the Java Runtime. - Version pulumi.StringInput `pulumi:"version"` +type GetPluginErrorsPluginErrorCollectionItemErrorArgs struct { + // Optional string containing additional details. + Details pulumi.StringInput `pulumi:"details"` + // The plugin error reason. + Reason pulumi.StringInput `pulumi:"reason"` + // The timestamp of the last time an error was detected. + TimeLastSeen pulumi.StringInput `pulumi:"timeLastSeen"` } -func (GetListJreUsageItemOperatingSystemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetListJreUsageItemOperatingSystem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionItemErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemError)(nil)).Elem() } -func (i GetListJreUsageItemOperatingSystemArgs) ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput { - return i.ToGetListJreUsageItemOperatingSystemOutputWithContext(context.Background()) +func (i GetPluginErrorsPluginErrorCollectionItemErrorArgs) ToGetPluginErrorsPluginErrorCollectionItemErrorOutput() GetPluginErrorsPluginErrorCollectionItemErrorOutput { + return i.ToGetPluginErrorsPluginErrorCollectionItemErrorOutputWithContext(context.Background()) } -func (i GetListJreUsageItemOperatingSystemArgs) ToGetListJreUsageItemOperatingSystemOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOperatingSystemOutput) +func (i GetPluginErrorsPluginErrorCollectionItemErrorArgs) ToGetPluginErrorsPluginErrorCollectionItemErrorOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionItemErrorOutput) } -// GetListJreUsageItemOperatingSystemArrayInput is an input type that accepts GetListJreUsageItemOperatingSystemArray and GetListJreUsageItemOperatingSystemArrayOutput values. -// You can construct a concrete instance of `GetListJreUsageItemOperatingSystemArrayInput` via: +// GetPluginErrorsPluginErrorCollectionItemErrorArrayInput is an input type that accepts GetPluginErrorsPluginErrorCollectionItemErrorArray and GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput values. +// You can construct a concrete instance of `GetPluginErrorsPluginErrorCollectionItemErrorArrayInput` via: // -// GetListJreUsageItemOperatingSystemArray{ GetListJreUsageItemOperatingSystemArgs{...} } -type GetListJreUsageItemOperatingSystemArrayInput interface { +// GetPluginErrorsPluginErrorCollectionItemErrorArray{ GetPluginErrorsPluginErrorCollectionItemErrorArgs{...} } +type GetPluginErrorsPluginErrorCollectionItemErrorArrayInput interface { pulumi.Input - ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput - ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(context.Context) GetListJreUsageItemOperatingSystemArrayOutput + ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutput() GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput + ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutputWithContext(context.Context) GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput } -type GetListJreUsageItemOperatingSystemArray []GetListJreUsageItemOperatingSystemInput +type GetPluginErrorsPluginErrorCollectionItemErrorArray []GetPluginErrorsPluginErrorCollectionItemErrorInput -func (GetListJreUsageItemOperatingSystemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetListJreUsageItemOperatingSystem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionItemErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollectionItemError)(nil)).Elem() } -func (i GetListJreUsageItemOperatingSystemArray) ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput { - return i.ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(context.Background()) +func (i GetPluginErrorsPluginErrorCollectionItemErrorArray) ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutput() GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput { + return i.ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutputWithContext(context.Background()) } -func (i GetListJreUsageItemOperatingSystemArray) ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetListJreUsageItemOperatingSystemArrayOutput) +func (i GetPluginErrorsPluginErrorCollectionItemErrorArray) ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) } -type GetListJreUsageItemOperatingSystemOutput struct{ *pulumi.OutputState } +type GetPluginErrorsPluginErrorCollectionItemErrorOutput struct{ *pulumi.OutputState } -func (GetListJreUsageItemOperatingSystemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetListJreUsageItemOperatingSystem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionItemErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemError)(nil)).Elem() } -func (o GetListJreUsageItemOperatingSystemOutput) ToGetListJreUsageItemOperatingSystemOutput() GetListJreUsageItemOperatingSystemOutput { +func (o GetPluginErrorsPluginErrorCollectionItemErrorOutput) ToGetPluginErrorsPluginErrorCollectionItemErrorOutput() GetPluginErrorsPluginErrorCollectionItemErrorOutput { return o } -func (o GetListJreUsageItemOperatingSystemOutput) ToGetListJreUsageItemOperatingSystemOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemOutput { +func (o GetPluginErrorsPluginErrorCollectionItemErrorOutput) ToGetPluginErrorsPluginErrorCollectionItemErrorOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemErrorOutput { return o } -// The architecture of the operating system as provided by the Java system property os.arch. -func (o GetListJreUsageItemOperatingSystemOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Architecture }).(pulumi.StringOutput) -} - -// The operating system type, such as Windows or Linux -func (o GetListJreUsageItemOperatingSystemOutput) Family() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Family }).(pulumi.StringOutput) -} - -// Number of instances running the operating system -func (o GetListJreUsageItemOperatingSystemOutput) ManagedInstanceCount() pulumi.IntOutput { - return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) int { return v.ManagedInstanceCount }).(pulumi.IntOutput) +// Optional string containing additional details. +func (o GetPluginErrorsPluginErrorCollectionItemErrorOutput) Details() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItemError) string { return v.Details }).(pulumi.StringOutput) } -// The name of the operating system as provided by the Java system property os.name. -func (o GetListJreUsageItemOperatingSystemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Name }).(pulumi.StringOutput) +// The plugin error reason. +func (o GetPluginErrorsPluginErrorCollectionItemErrorOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItemError) string { return v.Reason }).(pulumi.StringOutput) } -// The version of the Java Runtime. -func (o GetListJreUsageItemOperatingSystemOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetListJreUsageItemOperatingSystem) string { return v.Version }).(pulumi.StringOutput) +// The timestamp of the last time an error was detected. +func (o GetPluginErrorsPluginErrorCollectionItemErrorOutput) TimeLastSeen() pulumi.StringOutput { + return o.ApplyT(func(v GetPluginErrorsPluginErrorCollectionItemError) string { return v.TimeLastSeen }).(pulumi.StringOutput) } -type GetListJreUsageItemOperatingSystemArrayOutput struct{ *pulumi.OutputState } +type GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput struct{ *pulumi.OutputState } -func (GetListJreUsageItemOperatingSystemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetListJreUsageItemOperatingSystem)(nil)).Elem() +func (GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPluginErrorsPluginErrorCollectionItemError)(nil)).Elem() } -func (o GetListJreUsageItemOperatingSystemArrayOutput) ToGetListJreUsageItemOperatingSystemArrayOutput() GetListJreUsageItemOperatingSystemArrayOutput { +func (o GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutput() GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput { return o } -func (o GetListJreUsageItemOperatingSystemArrayOutput) ToGetListJreUsageItemOperatingSystemArrayOutputWithContext(ctx context.Context) GetListJreUsageItemOperatingSystemArrayOutput { +func (o GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) ToGetPluginErrorsPluginErrorCollectionItemErrorArrayOutputWithContext(ctx context.Context) GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput { return o } -func (o GetListJreUsageItemOperatingSystemArrayOutput) Index(i pulumi.IntInput) GetListJreUsageItemOperatingSystemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListJreUsageItemOperatingSystem { - return vs[0].([]GetListJreUsageItemOperatingSystem)[vs[1].(int)] - }).(GetListJreUsageItemOperatingSystemOutput) +func (o GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput) Index(i pulumi.IntInput) GetPluginErrorsPluginErrorCollectionItemErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPluginErrorsPluginErrorCollectionItemError { + return vs[0].([]GetPluginErrorsPluginErrorCollectionItemError)[vs[1].(int)] + }).(GetPluginErrorsPluginErrorCollectionItemErrorOutput) } func init() { @@ -17056,6 +18848,22 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetFleetDrsFilesDrsFileCollectionItemArrayInput)(nil)).Elem(), GetFleetDrsFilesDrsFileCollectionItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFleetDrsFilesFilterInput)(nil)).Elem(), GetFleetDrsFilesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFleetDrsFilesFilterArrayInput)(nil)).Elem(), GetFleetDrsFilesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFilterInput)(nil)).Elem(), GetFleetErrorAnalyticsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFilterArrayInput)(nil)).Elem(), GetFleetErrorAnalyticsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayInput)(nil)).Elem(), GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFilterInput)(nil)).Elem(), GetFleetErrorsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFilterArrayInput)(nil)).Elem(), GetFleetErrorsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionArrayInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemArrayInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemErrorInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionItemErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFleetErrorsFleetErrorCollectionItemErrorArrayInput)(nil)).Elem(), GetFleetErrorsFleetErrorCollectionItemErrorArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFleetInventoryLogInput)(nil)).Elem(), GetFleetInventoryLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFleetInventoryLogArrayInput)(nil)).Elem(), GetFleetInventoryLogArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFleetJavaMigrationAnalysisResultsFilterInput)(nil)).Elem(), GetFleetJavaMigrationAnalysisResultsFilterArgs{}) @@ -17200,6 +19008,22 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetListJreUsageItemArrayInput)(nil)).Elem(), GetListJreUsageItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetListJreUsageItemOperatingSystemInput)(nil)).Elem(), GetListJreUsageItemOperatingSystemArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetListJreUsageItemOperatingSystemArrayInput)(nil)).Elem(), GetListJreUsageItemOperatingSystemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsFilterInput)(nil)).Elem(), GetPluginErrorAnalyticsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsFilterArrayInput)(nil)).Elem(), GetPluginErrorAnalyticsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayInput)(nil)).Elem(), GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsFilterInput)(nil)).Elem(), GetPluginErrorsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsFilterArrayInput)(nil)).Elem(), GetPluginErrorsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionArrayInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemArrayInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemErrorInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionItemErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPluginErrorsPluginErrorCollectionItemErrorArrayInput)(nil)).Elem(), GetPluginErrorsPluginErrorCollectionItemErrorArray{}) pulumi.RegisterOutputType(FleetAdvancedFeatureConfigurationAdvancedUsageTrackingOutput{}) pulumi.RegisterOutputType(FleetAdvancedFeatureConfigurationAdvancedUsageTrackingPtrOutput{}) pulumi.RegisterOutputType(FleetAdvancedFeatureConfigurationCryptoEventAnalysisOutput{}) @@ -17302,6 +19126,22 @@ func init() { pulumi.RegisterOutputType(GetFleetDrsFilesDrsFileCollectionItemArrayOutput{}) pulumi.RegisterOutputType(GetFleetDrsFilesFilterOutput{}) pulumi.RegisterOutputType(GetFleetDrsFilesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFilterOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationOutput{}) + pulumi.RegisterOutputType(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFilterOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionItemOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionItemErrorOutput{}) + pulumi.RegisterOutputType(GetFleetErrorsFleetErrorCollectionItemErrorArrayOutput{}) pulumi.RegisterOutputType(GetFleetInventoryLogOutput{}) pulumi.RegisterOutputType(GetFleetInventoryLogArrayOutput{}) pulumi.RegisterOutputType(GetFleetJavaMigrationAnalysisResultsFilterOutput{}) @@ -17446,4 +19286,20 @@ func init() { pulumi.RegisterOutputType(GetListJreUsageItemArrayOutput{}) pulumi.RegisterOutputType(GetListJreUsageItemOperatingSystemOutput{}) pulumi.RegisterOutputType(GetListJreUsageItemOperatingSystemArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsFilterOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationOutput{}) + pulumi.RegisterOutputType(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsFilterOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionItemOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionItemErrorOutput{}) + pulumi.RegisterOutputType(GetPluginErrorsPluginErrorCollectionItemErrorArrayOutput{}) } diff --git a/sdk/go/oci/provider.go b/sdk/go/oci/provider.go index 6c9f4e9898..df78b07184 100644 --- a/sdk/go/oci/provider.go +++ b/sdk/go/oci/provider.go @@ -38,7 +38,8 @@ type Provider struct { Region pulumi.StringPtrOutput `pulumi:"region"` // (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud // Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. - TenancyOcid pulumi.StringPtrOutput `pulumi:"tenancyOcid"` + TenancyOcid pulumi.StringPtrOutput `pulumi:"tenancyOcid"` + TestTimeMaintenanceRebootDue pulumi.StringPtrOutput `pulumi:"testTimeMaintenanceRebootDue"` // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. UserOcid pulumi.StringPtrOutput `pulumi:"userOcid"` @@ -102,7 +103,8 @@ type providerArgs struct { RetryDurationSeconds *int `pulumi:"retryDurationSeconds"` // (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud // Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. - TenancyOcid *string `pulumi:"tenancyOcid"` + TenancyOcid *string `pulumi:"tenancyOcid"` + TestTimeMaintenanceRebootDue *string `pulumi:"testTimeMaintenanceRebootDue"` // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. UserOcid *string `pulumi:"userOcid"` @@ -140,7 +142,8 @@ type ProviderArgs struct { RetryDurationSeconds pulumi.IntPtrInput // (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud // Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. - TenancyOcid pulumi.StringPtrInput + TenancyOcid pulumi.StringPtrInput + TestTimeMaintenanceRebootDue pulumi.StringPtrInput // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. UserOcid pulumi.StringPtrInput @@ -228,6 +231,10 @@ func (o ProviderOutput) TenancyOcid() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.TenancyOcid }).(pulumi.StringPtrOutput) } +func (o ProviderOutput) TestTimeMaintenanceRebootDue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.TestTimeMaintenanceRebootDue }).(pulumi.StringPtrOutput) +} + // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. func (o ProviderOutput) UserOcid() pulumi.StringPtrOutput { diff --git a/sdk/go/oci/stackmonitoring/getDefinedMonitoringTemplates.go b/sdk/go/oci/stackmonitoring/getDefinedMonitoringTemplates.go new file mode 100644 index 0000000000..bf962b36a5 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/getDefinedMonitoringTemplates.go @@ -0,0 +1,149 @@ +// 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 stackmonitoring + +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 Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. +// +// List Defined Monitoring Templates. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.GetDefinedMonitoringTemplates(ctx, &stackmonitoring.GetDefinedMonitoringTemplatesArgs{ +// CompartmentId: compartmentId, +// DisplayName: pulumi.StringRef(definedMonitoringTemplateDisplayName), +// ResourceTypes: definedMonitoringTemplateResourceTypes, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDefinedMonitoringTemplates(ctx *pulumi.Context, args *GetDefinedMonitoringTemplatesArgs, opts ...pulumi.InvokeOption) (*GetDefinedMonitoringTemplatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDefinedMonitoringTemplatesResult + err := ctx.Invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDefinedMonitoringTemplates. +type GetDefinedMonitoringTemplatesArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + CompartmentId string `pulumi:"compartmentId"` + // A filter to return monitoring template based on name. + DisplayName *string `pulumi:"displayName"` + Filters []GetDefinedMonitoringTemplatesFilter `pulumi:"filters"` + // Multiple resource types filter. + ResourceTypes []string `pulumi:"resourceTypes"` +} + +// A collection of values returned by getDefinedMonitoringTemplates. +type GetDefinedMonitoringTemplatesResult struct { + CompartmentId string `pulumi:"compartmentId"` + // The list of defined_monitoring_template_collection. + DefinedMonitoringTemplateCollections []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection `pulumi:"definedMonitoringTemplateCollections"` + // The name of the definedMonitoringTemplate. + DisplayName *string `pulumi:"displayName"` + Filters []GetDefinedMonitoringTemplatesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + ResourceTypes []string `pulumi:"resourceTypes"` +} + +func GetDefinedMonitoringTemplatesOutput(ctx *pulumi.Context, args GetDefinedMonitoringTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetDefinedMonitoringTemplatesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetDefinedMonitoringTemplatesResultOutput, error) { + args := v.(GetDefinedMonitoringTemplatesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", args, GetDefinedMonitoringTemplatesResultOutput{}, options).(GetDefinedMonitoringTemplatesResultOutput), nil + }).(GetDefinedMonitoringTemplatesResultOutput) +} + +// A collection of arguments for invoking getDefinedMonitoringTemplates. +type GetDefinedMonitoringTemplatesOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A filter to return monitoring template based on name. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDefinedMonitoringTemplatesFilterArrayInput `pulumi:"filters"` + // Multiple resource types filter. + ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"` +} + +func (GetDefinedMonitoringTemplatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesArgs)(nil)).Elem() +} + +// A collection of values returned by getDefinedMonitoringTemplates. +type GetDefinedMonitoringTemplatesResultOutput struct{ *pulumi.OutputState } + +func (GetDefinedMonitoringTemplatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesResult)(nil)).Elem() +} + +func (o GetDefinedMonitoringTemplatesResultOutput) ToGetDefinedMonitoringTemplatesResultOutput() GetDefinedMonitoringTemplatesResultOutput { + return o +} + +func (o GetDefinedMonitoringTemplatesResultOutput) ToGetDefinedMonitoringTemplatesResultOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesResultOutput { + return o +} + +func (o GetDefinedMonitoringTemplatesResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of defined_monitoring_template_collection. +func (o GetDefinedMonitoringTemplatesResultOutput) DefinedMonitoringTemplateCollections() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection { + return v.DefinedMonitoringTemplateCollections + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) +} + +// The name of the definedMonitoringTemplate. +func (o GetDefinedMonitoringTemplatesResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDefinedMonitoringTemplatesResultOutput) Filters() GetDefinedMonitoringTemplatesFilterArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) []GetDefinedMonitoringTemplatesFilter { return v.Filters }).(GetDefinedMonitoringTemplatesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDefinedMonitoringTemplatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDefinedMonitoringTemplatesResultOutput) ResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesResult) []string { return v.ResourceTypes }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesResultOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/getMetricExtension.go b/sdk/go/oci/stackmonitoring/getMetricExtension.go index 5124f0fc78..558bcdd40c 100644 --- a/sdk/go/oci/stackmonitoring/getMetricExtension.go +++ b/sdk/go/oci/stackmonitoring/getMetricExtension.go @@ -70,7 +70,7 @@ type LookupMetricExtensionResult struct { Description string `pulumi:"description"` // Display name of the metric. DisplayName string `pulumi:"displayName"` - // List of resource objects on which this metric extension is enabled. + // List of resource details objects having resourceIds on which this metric extension is enabled. EnabledOnResources []GetMetricExtensionEnabledOnResource `pulumi:"enabledOnResources"` // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount int `pulumi:"enabledOnResourcesCount"` @@ -166,7 +166,7 @@ func (o LookupMetricExtensionResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupMetricExtensionResult) string { return v.DisplayName }).(pulumi.StringOutput) } -// List of resource objects on which this metric extension is enabled. +// List of resource details objects having resourceIds on which this metric extension is enabled. func (o LookupMetricExtensionResultOutput) EnabledOnResources() GetMetricExtensionEnabledOnResourceArrayOutput { return o.ApplyT(func(v LookupMetricExtensionResult) []GetMetricExtensionEnabledOnResource { return v.EnabledOnResources }).(GetMetricExtensionEnabledOnResourceArrayOutput) } diff --git a/sdk/go/oci/stackmonitoring/getMonitoredResourceType.go b/sdk/go/oci/stackmonitoring/getMonitoredResourceType.go index cb848755db..692d482e45 100644 --- a/sdk/go/oci/stackmonitoring/getMonitoredResourceType.go +++ b/sdk/go/oci/stackmonitoring/getMonitoredResourceType.go @@ -58,6 +58,8 @@ type LookupMonitoredResourceTypeArgs struct { // A collection of values returned by getMonitoredResourceType. type LookupMonitoredResourceTypeResult struct { + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap map[string]string `pulumi:"additionalNamespaceMap"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -125,6 +127,11 @@ func (o LookupMonitoredResourceTypeResultOutput) ToLookupMonitoredResourceTypeRe return o } +// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. +func (o LookupMonitoredResourceTypeResultOutput) AdditionalNamespaceMap() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoredResourceTypeResult) map[string]string { return v.AdditionalNamespaceMap }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. func (o LookupMonitoredResourceTypeResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupMonitoredResourceTypeResult) string { return v.CompartmentId }).(pulumi.StringOutput) diff --git a/sdk/go/oci/stackmonitoring/getMonitoringTemplate.go b/sdk/go/oci/stackmonitoring/getMonitoringTemplate.go new file mode 100644 index 0000000000..a94426d65f --- /dev/null +++ b/sdk/go/oci/stackmonitoring/getMonitoringTemplate.go @@ -0,0 +1,244 @@ +// 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 stackmonitoring + +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 Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. +// +// # Gets a Monitoring Template by identifier +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.GetMonitoringTemplate(ctx, &stackmonitoring.GetMonitoringTemplateArgs{ +// MonitoringTemplateId: testMonitoringTemplateOciStackMonitoringMonitoringTemplate.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupMonitoringTemplate(ctx *pulumi.Context, args *LookupMonitoringTemplateArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringTemplateResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMonitoringTemplateResult + err := ctx.Invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMonitoringTemplate. +type LookupMonitoringTemplateArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` +} + +// A collection of values returned by getMonitoringTemplate. +type LookupMonitoringTemplateResult struct { + // The OCID of the compartment containing the monitoringTemplate. + 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"` + // A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description string `pulumi:"description"` + // A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + Destinations []string `pulumi:"destinations"` + // A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // The OCID of the resourceInstance/resourceType/resourceGroup + Id string `pulumi:"id"` + // Whether the alarm is enabled or disabled. Default value is enabled. + IsAlarmsEnabled bool `pulumi:"isAlarmsEnabled"` + // Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled bool `pulumi:"isSplitNotificationEnabled"` + // List of members of this monitoring template. + Members []GetMonitoringTemplateMember `pulumi:"members"` + // The format to use for alarm notifications. + MessageFormat string `pulumi:"messageFormat"` + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + RepeatNotificationDuration string `pulumi:"repeatNotificationDuration"` + // The current lifecycle state of the monitoring template. + State string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Applied or NotApplied. + Status string `pulumi:"status"` + // 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"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId string `pulumi:"tenantId"` + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated string `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated string `pulumi:"timeUpdated"` + // Total Alarm Conditions + TotalAlarmConditions float64 `pulumi:"totalAlarmConditions"` + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions float64 `pulumi:"totalAppliedAlarmConditions"` +} + +func LookupMonitoringTemplateOutput(ctx *pulumi.Context, args LookupMonitoringTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringTemplateResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupMonitoringTemplateResultOutput, error) { + args := v.(LookupMonitoringTemplateArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", args, LookupMonitoringTemplateResultOutput{}, options).(LookupMonitoringTemplateResultOutput), nil + }).(LookupMonitoringTemplateResultOutput) +} + +// A collection of arguments for invoking getMonitoringTemplate. +type LookupMonitoringTemplateOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput `pulumi:"monitoringTemplateId"` +} + +func (LookupMonitoringTemplateOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringTemplateArgs)(nil)).Elem() +} + +// A collection of values returned by getMonitoringTemplate. +type LookupMonitoringTemplateResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringTemplateResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringTemplateResult)(nil)).Elem() +} + +func (o LookupMonitoringTemplateResultOutput) ToLookupMonitoringTemplateResultOutput() LookupMonitoringTemplateResultOutput { + return o +} + +func (o LookupMonitoringTemplateResultOutput) ToLookupMonitoringTemplateResultOutputWithContext(ctx context.Context) LookupMonitoringTemplateResultOutput { + return o +} + +// The OCID of the compartment containing the monitoringTemplate. +func (o LookupMonitoringTemplateResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) 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 LookupMonitoringTemplateResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. +func (o LookupMonitoringTemplateResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.Description }).(pulumi.StringOutput) +} + +// A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. +func (o LookupMonitoringTemplateResultOutput) Destinations() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) []string { return v.Destinations }).(pulumi.StringArrayOutput) +} + +// A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. +func (o LookupMonitoringTemplateResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) 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 LookupMonitoringTemplateResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the resourceInstance/resourceType/resourceGroup +func (o LookupMonitoringTemplateResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Whether the alarm is enabled or disabled. Default value is enabled. +func (o LookupMonitoringTemplateResultOutput) IsAlarmsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) bool { return v.IsAlarmsEnabled }).(pulumi.BoolOutput) +} + +// Whether the alarm notification is enabled or disabled, it will be Enabled by default. +func (o LookupMonitoringTemplateResultOutput) IsSplitNotificationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) bool { return v.IsSplitNotificationEnabled }).(pulumi.BoolOutput) +} + +// List of members of this monitoring template. +func (o LookupMonitoringTemplateResultOutput) Members() GetMonitoringTemplateMemberArrayOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) []GetMonitoringTemplateMember { return v.Members }).(GetMonitoringTemplateMemberArrayOutput) +} + +// The format to use for alarm notifications. +func (o LookupMonitoringTemplateResultOutput) MessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.MessageFormat }).(pulumi.StringOutput) +} + +func (o LookupMonitoringTemplateResultOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.MonitoringTemplateId }).(pulumi.StringOutput) +} + +// The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. +func (o LookupMonitoringTemplateResultOutput) RepeatNotificationDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.RepeatNotificationDuration }).(pulumi.StringOutput) +} + +// The current lifecycle state of the monitoring template. +func (o LookupMonitoringTemplateResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.State }).(pulumi.StringOutput) +} + +// The current status of the monitoring template i.e. whether it is Applied or NotApplied. +func (o LookupMonitoringTemplateResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o LookupMonitoringTemplateResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) +func (o LookupMonitoringTemplateResultOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.TenantId }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was created. Format defined by RFC3339. +func (o LookupMonitoringTemplateResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. +func (o LookupMonitoringTemplateResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Total Alarm Conditions +func (o LookupMonitoringTemplateResultOutput) TotalAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v LookupMonitoringTemplateResult) float64 { return v.TotalAlarmConditions }).(pulumi.Float64Output) +} + +// Total Applied Alarm Conditions +func (o LookupMonitoringTemplateResultOutput) TotalAppliedAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v LookupMonitoringTemplateResult) float64 { return v.TotalAppliedAlarmConditions }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringTemplateResultOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmCondition.go b/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmCondition.go new file mode 100644 index 0000000000..062090e20d --- /dev/null +++ b/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmCondition.go @@ -0,0 +1,216 @@ +// 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 stackmonitoring + +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 Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. +// +// Gets a Alarm Condition by identifier. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.GetMonitoringTemplateAlarmCondition(ctx, &stackmonitoring.GetMonitoringTemplateAlarmConditionArgs{ +// AlarmConditionId: testAlarmCondition.Id, +// MonitoringTemplateId: testMonitoringTemplate.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupMonitoringTemplateAlarmCondition(ctx *pulumi.Context, args *LookupMonitoringTemplateAlarmConditionArgs, opts ...pulumi.InvokeOption) (*LookupMonitoringTemplateAlarmConditionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMonitoringTemplateAlarmConditionResult + err := ctx.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMonitoringTemplateAlarmCondition. +type LookupMonitoringTemplateAlarmConditionArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + AlarmConditionId string `pulumi:"alarmConditionId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` +} + +// A collection of values returned by getMonitoringTemplateAlarmCondition. +type LookupMonitoringTemplateAlarmConditionResult struct { + AlarmConditionId string `pulumi:"alarmConditionId"` + // The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType string `pulumi:"compositeType"` + // Type of defined monitoring template. + ConditionType string `pulumi:"conditionType"` + // Monitoring template conditions + Conditions []GetMonitoringTemplateAlarmConditionCondition `pulumi:"conditions"` + // 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"` + // 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + Id string `pulumi:"id"` + // The metric name. + MetricName string `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + // The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace string `pulumi:"namespace"` + // The resource type OCID. + ResourceType string `pulumi:"resourceType"` + // The current lifecycle state of the monitoring template + State string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Published or Unpublished + Status string `pulumi:"status"` + // 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated string `pulumi:"timeCreated"` + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupMonitoringTemplateAlarmConditionOutput(ctx *pulumi.Context, args LookupMonitoringTemplateAlarmConditionOutputArgs, opts ...pulumi.InvokeOption) LookupMonitoringTemplateAlarmConditionResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupMonitoringTemplateAlarmConditionResultOutput, error) { + args := v.(LookupMonitoringTemplateAlarmConditionArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", args, LookupMonitoringTemplateAlarmConditionResultOutput{}, options).(LookupMonitoringTemplateAlarmConditionResultOutput), nil + }).(LookupMonitoringTemplateAlarmConditionResultOutput) +} + +// A collection of arguments for invoking getMonitoringTemplateAlarmCondition. +type LookupMonitoringTemplateAlarmConditionOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + AlarmConditionId pulumi.StringInput `pulumi:"alarmConditionId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput `pulumi:"monitoringTemplateId"` +} + +func (LookupMonitoringTemplateAlarmConditionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringTemplateAlarmConditionArgs)(nil)).Elem() +} + +// A collection of values returned by getMonitoringTemplateAlarmCondition. +type LookupMonitoringTemplateAlarmConditionResultOutput struct{ *pulumi.OutputState } + +func (LookupMonitoringTemplateAlarmConditionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMonitoringTemplateAlarmConditionResult)(nil)).Elem() +} + +func (o LookupMonitoringTemplateAlarmConditionResultOutput) ToLookupMonitoringTemplateAlarmConditionResultOutput() LookupMonitoringTemplateAlarmConditionResultOutput { + return o +} + +func (o LookupMonitoringTemplateAlarmConditionResultOutput) ToLookupMonitoringTemplateAlarmConditionResultOutputWithContext(ctx context.Context) LookupMonitoringTemplateAlarmConditionResultOutput { + return o +} + +func (o LookupMonitoringTemplateAlarmConditionResultOutput) AlarmConditionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.AlarmConditionId }).(pulumi.StringOutput) +} + +// The OCID of the composite resource type like EBS/PEOPLE_SOFT. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.CompositeType }).(pulumi.StringOutput) +} + +// Type of defined monitoring template. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) ConditionType() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.ConditionType }).(pulumi.StringOutput) +} + +// Monitoring template conditions +func (o LookupMonitoringTemplateAlarmConditionResultOutput) Conditions() GetMonitoringTemplateAlarmConditionConditionArrayOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) []GetMonitoringTemplateAlarmConditionCondition { + return v.Conditions + }).(GetMonitoringTemplateAlarmConditionConditionArrayOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o LookupMonitoringTemplateAlarmConditionResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// 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 LookupMonitoringTemplateAlarmConditionResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The metric name. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.MetricName }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.MonitoringTemplateId }).(pulumi.StringOutput) +} + +// The stack monitoring service or application emitting the metric that is evaluated by the alarm. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.Namespace }).(pulumi.StringOutput) +} + +// The resource type OCID. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +// The current lifecycle state of the monitoring template +func (o LookupMonitoringTemplateAlarmConditionResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.State }).(pulumi.StringOutput) +} + +// The current status of the monitoring template i.e. whether it is Published or Unpublished +func (o LookupMonitoringTemplateAlarmConditionResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o LookupMonitoringTemplateAlarmConditionResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// The date and time the alarm condition was created. Format defined by RFC3339. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the alarm condition was updated. Format defined by RFC3339. +func (o LookupMonitoringTemplateAlarmConditionResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupMonitoringTemplateAlarmConditionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMonitoringTemplateAlarmConditionResultOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmConditions.go b/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmConditions.go new file mode 100644 index 0000000000..511981ff21 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/getMonitoringTemplateAlarmConditions.go @@ -0,0 +1,191 @@ +// 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 stackmonitoring + +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 Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. +// +// Returns a list of Alarm Conditions. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.GetMonitoringTemplateAlarmConditions(ctx, &stackmonitoring.GetMonitoringTemplateAlarmConditionsArgs{ +// MonitoringTemplateId: testMonitoringTemplate.Id, +// MetricNames: testMetric.Name, +// ResourceTypes: monitoringTemplateAlarmConditionResourceTypes, +// State: pulumi.StringRef(monitoringTemplateAlarmConditionState), +// Status: pulumi.StringRef(monitoringTemplateAlarmConditionStatus), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetMonitoringTemplateAlarmConditions(ctx *pulumi.Context, args *GetMonitoringTemplateAlarmConditionsArgs, opts ...pulumi.InvokeOption) (*GetMonitoringTemplateAlarmConditionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMonitoringTemplateAlarmConditionsResult + err := ctx.Invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMonitoringTemplateAlarmConditions. +type GetMonitoringTemplateAlarmConditionsArgs struct { + AlarmConditionId string `pulumi:"alarmConditionId"` + CompartmentId *string `pulumi:"compartmentId"` + Filters []GetMonitoringTemplateAlarmConditionsFilter `pulumi:"filters"` + // metricName filter. + MetricNames []string `pulumi:"metricNames"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + // Multiple resource types filter. + ResourceTypes []string `pulumi:"resourceTypes"` + // A filter to return alarm condition based on Lifecycle State. + State *string `pulumi:"state"` + // A filter to return alarm condition based on input status. + Status *string `pulumi:"status"` +} + +// A collection of values returned by getMonitoringTemplateAlarmConditions. +type GetMonitoringTemplateAlarmConditionsResult struct { + // The list of alarm_condition_collection. + AlarmConditionCollections []GetMonitoringTemplateAlarmConditionsAlarmConditionCollection `pulumi:"alarmConditionCollections"` + AlarmConditionId string `pulumi:"alarmConditionId"` + CompartmentId *string `pulumi:"compartmentId"` + Filters []GetMonitoringTemplateAlarmConditionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The metric name. + MetricNames []string `pulumi:"metricNames"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + ResourceTypes []string `pulumi:"resourceTypes"` + // The current lifecycle state of the monitoring template + State *string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Published or Unpublished + Status *string `pulumi:"status"` +} + +func GetMonitoringTemplateAlarmConditionsOutput(ctx *pulumi.Context, args GetMonitoringTemplateAlarmConditionsOutputArgs, opts ...pulumi.InvokeOption) GetMonitoringTemplateAlarmConditionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetMonitoringTemplateAlarmConditionsResultOutput, error) { + args := v.(GetMonitoringTemplateAlarmConditionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", args, GetMonitoringTemplateAlarmConditionsResultOutput{}, options).(GetMonitoringTemplateAlarmConditionsResultOutput), nil + }).(GetMonitoringTemplateAlarmConditionsResultOutput) +} + +// A collection of arguments for invoking getMonitoringTemplateAlarmConditions. +type GetMonitoringTemplateAlarmConditionsOutputArgs struct { + AlarmConditionId pulumi.StringInput `pulumi:"alarmConditionId"` + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + Filters GetMonitoringTemplateAlarmConditionsFilterArrayInput `pulumi:"filters"` + // metricName filter. + MetricNames pulumi.StringArrayInput `pulumi:"metricNames"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput `pulumi:"monitoringTemplateId"` + // Multiple resource types filter. + ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"` + // A filter to return alarm condition based on Lifecycle State. + State pulumi.StringPtrInput `pulumi:"state"` + // A filter to return alarm condition based on input status. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetMonitoringTemplateAlarmConditionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsArgs)(nil)).Elem() +} + +// A collection of values returned by getMonitoringTemplateAlarmConditions. +type GetMonitoringTemplateAlarmConditionsResultOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplateAlarmConditionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsResult)(nil)).Elem() +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) ToGetMonitoringTemplateAlarmConditionsResultOutput() GetMonitoringTemplateAlarmConditionsResultOutput { + return o +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) ToGetMonitoringTemplateAlarmConditionsResultOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsResultOutput { + return o +} + +// The list of alarm_condition_collection. +func (o GetMonitoringTemplateAlarmConditionsResultOutput) AlarmConditionCollections() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) []GetMonitoringTemplateAlarmConditionsAlarmConditionCollection { + return v.AlarmConditionCollections + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) AlarmConditionId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) string { return v.AlarmConditionId }).(pulumi.StringOutput) +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) Filters() GetMonitoringTemplateAlarmConditionsFilterArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) []GetMonitoringTemplateAlarmConditionsFilter { + return v.Filters + }).(GetMonitoringTemplateAlarmConditionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetMonitoringTemplateAlarmConditionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The metric name. +func (o GetMonitoringTemplateAlarmConditionsResultOutput) MetricNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) []string { return v.MetricNames }).(pulumi.StringArrayOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. +func (o GetMonitoringTemplateAlarmConditionsResultOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) string { return v.MonitoringTemplateId }).(pulumi.StringOutput) +} + +func (o GetMonitoringTemplateAlarmConditionsResultOutput) ResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) []string { return v.ResourceTypes }).(pulumi.StringArrayOutput) +} + +// The current lifecycle state of the monitoring template +func (o GetMonitoringTemplateAlarmConditionsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// The current status of the monitoring template i.e. whether it is Published or Unpublished +func (o GetMonitoringTemplateAlarmConditionsResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsResultOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/getMonitoringTemplates.go b/sdk/go/oci/stackmonitoring/getMonitoringTemplates.go new file mode 100644 index 0000000000..706f751086 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/getMonitoringTemplates.go @@ -0,0 +1,205 @@ +// 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 stackmonitoring + +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 Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. +// +// Returns a list of Monitoring Templates. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.GetMonitoringTemplates(ctx, &stackmonitoring.GetMonitoringTemplatesArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// DisplayName: pulumi.StringRef(monitoringTemplateDisplayName), +// MetricNames: testMetric.Name, +// MonitoringTemplateId: pulumi.StringRef(testMonitoringTemplate.Id), +// Namespaces: monitoringTemplateNamespace, +// ResourceTypes: monitoringTemplateResourceTypes, +// State: pulumi.StringRef(monitoringTemplateState), +// Status: pulumi.StringRef(monitoringTemplateStatus), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetMonitoringTemplates(ctx *pulumi.Context, args *GetMonitoringTemplatesArgs, opts ...pulumi.InvokeOption) (*GetMonitoringTemplatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMonitoringTemplatesResult + err := ctx.Invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMonitoringTemplates. +type GetMonitoringTemplatesArgs struct { + // The ID of the compartment in which data is listed. + CompartmentId *string `pulumi:"compartmentId"` + // A filter to return monitoring template based on name. + DisplayName *string `pulumi:"displayName"` + Filters []GetMonitoringTemplatesFilter `pulumi:"filters"` + // metricName filter. + MetricNames []string `pulumi:"metricNames"` + // A filter to return monitoring template based on input monitoringTemplateId + MonitoringTemplateId *string `pulumi:"monitoringTemplateId"` + // namespace filter. + Namespaces []string `pulumi:"namespaces"` + // Multiple resource types filter. + ResourceTypes []string `pulumi:"resourceTypes"` + // A filter to return monitoring template based on Lifecycle State + State *string `pulumi:"state"` + // A filter to return monitoring template based on input status + Status *string `pulumi:"status"` +} + +// A collection of values returned by getMonitoringTemplates. +type GetMonitoringTemplatesResult struct { + // The OCID of the compartment containing the monitoringTemplate. + CompartmentId *string `pulumi:"compartmentId"` + // A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + Filters []GetMonitoringTemplatesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + MetricNames []string `pulumi:"metricNames"` + // The list of monitoring_template_collection. + MonitoringTemplateCollections []GetMonitoringTemplatesMonitoringTemplateCollection `pulumi:"monitoringTemplateCollections"` + MonitoringTemplateId *string `pulumi:"monitoringTemplateId"` + Namespaces []string `pulumi:"namespaces"` + ResourceTypes []string `pulumi:"resourceTypes"` + // The current lifecycle state of the monitoring template. + State *string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Applied or NotApplied. + Status *string `pulumi:"status"` +} + +func GetMonitoringTemplatesOutput(ctx *pulumi.Context, args GetMonitoringTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetMonitoringTemplatesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetMonitoringTemplatesResultOutput, error) { + args := v.(GetMonitoringTemplatesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", args, GetMonitoringTemplatesResultOutput{}, options).(GetMonitoringTemplatesResultOutput), nil + }).(GetMonitoringTemplatesResultOutput) +} + +// A collection of arguments for invoking getMonitoringTemplates. +type GetMonitoringTemplatesOutputArgs struct { + // The ID of the compartment in which data is listed. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // A filter to return monitoring template based on name. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetMonitoringTemplatesFilterArrayInput `pulumi:"filters"` + // metricName filter. + MetricNames pulumi.StringArrayInput `pulumi:"metricNames"` + // A filter to return monitoring template based on input monitoringTemplateId + MonitoringTemplateId pulumi.StringPtrInput `pulumi:"monitoringTemplateId"` + // namespace filter. + Namespaces pulumi.StringArrayInput `pulumi:"namespaces"` + // Multiple resource types filter. + ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"` + // A filter to return monitoring template based on Lifecycle State + State pulumi.StringPtrInput `pulumi:"state"` + // A filter to return monitoring template based on input status + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetMonitoringTemplatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesArgs)(nil)).Elem() +} + +// A collection of values returned by getMonitoringTemplates. +type GetMonitoringTemplatesResultOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesResult)(nil)).Elem() +} + +func (o GetMonitoringTemplatesResultOutput) ToGetMonitoringTemplatesResultOutput() GetMonitoringTemplatesResultOutput { + return o +} + +func (o GetMonitoringTemplatesResultOutput) ToGetMonitoringTemplatesResultOutputWithContext(ctx context.Context) GetMonitoringTemplatesResultOutput { + return o +} + +// The OCID of the compartment containing the monitoringTemplate. +func (o GetMonitoringTemplatesResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +// A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. +func (o GetMonitoringTemplatesResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetMonitoringTemplatesResultOutput) Filters() GetMonitoringTemplatesFilterArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) []GetMonitoringTemplatesFilter { return v.Filters }).(GetMonitoringTemplatesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetMonitoringTemplatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMonitoringTemplatesResultOutput) MetricNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) []string { return v.MetricNames }).(pulumi.StringArrayOutput) +} + +// The list of monitoring_template_collection. +func (o GetMonitoringTemplatesResultOutput) MonitoringTemplateCollections() GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) []GetMonitoringTemplatesMonitoringTemplateCollection { + return v.MonitoringTemplateCollections + }).(GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) +} + +func (o GetMonitoringTemplatesResultOutput) MonitoringTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) *string { return v.MonitoringTemplateId }).(pulumi.StringPtrOutput) +} + +func (o GetMonitoringTemplatesResultOutput) Namespaces() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) []string { return v.Namespaces }).(pulumi.StringArrayOutput) +} + +func (o GetMonitoringTemplatesResultOutput) ResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) []string { return v.ResourceTypes }).(pulumi.StringArrayOutput) +} + +// The current lifecycle state of the monitoring template. +func (o GetMonitoringTemplatesResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// The current status of the monitoring template i.e. whether it is Applied or NotApplied. +func (o GetMonitoringTemplatesResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMonitoringTemplatesResultOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/init.go b/sdk/go/oci/stackmonitoring/init.go index a263c0bc10..5920cbefba 100644 --- a/sdk/go/oci/stackmonitoring/init.go +++ b/sdk/go/oci/stackmonitoring/init.go @@ -53,6 +53,12 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &MonitoredResourcesSearch{} case "oci:StackMonitoring/monitoredResourcesSearchAssociation:MonitoredResourcesSearchAssociation": r = &MonitoredResourcesSearchAssociation{} + case "oci:StackMonitoring/monitoringTemplate:MonitoringTemplate": + r = &MonitoringTemplate{} + case "oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition": + r = &MonitoringTemplateAlarmCondition{} + case "oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement": + r = &MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement{} case "oci:StackMonitoring/processSet:ProcessSet": r = &ProcessSet{} default: @@ -148,6 +154,21 @@ func init() { "StackMonitoring/monitoredResourcesSearchAssociation", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "StackMonitoring/monitoringTemplate", + &module{version}, + ) + pulumi.RegisterResourceModule( + "oci", + "StackMonitoring/monitoringTemplateAlarmCondition", + &module{version}, + ) + pulumi.RegisterResourceModule( + "oci", + "StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "StackMonitoring/processSet", diff --git a/sdk/go/oci/stackmonitoring/metricExtension.go b/sdk/go/oci/stackmonitoring/metricExtension.go index 1ca21e3aca..3eaf384a6b 100644 --- a/sdk/go/oci/stackmonitoring/metricExtension.go +++ b/sdk/go/oci/stackmonitoring/metricExtension.go @@ -116,7 +116,7 @@ type MetricExtension struct { Description pulumi.StringOutput `pulumi:"description"` // (Updatable) Metric Extension display name. DisplayName pulumi.StringOutput `pulumi:"displayName"` - // List of resource objects on which this metric extension is enabled. + // List of resource details objects having resourceIds on which this metric extension is enabled. EnabledOnResources MetricExtensionEnabledOnResourceArrayOutput `pulumi:"enabledOnResources"` // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount pulumi.IntOutput `pulumi:"enabledOnResourcesCount"` @@ -209,7 +209,7 @@ type metricExtensionState struct { Description *string `pulumi:"description"` // (Updatable) Metric Extension display name. DisplayName *string `pulumi:"displayName"` - // List of resource objects on which this metric extension is enabled. + // List of resource details objects having resourceIds on which this metric extension is enabled. EnabledOnResources []MetricExtensionEnabledOnResource `pulumi:"enabledOnResources"` // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount *int `pulumi:"enabledOnResourcesCount"` @@ -255,7 +255,7 @@ type MetricExtensionState struct { Description pulumi.StringPtrInput // (Updatable) Metric Extension display name. DisplayName pulumi.StringPtrInput - // List of resource objects on which this metric extension is enabled. + // List of resource details objects having resourceIds on which this metric extension is enabled. EnabledOnResources MetricExtensionEnabledOnResourceArrayInput // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount pulumi.IntPtrInput @@ -458,7 +458,7 @@ func (o MetricExtensionOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *MetricExtension) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } -// List of resource objects on which this metric extension is enabled. +// List of resource details objects having resourceIds on which this metric extension is enabled. func (o MetricExtensionOutput) EnabledOnResources() MetricExtensionEnabledOnResourceArrayOutput { return o.ApplyT(func(v *MetricExtension) MetricExtensionEnabledOnResourceArrayOutput { return v.EnabledOnResources }).(MetricExtensionEnabledOnResourceArrayOutput) } diff --git a/sdk/go/oci/stackmonitoring/monitoredResourceType.go b/sdk/go/oci/stackmonitoring/monitoredResourceType.go index 01486b5f71..0faad36526 100644 --- a/sdk/go/oci/stackmonitoring/monitoredResourceType.go +++ b/sdk/go/oci/stackmonitoring/monitoredResourceType.go @@ -53,6 +53,7 @@ import ( // ValidPropertiesForCreates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForCreate), // ValidPropertiesForUpdates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForUpdate), // ValidPropertyValues: pulumi.Any(monitoredResourceTypeMetadataValidPropertyValues), +// ValidSubResourceTypes: pulumi.Any(monitoredResourceTypeMetadataValidSubResourceTypes), // }, // MetricNamespace: pulumi.Any(monitoredResourceTypeMetricNamespace), // ResourceCategory: pulumi.Any(monitoredResourceTypeResourceCategory), @@ -77,6 +78,8 @@ import ( type MonitoredResourceType struct { pulumi.CustomResourceState + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap pulumi.StringMapOutput `pulumi:"additionalNamespaceMap"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. 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"}` @@ -143,6 +146,8 @@ func GetMonitoredResourceType(ctx *pulumi.Context, // Input properties used for looking up and filtering MonitoredResourceType resources. type monitoredResourceTypeState struct { + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap map[string]string `pulumi:"additionalNamespaceMap"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. 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"}` @@ -177,6 +182,8 @@ type monitoredResourceTypeState struct { } type MonitoredResourceTypeState struct { + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap pulumi.StringMapInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. CompartmentId pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -354,6 +361,11 @@ func (o MonitoredResourceTypeOutput) ToMonitoredResourceTypeOutputWithContext(ct return o } +// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. +func (o MonitoredResourceTypeOutput) AdditionalNamespaceMap() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoredResourceType) pulumi.StringMapOutput { return v.AdditionalNamespaceMap }).(pulumi.StringMapOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. func (o MonitoredResourceTypeOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *MonitoredResourceType) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) diff --git a/sdk/go/oci/stackmonitoring/monitoringTemplate.go b/sdk/go/oci/stackmonitoring/monitoringTemplate.go new file mode 100644 index 0000000000..b006e5fc08 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/monitoringTemplate.go @@ -0,0 +1,540 @@ +// 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 stackmonitoring + +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 Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. +// +// Creates a new monitoring template for a given compartment. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.NewMonitoringTemplate(ctx, "test_monitoring_template", &stackmonitoring.MonitoringTemplateArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// Destinations: pulumi.Any(monitoringTemplateDestinations), +// DisplayName: pulumi.Any(monitoringTemplateDisplayName), +// Members: stackmonitoring.MonitoringTemplateMemberArray{ +// &stackmonitoring.MonitoringTemplateMemberArgs{ +// Id: pulumi.Any(monitoringTemplateMembersId), +// Type: pulumi.Any(monitoringTemplateMembersType), +// CompositeType: pulumi.Any(monitoringTemplateMembersCompositeType), +// }, +// }, +// DefinedTags: pulumi.StringMap{ +// "foo-namespace.bar-key": pulumi.String("value"), +// }, +// Description: pulumi.Any(monitoringTemplateDescription), +// FreeformTags: pulumi.StringMap{ +// "bar-key": pulumi.String("value"), +// }, +// IsAlarmsEnabled: pulumi.Any(monitoringTemplateIsAlarmsEnabled), +// IsSplitNotificationEnabled: pulumi.Any(monitoringTemplateIsSplitNotificationEnabled), +// MessageFormat: pulumi.Any(monitoringTemplateMessageFormat), +// RepeatNotificationDuration: pulumi.Any(monitoringTemplateRepeatNotificationDuration), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// MonitoringTemplates can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "id" +// ``` +type MonitoringTemplate struct { + pulumi.CustomResourceState + + // The OCID of the compartment containing the monitoringTemplate. + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + Destinations pulumi.StringArrayOutput `pulumi:"destinations"` + // (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` + // (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + IsAlarmsEnabled pulumi.BoolOutput `pulumi:"isAlarmsEnabled"` + // (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled pulumi.BoolOutput `pulumi:"isSplitNotificationEnabled"` + // (Updatable) List of members of this monitoring template + Members MonitoringTemplateMemberArrayOutput `pulumi:"members"` + // (Updatable) The format to use for alarm notifications. + MessageFormat pulumi.StringOutput `pulumi:"messageFormat"` + // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + RepeatNotificationDuration pulumi.StringOutput `pulumi:"repeatNotificationDuration"` + // The current lifecycle state of the monitoring template. + State pulumi.StringOutput `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Applied or NotApplied. + Status pulumi.StringOutput `pulumi:"status"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId pulumi.StringOutput `pulumi:"tenantId"` + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // Total Alarm Conditions + TotalAlarmConditions pulumi.Float64Output `pulumi:"totalAlarmConditions"` + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions pulumi.Float64Output `pulumi:"totalAppliedAlarmConditions"` +} + +// NewMonitoringTemplate registers a new resource with the given unique name, arguments, and options. +func NewMonitoringTemplate(ctx *pulumi.Context, + name string, args *MonitoringTemplateArgs, opts ...pulumi.ResourceOption) (*MonitoringTemplate, 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.Destinations == nil { + return nil, errors.New("invalid value for required argument 'Destinations'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.Members == nil { + return nil, errors.New("invalid value for required argument 'Members'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource MonitoringTemplate + err := ctx.RegisterResource("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMonitoringTemplate gets an existing MonitoringTemplate 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 GetMonitoringTemplate(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringTemplateState, opts ...pulumi.ResourceOption) (*MonitoringTemplate, error) { + var resource MonitoringTemplate + err := ctx.ReadResource("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MonitoringTemplate resources. +type monitoringTemplateState struct { + // The OCID of the compartment containing the monitoringTemplate. + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + Destinations []string `pulumi:"destinations"` + // (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + IsAlarmsEnabled *bool `pulumi:"isAlarmsEnabled"` + // (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled *bool `pulumi:"isSplitNotificationEnabled"` + // (Updatable) List of members of this monitoring template + Members []MonitoringTemplateMember `pulumi:"members"` + // (Updatable) The format to use for alarm notifications. + MessageFormat *string `pulumi:"messageFormat"` + // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + RepeatNotificationDuration *string `pulumi:"repeatNotificationDuration"` + // The current lifecycle state of the monitoring template. + State *string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Applied or NotApplied. + Status *string `pulumi:"status"` + // 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"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId *string `pulumi:"tenantId"` + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` + // Total Alarm Conditions + TotalAlarmConditions *float64 `pulumi:"totalAlarmConditions"` + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions *float64 `pulumi:"totalAppliedAlarmConditions"` +} + +type MonitoringTemplateState struct { + // The OCID of the compartment containing the monitoringTemplate. + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + Destinations pulumi.StringArrayInput + // (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + DisplayName pulumi.StringPtrInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.StringMapInput + // (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + IsAlarmsEnabled pulumi.BoolPtrInput + // (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled pulumi.BoolPtrInput + // (Updatable) List of members of this monitoring template + Members MonitoringTemplateMemberArrayInput + // (Updatable) The format to use for alarm notifications. + MessageFormat pulumi.StringPtrInput + // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + RepeatNotificationDuration pulumi.StringPtrInput + // The current lifecycle state of the monitoring template. + State pulumi.StringPtrInput + // The current status of the monitoring template i.e. whether it is Applied or NotApplied. + Status pulumi.StringPtrInput + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId pulumi.StringPtrInput + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput + // Total Alarm Conditions + TotalAlarmConditions pulumi.Float64PtrInput + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions pulumi.Float64PtrInput +} + +func (MonitoringTemplateState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateState)(nil)).Elem() +} + +type monitoringTemplateArgs struct { + // The OCID of the compartment containing the monitoringTemplate. + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + Destinations []string `pulumi:"destinations"` + // (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + IsAlarmsEnabled *bool `pulumi:"isAlarmsEnabled"` + // (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled *bool `pulumi:"isSplitNotificationEnabled"` + // (Updatable) List of members of this monitoring template + Members []MonitoringTemplateMember `pulumi:"members"` + // (Updatable) The format to use for alarm notifications. + MessageFormat *string `pulumi:"messageFormat"` + // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + RepeatNotificationDuration *string `pulumi:"repeatNotificationDuration"` +} + +// The set of arguments for constructing a MonitoringTemplate resource. +type MonitoringTemplateArgs struct { + // The OCID of the compartment containing the monitoringTemplate. + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + Destinations pulumi.StringArrayInput + // (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + DisplayName pulumi.StringInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.StringMapInput + // (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + IsAlarmsEnabled pulumi.BoolPtrInput + // (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled pulumi.BoolPtrInput + // (Updatable) List of members of this monitoring template + Members MonitoringTemplateMemberArrayInput + // (Updatable) The format to use for alarm notifications. + MessageFormat pulumi.StringPtrInput + // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + RepeatNotificationDuration pulumi.StringPtrInput +} + +func (MonitoringTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateArgs)(nil)).Elem() +} + +type MonitoringTemplateInput interface { + pulumi.Input + + ToMonitoringTemplateOutput() MonitoringTemplateOutput + ToMonitoringTemplateOutputWithContext(ctx context.Context) MonitoringTemplateOutput +} + +func (*MonitoringTemplate) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplate)(nil)).Elem() +} + +func (i *MonitoringTemplate) ToMonitoringTemplateOutput() MonitoringTemplateOutput { + return i.ToMonitoringTemplateOutputWithContext(context.Background()) +} + +func (i *MonitoringTemplate) ToMonitoringTemplateOutputWithContext(ctx context.Context) MonitoringTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateOutput) +} + +// MonitoringTemplateArrayInput is an input type that accepts MonitoringTemplateArray and MonitoringTemplateArrayOutput values. +// You can construct a concrete instance of `MonitoringTemplateArrayInput` via: +// +// MonitoringTemplateArray{ MonitoringTemplateArgs{...} } +type MonitoringTemplateArrayInput interface { + pulumi.Input + + ToMonitoringTemplateArrayOutput() MonitoringTemplateArrayOutput + ToMonitoringTemplateArrayOutputWithContext(context.Context) MonitoringTemplateArrayOutput +} + +type MonitoringTemplateArray []MonitoringTemplateInput + +func (MonitoringTemplateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplate)(nil)).Elem() +} + +func (i MonitoringTemplateArray) ToMonitoringTemplateArrayOutput() MonitoringTemplateArrayOutput { + return i.ToMonitoringTemplateArrayOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateArray) ToMonitoringTemplateArrayOutputWithContext(ctx context.Context) MonitoringTemplateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateArrayOutput) +} + +// MonitoringTemplateMapInput is an input type that accepts MonitoringTemplateMap and MonitoringTemplateMapOutput values. +// You can construct a concrete instance of `MonitoringTemplateMapInput` via: +// +// MonitoringTemplateMap{ "key": MonitoringTemplateArgs{...} } +type MonitoringTemplateMapInput interface { + pulumi.Input + + ToMonitoringTemplateMapOutput() MonitoringTemplateMapOutput + ToMonitoringTemplateMapOutputWithContext(context.Context) MonitoringTemplateMapOutput +} + +type MonitoringTemplateMap map[string]MonitoringTemplateInput + +func (MonitoringTemplateMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplate)(nil)).Elem() +} + +func (i MonitoringTemplateMap) ToMonitoringTemplateMapOutput() MonitoringTemplateMapOutput { + return i.ToMonitoringTemplateMapOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateMap) ToMonitoringTemplateMapOutputWithContext(ctx context.Context) MonitoringTemplateMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMapOutput) +} + +type MonitoringTemplateOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplate)(nil)).Elem() +} + +func (o MonitoringTemplateOutput) ToMonitoringTemplateOutput() MonitoringTemplateOutput { + return o +} + +func (o MonitoringTemplateOutput) ToMonitoringTemplateOutputWithContext(ctx context.Context) MonitoringTemplateOutput { + return o +} + +// The OCID of the compartment containing the monitoringTemplate. +func (o MonitoringTemplateOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) 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 MonitoringTemplateOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. +func (o MonitoringTemplateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. +func (o MonitoringTemplateOutput) Destinations() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringArrayOutput { return v.Destinations }).(pulumi.StringArrayOutput) +} + +// (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. +func (o MonitoringTemplateOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) 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 MonitoringTemplateOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. +func (o MonitoringTemplateOutput) IsAlarmsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.BoolOutput { return v.IsAlarmsEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. +func (o MonitoringTemplateOutput) IsSplitNotificationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.BoolOutput { return v.IsSplitNotificationEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) List of members of this monitoring template +func (o MonitoringTemplateOutput) Members() MonitoringTemplateMemberArrayOutput { + return o.ApplyT(func(v *MonitoringTemplate) MonitoringTemplateMemberArrayOutput { return v.Members }).(MonitoringTemplateMemberArrayOutput) +} + +// (Updatable) The format to use for alarm notifications. +func (o MonitoringTemplateOutput) MessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.MessageFormat }).(pulumi.StringOutput) +} + +// (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. +// +// ** IMPORTANT ** +// 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 MonitoringTemplateOutput) RepeatNotificationDuration() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.RepeatNotificationDuration }).(pulumi.StringOutput) +} + +// The current lifecycle state of the monitoring template. +func (o MonitoringTemplateOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The current status of the monitoring template i.e. whether it is Applied or NotApplied. +func (o MonitoringTemplateOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o MonitoringTemplateOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) +func (o MonitoringTemplateOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.TenantId }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was created. Format defined by RFC3339. +func (o MonitoringTemplateOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. +func (o MonitoringTemplateOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Total Alarm Conditions +func (o MonitoringTemplateOutput) TotalAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.Float64Output { return v.TotalAlarmConditions }).(pulumi.Float64Output) +} + +// Total Applied Alarm Conditions +func (o MonitoringTemplateOutput) TotalAppliedAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v *MonitoringTemplate) pulumi.Float64Output { return v.TotalAppliedAlarmConditions }).(pulumi.Float64Output) +} + +type MonitoringTemplateArrayOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplate)(nil)).Elem() +} + +func (o MonitoringTemplateArrayOutput) ToMonitoringTemplateArrayOutput() MonitoringTemplateArrayOutput { + return o +} + +func (o MonitoringTemplateArrayOutput) ToMonitoringTemplateArrayOutputWithContext(ctx context.Context) MonitoringTemplateArrayOutput { + return o +} + +func (o MonitoringTemplateArrayOutput) Index(i pulumi.IntInput) MonitoringTemplateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MonitoringTemplate { + return vs[0].([]*MonitoringTemplate)[vs[1].(int)] + }).(MonitoringTemplateOutput) +} + +type MonitoringTemplateMapOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplate)(nil)).Elem() +} + +func (o MonitoringTemplateMapOutput) ToMonitoringTemplateMapOutput() MonitoringTemplateMapOutput { + return o +} + +func (o MonitoringTemplateMapOutput) ToMonitoringTemplateMapOutputWithContext(ctx context.Context) MonitoringTemplateMapOutput { + return o +} + +func (o MonitoringTemplateMapOutput) MapIndex(k pulumi.StringInput) MonitoringTemplateOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MonitoringTemplate { + return vs[0].(map[string]*MonitoringTemplate)[vs[1].(string)] + }).(MonitoringTemplateOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateInput)(nil)).Elem(), &MonitoringTemplate{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateArrayInput)(nil)).Elem(), MonitoringTemplateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMapInput)(nil)).Elem(), MonitoringTemplateMap{}) + pulumi.RegisterOutputType(MonitoringTemplateOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateArrayOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateMapOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/monitoringTemplateAlarmCondition.go b/sdk/go/oci/stackmonitoring/monitoringTemplateAlarmCondition.go new file mode 100644 index 0000000000..b74b2d1699 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/monitoringTemplateAlarmCondition.go @@ -0,0 +1,486 @@ +// 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 stackmonitoring + +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 Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. +// +// Create a new alarm condition in same monitoringTemplate compartment. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.NewMonitoringTemplateAlarmCondition(ctx, "test_monitoring_template_alarm_condition", &stackmonitoring.MonitoringTemplateAlarmConditionArgs{ +// ConditionType: pulumi.Any(monitoringTemplateAlarmConditionConditionType), +// Conditions: stackmonitoring.MonitoringTemplateAlarmConditionConditionArray{ +// &stackmonitoring.MonitoringTemplateAlarmConditionConditionArgs{ +// Query: pulumi.Any(monitoringTemplateAlarmConditionConditionsQuery), +// Severity: pulumi.Any(monitoringTemplateAlarmConditionConditionsSeverity), +// Body: pulumi.Any(monitoringTemplateAlarmConditionConditionsBody), +// ShouldAppendNote: pulumi.Any(monitoringTemplateAlarmConditionConditionsShouldAppendNote), +// ShouldAppendUrl: pulumi.Any(monitoringTemplateAlarmConditionConditionsShouldAppendUrl), +// TriggerDelay: pulumi.Any(monitoringTemplateAlarmConditionConditionsTriggerDelay), +// }, +// }, +// MetricName: pulumi.Any(testMetric.Name), +// MonitoringTemplateId: pulumi.Any(testMonitoringTemplate.Id), +// Namespace: pulumi.Any(monitoringTemplateAlarmConditionNamespace), +// ResourceType: pulumi.Any(monitoringTemplateAlarmConditionResourceType), +// CompositeType: pulumi.Any(monitoringTemplateAlarmConditionCompositeType), +// DefinedTags: pulumi.StringMap{ +// "foo-namespace.bar-key": pulumi.String("value"), +// }, +// FreeformTags: pulumi.StringMap{ +// "bar-key": pulumi.String("value"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" +// ``` +type MonitoringTemplateAlarmCondition struct { + pulumi.CustomResourceState + + // (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType pulumi.StringOutput `pulumi:"compositeType"` + // (Updatable) Type of defined monitoring template. + ConditionType pulumi.StringOutput `pulumi:"conditionType"` + // (Updatable) Monitoring template conditions. + Conditions MonitoringTemplateAlarmConditionConditionArrayOutput `pulumi:"conditions"` + // (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) 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) The metric name. + MetricName pulumi.StringOutput `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringOutput `pulumi:"monitoringTemplateId"` + // (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace pulumi.StringOutput `pulumi:"namespace"` + // (Updatable) The resource group 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 + ResourceType pulumi.StringOutput `pulumi:"resourceType"` + // The current lifecycle state of the monitoring template + State pulumi.StringOutput `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Published or Unpublished + Status pulumi.StringOutput `pulumi:"status"` + // 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewMonitoringTemplateAlarmCondition registers a new resource with the given unique name, arguments, and options. +func NewMonitoringTemplateAlarmCondition(ctx *pulumi.Context, + name string, args *MonitoringTemplateAlarmConditionArgs, opts ...pulumi.ResourceOption) (*MonitoringTemplateAlarmCondition, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ConditionType == nil { + return nil, errors.New("invalid value for required argument 'ConditionType'") + } + if args.Conditions == nil { + return nil, errors.New("invalid value for required argument 'Conditions'") + } + if args.MetricName == nil { + return nil, errors.New("invalid value for required argument 'MetricName'") + } + if args.MonitoringTemplateId == nil { + return nil, errors.New("invalid value for required argument 'MonitoringTemplateId'") + } + if args.Namespace == nil { + return nil, errors.New("invalid value for required argument 'Namespace'") + } + if args.ResourceType == nil { + return nil, errors.New("invalid value for required argument 'ResourceType'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource MonitoringTemplateAlarmCondition + err := ctx.RegisterResource("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMonitoringTemplateAlarmCondition gets an existing MonitoringTemplateAlarmCondition 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 GetMonitoringTemplateAlarmCondition(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringTemplateAlarmConditionState, opts ...pulumi.ResourceOption) (*MonitoringTemplateAlarmCondition, error) { + var resource MonitoringTemplateAlarmCondition + err := ctx.ReadResource("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MonitoringTemplateAlarmCondition resources. +type monitoringTemplateAlarmConditionState struct { + // (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType *string `pulumi:"compositeType"` + // (Updatable) Type of defined monitoring template. + ConditionType *string `pulumi:"conditionType"` + // (Updatable) Monitoring template conditions. + Conditions []MonitoringTemplateAlarmConditionCondition `pulumi:"conditions"` + // (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) 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 metric name. + MetricName *string `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId *string `pulumi:"monitoringTemplateId"` + // (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace *string `pulumi:"namespace"` + // (Updatable) The resource group 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 + ResourceType *string `pulumi:"resourceType"` + // The current lifecycle state of the monitoring template + State *string `pulumi:"state"` + // The current status of the monitoring template i.e. whether it is Published or Unpublished + Status *string `pulumi:"status"` + // 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type MonitoringTemplateAlarmConditionState struct { + // (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType pulumi.StringPtrInput + // (Updatable) Type of defined monitoring template. + ConditionType pulumi.StringPtrInput + // (Updatable) Monitoring template conditions. + Conditions MonitoringTemplateAlarmConditionConditionArrayInput + // (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) 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 metric name. + MetricName pulumi.StringPtrInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringPtrInput + // (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace pulumi.StringPtrInput + // (Updatable) The resource group 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 + ResourceType pulumi.StringPtrInput + // The current lifecycle state of the monitoring template + State pulumi.StringPtrInput + // The current status of the monitoring template i.e. whether it is Published or Unpublished + Status 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput +} + +func (MonitoringTemplateAlarmConditionState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateAlarmConditionState)(nil)).Elem() +} + +type monitoringTemplateAlarmConditionArgs struct { + // (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType *string `pulumi:"compositeType"` + // (Updatable) Type of defined monitoring template. + ConditionType string `pulumi:"conditionType"` + // (Updatable) Monitoring template conditions. + Conditions []MonitoringTemplateAlarmConditionCondition `pulumi:"conditions"` + // (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) 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 metric name. + MetricName string `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + // (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace string `pulumi:"namespace"` + // (Updatable) The resource group 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 + ResourceType string `pulumi:"resourceType"` +} + +// The set of arguments for constructing a MonitoringTemplateAlarmCondition resource. +type MonitoringTemplateAlarmConditionArgs struct { + // (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType pulumi.StringPtrInput + // (Updatable) Type of defined monitoring template. + ConditionType pulumi.StringInput + // (Updatable) Monitoring template conditions. + Conditions MonitoringTemplateAlarmConditionConditionArrayInput + // (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) 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 metric name. + MetricName pulumi.StringInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput + // (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace pulumi.StringInput + // (Updatable) The resource group 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 + ResourceType pulumi.StringInput +} + +func (MonitoringTemplateAlarmConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateAlarmConditionArgs)(nil)).Elem() +} + +type MonitoringTemplateAlarmConditionInput interface { + pulumi.Input + + ToMonitoringTemplateAlarmConditionOutput() MonitoringTemplateAlarmConditionOutput + ToMonitoringTemplateAlarmConditionOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionOutput +} + +func (*MonitoringTemplateAlarmCondition) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (i *MonitoringTemplateAlarmCondition) ToMonitoringTemplateAlarmConditionOutput() MonitoringTemplateAlarmConditionOutput { + return i.ToMonitoringTemplateAlarmConditionOutputWithContext(context.Background()) +} + +func (i *MonitoringTemplateAlarmCondition) ToMonitoringTemplateAlarmConditionOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateAlarmConditionOutput) +} + +// MonitoringTemplateAlarmConditionArrayInput is an input type that accepts MonitoringTemplateAlarmConditionArray and MonitoringTemplateAlarmConditionArrayOutput values. +// You can construct a concrete instance of `MonitoringTemplateAlarmConditionArrayInput` via: +// +// MonitoringTemplateAlarmConditionArray{ MonitoringTemplateAlarmConditionArgs{...} } +type MonitoringTemplateAlarmConditionArrayInput interface { + pulumi.Input + + ToMonitoringTemplateAlarmConditionArrayOutput() MonitoringTemplateAlarmConditionArrayOutput + ToMonitoringTemplateAlarmConditionArrayOutputWithContext(context.Context) MonitoringTemplateAlarmConditionArrayOutput +} + +type MonitoringTemplateAlarmConditionArray []MonitoringTemplateAlarmConditionInput + +func (MonitoringTemplateAlarmConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (i MonitoringTemplateAlarmConditionArray) ToMonitoringTemplateAlarmConditionArrayOutput() MonitoringTemplateAlarmConditionArrayOutput { + return i.ToMonitoringTemplateAlarmConditionArrayOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateAlarmConditionArray) ToMonitoringTemplateAlarmConditionArrayOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateAlarmConditionArrayOutput) +} + +// MonitoringTemplateAlarmConditionMapInput is an input type that accepts MonitoringTemplateAlarmConditionMap and MonitoringTemplateAlarmConditionMapOutput values. +// You can construct a concrete instance of `MonitoringTemplateAlarmConditionMapInput` via: +// +// MonitoringTemplateAlarmConditionMap{ "key": MonitoringTemplateAlarmConditionArgs{...} } +type MonitoringTemplateAlarmConditionMapInput interface { + pulumi.Input + + ToMonitoringTemplateAlarmConditionMapOutput() MonitoringTemplateAlarmConditionMapOutput + ToMonitoringTemplateAlarmConditionMapOutputWithContext(context.Context) MonitoringTemplateAlarmConditionMapOutput +} + +type MonitoringTemplateAlarmConditionMap map[string]MonitoringTemplateAlarmConditionInput + +func (MonitoringTemplateAlarmConditionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (i MonitoringTemplateAlarmConditionMap) ToMonitoringTemplateAlarmConditionMapOutput() MonitoringTemplateAlarmConditionMapOutput { + return i.ToMonitoringTemplateAlarmConditionMapOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateAlarmConditionMap) ToMonitoringTemplateAlarmConditionMapOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateAlarmConditionMapOutput) +} + +type MonitoringTemplateAlarmConditionOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateAlarmConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (o MonitoringTemplateAlarmConditionOutput) ToMonitoringTemplateAlarmConditionOutput() MonitoringTemplateAlarmConditionOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionOutput) ToMonitoringTemplateAlarmConditionOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionOutput { + return o +} + +// (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. +func (o MonitoringTemplateAlarmConditionOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.CompositeType }).(pulumi.StringOutput) +} + +// (Updatable) Type of defined monitoring template. +func (o MonitoringTemplateAlarmConditionOutput) ConditionType() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.ConditionType }).(pulumi.StringOutput) +} + +// (Updatable) Monitoring template conditions. +func (o MonitoringTemplateAlarmConditionOutput) Conditions() MonitoringTemplateAlarmConditionConditionArrayOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) MonitoringTemplateAlarmConditionConditionArrayOutput { + return v.Conditions + }).(MonitoringTemplateAlarmConditionConditionArrayOutput) +} + +// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o MonitoringTemplateAlarmConditionOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// (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 MonitoringTemplateAlarmConditionOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// (Updatable) The metric name. +func (o MonitoringTemplateAlarmConditionOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.MetricName }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. +func (o MonitoringTemplateAlarmConditionOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.MonitoringTemplateId }).(pulumi.StringOutput) +} + +// (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. +func (o MonitoringTemplateAlarmConditionOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.Namespace }).(pulumi.StringOutput) +} + +// (Updatable) The resource group 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 MonitoringTemplateAlarmConditionOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.ResourceType }).(pulumi.StringOutput) +} + +// The current lifecycle state of the monitoring template +func (o MonitoringTemplateAlarmConditionOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The current status of the monitoring template i.e. whether it is Published or Unpublished +func (o MonitoringTemplateAlarmConditionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o MonitoringTemplateAlarmConditionOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// The date and time the alarm condition was created. Format defined by RFC3339. +func (o MonitoringTemplateAlarmConditionOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the alarm condition was updated. Format defined by RFC3339. +func (o MonitoringTemplateAlarmConditionOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateAlarmCondition) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type MonitoringTemplateAlarmConditionArrayOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateAlarmConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (o MonitoringTemplateAlarmConditionArrayOutput) ToMonitoringTemplateAlarmConditionArrayOutput() MonitoringTemplateAlarmConditionArrayOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionArrayOutput) ToMonitoringTemplateAlarmConditionArrayOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionArrayOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionArrayOutput) Index(i pulumi.IntInput) MonitoringTemplateAlarmConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MonitoringTemplateAlarmCondition { + return vs[0].([]*MonitoringTemplateAlarmCondition)[vs[1].(int)] + }).(MonitoringTemplateAlarmConditionOutput) +} + +type MonitoringTemplateAlarmConditionMapOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateAlarmConditionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplateAlarmCondition)(nil)).Elem() +} + +func (o MonitoringTemplateAlarmConditionMapOutput) ToMonitoringTemplateAlarmConditionMapOutput() MonitoringTemplateAlarmConditionMapOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionMapOutput) ToMonitoringTemplateAlarmConditionMapOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionMapOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionMapOutput) MapIndex(k pulumi.StringInput) MonitoringTemplateAlarmConditionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MonitoringTemplateAlarmCondition { + return vs[0].(map[string]*MonitoringTemplateAlarmCondition)[vs[1].(string)] + }).(MonitoringTemplateAlarmConditionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateAlarmConditionInput)(nil)).Elem(), &MonitoringTemplateAlarmCondition{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateAlarmConditionArrayInput)(nil)).Elem(), MonitoringTemplateAlarmConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateAlarmConditionMapInput)(nil)).Elem(), MonitoringTemplateAlarmConditionMap{}) + pulumi.RegisterOutputType(MonitoringTemplateAlarmConditionOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateAlarmConditionArrayOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateAlarmConditionMapOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.go b/sdk/go/oci/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.go new file mode 100644 index 0000000000..a11e91b0f3 --- /dev/null +++ b/sdk/go/oci/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.go @@ -0,0 +1,288 @@ +// 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 stackmonitoring + +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 Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. +// +// # Apply the Monitoring Template identified by the id +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := stackmonitoring.NewMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(ctx, "test_monitoring_template_monitoring_template_on_given_resources_management", &stackmonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs{ +// MonitoringTemplateId: pulumi.Any(testMonitoringTemplate.Id), +// EnableMonitoringTemplateOnGivenResources: pulumi.Any(enableMonitoringTemplateOnGivenResources), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement struct { + pulumi.CustomResourceState + + // (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 + EnableMonitoringTemplateOnGivenResources pulumi.BoolOutput `pulumi:"enableMonitoringTemplateOnGivenResources"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringOutput `pulumi:"monitoringTemplateId"` +} + +// NewMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement registers a new resource with the given unique name, arguments, and options. +func NewMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(ctx *pulumi.Context, + name string, args *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, opts ...pulumi.ResourceOption) (*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.EnableMonitoringTemplateOnGivenResources == nil { + return nil, errors.New("invalid value for required argument 'EnableMonitoringTemplateOnGivenResources'") + } + if args.MonitoringTemplateId == nil { + return nil, errors.New("invalid value for required argument 'MonitoringTemplateId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement + err := ctx.RegisterResource("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement gets an existing MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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 GetMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState, opts ...pulumi.ResourceOption) (*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement, error) { + var resource MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement + err := ctx.ReadResource("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources. +type monitoringTemplateMonitoringTemplateOnGivenResourcesManagementState struct { + // (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 + EnableMonitoringTemplateOnGivenResources *bool `pulumi:"enableMonitoringTemplateOnGivenResources"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId *string `pulumi:"monitoringTemplateId"` +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState struct { + // (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 + EnableMonitoringTemplateOnGivenResources pulumi.BoolPtrInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringPtrInput +} + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateMonitoringTemplateOnGivenResourcesManagementState)(nil)).Elem() +} + +type monitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs struct { + // (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 + EnableMonitoringTemplateOnGivenResources bool `pulumi:"enableMonitoringTemplateOnGivenResources"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` +} + +// The set of arguments for constructing a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource. +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs struct { + // (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 + EnableMonitoringTemplateOnGivenResources pulumi.BoolInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput +} + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*monitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs)(nil)).Elem() +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementInput interface { + pulumi.Input + + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput +} + +func (*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (i *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return i.ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutputWithContext(context.Background()) +} + +func (i *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) +} + +// MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayInput is an input type that accepts MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray and MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput values. +// You can construct a concrete instance of `MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayInput` via: +// +// MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray{ MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs{...} } +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayInput interface { + pulumi.Input + + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutputWithContext(context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray []MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementInput + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (i MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput { + return i.ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput) +} + +// MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapInput is an input type that accepts MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap and MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput values. +// You can construct a concrete instance of `MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapInput` via: +// +// MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap{ "key": MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs{...} } +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapInput interface { + pulumi.Input + + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput + ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutputWithContext(context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap map[string]MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementInput + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (i MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput { + return i.ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput) +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return o +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return o +} + +// (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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) EnableMonitoringTemplateOnGivenResources() pulumi.BoolOutput { + return o.ApplyT(func(v *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement) pulumi.BoolOutput { + return v.EnableMonitoringTemplateOnGivenResources + }).(pulumi.BoolOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement) pulumi.StringOutput { + return v.MonitoringTemplateId + }).(pulumi.StringOutput) +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput { + return o +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput { + return o +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput) Index(i pulumi.IntInput) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement { + return vs[0].([]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)[vs[1].(int)] + }).(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) +} + +type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)(nil)).Elem() +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput() MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput { + return o +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput) ToMonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutputWithContext(ctx context.Context) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput { + return o +} + +func (o MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput) MapIndex(k pulumi.StringInput) MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement { + return vs[0].(map[string]*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement)[vs[1].(string)] + }).(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementInput)(nil)).Elem(), &MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayInput)(nil)).Elem(), MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapInput)(nil)).Elem(), MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMap{}) + pulumi.RegisterOutputType(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArrayOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementMapOutput{}) +} diff --git a/sdk/go/oci/stackmonitoring/pulumiTypes.go b/sdk/go/oci/stackmonitoring/pulumiTypes.go index e19d833e67..e9c10a9d5e 100644 --- a/sdk/go/oci/stackmonitoring/pulumiTypes.go +++ b/sdk/go/oci/stackmonitoring/pulumiTypes.go @@ -4589,6 +4589,8 @@ type MonitoredResourceTypeMetadata struct { ValidPropertiesForUpdates []string `pulumi:"validPropertiesForUpdates"` // (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` ValidPropertyValues map[string]string `pulumi:"validPropertyValues"` + // (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes []string `pulumi:"validSubResourceTypes"` } // MonitoredResourceTypeMetadataInput is an input type that accepts MonitoredResourceTypeMetadataArgs and MonitoredResourceTypeMetadataOutput values. @@ -4618,6 +4620,8 @@ type MonitoredResourceTypeMetadataArgs struct { ValidPropertiesForUpdates pulumi.StringArrayInput `pulumi:"validPropertiesForUpdates"` // (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` ValidPropertyValues pulumi.StringMapInput `pulumi:"validPropertyValues"` + // (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes pulumi.StringArrayInput `pulumi:"validSubResourceTypes"` } func (MonitoredResourceTypeMetadataArgs) ElementType() reflect.Type { @@ -4735,6 +4739,11 @@ func (o MonitoredResourceTypeMetadataOutput) ValidPropertyValues() pulumi.String return o.ApplyT(func(v MonitoredResourceTypeMetadata) map[string]string { return v.ValidPropertyValues }).(pulumi.StringMapOutput) } +// (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types +func (o MonitoredResourceTypeMetadataOutput) ValidSubResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v MonitoredResourceTypeMetadata) []string { return v.ValidSubResourceTypes }).(pulumi.StringArrayOutput) +} + type MonitoredResourceTypeMetadataPtrOutput struct{ *pulumi.OutputState } func (MonitoredResourceTypeMetadataPtrOutput) ElementType() reflect.Type { @@ -4830,6 +4839,16 @@ func (o MonitoredResourceTypeMetadataPtrOutput) ValidPropertyValues() pulumi.Str }).(pulumi.StringMapOutput) } +// (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types +func (o MonitoredResourceTypeMetadataPtrOutput) ValidSubResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MonitoredResourceTypeMetadata) []string { + if v == nil { + return nil + } + return v.ValidSubResourceTypes + }).(pulumi.StringArrayOutput) +} + type MonitoredResourceTypeMetadataUniquePropertySet struct { // (Updatable) List of properties. Properties []string `pulumi:"properties"` @@ -6127,6 +6146,263 @@ func (o MonitoredResourcesSearchItemPropertyArrayOutput) Index(i pulumi.IntInput }).(MonitoredResourcesSearchItemPropertyOutput) } +type MonitoringTemplateAlarmConditionCondition struct { + // (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body *string `pulumi:"body"` + // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query string `pulumi:"query"` + // (Updatable) Severity - Critical/Warning + Severity string `pulumi:"severity"` + // (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote *bool `pulumi:"shouldAppendNote"` + // (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl *bool `pulumi:"shouldAppendUrl"` + // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay *string `pulumi:"triggerDelay"` +} + +// MonitoringTemplateAlarmConditionConditionInput is an input type that accepts MonitoringTemplateAlarmConditionConditionArgs and MonitoringTemplateAlarmConditionConditionOutput values. +// You can construct a concrete instance of `MonitoringTemplateAlarmConditionConditionInput` via: +// +// MonitoringTemplateAlarmConditionConditionArgs{...} +type MonitoringTemplateAlarmConditionConditionInput interface { + pulumi.Input + + ToMonitoringTemplateAlarmConditionConditionOutput() MonitoringTemplateAlarmConditionConditionOutput + ToMonitoringTemplateAlarmConditionConditionOutputWithContext(context.Context) MonitoringTemplateAlarmConditionConditionOutput +} + +type MonitoringTemplateAlarmConditionConditionArgs struct { + // (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body pulumi.StringPtrInput `pulumi:"body"` + // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query pulumi.StringInput `pulumi:"query"` + // (Updatable) Severity - Critical/Warning + Severity pulumi.StringInput `pulumi:"severity"` + // (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote pulumi.BoolPtrInput `pulumi:"shouldAppendNote"` + // (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl pulumi.BoolPtrInput `pulumi:"shouldAppendUrl"` + // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay pulumi.StringPtrInput `pulumi:"triggerDelay"` +} + +func (MonitoringTemplateAlarmConditionConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringTemplateAlarmConditionCondition)(nil)).Elem() +} + +func (i MonitoringTemplateAlarmConditionConditionArgs) ToMonitoringTemplateAlarmConditionConditionOutput() MonitoringTemplateAlarmConditionConditionOutput { + return i.ToMonitoringTemplateAlarmConditionConditionOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateAlarmConditionConditionArgs) ToMonitoringTemplateAlarmConditionConditionOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateAlarmConditionConditionOutput) +} + +// MonitoringTemplateAlarmConditionConditionArrayInput is an input type that accepts MonitoringTemplateAlarmConditionConditionArray and MonitoringTemplateAlarmConditionConditionArrayOutput values. +// You can construct a concrete instance of `MonitoringTemplateAlarmConditionConditionArrayInput` via: +// +// MonitoringTemplateAlarmConditionConditionArray{ MonitoringTemplateAlarmConditionConditionArgs{...} } +type MonitoringTemplateAlarmConditionConditionArrayInput interface { + pulumi.Input + + ToMonitoringTemplateAlarmConditionConditionArrayOutput() MonitoringTemplateAlarmConditionConditionArrayOutput + ToMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(context.Context) MonitoringTemplateAlarmConditionConditionArrayOutput +} + +type MonitoringTemplateAlarmConditionConditionArray []MonitoringTemplateAlarmConditionConditionInput + +func (MonitoringTemplateAlarmConditionConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitoringTemplateAlarmConditionCondition)(nil)).Elem() +} + +func (i MonitoringTemplateAlarmConditionConditionArray) ToMonitoringTemplateAlarmConditionConditionArrayOutput() MonitoringTemplateAlarmConditionConditionArrayOutput { + return i.ToMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateAlarmConditionConditionArray) ToMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateAlarmConditionConditionArrayOutput) +} + +type MonitoringTemplateAlarmConditionConditionOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateAlarmConditionConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringTemplateAlarmConditionCondition)(nil)).Elem() +} + +func (o MonitoringTemplateAlarmConditionConditionOutput) ToMonitoringTemplateAlarmConditionConditionOutput() MonitoringTemplateAlarmConditionConditionOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionConditionOutput) ToMonitoringTemplateAlarmConditionConditionOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionConditionOutput { + return o +} + +// (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. +func (o MonitoringTemplateAlarmConditionConditionOutput) Body() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) *string { return v.Body }).(pulumi.StringPtrOutput) +} + +// (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. +func (o MonitoringTemplateAlarmConditionConditionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) string { return v.Query }).(pulumi.StringOutput) +} + +// (Updatable) Severity - Critical/Warning +func (o MonitoringTemplateAlarmConditionConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) string { return v.Severity }).(pulumi.StringOutput) +} + +// (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. +func (o MonitoringTemplateAlarmConditionConditionOutput) ShouldAppendNote() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) *bool { return v.ShouldAppendNote }).(pulumi.BoolPtrOutput) +} + +// (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. +func (o MonitoringTemplateAlarmConditionConditionOutput) ShouldAppendUrl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) *bool { return v.ShouldAppendUrl }).(pulumi.BoolPtrOutput) +} + +// (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". +func (o MonitoringTemplateAlarmConditionConditionOutput) TriggerDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringTemplateAlarmConditionCondition) *string { return v.TriggerDelay }).(pulumi.StringPtrOutput) +} + +type MonitoringTemplateAlarmConditionConditionArrayOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateAlarmConditionConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitoringTemplateAlarmConditionCondition)(nil)).Elem() +} + +func (o MonitoringTemplateAlarmConditionConditionArrayOutput) ToMonitoringTemplateAlarmConditionConditionArrayOutput() MonitoringTemplateAlarmConditionConditionArrayOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionConditionArrayOutput) ToMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(ctx context.Context) MonitoringTemplateAlarmConditionConditionArrayOutput { + return o +} + +func (o MonitoringTemplateAlarmConditionConditionArrayOutput) Index(i pulumi.IntInput) MonitoringTemplateAlarmConditionConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringTemplateAlarmConditionCondition { + return vs[0].([]MonitoringTemplateAlarmConditionCondition)[vs[1].(int)] + }).(MonitoringTemplateAlarmConditionConditionOutput) +} + +type MonitoringTemplateMember struct { + // (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType *string `pulumi:"compositeType"` + // (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + Id string `pulumi:"id"` + // (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type string `pulumi:"type"` +} + +// MonitoringTemplateMemberInput is an input type that accepts MonitoringTemplateMemberArgs and MonitoringTemplateMemberOutput values. +// You can construct a concrete instance of `MonitoringTemplateMemberInput` via: +// +// MonitoringTemplateMemberArgs{...} +type MonitoringTemplateMemberInput interface { + pulumi.Input + + ToMonitoringTemplateMemberOutput() MonitoringTemplateMemberOutput + ToMonitoringTemplateMemberOutputWithContext(context.Context) MonitoringTemplateMemberOutput +} + +type MonitoringTemplateMemberArgs struct { + // (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType pulumi.StringPtrInput `pulumi:"compositeType"` + // (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + Id pulumi.StringInput `pulumi:"id"` + // (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type pulumi.StringInput `pulumi:"type"` +} + +func (MonitoringTemplateMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringTemplateMember)(nil)).Elem() +} + +func (i MonitoringTemplateMemberArgs) ToMonitoringTemplateMemberOutput() MonitoringTemplateMemberOutput { + return i.ToMonitoringTemplateMemberOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateMemberArgs) ToMonitoringTemplateMemberOutputWithContext(ctx context.Context) MonitoringTemplateMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMemberOutput) +} + +// MonitoringTemplateMemberArrayInput is an input type that accepts MonitoringTemplateMemberArray and MonitoringTemplateMemberArrayOutput values. +// You can construct a concrete instance of `MonitoringTemplateMemberArrayInput` via: +// +// MonitoringTemplateMemberArray{ MonitoringTemplateMemberArgs{...} } +type MonitoringTemplateMemberArrayInput interface { + pulumi.Input + + ToMonitoringTemplateMemberArrayOutput() MonitoringTemplateMemberArrayOutput + ToMonitoringTemplateMemberArrayOutputWithContext(context.Context) MonitoringTemplateMemberArrayOutput +} + +type MonitoringTemplateMemberArray []MonitoringTemplateMemberInput + +func (MonitoringTemplateMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitoringTemplateMember)(nil)).Elem() +} + +func (i MonitoringTemplateMemberArray) ToMonitoringTemplateMemberArrayOutput() MonitoringTemplateMemberArrayOutput { + return i.ToMonitoringTemplateMemberArrayOutputWithContext(context.Background()) +} + +func (i MonitoringTemplateMemberArray) ToMonitoringTemplateMemberArrayOutputWithContext(ctx context.Context) MonitoringTemplateMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitoringTemplateMemberArrayOutput) +} + +type MonitoringTemplateMemberOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitoringTemplateMember)(nil)).Elem() +} + +func (o MonitoringTemplateMemberOutput) ToMonitoringTemplateMemberOutput() MonitoringTemplateMemberOutput { + return o +} + +func (o MonitoringTemplateMemberOutput) ToMonitoringTemplateMemberOutputWithContext(ctx context.Context) MonitoringTemplateMemberOutput { + return o +} + +// (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. +func (o MonitoringTemplateMemberOutput) CompositeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitoringTemplateMember) *string { return v.CompositeType }).(pulumi.StringPtrOutput) +} + +// (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup +func (o MonitoringTemplateMemberOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringTemplateMember) string { return v.Id }).(pulumi.StringOutput) +} + +// (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP +func (o MonitoringTemplateMemberOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MonitoringTemplateMember) string { return v.Type }).(pulumi.StringOutput) +} + +type MonitoringTemplateMemberArrayOutput struct{ *pulumi.OutputState } + +func (MonitoringTemplateMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitoringTemplateMember)(nil)).Elem() +} + +func (o MonitoringTemplateMemberArrayOutput) ToMonitoringTemplateMemberArrayOutput() MonitoringTemplateMemberArrayOutput { + return o +} + +func (o MonitoringTemplateMemberArrayOutput) ToMonitoringTemplateMemberArrayOutputWithContext(ctx context.Context) MonitoringTemplateMemberArrayOutput { + return o +} + +func (o MonitoringTemplateMemberArrayOutput) Index(i pulumi.IntInput) MonitoringTemplateMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringTemplateMember { + return vs[0].([]MonitoringTemplateMember)[vs[1].(int)] + }).(MonitoringTemplateMemberOutput) +} + type ProcessSetSpecification struct { // (Updatable) List of Process Set specification details. Items []ProcessSetSpecificationItem `pulumi:"items"` @@ -7862,2181 +8138,2322 @@ func (o GetConfigsFilterArrayOutput) Index(i pulumi.IntInput) GetConfigsFilterOu }).(GetConfigsFilterOutput) } -type GetDiscoveryJobDiscoveryDetail struct { - // The OCID of Management Agent - AgentId string `pulumi:"agentId"` - // List of DiscoveryJOb Credential Details. - Credentials []GetDiscoveryJobDiscoveryDetailCredential `pulumi:"credentials"` - // License edition of the monitored resource. - License string `pulumi:"license"` - // Property Details - Properties []GetDiscoveryJobDiscoveryDetailProperty `pulumi:"properties"` - // The Name of resource type - ResourceName string `pulumi:"resourceName"` - // Resource Type. - ResourceType string `pulumi:"resourceType"` - // Property Details - Tags []GetDiscoveryJobDiscoveryDetailTag `pulumi:"tags"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection struct { + // List of defined Monitoring Template. + Items []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem `pulumi:"items"` } -// GetDiscoveryJobDiscoveryDetailInput is an input type that accepts GetDiscoveryJobDiscoveryDetailArgs and GetDiscoveryJobDiscoveryDetailOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionInput` via: // -// GetDiscoveryJobDiscoveryDetailArgs{...} -type GetDiscoveryJobDiscoveryDetailInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs{...} +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput - ToGetDiscoveryJobDiscoveryDetailOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput } -type GetDiscoveryJobDiscoveryDetailArgs struct { - // The OCID of Management Agent - AgentId pulumi.StringInput `pulumi:"agentId"` - // List of DiscoveryJOb Credential Details. - Credentials GetDiscoveryJobDiscoveryDetailCredentialArrayInput `pulumi:"credentials"` - // License edition of the monitored resource. - License pulumi.StringInput `pulumi:"license"` - // Property Details - Properties GetDiscoveryJobDiscoveryDetailPropertyArrayInput `pulumi:"properties"` - // The Name of resource type - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // Resource Type. - ResourceType pulumi.StringInput `pulumi:"resourceType"` - // Property Details - Tags GetDiscoveryJobDiscoveryDetailTagArrayInput `pulumi:"tags"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs struct { + // List of defined Monitoring Template. + Items GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayInput `pulumi:"items"` } -func (GetDiscoveryJobDiscoveryDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetail)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailArgs) ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput { - return i.ToGetDiscoveryJobDiscoveryDetailOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailArgs) ToGetDiscoveryJobDiscoveryDetailOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) } -// GetDiscoveryJobDiscoveryDetailArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailArray and GetDiscoveryJobDiscoveryDetailArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailArrayInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailArray{ GetDiscoveryJobDiscoveryDetailArgs{...} } -type GetDiscoveryJobDiscoveryDetailArrayInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray{ GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs{...} } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput - ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput } -type GetDiscoveryJobDiscoveryDetailArray []GetDiscoveryJobDiscoveryDetailInput +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionInput -func (GetDiscoveryJobDiscoveryDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetail)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailArray) ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailArray) ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailArrayOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) } -type GetDiscoveryJobDiscoveryDetailOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetail)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailOutput) ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailOutput) ToGetDiscoveryJobDiscoveryDetailOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput { return o } -// The OCID of Management Agent -func (o GetDiscoveryJobDiscoveryDetailOutput) AgentId() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.AgentId }).(pulumi.StringOutput) +// List of defined Monitoring Template. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) Items() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection) []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem { + return v.Items + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) } -// List of DiscoveryJOb Credential Details. -func (o GetDiscoveryJobDiscoveryDetailOutput) Credentials() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailCredential { - return v.Credentials - }).(GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) -} +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput struct{ *pulumi.OutputState } -// License edition of the monitored resource. -func (o GetDiscoveryJobDiscoveryDetailOutput) License() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.License }).(pulumi.StringOutput) +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection)(nil)).Elem() } -// Property Details -func (o GetDiscoveryJobDiscoveryDetailOutput) Properties() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailProperty { return v.Properties }).(GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput { + return o } -// The Name of resource type -func (o GetDiscoveryJobDiscoveryDetailOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.ResourceName }).(pulumi.StringOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput { + return o } -// Resource Type. -func (o GetDiscoveryJobDiscoveryDetailOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.ResourceType }).(pulumi.StringOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput) Index(i pulumi.IntInput) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection { + return vs[0].([]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection)[vs[1].(int)] + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput) } -// Property Details -func (o GetDiscoveryJobDiscoveryDetailOutput) Tags() GetDiscoveryJobDiscoveryDetailTagArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailTag { return v.Tags }).(GetDiscoveryJobDiscoveryDetailTagArrayOutput) +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem struct { + // Type of composite resource type OCID like EBS/PEOPLE_SOFT. + CompositeType string `pulumi:"compositeType"` + // Defined Monitoring template alarm conditions + DefinedAlarmConditions []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition `pulumi:"definedAlarmConditions"` + // A filter to return monitoring template based on name. + DisplayName string `pulumi:"displayName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + Id string `pulumi:"id"` + // The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace string `pulumi:"namespace"` + // The resource types OCID. + ResourceType string `pulumi:"resourceType"` + // 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 date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated string `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was updated. Format defined by RFC3339. + TimeUpdated string `pulumi:"timeUpdated"` } -type GetDiscoveryJobDiscoveryDetailArrayOutput struct{ *pulumi.OutputState } +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemInput` via: +// +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs{...} +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemInput interface { + pulumi.Input -func (GetDiscoveryJobDiscoveryDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetail)(nil)).Elem() + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput } -func (o GetDiscoveryJobDiscoveryDetailArrayOutput) ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput { - return o +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs struct { + // Type of composite resource type OCID like EBS/PEOPLE_SOFT. + CompositeType pulumi.StringInput `pulumi:"compositeType"` + // Defined Monitoring template alarm conditions + DefinedAlarmConditions GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayInput `pulumi:"definedAlarmConditions"` + // A filter to return monitoring template based on name. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + Id pulumi.StringInput `pulumi:"id"` + // The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The resource types OCID. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // 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 date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was updated. Format defined by RFC3339. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` } -func (o GetDiscoveryJobDiscoveryDetailArrayOutput) ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput { - return o +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetail { - return vs[0].([]GetDiscoveryJobDiscoveryDetail)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutputWithContext(context.Background()) } -type GetDiscoveryJobDiscoveryDetailCredential struct { - // List of DiscoveryJob credentials. - Items []GetDiscoveryJobDiscoveryDetailCredentialItem `pulumi:"items"` +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) } -// GetDiscoveryJobDiscoveryDetailCredentialInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialArgs and GetDiscoveryJobDiscoveryDetailCredentialOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailCredentialArgs{...} -type GetDiscoveryJobDiscoveryDetailCredentialInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray{ GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs{...} } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput - ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput } -type GetDiscoveryJobDiscoveryDetailCredentialArgs struct { - // List of DiscoveryJob credentials. - Items GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput `pulumi:"items"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemInput + +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem)(nil)).Elem() } -func (GetDiscoveryJobDiscoveryDetailCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailCredentialArgs) ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) } -func (i GetDiscoveryJobDiscoveryDetailCredentialArgs) ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialOutput) +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem)(nil)).Elem() } -// GetDiscoveryJobDiscoveryDetailCredentialArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialArray and GetDiscoveryJobDiscoveryDetailCredentialArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialArrayInput` via: -// -// GetDiscoveryJobDiscoveryDetailCredentialArray{ GetDiscoveryJobDiscoveryDetailCredentialArgs{...} } -type GetDiscoveryJobDiscoveryDetailCredentialArrayInput interface { - pulumi.Input +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput { + return o +} - ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput - ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput { + return o } -type GetDiscoveryJobDiscoveryDetailCredentialArray []GetDiscoveryJobDiscoveryDetailCredentialInput +// Type of composite resource type OCID like EBS/PEOPLE_SOFT. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.CompositeType + }).(pulumi.StringOutput) +} -func (GetDiscoveryJobDiscoveryDetailCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() +// Defined Monitoring template alarm conditions +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) DefinedAlarmConditions() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition { + return v.DefinedAlarmConditions + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) } -func (i GetDiscoveryJobDiscoveryDetailCredentialArray) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(context.Background()) +// A filter to return monitoring template based on name. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.DisplayName + }).(pulumi.StringOutput) } -func (i GetDiscoveryJobDiscoveryDetailCredentialArray) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialOutput struct{ *pulumi.OutputState } +// The stack monitoring service or application emitting the metric that is evaluated by the alarm. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.Namespace + }).(pulumi.StringOutput) +} -func (GetDiscoveryJobDiscoveryDetailCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() +// The resource types OCID. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.ResourceType + }).(pulumi.StringOutput) } -func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput { - return o +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) } -func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput { - return o +// The date and time the monitoringTemplate was created. Format defined by RFC3339. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) } -// List of DiscoveryJob credentials. -func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) Items() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredential) []GetDiscoveryJobDiscoveryDetailCredentialItem { - return v.Items - }).(GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) +// The date and time the monitoringTemplate was updated. Format defined by RFC3339. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem) string { + return v.TimeUpdated + }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialArrayOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredential { - return vs[0].([]GetDiscoveryJobDiscoveryDetailCredential)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailCredentialOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem { + return vs[0].([]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem)[vs[1].(int)] + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItem struct { - // Name of Credential - CredentialName string `pulumi:"credentialName"` - // Name of Credential Type - CredentialType string `pulumi:"credentialType"` - // Property Details - Properties []GetDiscoveryJobDiscoveryDetailCredentialItemProperty `pulumi:"properties"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition struct { + // Type of defined monitoring template. + ConditionType string `pulumi:"conditionType"` + // Monitoring template conditions. + Conditions []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition `pulumi:"conditions"` + // The metric name. + MetricName string `pulumi:"metricName"` } -// GetDiscoveryJobDiscoveryDetailCredentialItemInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemArgs and GetDiscoveryJobDiscoveryDetailCredentialItemOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionInput` via: // -// GetDiscoveryJobDiscoveryDetailCredentialItemArgs{...} -type GetDiscoveryJobDiscoveryDetailCredentialItemInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs{...} +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput - ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput } -type GetDiscoveryJobDiscoveryDetailCredentialItemArgs struct { - // Name of Credential - CredentialName pulumi.StringInput `pulumi:"credentialName"` - // Name of Credential Type - CredentialType pulumi.StringInput `pulumi:"credentialType"` - // Property Details - Properties GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput `pulumi:"properties"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs struct { + // Type of defined monitoring template. + ConditionType pulumi.StringInput `pulumi:"conditionType"` + // Monitoring template conditions. + Conditions GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayInput `pulumi:"conditions"` + // The metric name. + MetricName pulumi.StringInput `pulumi:"metricName"` } -func (GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) } -// GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemArray and GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailCredentialItemArray{ GetDiscoveryJobDiscoveryDetailCredentialItemArgs{...} } -type GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray{ GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs{...} } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput - ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput } -type GetDiscoveryJobDiscoveryDetailCredentialItemArray []GetDiscoveryJobDiscoveryDetailCredentialItemInput +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionInput -func (GetDiscoveryJobDiscoveryDetailCredentialItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItemOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput { return o } -// Name of Credential -func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) CredentialName() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) string { return v.CredentialName }).(pulumi.StringOutput) +// Type of defined monitoring template. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) ConditionType() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition) string { + return v.ConditionType + }).(pulumi.StringOutput) } -// Name of Credential Type -func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) CredentialType() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) string { return v.CredentialType }).(pulumi.StringOutput) +// Monitoring template conditions. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) Conditions() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition) []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition { + return v.Conditions + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) } -// Property Details -func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) Properties() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) []GetDiscoveryJobDiscoveryDetailCredentialItemProperty { - return v.Properties - }).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) +// The metric name. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition) string { + return v.MetricName + }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredentialItem { - return vs[0].([]GetDiscoveryJobDiscoveryDetailCredentialItem)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailCredentialItemOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput) Index(i pulumi.IntInput) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition { + return vs[0].([]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition)[vs[1].(int)] + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItemProperty struct { - // Key/Value pair of Property - PropertiesMap map[string]string `pulumi:"propertiesMap"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body string `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query string `pulumi:"query"` + // Severity - Critical/Warning + Severity string `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote bool `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl bool `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay string `pulumi:"triggerDelay"` } -// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs and GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionInput` via: // -// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs{...} -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs{...} +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput - ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput } -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs struct { - // Key/Value pair of Property - PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body pulumi.StringInput `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query pulumi.StringInput `pulumi:"query"` + // Severity - Critical/Warning + Severity pulumi.StringInput `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote pulumi.BoolInput `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl pulumi.BoolInput `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay pulumi.StringInput `pulumi:"triggerDelay"` } -func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) } -// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray and GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput` via: +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayInput is an input type that accepts GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray and GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray{ GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs{...} } -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput interface { +// GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray{ GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs{...} } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput - ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput + ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutputWithContext(context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput } -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray []GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray []GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionInput -func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput { + return i.ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) +func (i GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput { return o } -// Key/Value pair of Property -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) PropertiesMap() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItemProperty) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) +// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) Body() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) string { + return v.Body + }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput struct{ *pulumi.OutputState } +// The Monitoring Query Language (MQL) expression to evaluate for the alarm. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) string { + return v.Query + }).(pulumi.StringOutput) +} -func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() +// Severity - Critical/Warning +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) string { + return v.Severity + }).(pulumi.StringOutput) } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { +// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) ShouldAppendNote() pulumi.BoolOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) bool { + return v.ShouldAppendNote + }).(pulumi.BoolOutput) +} + +// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) ShouldAppendUrl() pulumi.BoolOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) bool { + return v.ShouldAppendUrl + }).(pulumi.BoolOutput) +} + +// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) TriggerDelay() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition) string { + return v.TriggerDelay + }).(pulumi.StringOutput) +} + +type GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput struct{ *pulumi.OutputState } + +func (GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition)(nil)).Elem() +} + +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput() GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) ToGetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredentialItemProperty { - return vs[0].([]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) +func (o GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput) Index(i pulumi.IntInput) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition { + return vs[0].([]GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition)[vs[1].(int)] + }).(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput) } -type GetDiscoveryJobDiscoveryDetailProperty struct { - // Key/Value pair of Property - PropertiesMap map[string]string `pulumi:"propertiesMap"` +type GetDefinedMonitoringTemplatesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetDiscoveryJobDiscoveryDetailPropertyInput is an input type that accepts GetDiscoveryJobDiscoveryDetailPropertyArgs and GetDiscoveryJobDiscoveryDetailPropertyOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailPropertyInput` via: +// GetDefinedMonitoringTemplatesFilterInput is an input type that accepts GetDefinedMonitoringTemplatesFilterArgs and GetDefinedMonitoringTemplatesFilterOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesFilterInput` via: // -// GetDiscoveryJobDiscoveryDetailPropertyArgs{...} -type GetDiscoveryJobDiscoveryDetailPropertyInput interface { +// GetDefinedMonitoringTemplatesFilterArgs{...} +type GetDefinedMonitoringTemplatesFilterInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput - ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput + ToGetDefinedMonitoringTemplatesFilterOutput() GetDefinedMonitoringTemplatesFilterOutput + ToGetDefinedMonitoringTemplatesFilterOutputWithContext(context.Context) GetDefinedMonitoringTemplatesFilterOutput } -type GetDiscoveryJobDiscoveryDetailPropertyArgs struct { - // Key/Value pair of Property - PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` +type GetDefinedMonitoringTemplatesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetDiscoveryJobDiscoveryDetailPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesFilter)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailPropertyArgs) ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput { - return i.ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesFilterArgs) ToGetDefinedMonitoringTemplatesFilterOutput() GetDefinedMonitoringTemplatesFilterOutput { + return i.ToGetDefinedMonitoringTemplatesFilterOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailPropertyArgs) ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailPropertyOutput) +func (i GetDefinedMonitoringTemplatesFilterArgs) ToGetDefinedMonitoringTemplatesFilterOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesFilterOutput) } -// GetDiscoveryJobDiscoveryDetailPropertyArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailPropertyArray and GetDiscoveryJobDiscoveryDetailPropertyArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailPropertyArrayInput` via: +// GetDefinedMonitoringTemplatesFilterArrayInput is an input type that accepts GetDefinedMonitoringTemplatesFilterArray and GetDefinedMonitoringTemplatesFilterArrayOutput values. +// You can construct a concrete instance of `GetDefinedMonitoringTemplatesFilterArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailPropertyArray{ GetDiscoveryJobDiscoveryDetailPropertyArgs{...} } -type GetDiscoveryJobDiscoveryDetailPropertyArrayInput interface { +// GetDefinedMonitoringTemplatesFilterArray{ GetDefinedMonitoringTemplatesFilterArgs{...} } +type GetDefinedMonitoringTemplatesFilterArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput - ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput + ToGetDefinedMonitoringTemplatesFilterArrayOutput() GetDefinedMonitoringTemplatesFilterArrayOutput + ToGetDefinedMonitoringTemplatesFilterArrayOutputWithContext(context.Context) GetDefinedMonitoringTemplatesFilterArrayOutput } -type GetDiscoveryJobDiscoveryDetailPropertyArray []GetDiscoveryJobDiscoveryDetailPropertyInput +type GetDefinedMonitoringTemplatesFilterArray []GetDefinedMonitoringTemplatesFilterInput -func (GetDiscoveryJobDiscoveryDetailPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesFilter)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailPropertyArray) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(context.Background()) +func (i GetDefinedMonitoringTemplatesFilterArray) ToGetDefinedMonitoringTemplatesFilterArrayOutput() GetDefinedMonitoringTemplatesFilterArrayOutput { + return i.ToGetDefinedMonitoringTemplatesFilterArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailPropertyArray) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) +func (i GetDefinedMonitoringTemplatesFilterArray) ToGetDefinedMonitoringTemplatesFilterArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDefinedMonitoringTemplatesFilterArrayOutput) } -type GetDiscoveryJobDiscoveryDetailPropertyOutput struct{ *pulumi.OutputState } +type GetDefinedMonitoringTemplatesFilterOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() +func (GetDefinedMonitoringTemplatesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDefinedMonitoringTemplatesFilter)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput { +func (o GetDefinedMonitoringTemplatesFilterOutput) ToGetDefinedMonitoringTemplatesFilterOutput() GetDefinedMonitoringTemplatesFilterOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput { +func (o GetDefinedMonitoringTemplatesFilterOutput) ToGetDefinedMonitoringTemplatesFilterOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesFilterOutput { return o } -// Key/Value pair of Property -func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) PropertiesMap() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailProperty) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) +func (o GetDefinedMonitoringTemplatesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesFilter) string { return v.Name }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailPropertyArrayOutput struct{ *pulumi.OutputState } +func (o GetDefinedMonitoringTemplatesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} -func (GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() +func (o GetDefinedMonitoringTemplatesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDefinedMonitoringTemplatesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { - return o +type GetDefinedMonitoringTemplatesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDefinedMonitoringTemplatesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDefinedMonitoringTemplatesFilter)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { +func (o GetDefinedMonitoringTemplatesFilterArrayOutput) ToGetDefinedMonitoringTemplatesFilterArrayOutput() GetDefinedMonitoringTemplatesFilterArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailProperty { - return vs[0].([]GetDiscoveryJobDiscoveryDetailProperty)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailPropertyOutput) +func (o GetDefinedMonitoringTemplatesFilterArrayOutput) ToGetDefinedMonitoringTemplatesFilterArrayOutputWithContext(ctx context.Context) GetDefinedMonitoringTemplatesFilterArrayOutput { + return o } -type GetDiscoveryJobDiscoveryDetailTag struct { - // Key/Value pair of Property - PropertiesMap map[string]string `pulumi:"propertiesMap"` +func (o GetDefinedMonitoringTemplatesFilterArrayOutput) Index(i pulumi.IntInput) GetDefinedMonitoringTemplatesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDefinedMonitoringTemplatesFilter { + return vs[0].([]GetDefinedMonitoringTemplatesFilter)[vs[1].(int)] + }).(GetDefinedMonitoringTemplatesFilterOutput) } -// GetDiscoveryJobDiscoveryDetailTagInput is an input type that accepts GetDiscoveryJobDiscoveryDetailTagArgs and GetDiscoveryJobDiscoveryDetailTagOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailTagInput` via: -// -// GetDiscoveryJobDiscoveryDetailTagArgs{...} -type GetDiscoveryJobDiscoveryDetailTagInput interface { - pulumi.Input - - ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput - ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailTagOutput +type GetDiscoveryJobDiscoveryDetail struct { + // The OCID of Management Agent + AgentId string `pulumi:"agentId"` + // List of DiscoveryJOb Credential Details. + Credentials []GetDiscoveryJobDiscoveryDetailCredential `pulumi:"credentials"` + // License edition of the monitored resource. + License string `pulumi:"license"` + // Property Details + Properties []GetDiscoveryJobDiscoveryDetailProperty `pulumi:"properties"` + // The Name of resource type + ResourceName string `pulumi:"resourceName"` + // Resource Type. + ResourceType string `pulumi:"resourceType"` + // Property Details + Tags []GetDiscoveryJobDiscoveryDetailTag `pulumi:"tags"` } -type GetDiscoveryJobDiscoveryDetailTagArgs struct { - // Key/Value pair of Property - PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` +// GetDiscoveryJobDiscoveryDetailInput is an input type that accepts GetDiscoveryJobDiscoveryDetailArgs and GetDiscoveryJobDiscoveryDetailOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailInput` via: +// +// GetDiscoveryJobDiscoveryDetailArgs{...} +type GetDiscoveryJobDiscoveryDetailInput interface { + pulumi.Input + + ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput + ToGetDiscoveryJobDiscoveryDetailOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailOutput } -func (GetDiscoveryJobDiscoveryDetailTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() +type GetDiscoveryJobDiscoveryDetailArgs struct { + // The OCID of Management Agent + AgentId pulumi.StringInput `pulumi:"agentId"` + // List of DiscoveryJOb Credential Details. + Credentials GetDiscoveryJobDiscoveryDetailCredentialArrayInput `pulumi:"credentials"` + // License edition of the monitored resource. + License pulumi.StringInput `pulumi:"license"` + // Property Details + Properties GetDiscoveryJobDiscoveryDetailPropertyArrayInput `pulumi:"properties"` + // The Name of resource type + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // Resource Type. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // Property Details + Tags GetDiscoveryJobDiscoveryDetailTagArrayInput `pulumi:"tags"` } -func (i GetDiscoveryJobDiscoveryDetailTagArgs) ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput { - return i.ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(context.Background()) +func (GetDiscoveryJobDiscoveryDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetail)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailTagArgs) ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailTagOutput) +func (i GetDiscoveryJobDiscoveryDetailArgs) ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput { + return i.ToGetDiscoveryJobDiscoveryDetailOutputWithContext(context.Background()) } -// GetDiscoveryJobDiscoveryDetailTagArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailTagArray and GetDiscoveryJobDiscoveryDetailTagArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailTagArrayInput` via: +func (i GetDiscoveryJobDiscoveryDetailArgs) ToGetDiscoveryJobDiscoveryDetailOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailOutput) +} + +// GetDiscoveryJobDiscoveryDetailArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailArray and GetDiscoveryJobDiscoveryDetailArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailArrayInput` via: // -// GetDiscoveryJobDiscoveryDetailTagArray{ GetDiscoveryJobDiscoveryDetailTagArgs{...} } -type GetDiscoveryJobDiscoveryDetailTagArrayInput interface { +// GetDiscoveryJobDiscoveryDetailArray{ GetDiscoveryJobDiscoveryDetailArgs{...} } +type GetDiscoveryJobDiscoveryDetailArrayInput interface { pulumi.Input - ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput - ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput + ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput + ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput } -type GetDiscoveryJobDiscoveryDetailTagArray []GetDiscoveryJobDiscoveryDetailTagInput +type GetDiscoveryJobDiscoveryDetailArray []GetDiscoveryJobDiscoveryDetailInput -func (GetDiscoveryJobDiscoveryDetailTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetail)(nil)).Elem() } -func (i GetDiscoveryJobDiscoveryDetailTagArray) ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput { - return i.ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailArray) ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobDiscoveryDetailTagArray) ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailTagArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailArray) ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailArrayOutput) } -type GetDiscoveryJobDiscoveryDetailTagOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobDiscoveryDetailTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetail)(nil)).Elem() } -func (o GetDiscoveryJobDiscoveryDetailTagOutput) ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput { +func (o GetDiscoveryJobDiscoveryDetailOutput) ToGetDiscoveryJobDiscoveryDetailOutput() GetDiscoveryJobDiscoveryDetailOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailTagOutput) ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagOutput { +func (o GetDiscoveryJobDiscoveryDetailOutput) ToGetDiscoveryJobDiscoveryDetailOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailOutput { return o } -// Key/Value pair of Property -func (o GetDiscoveryJobDiscoveryDetailTagOutput) PropertiesMap() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailTag) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) +// The OCID of Management Agent +func (o GetDiscoveryJobDiscoveryDetailOutput) AgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.AgentId }).(pulumi.StringOutput) } -type GetDiscoveryJobDiscoveryDetailTagArrayOutput struct{ *pulumi.OutputState } +// List of DiscoveryJOb Credential Details. +func (o GetDiscoveryJobDiscoveryDetailOutput) Credentials() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailCredential { + return v.Credentials + }).(GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) +} -func (GetDiscoveryJobDiscoveryDetailTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() +// License edition of the monitored resource. +func (o GetDiscoveryJobDiscoveryDetailOutput) License() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.License }).(pulumi.StringOutput) } -func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput { +// Property Details +func (o GetDiscoveryJobDiscoveryDetailOutput) Properties() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailProperty { return v.Properties }).(GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) +} + +// The Name of resource type +func (o GetDiscoveryJobDiscoveryDetailOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.ResourceName }).(pulumi.StringOutput) +} + +// Resource Type. +func (o GetDiscoveryJobDiscoveryDetailOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) string { return v.ResourceType }).(pulumi.StringOutput) +} + +// Property Details +func (o GetDiscoveryJobDiscoveryDetailOutput) Tags() GetDiscoveryJobDiscoveryDetailTagArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetail) []GetDiscoveryJobDiscoveryDetailTag { return v.Tags }).(GetDiscoveryJobDiscoveryDetailTagArrayOutput) +} + +type GetDiscoveryJobDiscoveryDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobDiscoveryDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetail)(nil)).Elem() +} + +func (o GetDiscoveryJobDiscoveryDetailArrayOutput) ToGetDiscoveryJobDiscoveryDetailArrayOutput() GetDiscoveryJobDiscoveryDetailArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailArrayOutput) ToGetDiscoveryJobDiscoveryDetailArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailArrayOutput { return o } -func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailTag { - return vs[0].([]GetDiscoveryJobDiscoveryDetailTag)[vs[1].(int)] - }).(GetDiscoveryJobDiscoveryDetailTagOutput) +func (o GetDiscoveryJobDiscoveryDetailArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetail { + return vs[0].([]GetDiscoveryJobDiscoveryDetail)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollection struct { - // List of logs - Items []GetDiscoveryJobLogsDiscoveryJobLogCollectionItem `pulumi:"items"` +type GetDiscoveryJobDiscoveryDetailCredential struct { + // List of DiscoveryJob credentials. + Items []GetDiscoveryJobDiscoveryDetailCredentialItem `pulumi:"items"` } -// GetDiscoveryJobLogsDiscoveryJobLogCollectionInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs and GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialArgs and GetDiscoveryJobDiscoveryDetailCredentialOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialInput` via: // -// GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs{...} -type GetDiscoveryJobLogsDiscoveryJobLogCollectionInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialArgs{...} +type GetDiscoveryJobDiscoveryDetailCredentialInput interface { pulumi.Input - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput + ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput + ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs struct { - // List of logs - Items GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput `pulumi:"items"` +type GetDiscoveryJobDiscoveryDetailCredentialArgs struct { + // List of DiscoveryJob credentials. + Items GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput `pulumi:"items"` } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { - return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialArgs) ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialArgs) ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialOutput) } -// GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionArray and GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialArray and GetDiscoveryJobDiscoveryDetailCredentialArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialArrayInput` via: // -// GetDiscoveryJobLogsDiscoveryJobLogCollectionArray{ GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs{...} } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialArray{ GetDiscoveryJobDiscoveryDetailCredentialArgs{...} } +type GetDiscoveryJobDiscoveryDetailCredentialArrayInput interface { pulumi.Input - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionArray []GetDiscoveryJobLogsDiscoveryJobLogCollectionInput +type GetDiscoveryJobDiscoveryDetailCredentialArray []GetDiscoveryJobDiscoveryDetailCredentialInput -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { - return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialArray) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialArray) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) ToGetDiscoveryJobDiscoveryDetailCredentialOutput() GetDiscoveryJobDiscoveryDetailCredentialOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) ToGetDiscoveryJobDiscoveryDetailCredentialOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialOutput { return o } -// List of logs -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) Items() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollection) []GetDiscoveryJobLogsDiscoveryJobLogCollectionItem { +// List of DiscoveryJob credentials. +func (o GetDiscoveryJobDiscoveryDetailCredentialOutput) Items() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredential) []GetDiscoveryJobDiscoveryDetailCredentialItem { return v.Items - }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) + }).(GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredential)(nil)).Elem() } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialArrayOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsDiscoveryJobLogCollection { - return vs[0].([]GetDiscoveryJobLogsDiscoveryJobLogCollection)[vs[1].(int)] - }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) +func (o GetDiscoveryJobDiscoveryDetailCredentialArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredential { + return vs[0].([]GetDiscoveryJobDiscoveryDetailCredential)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailCredentialOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItem struct { - // The OCID of Discovery job - Id string `pulumi:"id"` - // Log message - LogMessage string `pulumi:"logMessage"` - // The log type like INFO, WARNING, ERROR, SUCCESS - LogType string `pulumi:"logType"` - // 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"` - // Time the Job log was created - TimeCreated string `pulumi:"timeCreated"` +type GetDiscoveryJobDiscoveryDetailCredentialItem struct { + // Name of Credential + CredentialName string `pulumi:"credentialName"` + // Name of Credential Type + CredentialType string `pulumi:"credentialType"` + // Property Details + Properties []GetDiscoveryJobDiscoveryDetailCredentialItemProperty `pulumi:"properties"` } -// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs and GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialItemInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemArgs and GetDiscoveryJobDiscoveryDetailCredentialItemOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemInput` via: // -// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs{...} -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialItemArgs{...} +type GetDiscoveryJobDiscoveryDetailCredentialItemInput interface { pulumi.Input - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs struct { - // The OCID of Discovery job - Id pulumi.StringInput `pulumi:"id"` - // Log message - LogMessage pulumi.StringInput `pulumi:"logMessage"` - // The log type like INFO, WARNING, ERROR, SUCCESS - LogType pulumi.StringInput `pulumi:"logType"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapInput `pulumi:"systemTags"` - // Time the Job log was created - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` +type GetDiscoveryJobDiscoveryDetailCredentialItemArgs struct { + // Name of Credential + CredentialName pulumi.StringInput `pulumi:"credentialName"` + // Name of Credential Type + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // Property Details + Properties GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput `pulumi:"properties"` } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { - return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemOutput) } -// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray and GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemArray and GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput` via: // -// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray{ GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs{...} } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialItemArray{ GetDiscoveryJobDiscoveryDetailCredentialItemArgs{...} } +type GetDiscoveryJobDiscoveryDetailCredentialItemArrayInput interface { pulumi.Input - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput - ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray []GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput +type GetDiscoveryJobDiscoveryDetailCredentialItemArray []GetDiscoveryJobDiscoveryDetailCredentialItemInput -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { - return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialItemOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutput() GetDiscoveryJobDiscoveryDetailCredentialItemOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { return o } -// The OCID of Discovery job -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -// Log message -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) LogMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.LogMessage }).(pulumi.StringOutput) -} - -// The log type like INFO, WARNING, ERROR, SUCCESS -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) LogType() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.LogType }).(pulumi.StringOutput) +// Name of Credential +func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) CredentialName() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) string { return v.CredentialName }).(pulumi.StringOutput) } -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +// Name of Credential Type +func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) string { return v.CredentialType }).(pulumi.StringOutput) } -// Time the Job log was created -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +// Property Details +func (o GetDiscoveryJobDiscoveryDetailCredentialItemOutput) Properties() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItem) []GetDiscoveryJobDiscoveryDetailCredentialItemProperty { + return v.Properties + }).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) } -type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItem)(nil)).Elem() } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput { return o } -func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsDiscoveryJobLogCollectionItem { - return vs[0].([]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)[vs[1].(int)] - }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) +func (o GetDiscoveryJobDiscoveryDetailCredentialItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredentialItem { + return vs[0].([]GetDiscoveryJobDiscoveryDetailCredentialItem)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailCredentialItemOutput) } -type GetDiscoveryJobLogsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetDiscoveryJobDiscoveryDetailCredentialItemProperty struct { + // Key/Value pair of Property + PropertiesMap map[string]string `pulumi:"propertiesMap"` } -// GetDiscoveryJobLogsFilterInput is an input type that accepts GetDiscoveryJobLogsFilterArgs and GetDiscoveryJobLogsFilterOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsFilterInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs and GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput` via: // -// GetDiscoveryJobLogsFilterArgs{...} -type GetDiscoveryJobLogsFilterInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs{...} +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput interface { pulumi.Input - ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput - ToGetDiscoveryJobLogsFilterOutputWithContext(context.Context) GetDiscoveryJobLogsFilterOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput } -type GetDiscoveryJobLogsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs struct { + // Key/Value pair of Property + PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` } -func (GetDiscoveryJobLogsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsFilter)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() } -func (i GetDiscoveryJobLogsFilterArgs) ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput { - return i.ToGetDiscoveryJobLogsFilterOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsFilterArgs) ToGetDiscoveryJobLogsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsFilterOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) } -// GetDiscoveryJobLogsFilterArrayInput is an input type that accepts GetDiscoveryJobLogsFilterArray and GetDiscoveryJobLogsFilterArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobLogsFilterArrayInput` via: +// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray and GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput` via: // -// GetDiscoveryJobLogsFilterArray{ GetDiscoveryJobLogsFilterArgs{...} } -type GetDiscoveryJobLogsFilterArrayInput interface { +// GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray{ GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs{...} } +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayInput interface { pulumi.Input - ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput - ToGetDiscoveryJobLogsFilterArrayOutputWithContext(context.Context) GetDiscoveryJobLogsFilterArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput + ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput } -type GetDiscoveryJobLogsFilterArray []GetDiscoveryJobLogsFilterInput +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray []GetDiscoveryJobDiscoveryDetailCredentialItemPropertyInput -func (GetDiscoveryJobLogsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsFilter)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() } -func (i GetDiscoveryJobLogsFilterArray) ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput { - return i.ToGetDiscoveryJobLogsFilterArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobLogsFilterArray) ToGetDiscoveryJobLogsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsFilterArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArray) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) } -type GetDiscoveryJobLogsFilterOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobLogsFilter)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() } -func (o GetDiscoveryJobLogsFilterOutput) ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { return o } -func (o GetDiscoveryJobLogsFilterOutput) ToGetDiscoveryJobLogsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { return o } -func (o GetDiscoveryJobLogsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetDiscoveryJobLogsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetDiscoveryJobLogsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobLogsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// Key/Value pair of Property +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) PropertiesMap() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailCredentialItemProperty) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) } -type GetDiscoveryJobLogsFilterArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobLogsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobLogsFilter)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)(nil)).Elem() } -func (o GetDiscoveryJobLogsFilterArrayOutput) ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { return o } -func (o GetDiscoveryJobLogsFilterArrayOutput) ToGetDiscoveryJobLogsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput { return o } -func (o GetDiscoveryJobLogsFilterArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsFilter { - return vs[0].([]GetDiscoveryJobLogsFilter)[vs[1].(int)] - }).(GetDiscoveryJobLogsFilterOutput) +func (o GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailCredentialItemProperty { + return vs[0].([]GetDiscoveryJobDiscoveryDetailCredentialItemProperty)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailCredentialItemPropertyOutput) } -type GetDiscoveryJobsDiscoveryJobCollection struct { - // List of DiscoveryJob credentials. - Items []GetDiscoveryJobsDiscoveryJobCollectionItem `pulumi:"items"` +type GetDiscoveryJobDiscoveryDetailProperty struct { + // Key/Value pair of Property + PropertiesMap map[string]string `pulumi:"propertiesMap"` } -// GetDiscoveryJobsDiscoveryJobCollectionInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionArgs and GetDiscoveryJobsDiscoveryJobCollectionOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionInput` via: +// GetDiscoveryJobDiscoveryDetailPropertyInput is an input type that accepts GetDiscoveryJobDiscoveryDetailPropertyArgs and GetDiscoveryJobDiscoveryDetailPropertyOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailPropertyInput` via: // -// GetDiscoveryJobsDiscoveryJobCollectionArgs{...} -type GetDiscoveryJobsDiscoveryJobCollectionInput interface { +// GetDiscoveryJobDiscoveryDetailPropertyArgs{...} +type GetDiscoveryJobDiscoveryDetailPropertyInput interface { pulumi.Input - ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput - ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput -} + ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput + ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput +} -type GetDiscoveryJobsDiscoveryJobCollectionArgs struct { - // List of DiscoveryJob credentials. - Items GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput `pulumi:"items"` +type GetDiscoveryJobDiscoveryDetailPropertyArgs struct { + // Key/Value pair of Property + PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` } -func (GetDiscoveryJobsDiscoveryJobCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() } -func (i GetDiscoveryJobsDiscoveryJobCollectionArgs) ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput { - return i.ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailPropertyArgs) ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput { + return i.ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsDiscoveryJobCollectionArgs) ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionOutput) +func (i GetDiscoveryJobDiscoveryDetailPropertyArgs) ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailPropertyOutput) } -// GetDiscoveryJobsDiscoveryJobCollectionArrayInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionArray and GetDiscoveryJobsDiscoveryJobCollectionArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionArrayInput` via: +// GetDiscoveryJobDiscoveryDetailPropertyArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailPropertyArray and GetDiscoveryJobDiscoveryDetailPropertyArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailPropertyArrayInput` via: // -// GetDiscoveryJobsDiscoveryJobCollectionArray{ GetDiscoveryJobsDiscoveryJobCollectionArgs{...} } -type GetDiscoveryJobsDiscoveryJobCollectionArrayInput interface { +// GetDiscoveryJobDiscoveryDetailPropertyArray{ GetDiscoveryJobDiscoveryDetailPropertyArgs{...} } +type GetDiscoveryJobDiscoveryDetailPropertyArrayInput interface { pulumi.Input - ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput - ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput + ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput + ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput } -type GetDiscoveryJobsDiscoveryJobCollectionArray []GetDiscoveryJobsDiscoveryJobCollectionInput +type GetDiscoveryJobDiscoveryDetailPropertyArray []GetDiscoveryJobDiscoveryDetailPropertyInput -func (GetDiscoveryJobsDiscoveryJobCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() } -func (i GetDiscoveryJobsDiscoveryJobCollectionArray) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { - return i.ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailPropertyArray) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsDiscoveryJobCollectionArray) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailPropertyArray) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) } -type GetDiscoveryJobsDiscoveryJobCollectionOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailPropertyOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobsDiscoveryJobCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() } -func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput { +func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) ToGetDiscoveryJobDiscoveryDetailPropertyOutput() GetDiscoveryJobDiscoveryDetailPropertyOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput { +func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) ToGetDiscoveryJobDiscoveryDetailPropertyOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyOutput { return o } -// List of DiscoveryJob credentials. -func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) Items() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollection) []GetDiscoveryJobsDiscoveryJobCollectionItem { - return v.Items - }).(GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) +// Key/Value pair of Property +func (o GetDiscoveryJobDiscoveryDetailPropertyOutput) PropertiesMap() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailProperty) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) } -type GetDiscoveryJobsDiscoveryJobCollectionArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailProperty)(nil)).Elem() } -func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutput() GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { +func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) ToGetDiscoveryJobDiscoveryDetailPropertyArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailPropertyArrayOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsDiscoveryJobCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsDiscoveryJobCollection { - return vs[0].([]GetDiscoveryJobsDiscoveryJobCollection)[vs[1].(int)] - }).(GetDiscoveryJobsDiscoveryJobCollectionOutput) +func (o GetDiscoveryJobDiscoveryDetailPropertyArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailProperty { + return vs[0].([]GetDiscoveryJobDiscoveryDetailProperty)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailPropertyOutput) } -type GetDiscoveryJobsDiscoveryJobCollectionItem struct { - // The ID of the compartment in which data is listed. - 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"` - // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. - DiscoveryType string `pulumi:"discoveryType"` - // 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 OCID of Discovery job - Id string `pulumi:"id"` - // The Name of resource type - ResourceName string `pulumi:"resourceName"` - // Resource Type. - ResourceType string `pulumi:"resourceType"` - // The current state of the DiscoveryJob Resource. - State string `pulumi:"state"` - // Specifies the status of the discovery job - Status string `pulumi:"status"` - // The short summary of the status of the discovery job - StatusMessage string `pulumi:"statusMessage"` - // 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 OCID of Tenant - TenantId string `pulumi:"tenantId"` - // The time the discovery Job was updated. - TimeUpdated string `pulumi:"timeUpdated"` - // The OCID of user in which the job is submitted - UserId string `pulumi:"userId"` +type GetDiscoveryJobDiscoveryDetailTag struct { + // Key/Value pair of Property + PropertiesMap map[string]string `pulumi:"propertiesMap"` } -// GetDiscoveryJobsDiscoveryJobCollectionItemInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionItemArgs and GetDiscoveryJobsDiscoveryJobCollectionItemOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionItemInput` via: +// GetDiscoveryJobDiscoveryDetailTagInput is an input type that accepts GetDiscoveryJobDiscoveryDetailTagArgs and GetDiscoveryJobDiscoveryDetailTagOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailTagInput` via: // -// GetDiscoveryJobsDiscoveryJobCollectionItemArgs{...} -type GetDiscoveryJobsDiscoveryJobCollectionItemInput interface { +// GetDiscoveryJobDiscoveryDetailTagArgs{...} +type GetDiscoveryJobDiscoveryDetailTagInput interface { pulumi.Input - ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput - ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput + ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput + ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailTagOutput } -type GetDiscoveryJobsDiscoveryJobCollectionItemArgs struct { - // The ID of the compartment in which data is listed. - 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"` - // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. - DiscoveryType pulumi.StringInput `pulumi:"discoveryType"` - // 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 OCID of Discovery job - Id pulumi.StringInput `pulumi:"id"` - // The Name of resource type - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // Resource Type. - ResourceType pulumi.StringInput `pulumi:"resourceType"` - // The current state of the DiscoveryJob Resource. - State pulumi.StringInput `pulumi:"state"` - // Specifies the status of the discovery job - Status pulumi.StringInput `pulumi:"status"` - // The short summary of the status of the discovery job - StatusMessage pulumi.StringInput `pulumi:"statusMessage"` - // 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 OCID of Tenant - TenantId pulumi.StringInput `pulumi:"tenantId"` - // The time the discovery Job was updated. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - // The OCID of user in which the job is submitted - UserId pulumi.StringInput `pulumi:"userId"` +type GetDiscoveryJobDiscoveryDetailTagArgs struct { + // Key/Value pair of Property + PropertiesMap pulumi.StringMapInput `pulumi:"propertiesMap"` } -func (GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() } -func (i GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput { - return i.ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailTagArgs) ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput { + return i.ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionItemOutput) +func (i GetDiscoveryJobDiscoveryDetailTagArgs) ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailTagOutput) } -// GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionItemArray and GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput` via: +// GetDiscoveryJobDiscoveryDetailTagArrayInput is an input type that accepts GetDiscoveryJobDiscoveryDetailTagArray and GetDiscoveryJobDiscoveryDetailTagArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobDiscoveryDetailTagArrayInput` via: // -// GetDiscoveryJobsDiscoveryJobCollectionItemArray{ GetDiscoveryJobsDiscoveryJobCollectionItemArgs{...} } -type GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput interface { +// GetDiscoveryJobDiscoveryDetailTagArray{ GetDiscoveryJobDiscoveryDetailTagArgs{...} } +type GetDiscoveryJobDiscoveryDetailTagArrayInput interface { pulumi.Input - ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput - ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput + ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput + ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput } -type GetDiscoveryJobsDiscoveryJobCollectionItemArray []GetDiscoveryJobsDiscoveryJobCollectionItemInput +type GetDiscoveryJobDiscoveryDetailTagArray []GetDiscoveryJobDiscoveryDetailTagInput -func (GetDiscoveryJobsDiscoveryJobCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() } -func (i GetDiscoveryJobsDiscoveryJobCollectionItemArray) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { - return i.ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobDiscoveryDetailTagArray) ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput { + return i.ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsDiscoveryJobCollectionItemArray) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) +func (i GetDiscoveryJobDiscoveryDetailTagArray) ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobDiscoveryDetailTagArrayOutput) } -type GetDiscoveryJobsDiscoveryJobCollectionItemOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobDiscoveryDetailTagOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() +func (GetDiscoveryJobDiscoveryDetailTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() } -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput { +func (o GetDiscoveryJobDiscoveryDetailTagOutput) ToGetDiscoveryJobDiscoveryDetailTagOutput() GetDiscoveryJobDiscoveryDetailTagOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { +func (o GetDiscoveryJobDiscoveryDetailTagOutput) ToGetDiscoveryJobDiscoveryDetailTagOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagOutput { return o } -// The ID of the compartment in which data is listed. -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +// Key/Value pair of Property +func (o GetDiscoveryJobDiscoveryDetailTagOutput) PropertiesMap() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobDiscoveryDetailTag) map[string]string { return v.PropertiesMap }).(pulumi.StringMapOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} +type GetDiscoveryJobDiscoveryDetailTagArrayOutput struct{ *pulumi.OutputState } -// Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) DiscoveryType() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.DiscoveryType }).(pulumi.StringOutput) +func (GetDiscoveryJobDiscoveryDetailTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobDiscoveryDetailTag)(nil)).Elem() } -// 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 GetDiscoveryJobsDiscoveryJobCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) ToGetDiscoveryJobDiscoveryDetailTagArrayOutput() GetDiscoveryJobDiscoveryDetailTagArrayOutput { + return o } -// The OCID of Discovery job -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.Id }).(pulumi.StringOutput) +func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) ToGetDiscoveryJobDiscoveryDetailTagArrayOutputWithContext(ctx context.Context) GetDiscoveryJobDiscoveryDetailTagArrayOutput { + return o } -// The Name of resource type -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.ResourceName }).(pulumi.StringOutput) +func (o GetDiscoveryJobDiscoveryDetailTagArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobDiscoveryDetailTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobDiscoveryDetailTag { + return vs[0].([]GetDiscoveryJobDiscoveryDetailTag)[vs[1].(int)] + }).(GetDiscoveryJobDiscoveryDetailTagOutput) } -// Resource Type. -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) +type GetDiscoveryJobLogsDiscoveryJobLogCollection struct { + // List of logs + Items []GetDiscoveryJobLogsDiscoveryJobLogCollectionItem `pulumi:"items"` } -// The current state of the DiscoveryJob Resource. -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.State }).(pulumi.StringOutput) -} +// GetDiscoveryJobLogsDiscoveryJobLogCollectionInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs and GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionInput` via: +// +// GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs{...} +type GetDiscoveryJobLogsDiscoveryJobLogCollectionInput interface { + pulumi.Input -// Specifies the status of the discovery job -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.Status }).(pulumi.StringOutput) + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput } -// The short summary of the status of the discovery job -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) StatusMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.StatusMessage }).(pulumi.StringOutput) +type GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs struct { + // List of logs + Items GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput `pulumi:"items"` } -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() } -// The OCID of Tenant -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { + return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(context.Background()) } -// The time the discovery Job was updated. -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) } -// The OCID of user in which the job is submitted -func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) UserId() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.UserId }).(pulumi.StringOutput) +// GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionArray and GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput` via: +// +// GetDiscoveryJobLogsDiscoveryJobLogCollectionArray{ GetDiscoveryJobLogsDiscoveryJobLogCollectionArgs{...} } +type GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayInput interface { + pulumi.Input + + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput } -type GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobLogsDiscoveryJobLogCollectionArray []GetDiscoveryJobLogsDiscoveryJobLogCollectionInput -func (GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() } -func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { + return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) +} + +type GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() +} + +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { return o } -func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsDiscoveryJobCollectionItem { - return vs[0].([]GetDiscoveryJobsDiscoveryJobCollectionItem)[vs[1].(int)] - }).(GetDiscoveryJobsDiscoveryJobCollectionItemOutput) +// List of logs +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) Items() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollection) []GetDiscoveryJobLogsDiscoveryJobLogCollectionItem { + return v.Items + }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) } -type GetDiscoveryJobsFilter struct { - // A filter to return only discovery jobs that match the entire resource name given. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollection)(nil)).Elem() } -// GetDiscoveryJobsFilterInput is an input type that accepts GetDiscoveryJobsFilterArgs and GetDiscoveryJobsFilterOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsFilterInput` via: +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { + return o +} + +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput { + return o +} + +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsDiscoveryJobLogCollection { + return vs[0].([]GetDiscoveryJobLogsDiscoveryJobLogCollection)[vs[1].(int)] + }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionOutput) +} + +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItem struct { + // The OCID of Discovery job + Id string `pulumi:"id"` + // Log message + LogMessage string `pulumi:"logMessage"` + // The log type like INFO, WARNING, ERROR, SUCCESS + LogType string `pulumi:"logType"` + // 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"` + // Time the Job log was created + TimeCreated string `pulumi:"timeCreated"` +} + +// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs and GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput` via: // -// GetDiscoveryJobsFilterArgs{...} -type GetDiscoveryJobsFilterInput interface { +// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs{...} +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput interface { pulumi.Input - ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput - ToGetDiscoveryJobsFilterOutputWithContext(context.Context) GetDiscoveryJobsFilterOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput } -type GetDiscoveryJobsFilterArgs struct { - // A filter to return only discovery jobs that match the entire resource name given. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs struct { + // The OCID of Discovery job + Id pulumi.StringInput `pulumi:"id"` + // Log message + LogMessage pulumi.StringInput `pulumi:"logMessage"` + // The log type like INFO, WARNING, ERROR, SUCCESS + LogType pulumi.StringInput `pulumi:"logType"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Time the Job log was created + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } -func (GetDiscoveryJobsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsFilter)(nil)).Elem() +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() } -func (i GetDiscoveryJobsFilterArgs) ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput { - return i.ToGetDiscoveryJobsFilterOutputWithContext(context.Background()) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { + return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsFilterArgs) ToGetDiscoveryJobsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsFilterOutput) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) } -// GetDiscoveryJobsFilterArrayInput is an input type that accepts GetDiscoveryJobsFilterArray and GetDiscoveryJobsFilterArrayOutput values. -// You can construct a concrete instance of `GetDiscoveryJobsFilterArrayInput` via: +// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput is an input type that accepts GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray and GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput` via: // -// GetDiscoveryJobsFilterArray{ GetDiscoveryJobsFilterArgs{...} } -type GetDiscoveryJobsFilterArrayInput interface { +// GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray{ GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs{...} } +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayInput interface { pulumi.Input - ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput - ToGetDiscoveryJobsFilterArrayOutputWithContext(context.Context) GetDiscoveryJobsFilterArrayOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput + ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput } -type GetDiscoveryJobsFilterArray []GetDiscoveryJobsFilterInput +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray []GetDiscoveryJobLogsDiscoveryJobLogCollectionItemInput -func (GetDiscoveryJobsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsFilter)(nil)).Elem() +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() } -func (i GetDiscoveryJobsFilterArray) ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput { - return i.ToGetDiscoveryJobsFilterArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { + return i.ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetDiscoveryJobsFilterArray) ToGetDiscoveryJobsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsFilterArrayOutput) +func (i GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArray) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) } -type GetDiscoveryJobsFilterOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput struct{ *pulumi.OutputState } -func (GetDiscoveryJobsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDiscoveryJobsFilter)(nil)).Elem() +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() } -func (o GetDiscoveryJobsFilterOutput) ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput { +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { return o } -func (o GetDiscoveryJobsFilterOutput) ToGetDiscoveryJobsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterOutput { +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { return o } -// A filter to return only discovery jobs that match the entire resource name given. -func (o GetDiscoveryJobsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDiscoveryJobsFilter) string { return v.Name }).(pulumi.StringOutput) +// The OCID of Discovery job +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -func (o GetDiscoveryJobsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetDiscoveryJobsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// Log message +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) LogMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.LogMessage }).(pulumi.StringOutput) } -func (o GetDiscoveryJobsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDiscoveryJobsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The log type like INFO, WARNING, ERROR, SUCCESS +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) LogType() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.LogType }).(pulumi.StringOutput) } -type GetDiscoveryJobsFilterArrayOutput struct{ *pulumi.OutputState } +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} -func (GetDiscoveryJobsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDiscoveryJobsFilter)(nil)).Elem() +// Time the Job log was created +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsDiscoveryJobLogCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -func (o GetDiscoveryJobsFilterArrayOutput) ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput { +type GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)(nil)).Elem() +} + +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput() GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { return o } -func (o GetDiscoveryJobsFilterArrayOutput) ToGetDiscoveryJobsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterArrayOutput { +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) ToGetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput { return o } -func (o GetDiscoveryJobsFilterArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsFilter { - return vs[0].([]GetDiscoveryJobsFilter)[vs[1].(int)] - }).(GetDiscoveryJobsFilterOutput) +func (o GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsDiscoveryJobLogCollectionItem { + return vs[0].([]GetDiscoveryJobLogsDiscoveryJobLogCollectionItem)[vs[1].(int)] + }).(GetDiscoveryJobLogsDiscoveryJobLogCollectionItemOutput) } -type GetMaintenanceWindowResource struct { - // Flag to indicate if the members of the resource has to be include in the Maintenance Window. - AreMembersIncluded bool `pulumi:"areMembersIncluded"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. - ResourceId string `pulumi:"resourceId"` +type GetDiscoveryJobLogsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMaintenanceWindowResourceInput is an input type that accepts GetMaintenanceWindowResourceArgs and GetMaintenanceWindowResourceOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowResourceInput` via: +// GetDiscoveryJobLogsFilterInput is an input type that accepts GetDiscoveryJobLogsFilterArgs and GetDiscoveryJobLogsFilterOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsFilterInput` via: // -// GetMaintenanceWindowResourceArgs{...} -type GetMaintenanceWindowResourceInput interface { +// GetDiscoveryJobLogsFilterArgs{...} +type GetDiscoveryJobLogsFilterInput interface { pulumi.Input - ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput - ToGetMaintenanceWindowResourceOutputWithContext(context.Context) GetMaintenanceWindowResourceOutput -} - -type GetMaintenanceWindowResourceArgs struct { - // Flag to indicate if the members of the resource has to be include in the Maintenance Window. - AreMembersIncluded pulumi.BoolInput `pulumi:"areMembersIncluded"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. - ResourceId pulumi.StringInput `pulumi:"resourceId"` + ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput + ToGetDiscoveryJobLogsFilterOutputWithContext(context.Context) GetDiscoveryJobLogsFilterOutput } -func (GetMaintenanceWindowResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowResource)(nil)).Elem() +type GetDiscoveryJobLogsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (i GetMaintenanceWindowResourceArgs) ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput { - return i.ToGetMaintenanceWindowResourceOutputWithContext(context.Background()) +func (GetDiscoveryJobLogsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsFilter)(nil)).Elem() } -func (i GetMaintenanceWindowResourceArgs) ToGetMaintenanceWindowResourceOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourceOutput) +func (i GetDiscoveryJobLogsFilterArgs) ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput { + return i.ToGetDiscoveryJobLogsFilterOutputWithContext(context.Background()) } -// GetMaintenanceWindowResourceArrayInput is an input type that accepts GetMaintenanceWindowResourceArray and GetMaintenanceWindowResourceArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowResourceArrayInput` via: +func (i GetDiscoveryJobLogsFilterArgs) ToGetDiscoveryJobLogsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsFilterOutput) +} + +// GetDiscoveryJobLogsFilterArrayInput is an input type that accepts GetDiscoveryJobLogsFilterArray and GetDiscoveryJobLogsFilterArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobLogsFilterArrayInput` via: // -// GetMaintenanceWindowResourceArray{ GetMaintenanceWindowResourceArgs{...} } -type GetMaintenanceWindowResourceArrayInput interface { +// GetDiscoveryJobLogsFilterArray{ GetDiscoveryJobLogsFilterArgs{...} } +type GetDiscoveryJobLogsFilterArrayInput interface { pulumi.Input - ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput - ToGetMaintenanceWindowResourceArrayOutputWithContext(context.Context) GetMaintenanceWindowResourceArrayOutput + ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput + ToGetDiscoveryJobLogsFilterArrayOutputWithContext(context.Context) GetDiscoveryJobLogsFilterArrayOutput } -type GetMaintenanceWindowResourceArray []GetMaintenanceWindowResourceInput +type GetDiscoveryJobLogsFilterArray []GetDiscoveryJobLogsFilterInput -func (GetMaintenanceWindowResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowResource)(nil)).Elem() +func (GetDiscoveryJobLogsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsFilter)(nil)).Elem() } -func (i GetMaintenanceWindowResourceArray) ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput { - return i.ToGetMaintenanceWindowResourceArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobLogsFilterArray) ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput { + return i.ToGetDiscoveryJobLogsFilterArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowResourceArray) ToGetMaintenanceWindowResourceArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourceArrayOutput) +func (i GetDiscoveryJobLogsFilterArray) ToGetDiscoveryJobLogsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobLogsFilterArrayOutput) } -type GetMaintenanceWindowResourceOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobLogsFilterOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowResource)(nil)).Elem() +func (GetDiscoveryJobLogsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobLogsFilter)(nil)).Elem() } -func (o GetMaintenanceWindowResourceOutput) ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput { +func (o GetDiscoveryJobLogsFilterOutput) ToGetDiscoveryJobLogsFilterOutput() GetDiscoveryJobLogsFilterOutput { return o } -func (o GetMaintenanceWindowResourceOutput) ToGetMaintenanceWindowResourceOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceOutput { +func (o GetDiscoveryJobLogsFilterOutput) ToGetDiscoveryJobLogsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterOutput { return o } -// Flag to indicate if the members of the resource has to be include in the Maintenance Window. -func (o GetMaintenanceWindowResourceOutput) AreMembersIncluded() pulumi.BoolOutput { - return o.ApplyT(func(v GetMaintenanceWindowResource) bool { return v.AreMembersIncluded }).(pulumi.BoolOutput) +func (o GetDiscoveryJobLogsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsFilter) string { return v.Name }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. -func (o GetMaintenanceWindowResourceOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowResource) string { return v.ResourceId }).(pulumi.StringOutput) +func (o GetDiscoveryJobLogsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetMaintenanceWindowResourceArrayOutput struct{ *pulumi.OutputState } +func (o GetDiscoveryJobLogsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobLogsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetMaintenanceWindowResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowResource)(nil)).Elem() +type GetDiscoveryJobLogsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobLogsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobLogsFilter)(nil)).Elem() } -func (o GetMaintenanceWindowResourceArrayOutput) ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput { +func (o GetDiscoveryJobLogsFilterArrayOutput) ToGetDiscoveryJobLogsFilterArrayOutput() GetDiscoveryJobLogsFilterArrayOutput { return o } -func (o GetMaintenanceWindowResourceArrayOutput) ToGetMaintenanceWindowResourceArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceArrayOutput { +func (o GetDiscoveryJobLogsFilterArrayOutput) ToGetDiscoveryJobLogsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobLogsFilterArrayOutput { return o } -func (o GetMaintenanceWindowResourceArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowResource { - return vs[0].([]GetMaintenanceWindowResource)[vs[1].(int)] - }).(GetMaintenanceWindowResourceOutput) +func (o GetDiscoveryJobLogsFilterArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobLogsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobLogsFilter { + return vs[0].([]GetDiscoveryJobLogsFilter)[vs[1].(int)] + }).(GetDiscoveryJobLogsFilterOutput) } -type GetMaintenanceWindowResourcesDetail struct { - // Name of the monitored resource - Name string `pulumi:"name"` - // Number of members of the resource - NumberOfMembers int `pulumi:"numberOfMembers"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. - ResourceId string `pulumi:"resourceId"` - // Type of the monitored resource - Type string `pulumi:"type"` +type GetDiscoveryJobsDiscoveryJobCollection struct { + // List of DiscoveryJob credentials. + Items []GetDiscoveryJobsDiscoveryJobCollectionItem `pulumi:"items"` } -// GetMaintenanceWindowResourcesDetailInput is an input type that accepts GetMaintenanceWindowResourcesDetailArgs and GetMaintenanceWindowResourcesDetailOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowResourcesDetailInput` via: +// GetDiscoveryJobsDiscoveryJobCollectionInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionArgs and GetDiscoveryJobsDiscoveryJobCollectionOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionInput` via: // -// GetMaintenanceWindowResourcesDetailArgs{...} -type GetMaintenanceWindowResourcesDetailInput interface { +// GetDiscoveryJobsDiscoveryJobCollectionArgs{...} +type GetDiscoveryJobsDiscoveryJobCollectionInput interface { pulumi.Input - ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput - ToGetMaintenanceWindowResourcesDetailOutputWithContext(context.Context) GetMaintenanceWindowResourcesDetailOutput + ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput + ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput } -type GetMaintenanceWindowResourcesDetailArgs struct { - // Name of the monitored resource - Name pulumi.StringInput `pulumi:"name"` - // Number of members of the resource - NumberOfMembers pulumi.IntInput `pulumi:"numberOfMembers"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. - ResourceId pulumi.StringInput `pulumi:"resourceId"` - // Type of the monitored resource - Type pulumi.StringInput `pulumi:"type"` +type GetDiscoveryJobsDiscoveryJobCollectionArgs struct { + // List of DiscoveryJob credentials. + Items GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput `pulumi:"items"` } -func (GetMaintenanceWindowResourcesDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowResourcesDetail)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() } -func (i GetMaintenanceWindowResourcesDetailArgs) ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput { - return i.ToGetMaintenanceWindowResourcesDetailOutputWithContext(context.Background()) +func (i GetDiscoveryJobsDiscoveryJobCollectionArgs) ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput { + return i.ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowResourcesDetailArgs) ToGetMaintenanceWindowResourcesDetailOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourcesDetailOutput) +func (i GetDiscoveryJobsDiscoveryJobCollectionArgs) ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionOutput) } -// GetMaintenanceWindowResourcesDetailArrayInput is an input type that accepts GetMaintenanceWindowResourcesDetailArray and GetMaintenanceWindowResourcesDetailArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowResourcesDetailArrayInput` via: +// GetDiscoveryJobsDiscoveryJobCollectionArrayInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionArray and GetDiscoveryJobsDiscoveryJobCollectionArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionArrayInput` via: // -// GetMaintenanceWindowResourcesDetailArray{ GetMaintenanceWindowResourcesDetailArgs{...} } -type GetMaintenanceWindowResourcesDetailArrayInput interface { +// GetDiscoveryJobsDiscoveryJobCollectionArray{ GetDiscoveryJobsDiscoveryJobCollectionArgs{...} } +type GetDiscoveryJobsDiscoveryJobCollectionArrayInput interface { pulumi.Input - ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput - ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(context.Context) GetMaintenanceWindowResourcesDetailArrayOutput + ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput + ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput } -type GetMaintenanceWindowResourcesDetailArray []GetMaintenanceWindowResourcesDetailInput +type GetDiscoveryJobsDiscoveryJobCollectionArray []GetDiscoveryJobsDiscoveryJobCollectionInput -func (GetMaintenanceWindowResourcesDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowResourcesDetail)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() } -func (i GetMaintenanceWindowResourcesDetailArray) ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput { - return i.ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobsDiscoveryJobCollectionArray) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { + return i.ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowResourcesDetailArray) ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourcesDetailArrayOutput) +func (i GetDiscoveryJobsDiscoveryJobCollectionArray) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) } -type GetMaintenanceWindowResourcesDetailOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobsDiscoveryJobCollectionOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowResourcesDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowResourcesDetail)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() } -func (o GetMaintenanceWindowResourcesDetailOutput) ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) ToGetDiscoveryJobsDiscoveryJobCollectionOutput() GetDiscoveryJobsDiscoveryJobCollectionOutput { return o } -func (o GetMaintenanceWindowResourcesDetailOutput) ToGetMaintenanceWindowResourcesDetailOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) ToGetDiscoveryJobsDiscoveryJobCollectionOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionOutput { return o } -// Name of the monitored resource -func (o GetMaintenanceWindowResourcesDetailOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.Name }).(pulumi.StringOutput) -} - -// Number of members of the resource -func (o GetMaintenanceWindowResourcesDetailOutput) NumberOfMembers() pulumi.IntOutput { - return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) int { return v.NumberOfMembers }).(pulumi.IntOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. -func (o GetMaintenanceWindowResourcesDetailOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.ResourceId }).(pulumi.StringOutput) -} - -// Type of the monitored resource -func (o GetMaintenanceWindowResourcesDetailOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.Type }).(pulumi.StringOutput) +// List of DiscoveryJob credentials. +func (o GetDiscoveryJobsDiscoveryJobCollectionOutput) Items() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollection) []GetDiscoveryJobsDiscoveryJobCollectionItem { + return v.Items + }).(GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) } -type GetMaintenanceWindowResourcesDetailArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobsDiscoveryJobCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowResourcesDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowResourcesDetail)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollection)(nil)).Elem() } -func (o GetMaintenanceWindowResourcesDetailArrayOutput) ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { return o } -func (o GetMaintenanceWindowResourcesDetailArrayOutput) ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailArrayOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionArrayOutput { return o } -func (o GetMaintenanceWindowResourcesDetailArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowResourcesDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowResourcesDetail { - return vs[0].([]GetMaintenanceWindowResourcesDetail)[vs[1].(int)] - }).(GetMaintenanceWindowResourcesDetailOutput) +func (o GetDiscoveryJobsDiscoveryJobCollectionArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsDiscoveryJobCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsDiscoveryJobCollection { + return vs[0].([]GetDiscoveryJobsDiscoveryJobCollection)[vs[1].(int)] + }).(GetDiscoveryJobsDiscoveryJobCollectionOutput) } -type GetMaintenanceWindowSchedule struct { - // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. - MaintenanceWindowDuration string `pulumi:"maintenanceWindowDuration"` - // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. - MaintenanceWindowRecurrences string `pulumi:"maintenanceWindowRecurrences"` - // Property to identify the type of the Maintenance Window. - ScheduleType string `pulumi:"scheduleType"` - // Start time of Maintenance window. A RFC3339 formatted datetime string - TimeMaintenanceWindowEnd string `pulumi:"timeMaintenanceWindowEnd"` - // Start time of Maintenance window. A RFC3339 formatted datetime string - TimeMaintenanceWindowStart string `pulumi:"timeMaintenanceWindowStart"` +type GetDiscoveryJobsDiscoveryJobCollectionItem struct { + // The ID of the compartment in which data is listed. + 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"` + // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. + DiscoveryType string `pulumi:"discoveryType"` + // 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 OCID of Discovery job + Id string `pulumi:"id"` + // The Name of resource type + ResourceName string `pulumi:"resourceName"` + // Resource Type. + ResourceType string `pulumi:"resourceType"` + // The current state of the DiscoveryJob Resource. + State string `pulumi:"state"` + // Specifies the status of the discovery job + Status string `pulumi:"status"` + // The short summary of the status of the discovery job + StatusMessage string `pulumi:"statusMessage"` + // 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 OCID of Tenant + TenantId string `pulumi:"tenantId"` + // The time the discovery Job was updated. + TimeUpdated string `pulumi:"timeUpdated"` + // The OCID of user in which the job is submitted + UserId string `pulumi:"userId"` } -// GetMaintenanceWindowScheduleInput is an input type that accepts GetMaintenanceWindowScheduleArgs and GetMaintenanceWindowScheduleOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowScheduleInput` via: +// GetDiscoveryJobsDiscoveryJobCollectionItemInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionItemArgs and GetDiscoveryJobsDiscoveryJobCollectionItemOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionItemInput` via: // -// GetMaintenanceWindowScheduleArgs{...} -type GetMaintenanceWindowScheduleInput interface { +// GetDiscoveryJobsDiscoveryJobCollectionItemArgs{...} +type GetDiscoveryJobsDiscoveryJobCollectionItemInput interface { pulumi.Input - ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput - ToGetMaintenanceWindowScheduleOutputWithContext(context.Context) GetMaintenanceWindowScheduleOutput + ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput + ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput } -type GetMaintenanceWindowScheduleArgs struct { - // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. - MaintenanceWindowDuration pulumi.StringInput `pulumi:"maintenanceWindowDuration"` - // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. - MaintenanceWindowRecurrences pulumi.StringInput `pulumi:"maintenanceWindowRecurrences"` - // Property to identify the type of the Maintenance Window. - ScheduleType pulumi.StringInput `pulumi:"scheduleType"` - // Start time of Maintenance window. A RFC3339 formatted datetime string - TimeMaintenanceWindowEnd pulumi.StringInput `pulumi:"timeMaintenanceWindowEnd"` - // Start time of Maintenance window. A RFC3339 formatted datetime string - TimeMaintenanceWindowStart pulumi.StringInput `pulumi:"timeMaintenanceWindowStart"` +type GetDiscoveryJobsDiscoveryJobCollectionItemArgs struct { + // The ID of the compartment in which data is listed. + 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"` + // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. + DiscoveryType pulumi.StringInput `pulumi:"discoveryType"` + // 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 OCID of Discovery job + Id pulumi.StringInput `pulumi:"id"` + // The Name of resource type + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // Resource Type. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // The current state of the DiscoveryJob Resource. + State pulumi.StringInput `pulumi:"state"` + // Specifies the status of the discovery job + Status pulumi.StringInput `pulumi:"status"` + // The short summary of the status of the discovery job + StatusMessage pulumi.StringInput `pulumi:"statusMessage"` + // 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 OCID of Tenant + TenantId pulumi.StringInput `pulumi:"tenantId"` + // The time the discovery Job was updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // The OCID of user in which the job is submitted + UserId pulumi.StringInput `pulumi:"userId"` } -func (GetMaintenanceWindowScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowSchedule)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() } -func (i GetMaintenanceWindowScheduleArgs) ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput { - return i.ToGetMaintenanceWindowScheduleOutputWithContext(context.Background()) +func (i GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput { + return i.ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowScheduleArgs) ToGetMaintenanceWindowScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowScheduleOutput) +func (i GetDiscoveryJobsDiscoveryJobCollectionItemArgs) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionItemOutput) } -// GetMaintenanceWindowScheduleArrayInput is an input type that accepts GetMaintenanceWindowScheduleArray and GetMaintenanceWindowScheduleArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowScheduleArrayInput` via: +// GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput is an input type that accepts GetDiscoveryJobsDiscoveryJobCollectionItemArray and GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput` via: // -// GetMaintenanceWindowScheduleArray{ GetMaintenanceWindowScheduleArgs{...} } -type GetMaintenanceWindowScheduleArrayInput interface { +// GetDiscoveryJobsDiscoveryJobCollectionItemArray{ GetDiscoveryJobsDiscoveryJobCollectionItemArgs{...} } +type GetDiscoveryJobsDiscoveryJobCollectionItemArrayInput interface { pulumi.Input - ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput - ToGetMaintenanceWindowScheduleArrayOutputWithContext(context.Context) GetMaintenanceWindowScheduleArrayOutput + ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput + ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput } -type GetMaintenanceWindowScheduleArray []GetMaintenanceWindowScheduleInput +type GetDiscoveryJobsDiscoveryJobCollectionItemArray []GetDiscoveryJobsDiscoveryJobCollectionItemInput -func (GetMaintenanceWindowScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowSchedule)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() } -func (i GetMaintenanceWindowScheduleArray) ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput { - return i.ToGetMaintenanceWindowScheduleArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobsDiscoveryJobCollectionItemArray) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { + return i.ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowScheduleArray) ToGetMaintenanceWindowScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowScheduleArrayOutput) +func (i GetDiscoveryJobsDiscoveryJobCollectionItemArray) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) } -type GetMaintenanceWindowScheduleOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobsDiscoveryJobCollectionItemOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowSchedule)(nil)).Elem() +func (GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() } -func (o GetMaintenanceWindowScheduleOutput) ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutput() GetDiscoveryJobsDiscoveryJobCollectionItemOutput { return o } -func (o GetMaintenanceWindowScheduleOutput) ToGetMaintenanceWindowScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { return o } -// Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. -func (o GetMaintenanceWindowScheduleOutput) MaintenanceWindowDuration() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.MaintenanceWindowDuration }).(pulumi.StringOutput) +// The ID of the compartment in which data is listed. +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -// A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. -func (o GetMaintenanceWindowScheduleOutput) MaintenanceWindowRecurrences() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.MaintenanceWindowRecurrences }).(pulumi.StringOutput) +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -// Property to identify the type of the Maintenance Window. -func (o GetMaintenanceWindowScheduleOutput) ScheduleType() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.ScheduleType }).(pulumi.StringOutput) +// Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) DiscoveryType() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.DiscoveryType }).(pulumi.StringOutput) } -// Start time of Maintenance window. A RFC3339 formatted datetime string -func (o GetMaintenanceWindowScheduleOutput) TimeMaintenanceWindowEnd() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.TimeMaintenanceWindowEnd }).(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 GetDiscoveryJobsDiscoveryJobCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) } -// Start time of Maintenance window. A RFC3339 formatted datetime string -func (o GetMaintenanceWindowScheduleOutput) TimeMaintenanceWindowStart() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.TimeMaintenanceWindowStart }).(pulumi.StringOutput) +// The OCID of Discovery job +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -type GetMaintenanceWindowScheduleArrayOutput struct{ *pulumi.OutputState } +// The Name of resource type +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.ResourceName }).(pulumi.StringOutput) +} -func (GetMaintenanceWindowScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowSchedule)(nil)).Elem() +// Resource Type. +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) } -func (o GetMaintenanceWindowScheduleArrayOutput) ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput { +// The current state of the DiscoveryJob Resource. +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Specifies the status of the discovery job +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.Status }).(pulumi.StringOutput) +} + +// The short summary of the status of the discovery job +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) StatusMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.StatusMessage }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// The OCID of Tenant +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +} + +// The time the discovery Job was updated. +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The OCID of user in which the job is submitted +func (o GetDiscoveryJobsDiscoveryJobCollectionItemOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsDiscoveryJobCollectionItem) string { return v.UserId }).(pulumi.StringOutput) +} + +type GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsDiscoveryJobCollectionItem)(nil)).Elem() +} + +func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput() GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { return o } -func (o GetMaintenanceWindowScheduleArrayOutput) ToGetMaintenanceWindowScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleArrayOutput { +func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) ToGetDiscoveryJobsDiscoveryJobCollectionItemArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput { return o } -func (o GetMaintenanceWindowScheduleArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowSchedule { - return vs[0].([]GetMaintenanceWindowSchedule)[vs[1].(int)] - }).(GetMaintenanceWindowScheduleOutput) +func (o GetDiscoveryJobsDiscoveryJobCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsDiscoveryJobCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsDiscoveryJobCollectionItem { + return vs[0].([]GetDiscoveryJobsDiscoveryJobCollectionItem)[vs[1].(int)] + }).(GetDiscoveryJobsDiscoveryJobCollectionItemOutput) } -type GetMaintenanceWindowsFilter struct { - // A filter to return maintenance windows that match exact resource name. +type GetDiscoveryJobsFilter struct { + // A filter to return only discovery jobs that match the entire resource name given. Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` Values []string `pulumi:"values"` } -// GetMaintenanceWindowsFilterInput is an input type that accepts GetMaintenanceWindowsFilterArgs and GetMaintenanceWindowsFilterOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsFilterInput` via: +// GetDiscoveryJobsFilterInput is an input type that accepts GetDiscoveryJobsFilterArgs and GetDiscoveryJobsFilterOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsFilterInput` via: // -// GetMaintenanceWindowsFilterArgs{...} -type GetMaintenanceWindowsFilterInput interface { +// GetDiscoveryJobsFilterArgs{...} +type GetDiscoveryJobsFilterInput interface { pulumi.Input - ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput - ToGetMaintenanceWindowsFilterOutputWithContext(context.Context) GetMaintenanceWindowsFilterOutput + ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput + ToGetDiscoveryJobsFilterOutputWithContext(context.Context) GetDiscoveryJobsFilterOutput } -type GetMaintenanceWindowsFilterArgs struct { - // A filter to return maintenance windows that match exact resource name. +type GetDiscoveryJobsFilterArgs struct { + // A filter to return only discovery jobs that match the entire resource name given. Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMaintenanceWindowsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsFilter)(nil)).Elem() +func (GetDiscoveryJobsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsFilter)(nil)).Elem() } -func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput { - return i.ToGetMaintenanceWindowsFilterOutputWithContext(context.Background()) +func (i GetDiscoveryJobsFilterArgs) ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput { + return i.ToGetDiscoveryJobsFilterOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsFilterOutput) +func (i GetDiscoveryJobsFilterArgs) ToGetDiscoveryJobsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsFilterOutput) } -// GetMaintenanceWindowsFilterArrayInput is an input type that accepts GetMaintenanceWindowsFilterArray and GetMaintenanceWindowsFilterArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsFilterArrayInput` via: +// GetDiscoveryJobsFilterArrayInput is an input type that accepts GetDiscoveryJobsFilterArray and GetDiscoveryJobsFilterArrayOutput values. +// You can construct a concrete instance of `GetDiscoveryJobsFilterArrayInput` via: // -// GetMaintenanceWindowsFilterArray{ GetMaintenanceWindowsFilterArgs{...} } -type GetMaintenanceWindowsFilterArrayInput interface { +// GetDiscoveryJobsFilterArray{ GetDiscoveryJobsFilterArgs{...} } +type GetDiscoveryJobsFilterArrayInput interface { pulumi.Input - ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput - ToGetMaintenanceWindowsFilterArrayOutputWithContext(context.Context) GetMaintenanceWindowsFilterArrayOutput + ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput + ToGetDiscoveryJobsFilterArrayOutputWithContext(context.Context) GetDiscoveryJobsFilterArrayOutput } -type GetMaintenanceWindowsFilterArray []GetMaintenanceWindowsFilterInput +type GetDiscoveryJobsFilterArray []GetDiscoveryJobsFilterInput -func (GetMaintenanceWindowsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsFilter)(nil)).Elem() +func (GetDiscoveryJobsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsFilter)(nil)).Elem() } -func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput { - return i.ToGetMaintenanceWindowsFilterArrayOutputWithContext(context.Background()) +func (i GetDiscoveryJobsFilterArray) ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput { + return i.ToGetDiscoveryJobsFilterArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsFilterArrayOutput) +func (i GetDiscoveryJobsFilterArray) ToGetDiscoveryJobsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDiscoveryJobsFilterArrayOutput) } -type GetMaintenanceWindowsFilterOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobsFilterOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsFilter)(nil)).Elem() +func (GetDiscoveryJobsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDiscoveryJobsFilter)(nil)).Elem() } -func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput { +func (o GetDiscoveryJobsFilterOutput) ToGetDiscoveryJobsFilterOutput() GetDiscoveryJobsFilterOutput { return o } -func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput { +func (o GetDiscoveryJobsFilterOutput) ToGetDiscoveryJobsFilterOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterOutput { return o } -// A filter to return maintenance windows that match exact resource name. -func (o GetMaintenanceWindowsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsFilter) string { return v.Name }).(pulumi.StringOutput) +// A filter to return only discovery jobs that match the entire resource name given. +func (o GetDiscoveryJobsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDiscoveryJobsFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetMaintenanceWindowsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMaintenanceWindowsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetDiscoveryJobsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDiscoveryJobsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetMaintenanceWindowsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMaintenanceWindowsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetDiscoveryJobsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDiscoveryJobsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetMaintenanceWindowsFilterArrayOutput struct{ *pulumi.OutputState } +type GetDiscoveryJobsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsFilter)(nil)).Elem() +func (GetDiscoveryJobsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDiscoveryJobsFilter)(nil)).Elem() } -func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput { +func (o GetDiscoveryJobsFilterArrayOutput) ToGetDiscoveryJobsFilterArrayOutput() GetDiscoveryJobsFilterArrayOutput { return o } -func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput { +func (o GetDiscoveryJobsFilterArrayOutput) ToGetDiscoveryJobsFilterArrayOutputWithContext(ctx context.Context) GetDiscoveryJobsFilterArrayOutput { return o } -func (o GetMaintenanceWindowsFilterArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsFilter { - return vs[0].([]GetMaintenanceWindowsFilter)[vs[1].(int)] - }).(GetMaintenanceWindowsFilterOutput) +func (o GetDiscoveryJobsFilterArrayOutput) Index(i pulumi.IntInput) GetDiscoveryJobsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDiscoveryJobsFilter { + return vs[0].([]GetDiscoveryJobsFilter)[vs[1].(int)] + }).(GetDiscoveryJobsFilterOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollection struct { - Items []GetMaintenanceWindowsMaintenanceWindowCollectionItem `pulumi:"items"` +type GetMaintenanceWindowResource struct { + // Flag to indicate if the members of the resource has to be include in the Maintenance Window. + AreMembersIncluded bool `pulumi:"areMembersIncluded"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. + ResourceId string `pulumi:"resourceId"` } -// GetMaintenanceWindowsMaintenanceWindowCollectionInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionArgs and GetMaintenanceWindowsMaintenanceWindowCollectionOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionInput` via: +// GetMaintenanceWindowResourceInput is an input type that accepts GetMaintenanceWindowResourceArgs and GetMaintenanceWindowResourceOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowResourceInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionArgs{...} -type GetMaintenanceWindowsMaintenanceWindowCollectionInput interface { +// GetMaintenanceWindowResourceArgs{...} +type GetMaintenanceWindowResourceInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput + ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput + ToGetMaintenanceWindowResourceOutputWithContext(context.Context) GetMaintenanceWindowResourceOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionArgs struct { - Items GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput `pulumi:"items"` +type GetMaintenanceWindowResourceArgs struct { + // Flag to indicate if the members of the resource has to be include in the Maintenance Window. + AreMembersIncluded pulumi.BoolInput `pulumi:"areMembersIncluded"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. + ResourceId pulumi.StringInput `pulumi:"resourceId"` } -func (GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() +func (GetMaintenanceWindowResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowResource)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(context.Background()) +func (i GetMaintenanceWindowResourceArgs) ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput { + return i.ToGetMaintenanceWindowResourceOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionOutput) +func (i GetMaintenanceWindowResourceArgs) ToGetMaintenanceWindowResourceOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourceOutput) } -// GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionArray and GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput` via: +// GetMaintenanceWindowResourceArrayInput is an input type that accepts GetMaintenanceWindowResourceArray and GetMaintenanceWindowResourceArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowResourceArrayInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionArray{ GetMaintenanceWindowsMaintenanceWindowCollectionArgs{...} } -type GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput interface { +// GetMaintenanceWindowResourceArray{ GetMaintenanceWindowResourceArgs{...} } +type GetMaintenanceWindowResourceArrayInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput + ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput + ToGetMaintenanceWindowResourceArrayOutputWithContext(context.Context) GetMaintenanceWindowResourceArrayOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionArray []GetMaintenanceWindowsMaintenanceWindowCollectionInput +type GetMaintenanceWindowResourceArray []GetMaintenanceWindowResourceInput -func (GetMaintenanceWindowsMaintenanceWindowCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() +func (GetMaintenanceWindowResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowResource)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(context.Background()) +func (i GetMaintenanceWindowResourceArray) ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput { + return i.ToGetMaintenanceWindowResourceArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) +func (i GetMaintenanceWindowResourceArray) ToGetMaintenanceWindowResourceArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourceArrayOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowResourceOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() +func (GetMaintenanceWindowResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowResource)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput { +func (o GetMaintenanceWindowResourceOutput) ToGetMaintenanceWindowResourceOutput() GetMaintenanceWindowResourceOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { +func (o GetMaintenanceWindowResourceOutput) ToGetMaintenanceWindowResourceOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) Items() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollection) []GetMaintenanceWindowsMaintenanceWindowCollectionItem { - return v.Items - }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) +// Flag to indicate if the members of the resource has to be include in the Maintenance Window. +func (o GetMaintenanceWindowResourceOutput) AreMembersIncluded() pulumi.BoolOutput { + return o.ApplyT(func(v GetMaintenanceWindowResource) bool { return v.AreMembersIncluded }).(pulumi.BoolOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput struct{ *pulumi.OutputState } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. +func (o GetMaintenanceWindowResourceOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowResource) string { return v.ResourceId }).(pulumi.StringOutput) +} -func (GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() +type GetMaintenanceWindowResourceArrayOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowResource)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { +func (o GetMaintenanceWindowResourceArrayOutput) ToGetMaintenanceWindowResourceArrayOutput() GetMaintenanceWindowResourceArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { +func (o GetMaintenanceWindowResourceArrayOutput) ToGetMaintenanceWindowResourceArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourceArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollection { - return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollection)[vs[1].(int)] - }).(GetMaintenanceWindowsMaintenanceWindowCollectionOutput) +func (o GetMaintenanceWindowResourceArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowResource { + return vs[0].([]GetMaintenanceWindowResource)[vs[1].(int)] + }).(GetMaintenanceWindowResourceOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItem struct { - // The ID of the compartment in which data is listed. - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - FreeformTags map[string]string `pulumi:"freeformTags"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. - Id string `pulumi:"id"` - // A filter to return maintenance windows with matching lifecycleDetails. - LifecycleDetails string `pulumi:"lifecycleDetails"` - LifecycleState string `pulumi:"lifecycleState"` - // A filter to return maintenance windows that match exact resource name. - Name string `pulumi:"name"` - NumberOfResources int `pulumi:"numberOfResources"` - OperationStatus string `pulumi:"operationStatus"` - OperationType string `pulumi:"operationType"` - // Schedule information of the Maintenance Window - Schedules []GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule `pulumi:"schedules"` - // Lifecycle state of the monitored resource. - State string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` +type GetMaintenanceWindowResourcesDetail struct { + // Name of the monitored resource + Name string `pulumi:"name"` + // Number of members of the resource + NumberOfMembers int `pulumi:"numberOfMembers"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. + ResourceId string `pulumi:"resourceId"` + // Type of the monitored resource + Type string `pulumi:"type"` } -// GetMaintenanceWindowsMaintenanceWindowCollectionItemInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs and GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemInput` via: +// GetMaintenanceWindowResourcesDetailInput is an input type that accepts GetMaintenanceWindowResourcesDetailArgs and GetMaintenanceWindowResourcesDetailOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowResourcesDetailInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs{...} -type GetMaintenanceWindowsMaintenanceWindowCollectionItemInput interface { +// GetMaintenanceWindowResourcesDetailArgs{...} +type GetMaintenanceWindowResourcesDetailInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput + ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput + ToGetMaintenanceWindowResourcesDetailOutputWithContext(context.Context) GetMaintenanceWindowResourcesDetailOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs struct { - // The ID of the compartment in which data is listed. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. - Id pulumi.StringInput `pulumi:"id"` - // A filter to return maintenance windows with matching lifecycleDetails. - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - LifecycleState pulumi.StringInput `pulumi:"lifecycleState"` - // A filter to return maintenance windows that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - NumberOfResources pulumi.IntInput `pulumi:"numberOfResources"` - OperationStatus pulumi.StringInput `pulumi:"operationStatus"` - OperationType pulumi.StringInput `pulumi:"operationType"` - // Schedule information of the Maintenance Window - Schedules GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput `pulumi:"schedules"` - // Lifecycle state of the monitored resource. - State pulumi.StringInput `pulumi:"state"` - SystemTags pulumi.StringMapInput `pulumi:"systemTags"` +type GetMaintenanceWindowResourcesDetailArgs struct { + // Name of the monitored resource + Name pulumi.StringInput `pulumi:"name"` + // Number of members of the resource + NumberOfMembers pulumi.IntInput `pulumi:"numberOfMembers"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. + ResourceId pulumi.StringInput `pulumi:"resourceId"` + // Type of the monitored resource + Type pulumi.StringInput `pulumi:"type"` } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +func (GetMaintenanceWindowResourcesDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowResourcesDetail)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(context.Background()) +func (i GetMaintenanceWindowResourcesDetailArgs) ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput { + return i.ToGetMaintenanceWindowResourcesDetailOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) +func (i GetMaintenanceWindowResourcesDetailArgs) ToGetMaintenanceWindowResourcesDetailOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourcesDetailOutput) } -// GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemArray and GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput` via: +// GetMaintenanceWindowResourcesDetailArrayInput is an input type that accepts GetMaintenanceWindowResourcesDetailArray and GetMaintenanceWindowResourcesDetailArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowResourcesDetailArrayInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionItemArray{ GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs{...} } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput interface { +// GetMaintenanceWindowResourcesDetailArray{ GetMaintenanceWindowResourcesDetailArgs{...} } +type GetMaintenanceWindowResourcesDetailArrayInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput + ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput + ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(context.Context) GetMaintenanceWindowResourcesDetailArrayOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemArray []GetMaintenanceWindowsMaintenanceWindowCollectionItemInput +type GetMaintenanceWindowResourcesDetailArray []GetMaintenanceWindowResourcesDetailInput -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +func (GetMaintenanceWindowResourcesDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowResourcesDetail)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(context.Background()) +func (i GetMaintenanceWindowResourcesDetailArray) ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput { + return i.ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) +func (i GetMaintenanceWindowResourcesDetailArray) ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowResourcesDetailArrayOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowResourcesDetailOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +func (GetMaintenanceWindowResourcesDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowResourcesDetail)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { +func (o GetMaintenanceWindowResourcesDetailOutput) ToGetMaintenanceWindowResourcesDetailOutput() GetMaintenanceWindowResourcesDetailOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { +func (o GetMaintenanceWindowResourcesDetailOutput) ToGetMaintenanceWindowResourcesDetailOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailOutput { return o } -// The ID of the compartment in which data is listed. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -// A filter to return maintenance windows with matching lifecycleDetails. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) LifecycleState() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.LifecycleState }).(pulumi.StringOutput) -} - -// A filter to return maintenance windows that match exact resource name. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) NumberOfResources() pulumi.IntOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) int { return v.NumberOfResources }).(pulumi.IntOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) OperationStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.OperationStatus }).(pulumi.StringOutput) -} - -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) OperationType() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.OperationType }).(pulumi.StringOutput) +// Name of the monitored resource +func (o GetMaintenanceWindowResourcesDetailOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.Name }).(pulumi.StringOutput) } -// Schedule information of the Maintenance Window -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Schedules() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) []GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule { - return v.Schedules - }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) +// Number of members of the resource +func (o GetMaintenanceWindowResourcesDetailOutput) NumberOfMembers() pulumi.IntOutput { + return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) int { return v.NumberOfMembers }).(pulumi.IntOutput) } -// Lifecycle state of the monitored resource. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.State }).(pulumi.StringOutput) +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource part of the Maintenance window. +func (o GetMaintenanceWindowResourcesDetailOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.ResourceId }).(pulumi.StringOutput) } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +// Type of the monitored resource +func (o GetMaintenanceWindowResourcesDetailOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowResourcesDetail) string { return v.Type }).(pulumi.StringOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowResourcesDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +func (GetMaintenanceWindowResourcesDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowResourcesDetail)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { +func (o GetMaintenanceWindowResourcesDetailArrayOutput) ToGetMaintenanceWindowResourcesDetailArrayOutput() GetMaintenanceWindowResourcesDetailArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { +func (o GetMaintenanceWindowResourcesDetailArrayOutput) ToGetMaintenanceWindowResourcesDetailArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowResourcesDetailArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollectionItem { - return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollectionItem)[vs[1].(int)] - }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) +func (o GetMaintenanceWindowResourcesDetailArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowResourcesDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowResourcesDetail { + return vs[0].([]GetMaintenanceWindowResourcesDetail)[vs[1].(int)] + }).(GetMaintenanceWindowResourcesDetailOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule struct { +type GetMaintenanceWindowSchedule struct { // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. MaintenanceWindowDuration string `pulumi:"maintenanceWindowDuration"` // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. @@ -10049,18 +10466,18 @@ type GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule struct { TimeMaintenanceWindowStart string `pulumi:"timeMaintenanceWindowStart"` } -// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs and GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput` via: +// GetMaintenanceWindowScheduleInput is an input type that accepts GetMaintenanceWindowScheduleArgs and GetMaintenanceWindowScheduleOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowScheduleInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs{...} -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput interface { +// GetMaintenanceWindowScheduleArgs{...} +type GetMaintenanceWindowScheduleInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput + ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput + ToGetMaintenanceWindowScheduleOutputWithContext(context.Context) GetMaintenanceWindowScheduleOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs struct { +type GetMaintenanceWindowScheduleArgs struct { // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. MaintenanceWindowDuration pulumi.StringInput `pulumi:"maintenanceWindowDuration"` // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. @@ -10073,368 +10490,892 @@ type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs struct { TimeMaintenanceWindowStart pulumi.StringInput `pulumi:"timeMaintenanceWindowStart"` } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +func (GetMaintenanceWindowScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowSchedule)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(context.Background()) +func (i GetMaintenanceWindowScheduleArgs) ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput { + return i.ToGetMaintenanceWindowScheduleOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) +func (i GetMaintenanceWindowScheduleArgs) ToGetMaintenanceWindowScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowScheduleOutput) } -// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray and GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput values. -// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput` via: +// GetMaintenanceWindowScheduleArrayInput is an input type that accepts GetMaintenanceWindowScheduleArray and GetMaintenanceWindowScheduleArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowScheduleArrayInput` via: // -// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray{ GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs{...} } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput interface { +// GetMaintenanceWindowScheduleArray{ GetMaintenanceWindowScheduleArgs{...} } +type GetMaintenanceWindowScheduleArrayInput interface { pulumi.Input - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput - ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput + ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput + ToGetMaintenanceWindowScheduleArrayOutputWithContext(context.Context) GetMaintenanceWindowScheduleArrayOutput } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray []GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput +type GetMaintenanceWindowScheduleArray []GetMaintenanceWindowScheduleInput -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +func (GetMaintenanceWindowScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowSchedule)(nil)).Elem() } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { - return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(context.Background()) +func (i GetMaintenanceWindowScheduleArray) ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput { + return i.ToGetMaintenanceWindowScheduleArrayOutputWithContext(context.Background()) } -func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) +func (i GetMaintenanceWindowScheduleArray) ToGetMaintenanceWindowScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowScheduleArrayOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowScheduleOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +func (GetMaintenanceWindowScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowSchedule)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { +func (o GetMaintenanceWindowScheduleOutput) ToGetMaintenanceWindowScheduleOutput() GetMaintenanceWindowScheduleOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { +func (o GetMaintenanceWindowScheduleOutput) ToGetMaintenanceWindowScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleOutput { return o } // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) MaintenanceWindowDuration() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { - return v.MaintenanceWindowDuration - }).(pulumi.StringOutput) +func (o GetMaintenanceWindowScheduleOutput) MaintenanceWindowDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.MaintenanceWindowDuration }).(pulumi.StringOutput) } // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) MaintenanceWindowRecurrences() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { - return v.MaintenanceWindowRecurrences - }).(pulumi.StringOutput) +func (o GetMaintenanceWindowScheduleOutput) MaintenanceWindowRecurrences() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.MaintenanceWindowRecurrences }).(pulumi.StringOutput) } // Property to identify the type of the Maintenance Window. -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ScheduleType() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { return v.ScheduleType }).(pulumi.StringOutput) +func (o GetMaintenanceWindowScheduleOutput) ScheduleType() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.ScheduleType }).(pulumi.StringOutput) } // Start time of Maintenance window. A RFC3339 formatted datetime string -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) TimeMaintenanceWindowEnd() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { - return v.TimeMaintenanceWindowEnd - }).(pulumi.StringOutput) +func (o GetMaintenanceWindowScheduleOutput) TimeMaintenanceWindowEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.TimeMaintenanceWindowEnd }).(pulumi.StringOutput) } // Start time of Maintenance window. A RFC3339 formatted datetime string -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) TimeMaintenanceWindowStart() pulumi.StringOutput { - return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { - return v.TimeMaintenanceWindowStart - }).(pulumi.StringOutput) +func (o GetMaintenanceWindowScheduleOutput) TimeMaintenanceWindowStart() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowSchedule) string { return v.TimeMaintenanceWindowStart }).(pulumi.StringOutput) } -type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowScheduleArrayOutput struct{ *pulumi.OutputState } -func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +func (GetMaintenanceWindowScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowSchedule)(nil)).Elem() } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { +func (o GetMaintenanceWindowScheduleArrayOutput) ToGetMaintenanceWindowScheduleArrayOutput() GetMaintenanceWindowScheduleArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { +func (o GetMaintenanceWindowScheduleArrayOutput) ToGetMaintenanceWindowScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowScheduleArrayOutput { return o } -func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule { - return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)[vs[1].(int)] - }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) +func (o GetMaintenanceWindowScheduleArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowSchedule { + return vs[0].([]GetMaintenanceWindowSchedule)[vs[1].(int)] + }).(GetMaintenanceWindowScheduleOutput) } -type GetMetricExtensionEnabledOnResource struct { - // The OCID of the resource on which Metric Extension is enabled - ResourceId string `pulumi:"resourceId"` +type GetMaintenanceWindowsFilter struct { + // A filter to return maintenance windows that match exact resource name. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMetricExtensionEnabledOnResourceInput is an input type that accepts GetMetricExtensionEnabledOnResourceArgs and GetMetricExtensionEnabledOnResourceOutput values. -// You can construct a concrete instance of `GetMetricExtensionEnabledOnResourceInput` via: +// GetMaintenanceWindowsFilterInput is an input type that accepts GetMaintenanceWindowsFilterArgs and GetMaintenanceWindowsFilterOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsFilterInput` via: // -// GetMetricExtensionEnabledOnResourceArgs{...} -type GetMetricExtensionEnabledOnResourceInput interface { +// GetMaintenanceWindowsFilterArgs{...} +type GetMaintenanceWindowsFilterInput interface { pulumi.Input - ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput - ToGetMetricExtensionEnabledOnResourceOutputWithContext(context.Context) GetMetricExtensionEnabledOnResourceOutput + ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput + ToGetMaintenanceWindowsFilterOutputWithContext(context.Context) GetMaintenanceWindowsFilterOutput } -type GetMetricExtensionEnabledOnResourceArgs struct { - // The OCID of the resource on which Metric Extension is enabled - ResourceId pulumi.StringInput `pulumi:"resourceId"` +type GetMaintenanceWindowsFilterArgs struct { + // A filter to return maintenance windows that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMetricExtensionEnabledOnResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionEnabledOnResource)(nil)).Elem() +func (GetMaintenanceWindowsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsFilter)(nil)).Elem() } -func (i GetMetricExtensionEnabledOnResourceArgs) ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput { - return i.ToGetMetricExtensionEnabledOnResourceOutputWithContext(context.Background()) +func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput { + return i.ToGetMaintenanceWindowsFilterOutputWithContext(context.Background()) } -func (i GetMetricExtensionEnabledOnResourceArgs) ToGetMetricExtensionEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionEnabledOnResourceOutput) +func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsFilterOutput) } -// GetMetricExtensionEnabledOnResourceArrayInput is an input type that accepts GetMetricExtensionEnabledOnResourceArray and GetMetricExtensionEnabledOnResourceArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionEnabledOnResourceArrayInput` via: +// GetMaintenanceWindowsFilterArrayInput is an input type that accepts GetMaintenanceWindowsFilterArray and GetMaintenanceWindowsFilterArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsFilterArrayInput` via: // -// GetMetricExtensionEnabledOnResourceArray{ GetMetricExtensionEnabledOnResourceArgs{...} } -type GetMetricExtensionEnabledOnResourceArrayInput interface { +// GetMaintenanceWindowsFilterArray{ GetMaintenanceWindowsFilterArgs{...} } +type GetMaintenanceWindowsFilterArrayInput interface { pulumi.Input - ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput - ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(context.Context) GetMetricExtensionEnabledOnResourceArrayOutput + ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput + ToGetMaintenanceWindowsFilterArrayOutputWithContext(context.Context) GetMaintenanceWindowsFilterArrayOutput } -type GetMetricExtensionEnabledOnResourceArray []GetMetricExtensionEnabledOnResourceInput +type GetMaintenanceWindowsFilterArray []GetMaintenanceWindowsFilterInput -func (GetMetricExtensionEnabledOnResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionEnabledOnResource)(nil)).Elem() +func (GetMaintenanceWindowsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsFilter)(nil)).Elem() } -func (i GetMetricExtensionEnabledOnResourceArray) ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput { - return i.ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(context.Background()) +func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput { + return i.ToGetMaintenanceWindowsFilterArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionEnabledOnResourceArray) ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionEnabledOnResourceArrayOutput) +func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsFilterArrayOutput) } -type GetMetricExtensionEnabledOnResourceOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowsFilterOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionEnabledOnResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionEnabledOnResource)(nil)).Elem() +func (GetMaintenanceWindowsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsFilter)(nil)).Elem() } -func (o GetMetricExtensionEnabledOnResourceOutput) ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput { +func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput { return o } -func (o GetMetricExtensionEnabledOnResourceOutput) ToGetMetricExtensionEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceOutput { +func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput { return o } -// The OCID of the resource on which Metric Extension is enabled -func (o GetMetricExtensionEnabledOnResourceOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionEnabledOnResource) string { return v.ResourceId }).(pulumi.StringOutput) +// A filter to return maintenance windows that match exact resource name. +func (o GetMaintenanceWindowsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsFilter) string { return v.Name }).(pulumi.StringOutput) } -type GetMetricExtensionEnabledOnResourceArrayOutput struct{ *pulumi.OutputState } +func (o GetMaintenanceWindowsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMaintenanceWindowsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} -func (GetMetricExtensionEnabledOnResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionEnabledOnResource)(nil)).Elem() +func (o GetMaintenanceWindowsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMaintenanceWindowsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -func (o GetMetricExtensionEnabledOnResourceArrayOutput) ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput { +type GetMaintenanceWindowsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsFilter)(nil)).Elem() +} + +func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput { return o } -func (o GetMetricExtensionEnabledOnResourceArrayOutput) ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceArrayOutput { +func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput { return o } -func (o GetMetricExtensionEnabledOnResourceArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionEnabledOnResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionEnabledOnResource { - return vs[0].([]GetMetricExtensionEnabledOnResource)[vs[1].(int)] - }).(GetMetricExtensionEnabledOnResourceOutput) +func (o GetMaintenanceWindowsFilterArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsFilter { + return vs[0].([]GetMaintenanceWindowsFilter)[vs[1].(int)] + }).(GetMaintenanceWindowsFilterOutput) } -type GetMetricExtensionMetricList struct { - // Compute Expression to calculate the value of this metric - ComputeExpression string `pulumi:"computeExpression"` - // Data type of value of this metric - DataType string `pulumi:"dataType"` - // Display name of the metric. - DisplayName string `pulumi:"displayName"` - // Current metric need to be included as dimension or not - IsDimension bool `pulumi:"isDimension"` - // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded - IsHidden bool `pulumi:"isHidden"` - // Metric category - MetricCategory string `pulumi:"metricCategory"` - // Name of the script file - Name string `pulumi:"name"` - // Unit of metric value - Unit string `pulumi:"unit"` +type GetMaintenanceWindowsMaintenanceWindowCollection struct { + Items []GetMaintenanceWindowsMaintenanceWindowCollectionItem `pulumi:"items"` } -// GetMetricExtensionMetricListInput is an input type that accepts GetMetricExtensionMetricListArgs and GetMetricExtensionMetricListOutput values. -// You can construct a concrete instance of `GetMetricExtensionMetricListInput` via: +// GetMaintenanceWindowsMaintenanceWindowCollectionInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionArgs and GetMaintenanceWindowsMaintenanceWindowCollectionOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionInput` via: // -// GetMetricExtensionMetricListArgs{...} -type GetMetricExtensionMetricListInput interface { +// GetMaintenanceWindowsMaintenanceWindowCollectionArgs{...} +type GetMaintenanceWindowsMaintenanceWindowCollectionInput interface { pulumi.Input - ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput - ToGetMetricExtensionMetricListOutputWithContext(context.Context) GetMetricExtensionMetricListOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput } -type GetMetricExtensionMetricListArgs struct { - // Compute Expression to calculate the value of this metric - ComputeExpression pulumi.StringInput `pulumi:"computeExpression"` - // Data type of value of this metric - DataType pulumi.StringInput `pulumi:"dataType"` - // Display name of the metric. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Current metric need to be included as dimension or not - IsDimension pulumi.BoolInput `pulumi:"isDimension"` - // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded - IsHidden pulumi.BoolInput `pulumi:"isHidden"` - // Metric category - MetricCategory pulumi.StringInput `pulumi:"metricCategory"` - // Name of the script file - Name pulumi.StringInput `pulumi:"name"` - // Unit of metric value - Unit pulumi.StringInput `pulumi:"unit"` +type GetMaintenanceWindowsMaintenanceWindowCollectionArgs struct { + Items GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput `pulumi:"items"` } -func (GetMetricExtensionMetricListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionMetricList)(nil)).Elem() +func (GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() } -func (i GetMetricExtensionMetricListArgs) ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput { - return i.ToGetMetricExtensionMetricListOutputWithContext(context.Background()) +func (i GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(context.Background()) } -func (i GetMetricExtensionMetricListArgs) ToGetMetricExtensionMetricListOutputWithContext(ctx context.Context) GetMetricExtensionMetricListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionMetricListOutput) +func (i GetMaintenanceWindowsMaintenanceWindowCollectionArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionOutput) } -// GetMetricExtensionMetricListArrayInput is an input type that accepts GetMetricExtensionMetricListArray and GetMetricExtensionMetricListArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionMetricListArrayInput` via: +// GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionArray and GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput` via: // -// GetMetricExtensionMetricListArray{ GetMetricExtensionMetricListArgs{...} } -type GetMetricExtensionMetricListArrayInput interface { +// GetMaintenanceWindowsMaintenanceWindowCollectionArray{ GetMaintenanceWindowsMaintenanceWindowCollectionArgs{...} } +type GetMaintenanceWindowsMaintenanceWindowCollectionArrayInput interface { pulumi.Input - ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput - ToGetMetricExtensionMetricListArrayOutputWithContext(context.Context) GetMetricExtensionMetricListArrayOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput } -type GetMetricExtensionMetricListArray []GetMetricExtensionMetricListInput +type GetMaintenanceWindowsMaintenanceWindowCollectionArray []GetMaintenanceWindowsMaintenanceWindowCollectionInput -func (GetMetricExtensionMetricListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionMetricList)(nil)).Elem() +func (GetMaintenanceWindowsMaintenanceWindowCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() } -func (i GetMetricExtensionMetricListArray) ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput { - return i.ToGetMetricExtensionMetricListArrayOutputWithContext(context.Background()) +func (i GetMaintenanceWindowsMaintenanceWindowCollectionArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionMetricListArray) ToGetMetricExtensionMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionMetricListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionMetricListArrayOutput) +func (i GetMaintenanceWindowsMaintenanceWindowCollectionArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) } -type GetMetricExtensionMetricListOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowsMaintenanceWindowCollectionOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionMetricListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionMetricList)(nil)).Elem() +func (GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() } -func (o GetMetricExtensionMetricListOutput) ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput { +func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutput() GetMaintenanceWindowsMaintenanceWindowCollectionOutput { return o } -func (o GetMetricExtensionMetricListOutput) ToGetMetricExtensionMetricListOutputWithContext(ctx context.Context) GetMetricExtensionMetricListOutput { +func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { return o } -// Compute Expression to calculate the value of this metric -func (o GetMetricExtensionMetricListOutput) ComputeExpression() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.ComputeExpression }).(pulumi.StringOutput) +func (o GetMaintenanceWindowsMaintenanceWindowCollectionOutput) Items() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollection) []GetMaintenanceWindowsMaintenanceWindowCollectionItem { + return v.Items + }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) } -// Data type of value of this metric -func (o GetMetricExtensionMetricListOutput) DataType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.DataType }).(pulumi.StringOutput) -} +type GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput struct{ *pulumi.OutputState } -// Display name of the metric. -func (o GetMetricExtensionMetricListOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.DisplayName }).(pulumi.StringOutput) +func (GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollection)(nil)).Elem() } -// Current metric need to be included as dimension or not -func (o GetMetricExtensionMetricListOutput) IsDimension() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) bool { return v.IsDimension }).(pulumi.BoolOutput) +func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { + return o } -// Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded -func (o GetMetricExtensionMetricListOutput) IsHidden() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) bool { return v.IsHidden }).(pulumi.BoolOutput) +func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput { + return o } -// Metric category -func (o GetMetricExtensionMetricListOutput) MetricCategory() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.MetricCategory }).(pulumi.StringOutput) +func (o GetMaintenanceWindowsMaintenanceWindowCollectionArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollection { + return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollection)[vs[1].(int)] + }).(GetMaintenanceWindowsMaintenanceWindowCollectionOutput) } -// Name of the script file -func (o GetMetricExtensionMetricListOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.Name }).(pulumi.StringOutput) +type GetMaintenanceWindowsMaintenanceWindowCollectionItem struct { + // The ID of the compartment in which data is listed. + CompartmentId string `pulumi:"compartmentId"` + DefinedTags map[string]string `pulumi:"definedTags"` + FreeformTags map[string]string `pulumi:"freeformTags"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. + Id string `pulumi:"id"` + // A filter to return maintenance windows with matching lifecycleDetails. + LifecycleDetails string `pulumi:"lifecycleDetails"` + LifecycleState string `pulumi:"lifecycleState"` + // A filter to return maintenance windows that match exact resource name. + Name string `pulumi:"name"` + NumberOfResources int `pulumi:"numberOfResources"` + OperationStatus string `pulumi:"operationStatus"` + OperationType string `pulumi:"operationType"` + // Schedule information of the Maintenance Window + Schedules []GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule `pulumi:"schedules"` + // Lifecycle state of the monitored resource. + State string `pulumi:"state"` + SystemTags map[string]string `pulumi:"systemTags"` } -// Unit of metric value -func (o GetMetricExtensionMetricListOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.Unit }).(pulumi.StringOutput) +// GetMaintenanceWindowsMaintenanceWindowCollectionItemInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs and GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemInput` via: +// +// GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs{...} +type GetMaintenanceWindowsMaintenanceWindowCollectionItemInput interface { + pulumi.Input + + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput } -type GetMetricExtensionMetricListArrayOutput struct{ *pulumi.OutputState } +type GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs struct { + // The ID of the compartment in which data is listed. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. + Id pulumi.StringInput `pulumi:"id"` + // A filter to return maintenance windows with matching lifecycleDetails. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + LifecycleState pulumi.StringInput `pulumi:"lifecycleState"` + // A filter to return maintenance windows that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + NumberOfResources pulumi.IntInput `pulumi:"numberOfResources"` + OperationStatus pulumi.StringInput `pulumi:"operationStatus"` + OperationType pulumi.StringInput `pulumi:"operationType"` + // Schedule information of the Maintenance Window + Schedules GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput `pulumi:"schedules"` + // Lifecycle state of the monitored resource. + State pulumi.StringInput `pulumi:"state"` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` +} -func (GetMetricExtensionMetricListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionMetricList)(nil)).Elem() +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() } -func (o GetMetricExtensionMetricListArrayOutput) ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput { - return o +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(context.Background()) } -func (o GetMetricExtensionMetricListArrayOutput) ToGetMetricExtensionMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionMetricListArrayOutput { - return o +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) } -func (o GetMetricExtensionMetricListArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionMetricListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionMetricList { - return vs[0].([]GetMetricExtensionMetricList)[vs[1].(int)] - }).(GetMetricExtensionMetricListOutput) +// GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemArray and GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput` via: +// +// GetMaintenanceWindowsMaintenanceWindowCollectionItemArray{ GetMaintenanceWindowsMaintenanceWindowCollectionItemArgs{...} } +type GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayInput interface { + pulumi.Input + + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput } -type GetMetricExtensionQueryProperty struct { +type GetMaintenanceWindowsMaintenanceWindowCollectionItemArray []GetMaintenanceWindowsMaintenanceWindowCollectionItemInput + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { + return o +} + +// The ID of the compartment in which data is listed. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// A filter to return maintenance windows with matching lifecycleDetails. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) LifecycleState() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.LifecycleState }).(pulumi.StringOutput) +} + +// A filter to return maintenance windows that match exact resource name. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) NumberOfResources() pulumi.IntOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) int { return v.NumberOfResources }).(pulumi.IntOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) OperationStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.OperationStatus }).(pulumi.StringOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) OperationType() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.OperationType }).(pulumi.StringOutput) +} + +// Schedule information of the Maintenance Window +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) Schedules() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) []GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule { + return v.Schedules + }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) +} + +// Lifecycle state of the monitored resource. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItem)(nil)).Elem() +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollectionItem { + return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollectionItem)[vs[1].(int)] + }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemOutput) +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule struct { + // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. + MaintenanceWindowDuration string `pulumi:"maintenanceWindowDuration"` + // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. + MaintenanceWindowRecurrences string `pulumi:"maintenanceWindowRecurrences"` + // Property to identify the type of the Maintenance Window. + ScheduleType string `pulumi:"scheduleType"` + // Start time of Maintenance window. A RFC3339 formatted datetime string + TimeMaintenanceWindowEnd string `pulumi:"timeMaintenanceWindowEnd"` + // Start time of Maintenance window. A RFC3339 formatted datetime string + TimeMaintenanceWindowStart string `pulumi:"timeMaintenanceWindowStart"` +} + +// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs and GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput` via: +// +// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs{...} +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput interface { + pulumi.Input + + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs struct { + // Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. + MaintenanceWindowDuration pulumi.StringInput `pulumi:"maintenanceWindowDuration"` + // A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. + MaintenanceWindowRecurrences pulumi.StringInput `pulumi:"maintenanceWindowRecurrences"` + // Property to identify the type of the Maintenance Window. + ScheduleType pulumi.StringInput `pulumi:"scheduleType"` + // Start time of Maintenance window. A RFC3339 formatted datetime string + TimeMaintenanceWindowEnd pulumi.StringInput `pulumi:"timeMaintenanceWindowEnd"` + // Start time of Maintenance window. A RFC3339 formatted datetime string + TimeMaintenanceWindowStart pulumi.StringInput `pulumi:"timeMaintenanceWindowStart"` +} + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(context.Background()) +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) +} + +// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput is an input type that accepts GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray and GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput values. +// You can construct a concrete instance of `GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput` via: +// +// GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray{ GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArgs{...} } +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayInput interface { + pulumi.Input + + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput + ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray []GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleInput + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { + return i.ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArray) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { + return o +} + +// Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) MaintenanceWindowDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { + return v.MaintenanceWindowDuration + }).(pulumi.StringOutput) +} + +// A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence. Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value. BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00 Other Rules are not supported. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) MaintenanceWindowRecurrences() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { + return v.MaintenanceWindowRecurrences + }).(pulumi.StringOutput) +} + +// Property to identify the type of the Maintenance Window. +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) ScheduleType() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { return v.ScheduleType }).(pulumi.StringOutput) +} + +// Start time of Maintenance window. A RFC3339 formatted datetime string +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) TimeMaintenanceWindowEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { + return v.TimeMaintenanceWindowEnd + }).(pulumi.StringOutput) +} + +// Start time of Maintenance window. A RFC3339 formatted datetime string +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) TimeMaintenanceWindowStart() pulumi.StringOutput { + return o.ApplyT(func(v GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule) string { + return v.TimeMaintenanceWindowStart + }).(pulumi.StringOutput) +} + +type GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)(nil)).Elem() +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput() GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) ToGetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput { + return o +} + +func (o GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleArrayOutput) Index(i pulumi.IntInput) GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule { + return vs[0].([]GetMaintenanceWindowsMaintenanceWindowCollectionItemSchedule)[vs[1].(int)] + }).(GetMaintenanceWindowsMaintenanceWindowCollectionItemScheduleOutput) +} + +type GetMetricExtensionEnabledOnResource struct { + // The OCID of the resource on which Metric Extension is enabled + ResourceId string `pulumi:"resourceId"` +} + +// GetMetricExtensionEnabledOnResourceInput is an input type that accepts GetMetricExtensionEnabledOnResourceArgs and GetMetricExtensionEnabledOnResourceOutput values. +// You can construct a concrete instance of `GetMetricExtensionEnabledOnResourceInput` via: +// +// GetMetricExtensionEnabledOnResourceArgs{...} +type GetMetricExtensionEnabledOnResourceInput interface { + pulumi.Input + + ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput + ToGetMetricExtensionEnabledOnResourceOutputWithContext(context.Context) GetMetricExtensionEnabledOnResourceOutput +} + +type GetMetricExtensionEnabledOnResourceArgs struct { + // The OCID of the resource on which Metric Extension is enabled + ResourceId pulumi.StringInput `pulumi:"resourceId"` +} + +func (GetMetricExtensionEnabledOnResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionEnabledOnResource)(nil)).Elem() +} + +func (i GetMetricExtensionEnabledOnResourceArgs) ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput { + return i.ToGetMetricExtensionEnabledOnResourceOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionEnabledOnResourceArgs) ToGetMetricExtensionEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionEnabledOnResourceOutput) +} + +// GetMetricExtensionEnabledOnResourceArrayInput is an input type that accepts GetMetricExtensionEnabledOnResourceArray and GetMetricExtensionEnabledOnResourceArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionEnabledOnResourceArrayInput` via: +// +// GetMetricExtensionEnabledOnResourceArray{ GetMetricExtensionEnabledOnResourceArgs{...} } +type GetMetricExtensionEnabledOnResourceArrayInput interface { + pulumi.Input + + ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput + ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(context.Context) GetMetricExtensionEnabledOnResourceArrayOutput +} + +type GetMetricExtensionEnabledOnResourceArray []GetMetricExtensionEnabledOnResourceInput + +func (GetMetricExtensionEnabledOnResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionEnabledOnResource)(nil)).Elem() +} + +func (i GetMetricExtensionEnabledOnResourceArray) ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput { + return i.ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionEnabledOnResourceArray) ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionEnabledOnResourceArrayOutput) +} + +type GetMetricExtensionEnabledOnResourceOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionEnabledOnResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionEnabledOnResource)(nil)).Elem() +} + +func (o GetMetricExtensionEnabledOnResourceOutput) ToGetMetricExtensionEnabledOnResourceOutput() GetMetricExtensionEnabledOnResourceOutput { + return o +} + +func (o GetMetricExtensionEnabledOnResourceOutput) ToGetMetricExtensionEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceOutput { + return o +} + +// The OCID of the resource on which Metric Extension is enabled +func (o GetMetricExtensionEnabledOnResourceOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionEnabledOnResource) string { return v.ResourceId }).(pulumi.StringOutput) +} + +type GetMetricExtensionEnabledOnResourceArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionEnabledOnResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionEnabledOnResource)(nil)).Elem() +} + +func (o GetMetricExtensionEnabledOnResourceArrayOutput) ToGetMetricExtensionEnabledOnResourceArrayOutput() GetMetricExtensionEnabledOnResourceArrayOutput { + return o +} + +func (o GetMetricExtensionEnabledOnResourceArrayOutput) ToGetMetricExtensionEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionEnabledOnResourceArrayOutput { + return o +} + +func (o GetMetricExtensionEnabledOnResourceArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionEnabledOnResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionEnabledOnResource { + return vs[0].([]GetMetricExtensionEnabledOnResource)[vs[1].(int)] + }).(GetMetricExtensionEnabledOnResourceOutput) +} + +type GetMetricExtensionMetricList struct { + // Compute Expression to calculate the value of this metric + ComputeExpression string `pulumi:"computeExpression"` + // Data type of value of this metric + DataType string `pulumi:"dataType"` + // Display name of the metric. + DisplayName string `pulumi:"displayName"` + // Current metric need to be included as dimension or not + IsDimension bool `pulumi:"isDimension"` + // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded + IsHidden bool `pulumi:"isHidden"` + // Metric category + MetricCategory string `pulumi:"metricCategory"` + // Name of the script file + Name string `pulumi:"name"` + // Unit of metric value + Unit string `pulumi:"unit"` +} + +// GetMetricExtensionMetricListInput is an input type that accepts GetMetricExtensionMetricListArgs and GetMetricExtensionMetricListOutput values. +// You can construct a concrete instance of `GetMetricExtensionMetricListInput` via: +// +// GetMetricExtensionMetricListArgs{...} +type GetMetricExtensionMetricListInput interface { + pulumi.Input + + ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput + ToGetMetricExtensionMetricListOutputWithContext(context.Context) GetMetricExtensionMetricListOutput +} + +type GetMetricExtensionMetricListArgs struct { + // Compute Expression to calculate the value of this metric + ComputeExpression pulumi.StringInput `pulumi:"computeExpression"` + // Data type of value of this metric + DataType pulumi.StringInput `pulumi:"dataType"` + // Display name of the metric. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Current metric need to be included as dimension or not + IsDimension pulumi.BoolInput `pulumi:"isDimension"` + // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded + IsHidden pulumi.BoolInput `pulumi:"isHidden"` + // Metric category + MetricCategory pulumi.StringInput `pulumi:"metricCategory"` + // Name of the script file + Name pulumi.StringInput `pulumi:"name"` + // Unit of metric value + Unit pulumi.StringInput `pulumi:"unit"` +} + +func (GetMetricExtensionMetricListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionMetricList)(nil)).Elem() +} + +func (i GetMetricExtensionMetricListArgs) ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput { + return i.ToGetMetricExtensionMetricListOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionMetricListArgs) ToGetMetricExtensionMetricListOutputWithContext(ctx context.Context) GetMetricExtensionMetricListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionMetricListOutput) +} + +// GetMetricExtensionMetricListArrayInput is an input type that accepts GetMetricExtensionMetricListArray and GetMetricExtensionMetricListArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionMetricListArrayInput` via: +// +// GetMetricExtensionMetricListArray{ GetMetricExtensionMetricListArgs{...} } +type GetMetricExtensionMetricListArrayInput interface { + pulumi.Input + + ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput + ToGetMetricExtensionMetricListArrayOutputWithContext(context.Context) GetMetricExtensionMetricListArrayOutput +} + +type GetMetricExtensionMetricListArray []GetMetricExtensionMetricListInput + +func (GetMetricExtensionMetricListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionMetricList)(nil)).Elem() +} + +func (i GetMetricExtensionMetricListArray) ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput { + return i.ToGetMetricExtensionMetricListArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionMetricListArray) ToGetMetricExtensionMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionMetricListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionMetricListArrayOutput) +} + +type GetMetricExtensionMetricListOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionMetricListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionMetricList)(nil)).Elem() +} + +func (o GetMetricExtensionMetricListOutput) ToGetMetricExtensionMetricListOutput() GetMetricExtensionMetricListOutput { + return o +} + +func (o GetMetricExtensionMetricListOutput) ToGetMetricExtensionMetricListOutputWithContext(ctx context.Context) GetMetricExtensionMetricListOutput { + return o +} + +// Compute Expression to calculate the value of this metric +func (o GetMetricExtensionMetricListOutput) ComputeExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.ComputeExpression }).(pulumi.StringOutput) +} + +// Data type of value of this metric +func (o GetMetricExtensionMetricListOutput) DataType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.DataType }).(pulumi.StringOutput) +} + +// Display name of the metric. +func (o GetMetricExtensionMetricListOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Current metric need to be included as dimension or not +func (o GetMetricExtensionMetricListOutput) IsDimension() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) bool { return v.IsDimension }).(pulumi.BoolOutput) +} + +// Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded +func (o GetMetricExtensionMetricListOutput) IsHidden() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) bool { return v.IsHidden }).(pulumi.BoolOutput) +} + +// Metric category +func (o GetMetricExtensionMetricListOutput) MetricCategory() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.MetricCategory }).(pulumi.StringOutput) +} + +// Name of the script file +func (o GetMetricExtensionMetricListOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.Name }).(pulumi.StringOutput) +} + +// Unit of metric value +func (o GetMetricExtensionMetricListOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionMetricList) string { return v.Unit }).(pulumi.StringOutput) +} + +type GetMetricExtensionMetricListArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionMetricListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionMetricList)(nil)).Elem() +} + +func (o GetMetricExtensionMetricListArrayOutput) ToGetMetricExtensionMetricListArrayOutput() GetMetricExtensionMetricListArrayOutput { + return o +} + +func (o GetMetricExtensionMetricListArrayOutput) ToGetMetricExtensionMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionMetricListArrayOutput { + return o +} + +func (o GetMetricExtensionMetricListArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionMetricListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionMetricList { + return vs[0].([]GetMetricExtensionMetricList)[vs[1].(int)] + }).(GetMetricExtensionMetricListOutput) +} + +type GetMetricExtensionQueryProperty struct { // Arguments required by either command or script Arguments string `pulumi:"arguments"` // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned @@ -10473,7037 +11414,8513 @@ type GetMetricExtensionQueryProperty struct { Url string `pulumi:"url"` } -// GetMetricExtensionQueryPropertyInput is an input type that accepts GetMetricExtensionQueryPropertyArgs and GetMetricExtensionQueryPropertyOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInput` via: +// GetMetricExtensionQueryPropertyInput is an input type that accepts GetMetricExtensionQueryPropertyArgs and GetMetricExtensionQueryPropertyOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInput` via: +// +// GetMetricExtensionQueryPropertyArgs{...} +type GetMetricExtensionQueryPropertyInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput + ToGetMetricExtensionQueryPropertyOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutput +} + +type GetMetricExtensionQueryPropertyArgs struct { + // Arguments required by either command or script + Arguments pulumi.StringInput `pulumi:"arguments"` + // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned + AutoRowPrefix pulumi.StringInput `pulumi:"autoRowPrefix"` + // Type of possible collection methods. + CollectionMethod pulumi.StringInput `pulumi:"collectionMethod"` + // OS command to execute without arguments + Command pulumi.StringInput `pulumi:"command"` + // Character used to delimit multiple metric values in single line of output + Delimiter pulumi.StringInput `pulumi:"delimiter"` + // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics + IdentityMetric pulumi.StringInput `pulumi:"identityMetric"` + // List of values and position of PL/SQL procedure IN parameters + InParamDetails GetMetricExtensionQueryPropertyInParamDetailArrayInput `pulumi:"inParamDetails"` + // Indicates if Metric Service is enabled on server domain + IsMetricServiceEnabled pulumi.BoolInput `pulumi:"isMetricServiceEnabled"` + // List of JMX attributes or Metric Service Table columns separated by semi-colon + JmxAttributes pulumi.StringInput `pulumi:"jmxAttributes"` + // JMX Managed Bean Query or Metric Service Table name + ManagedBeanQuery pulumi.StringInput `pulumi:"managedBeanQuery"` + // Position and SQL Type of PL/SQL OUT parameter + OutParamDetails GetMetricExtensionQueryPropertyOutParamDetailArrayInput `pulumi:"outParamDetails"` + // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL + ProtocolType pulumi.StringInput `pulumi:"protocolType"` + // Type of content response given by the http(s) URL + ResponseContentType pulumi.StringInput `pulumi:"responseContentType"` + // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. + ScriptDetails GetMetricExtensionQueryPropertyScriptDetailArrayInput `pulumi:"scriptDetails"` + // Details of Sql content which needs to execute to collect Metric Extension data + SqlDetails GetMetricExtensionQueryPropertySqlDetailArrayInput `pulumi:"sqlDetails"` + // Type of SQL data collection method i.e. either a Statement or SQL Script File + SqlType pulumi.StringInput `pulumi:"sqlType"` + // String prefix used to identify metric output of the OS Command + StartsWith pulumi.StringInput `pulumi:"startsWith"` + // Http(s) end point URL + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetMetricExtensionQueryPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryProperty)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyArgs) ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput { + return i.ToGetMetricExtensionQueryPropertyOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyArgs) ToGetMetricExtensionQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutput) +} + +// GetMetricExtensionQueryPropertyArrayInput is an input type that accepts GetMetricExtensionQueryPropertyArray and GetMetricExtensionQueryPropertyArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyArrayInput` via: +// +// GetMetricExtensionQueryPropertyArray{ GetMetricExtensionQueryPropertyArgs{...} } +type GetMetricExtensionQueryPropertyArrayInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput + ToGetMetricExtensionQueryPropertyArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyArrayOutput +} + +type GetMetricExtensionQueryPropertyArray []GetMetricExtensionQueryPropertyInput + +func (GetMetricExtensionQueryPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryProperty)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyArray) ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput { + return i.ToGetMetricExtensionQueryPropertyArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyArray) ToGetMetricExtensionQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyArrayOutput) +} + +type GetMetricExtensionQueryPropertyOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryProperty)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyOutput) ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyOutput) ToGetMetricExtensionQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutput { + return o +} + +// Arguments required by either command or script +func (o GetMetricExtensionQueryPropertyOutput) Arguments() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Arguments }).(pulumi.StringOutput) +} + +// Prefix for an auto generated metric, in case multiple rows with non unique key values are returned +func (o GetMetricExtensionQueryPropertyOutput) AutoRowPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.AutoRowPrefix }).(pulumi.StringOutput) +} + +// Type of possible collection methods. +func (o GetMetricExtensionQueryPropertyOutput) CollectionMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.CollectionMethod }).(pulumi.StringOutput) +} + +// OS command to execute without arguments +func (o GetMetricExtensionQueryPropertyOutput) Command() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Command }).(pulumi.StringOutput) +} + +// Character used to delimit multiple metric values in single line of output +func (o GetMetricExtensionQueryPropertyOutput) Delimiter() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Delimiter }).(pulumi.StringOutput) +} + +// Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics +func (o GetMetricExtensionQueryPropertyOutput) IdentityMetric() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.IdentityMetric }).(pulumi.StringOutput) +} + +// List of values and position of PL/SQL procedure IN parameters +func (o GetMetricExtensionQueryPropertyOutput) InParamDetails() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyInParamDetail { + return v.InParamDetails + }).(GetMetricExtensionQueryPropertyInParamDetailArrayOutput) +} + +// Indicates if Metric Service is enabled on server domain +func (o GetMetricExtensionQueryPropertyOutput) IsMetricServiceEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) bool { return v.IsMetricServiceEnabled }).(pulumi.BoolOutput) +} + +// List of JMX attributes or Metric Service Table columns separated by semi-colon +func (o GetMetricExtensionQueryPropertyOutput) JmxAttributes() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.JmxAttributes }).(pulumi.StringOutput) +} + +// JMX Managed Bean Query or Metric Service Table name +func (o GetMetricExtensionQueryPropertyOutput) ManagedBeanQuery() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ManagedBeanQuery }).(pulumi.StringOutput) +} + +// Position and SQL Type of PL/SQL OUT parameter +func (o GetMetricExtensionQueryPropertyOutput) OutParamDetails() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyOutParamDetail { + return v.OutParamDetails + }).(GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) +} + +// Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL +func (o GetMetricExtensionQueryPropertyOutput) ProtocolType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ProtocolType }).(pulumi.StringOutput) +} + +// Type of content response given by the http(s) URL +func (o GetMetricExtensionQueryPropertyOutput) ResponseContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ResponseContentType }).(pulumi.StringOutput) +} + +// Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. +func (o GetMetricExtensionQueryPropertyOutput) ScriptDetails() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyScriptDetail { + return v.ScriptDetails + }).(GetMetricExtensionQueryPropertyScriptDetailArrayOutput) +} + +// Details of Sql content which needs to execute to collect Metric Extension data +func (o GetMetricExtensionQueryPropertyOutput) SqlDetails() GetMetricExtensionQueryPropertySqlDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertySqlDetail { + return v.SqlDetails + }).(GetMetricExtensionQueryPropertySqlDetailArrayOutput) +} + +// Type of SQL data collection method i.e. either a Statement or SQL Script File +func (o GetMetricExtensionQueryPropertyOutput) SqlType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.SqlType }).(pulumi.StringOutput) +} + +// String prefix used to identify metric output of the OS Command +func (o GetMetricExtensionQueryPropertyOutput) StartsWith() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.StartsWith }).(pulumi.StringOutput) +} + +// Http(s) end point URL +func (o GetMetricExtensionQueryPropertyOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Url }).(pulumi.StringOutput) +} + +type GetMetricExtensionQueryPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryProperty)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyArrayOutput) ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyArrayOutput) ToGetMetricExtensionQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryProperty { + return vs[0].([]GetMetricExtensionQueryProperty)[vs[1].(int)] + }).(GetMetricExtensionQueryPropertyOutput) +} + +type GetMetricExtensionQueryPropertyInParamDetail struct { + // Position of IN parameter + InParamPosition int `pulumi:"inParamPosition"` + // Value of IN parameter + InParamValue string `pulumi:"inParamValue"` +} + +// GetMetricExtensionQueryPropertyInParamDetailInput is an input type that accepts GetMetricExtensionQueryPropertyInParamDetailArgs and GetMetricExtensionQueryPropertyInParamDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInParamDetailInput` via: +// +// GetMetricExtensionQueryPropertyInParamDetailArgs{...} +type GetMetricExtensionQueryPropertyInParamDetailInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput + ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput +} + +type GetMetricExtensionQueryPropertyInParamDetailArgs struct { + // Position of IN parameter + InParamPosition pulumi.IntInput `pulumi:"inParamPosition"` + // Value of IN parameter + InParamValue pulumi.StringInput `pulumi:"inParamValue"` +} + +func (GetMetricExtensionQueryPropertyInParamDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyInParamDetailArgs) ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput { + return i.ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyInParamDetailArgs) ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyInParamDetailOutput) +} + +// GetMetricExtensionQueryPropertyInParamDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyInParamDetailArray and GetMetricExtensionQueryPropertyInParamDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInParamDetailArrayInput` via: +// +// GetMetricExtensionQueryPropertyInParamDetailArray{ GetMetricExtensionQueryPropertyInParamDetailArgs{...} } +type GetMetricExtensionQueryPropertyInParamDetailArrayInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput + ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput +} + +type GetMetricExtensionQueryPropertyInParamDetailArray []GetMetricExtensionQueryPropertyInParamDetailInput + +func (GetMetricExtensionQueryPropertyInParamDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyInParamDetailArray) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { + return i.ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyInParamDetailArray) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyInParamDetailArrayOutput) +} + +type GetMetricExtensionQueryPropertyInParamDetailOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyInParamDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyInParamDetailOutput) ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyInParamDetailOutput) ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput { + return o +} + +// Position of IN parameter +func (o GetMetricExtensionQueryPropertyInParamDetailOutput) InParamPosition() pulumi.IntOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyInParamDetail) int { return v.InParamPosition }).(pulumi.IntOutput) +} + +// Value of IN parameter +func (o GetMetricExtensionQueryPropertyInParamDetailOutput) InParamValue() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyInParamDetail) string { return v.InParamValue }).(pulumi.StringOutput) +} + +type GetMetricExtensionQueryPropertyInParamDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyInParamDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyInParamDetail { + return vs[0].([]GetMetricExtensionQueryPropertyInParamDetail)[vs[1].(int)] + }).(GetMetricExtensionQueryPropertyInParamDetailOutput) +} + +type GetMetricExtensionQueryPropertyOutParamDetail struct { + // Name of the Out Parameter + OutParamName string `pulumi:"outParamName"` + // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. + OutParamPosition int `pulumi:"outParamPosition"` + // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. + OutParamType string `pulumi:"outParamType"` +} + +// GetMetricExtensionQueryPropertyOutParamDetailInput is an input type that accepts GetMetricExtensionQueryPropertyOutParamDetailArgs and GetMetricExtensionQueryPropertyOutParamDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyOutParamDetailInput` via: +// +// GetMetricExtensionQueryPropertyOutParamDetailArgs{...} +type GetMetricExtensionQueryPropertyOutParamDetailInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput + ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput +} + +type GetMetricExtensionQueryPropertyOutParamDetailArgs struct { + // Name of the Out Parameter + OutParamName pulumi.StringInput `pulumi:"outParamName"` + // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. + OutParamPosition pulumi.IntInput `pulumi:"outParamPosition"` + // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. + OutParamType pulumi.StringInput `pulumi:"outParamType"` +} + +func (GetMetricExtensionQueryPropertyOutParamDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyOutParamDetailArgs) ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput { + return i.ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyOutParamDetailArgs) ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutParamDetailOutput) +} + +// GetMetricExtensionQueryPropertyOutParamDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyOutParamDetailArray and GetMetricExtensionQueryPropertyOutParamDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyOutParamDetailArrayInput` via: +// +// GetMetricExtensionQueryPropertyOutParamDetailArray{ GetMetricExtensionQueryPropertyOutParamDetailArgs{...} } +type GetMetricExtensionQueryPropertyOutParamDetailArrayInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput + ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput +} + +type GetMetricExtensionQueryPropertyOutParamDetailArray []GetMetricExtensionQueryPropertyOutParamDetailInput + +func (GetMetricExtensionQueryPropertyOutParamDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyOutParamDetailArray) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { + return i.ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyOutParamDetailArray) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) +} + +type GetMetricExtensionQueryPropertyOutParamDetailOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyOutParamDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput { + return o +} + +// Name of the Out Parameter +func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) string { return v.OutParamName }).(pulumi.StringOutput) +} + +// Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. +func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamPosition() pulumi.IntOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) int { return v.OutParamPosition }).(pulumi.IntOutput) +} + +// SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. +func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) string { return v.OutParamType }).(pulumi.StringOutput) +} + +type GetMetricExtensionQueryPropertyOutParamDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyOutParamDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyOutParamDetail { + return vs[0].([]GetMetricExtensionQueryPropertyOutParamDetail)[vs[1].(int)] + }).(GetMetricExtensionQueryPropertyOutParamDetailOutput) +} + +type GetMetricExtensionQueryPropertyScriptDetail struct { + // Sql statement or script file content as base64 encoded string + Content string `pulumi:"content"` + // Name of the script file + Name string `pulumi:"name"` +} + +// GetMetricExtensionQueryPropertyScriptDetailInput is an input type that accepts GetMetricExtensionQueryPropertyScriptDetailArgs and GetMetricExtensionQueryPropertyScriptDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyScriptDetailInput` via: +// +// GetMetricExtensionQueryPropertyScriptDetailArgs{...} +type GetMetricExtensionQueryPropertyScriptDetailInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput + ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput +} + +type GetMetricExtensionQueryPropertyScriptDetailArgs struct { + // Sql statement or script file content as base64 encoded string + Content pulumi.StringInput `pulumi:"content"` + // Name of the script file + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetMetricExtensionQueryPropertyScriptDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyScriptDetailArgs) ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput { + return i.ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyScriptDetailArgs) ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyScriptDetailOutput) +} + +// GetMetricExtensionQueryPropertyScriptDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyScriptDetailArray and GetMetricExtensionQueryPropertyScriptDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertyScriptDetailArrayInput` via: +// +// GetMetricExtensionQueryPropertyScriptDetailArray{ GetMetricExtensionQueryPropertyScriptDetailArgs{...} } +type GetMetricExtensionQueryPropertyScriptDetailArrayInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput + ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput +} + +type GetMetricExtensionQueryPropertyScriptDetailArray []GetMetricExtensionQueryPropertyScriptDetailInput + +func (GetMetricExtensionQueryPropertyScriptDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertyScriptDetailArray) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { + return i.ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertyScriptDetailArray) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyScriptDetailArrayOutput) +} + +type GetMetricExtensionQueryPropertyScriptDetailOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyScriptDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyScriptDetailOutput) ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyScriptDetailOutput) ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput { + return o +} + +// Sql statement or script file content as base64 encoded string +func (o GetMetricExtensionQueryPropertyScriptDetailOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyScriptDetail) string { return v.Content }).(pulumi.StringOutput) +} + +// Name of the script file +func (o GetMetricExtensionQueryPropertyScriptDetailOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertyScriptDetail) string { return v.Name }).(pulumi.StringOutput) +} + +type GetMetricExtensionQueryPropertyScriptDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyScriptDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyScriptDetail { + return vs[0].([]GetMetricExtensionQueryPropertyScriptDetail)[vs[1].(int)] + }).(GetMetricExtensionQueryPropertyScriptDetailOutput) +} + +type GetMetricExtensionQueryPropertySqlDetail struct { + // Sql statement or script file content as base64 encoded string + Content string `pulumi:"content"` + // If a script needs to be executed, then provide file name of the script + ScriptFileName string `pulumi:"scriptFileName"` +} + +// GetMetricExtensionQueryPropertySqlDetailInput is an input type that accepts GetMetricExtensionQueryPropertySqlDetailArgs and GetMetricExtensionQueryPropertySqlDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertySqlDetailInput` via: +// +// GetMetricExtensionQueryPropertySqlDetailArgs{...} +type GetMetricExtensionQueryPropertySqlDetailInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput + ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertySqlDetailOutput +} + +type GetMetricExtensionQueryPropertySqlDetailArgs struct { + // Sql statement or script file content as base64 encoded string + Content pulumi.StringInput `pulumi:"content"` + // If a script needs to be executed, then provide file name of the script + ScriptFileName pulumi.StringInput `pulumi:"scriptFileName"` +} + +func (GetMetricExtensionQueryPropertySqlDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertySqlDetailArgs) ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput { + return i.ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertySqlDetailArgs) ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertySqlDetailOutput) +} + +// GetMetricExtensionQueryPropertySqlDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertySqlDetailArray and GetMetricExtensionQueryPropertySqlDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionQueryPropertySqlDetailArrayInput` via: +// +// GetMetricExtensionQueryPropertySqlDetailArray{ GetMetricExtensionQueryPropertySqlDetailArgs{...} } +type GetMetricExtensionQueryPropertySqlDetailArrayInput interface { + pulumi.Input + + ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput + ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput +} + +type GetMetricExtensionQueryPropertySqlDetailArray []GetMetricExtensionQueryPropertySqlDetailInput + +func (GetMetricExtensionQueryPropertySqlDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +} + +func (i GetMetricExtensionQueryPropertySqlDetailArray) ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput { + return i.ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionQueryPropertySqlDetailArray) ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertySqlDetailArrayOutput) +} + +type GetMetricExtensionQueryPropertySqlDetailOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertySqlDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertySqlDetailOutput) ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput { + return o +} + +func (o GetMetricExtensionQueryPropertySqlDetailOutput) ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailOutput { + return o +} + +// Sql statement or script file content as base64 encoded string +func (o GetMetricExtensionQueryPropertySqlDetailOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertySqlDetail) string { return v.Content }).(pulumi.StringOutput) +} + +// If a script needs to be executed, then provide file name of the script +func (o GetMetricExtensionQueryPropertySqlDetailOutput) ScriptFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionQueryPropertySqlDetail) string { return v.ScriptFileName }).(pulumi.StringOutput) +} + +type GetMetricExtensionQueryPropertySqlDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionQueryPropertySqlDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +} + +func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput { + return o +} + +func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertySqlDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertySqlDetail { + return vs[0].([]GetMetricExtensionQueryPropertySqlDetail)[vs[1].(int)] + }).(GetMetricExtensionQueryPropertySqlDetailOutput) +} + +type GetMetricExtensionsFilter struct { + // A filter to return resources based on name. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetMetricExtensionsFilterInput is an input type that accepts GetMetricExtensionsFilterArgs and GetMetricExtensionsFilterOutput values. +// You can construct a concrete instance of `GetMetricExtensionsFilterInput` via: +// +// GetMetricExtensionsFilterArgs{...} +type GetMetricExtensionsFilterInput interface { + pulumi.Input + + ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput + ToGetMetricExtensionsFilterOutputWithContext(context.Context) GetMetricExtensionsFilterOutput +} + +type GetMetricExtensionsFilterArgs struct { + // A filter to return resources based on name. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetMetricExtensionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsFilter)(nil)).Elem() +} + +func (i GetMetricExtensionsFilterArgs) ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput { + return i.ToGetMetricExtensionsFilterOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsFilterArgs) ToGetMetricExtensionsFilterOutputWithContext(ctx context.Context) GetMetricExtensionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsFilterOutput) +} + +// GetMetricExtensionsFilterArrayInput is an input type that accepts GetMetricExtensionsFilterArray and GetMetricExtensionsFilterArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsFilterArrayInput` via: +// +// GetMetricExtensionsFilterArray{ GetMetricExtensionsFilterArgs{...} } +type GetMetricExtensionsFilterArrayInput interface { + pulumi.Input + + ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput + ToGetMetricExtensionsFilterArrayOutputWithContext(context.Context) GetMetricExtensionsFilterArrayOutput +} + +type GetMetricExtensionsFilterArray []GetMetricExtensionsFilterInput + +func (GetMetricExtensionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsFilter)(nil)).Elem() +} + +func (i GetMetricExtensionsFilterArray) ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput { + return i.ToGetMetricExtensionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsFilterArray) ToGetMetricExtensionsFilterArrayOutputWithContext(ctx context.Context) GetMetricExtensionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsFilterArrayOutput) +} + +type GetMetricExtensionsFilterOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsFilter)(nil)).Elem() +} + +func (o GetMetricExtensionsFilterOutput) ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput { + return o +} + +func (o GetMetricExtensionsFilterOutput) ToGetMetricExtensionsFilterOutputWithContext(ctx context.Context) GetMetricExtensionsFilterOutput { + return o +} + +// A filter to return resources based on name. +func (o GetMetricExtensionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMetricExtensionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMetricExtensionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetMetricExtensionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetMetricExtensionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsFilter)(nil)).Elem() +} + +func (o GetMetricExtensionsFilterArrayOutput) ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput { + return o +} + +func (o GetMetricExtensionsFilterArrayOutput) ToGetMetricExtensionsFilterArrayOutputWithContext(ctx context.Context) GetMetricExtensionsFilterArrayOutput { + return o +} + +func (o GetMetricExtensionsFilterArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsFilter { + return vs[0].([]GetMetricExtensionsFilter)[vs[1].(int)] + }).(GetMetricExtensionsFilterOutput) +} + +type GetMetricExtensionsMetricExtensionCollection struct { + Items []GetMetricExtensionsMetricExtensionCollectionItem `pulumi:"items"` +} + +// GetMetricExtensionsMetricExtensionCollectionInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionArgs and GetMetricExtensionsMetricExtensionCollectionOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionArgs{...} +type GetMetricExtensionsMetricExtensionCollectionInput interface { + pulumi.Input + + ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput + ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionOutput +} + +type GetMetricExtensionsMetricExtensionCollectionArgs struct { + Items GetMetricExtensionsMetricExtensionCollectionItemArrayInput `pulumi:"items"` +} + +func (GetMetricExtensionsMetricExtensionCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +} + +func (i GetMetricExtensionsMetricExtensionCollectionArgs) ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsMetricExtensionCollectionArgs) ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionOutput) +} + +// GetMetricExtensionsMetricExtensionCollectionArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionArray and GetMetricExtensionsMetricExtensionCollectionArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionArrayInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionArray{ GetMetricExtensionsMetricExtensionCollectionArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionArrayInput interface { + pulumi.Input + + ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput +} + +type GetMetricExtensionsMetricExtensionCollectionArray []GetMetricExtensionsMetricExtensionCollectionInput + +func (GetMetricExtensionsMetricExtensionCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +} + +func (i GetMetricExtensionsMetricExtensionCollectionArray) ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsMetricExtensionCollectionArray) ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionArrayOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsMetricExtensionCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +} + +func (o GetMetricExtensionsMetricExtensionCollectionOutput) ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionOutput) ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionOutput) Items() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollection) []GetMetricExtensionsMetricExtensionCollectionItem { + return v.Items + }).(GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsMetricExtensionCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +} + +func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollection { + return vs[0].([]GetMetricExtensionsMetricExtensionCollection)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionItem struct { + // Type of possible collection methods. + CollectionMethod string `pulumi:"collectionMethod"` + // Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 + CollectionRecurrences string `pulumi:"collectionRecurrences"` + // The ID of the compartment in which data is listed. + CompartmentId string `pulumi:"compartmentId"` + // Created by user + CreatedBy string `pulumi:"createdBy"` + // Description of the metric extension. + Description string `pulumi:"description"` + // Display name of the metric. + DisplayName string `pulumi:"displayName"` + // List of resource details objects having resourceIds on which this metric extension is enabled. + EnabledOnResources []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource `pulumi:"enabledOnResources"` + // Count of resources on which this metric extension is enabled. + EnabledOnResourcesCount int `pulumi:"enabledOnResourcesCount"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource + Id string `pulumi:"id"` + // Last updated by user + LastUpdatedBy string `pulumi:"lastUpdatedBy"` + // List of metrics which are part of this metric extension + MetricLists []GetMetricExtensionsMetricExtensionCollectionItemMetricList `pulumi:"metricLists"` + // A filter to return resources based on name. + Name string `pulumi:"name"` + PublishTrigger bool `pulumi:"publishTrigger"` + // Collection method and query properties details of metric extension + QueryProperties []GetMetricExtensionsMetricExtensionCollectionItemQueryProperty `pulumi:"queryProperties"` + // A filter to return resources based on resource type. + ResourceType string `pulumi:"resourceType"` + // The URI path that the user can do a GET on to access the metric extension metadata + ResourceUri string `pulumi:"resourceUri"` + // A filter to return metric extensions based on Lifecycle State + State string `pulumi:"state"` + // A filter to return resources based on status e.g. Draft or Published + Status string `pulumi:"status"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId string `pulumi:"tenantId"` + // Metric Extension creation time. An RFC3339 formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // Metric Extension update time. An RFC3339 formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetMetricExtensionsMetricExtensionCollectionItemInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemArgs and GetMetricExtensionsMetricExtensionCollectionItemOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemInput` via: // -// GetMetricExtensionQueryPropertyArgs{...} -type GetMetricExtensionQueryPropertyInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput - ToGetMetricExtensionQueryPropertyOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutput + ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput + ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput } -type GetMetricExtensionQueryPropertyArgs struct { - // Arguments required by either command or script - Arguments pulumi.StringInput `pulumi:"arguments"` - // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned - AutoRowPrefix pulumi.StringInput `pulumi:"autoRowPrefix"` +type GetMetricExtensionsMetricExtensionCollectionItemArgs struct { // Type of possible collection methods. CollectionMethod pulumi.StringInput `pulumi:"collectionMethod"` - // OS command to execute without arguments - Command pulumi.StringInput `pulumi:"command"` - // Character used to delimit multiple metric values in single line of output - Delimiter pulumi.StringInput `pulumi:"delimiter"` - // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics - IdentityMetric pulumi.StringInput `pulumi:"identityMetric"` - // List of values and position of PL/SQL procedure IN parameters - InParamDetails GetMetricExtensionQueryPropertyInParamDetailArrayInput `pulumi:"inParamDetails"` - // Indicates if Metric Service is enabled on server domain - IsMetricServiceEnabled pulumi.BoolInput `pulumi:"isMetricServiceEnabled"` - // List of JMX attributes or Metric Service Table columns separated by semi-colon - JmxAttributes pulumi.StringInput `pulumi:"jmxAttributes"` - // JMX Managed Bean Query or Metric Service Table name - ManagedBeanQuery pulumi.StringInput `pulumi:"managedBeanQuery"` - // Position and SQL Type of PL/SQL OUT parameter - OutParamDetails GetMetricExtensionQueryPropertyOutParamDetailArrayInput `pulumi:"outParamDetails"` - // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL - ProtocolType pulumi.StringInput `pulumi:"protocolType"` - // Type of content response given by the http(s) URL - ResponseContentType pulumi.StringInput `pulumi:"responseContentType"` - // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. - ScriptDetails GetMetricExtensionQueryPropertyScriptDetailArrayInput `pulumi:"scriptDetails"` - // Details of Sql content which needs to execute to collect Metric Extension data - SqlDetails GetMetricExtensionQueryPropertySqlDetailArrayInput `pulumi:"sqlDetails"` - // Type of SQL data collection method i.e. either a Statement or SQL Script File - SqlType pulumi.StringInput `pulumi:"sqlType"` - // String prefix used to identify metric output of the OS Command - StartsWith pulumi.StringInput `pulumi:"startsWith"` - // Http(s) end point URL - Url pulumi.StringInput `pulumi:"url"` + // Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 + CollectionRecurrences pulumi.StringInput `pulumi:"collectionRecurrences"` + // The ID of the compartment in which data is listed. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Created by user + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + // Description of the metric extension. + Description pulumi.StringInput `pulumi:"description"` + // Display name of the metric. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // List of resource details objects having resourceIds on which this metric extension is enabled. + EnabledOnResources GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput `pulumi:"enabledOnResources"` + // Count of resources on which this metric extension is enabled. + EnabledOnResourcesCount pulumi.IntInput `pulumi:"enabledOnResourcesCount"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource + Id pulumi.StringInput `pulumi:"id"` + // Last updated by user + LastUpdatedBy pulumi.StringInput `pulumi:"lastUpdatedBy"` + // List of metrics which are part of this metric extension + MetricLists GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput `pulumi:"metricLists"` + // A filter to return resources based on name. + Name pulumi.StringInput `pulumi:"name"` + PublishTrigger pulumi.BoolInput `pulumi:"publishTrigger"` + // Collection method and query properties details of metric extension + QueryProperties GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput `pulumi:"queryProperties"` + // A filter to return resources based on resource type. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // The URI path that the user can do a GET on to access the metric extension metadata + ResourceUri pulumi.StringInput `pulumi:"resourceUri"` + // A filter to return metric extensions based on Lifecycle State + State pulumi.StringInput `pulumi:"state"` + // A filter to return resources based on status e.g. Draft or Published + Status pulumi.StringInput `pulumi:"status"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId pulumi.StringInput `pulumi:"tenantId"` + // Metric Extension creation time. An RFC3339 formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Metric Extension update time. An RFC3339 formatted datetime string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetMetricExtensionsMetricExtensionCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +} + +func (i GetMetricExtensionsMetricExtensionCollectionItemArgs) ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsMetricExtensionCollectionItemArgs) ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemOutput) +} + +// GetMetricExtensionsMetricExtensionCollectionItemArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemArray and GetMetricExtensionsMetricExtensionCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemArrayInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionItemArray{ GetMetricExtensionsMetricExtensionCollectionItemArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemArrayInput interface { + pulumi.Input + + ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput +} + +type GetMetricExtensionsMetricExtensionCollectionItemArray []GetMetricExtensionsMetricExtensionCollectionItemInput + +func (GetMetricExtensionsMetricExtensionCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +} + +func (i GetMetricExtensionsMetricExtensionCollectionItemArray) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetMetricExtensionsMetricExtensionCollectionItemArray) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsMetricExtensionCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput { + return o +} + +// Type of possible collection methods. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CollectionMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CollectionMethod }).(pulumi.StringOutput) +} + +// Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CollectionRecurrences() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CollectionRecurrences }).(pulumi.StringOutput) +} + +// The ID of the compartment in which data is listed. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Created by user +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CreatedBy }).(pulumi.StringOutput) +} + +// Description of the metric extension. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Description }).(pulumi.StringOutput) +} + +// Display name of the metric. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// List of resource details objects having resourceIds on which this metric extension is enabled. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) EnabledOnResources() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource { + return v.EnabledOnResources + }).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) +} + +// Count of resources on which this metric extension is enabled. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) EnabledOnResourcesCount() pulumi.IntOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) int { return v.EnabledOnResourcesCount }).(pulumi.IntOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Last updated by user +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) LastUpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.LastUpdatedBy }).(pulumi.StringOutput) +} + +// List of metrics which are part of this metric extension +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) MetricLists() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemMetricList { + return v.MetricLists + }).(GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) +} + +// A filter to return resources based on name. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) PublishTrigger() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) bool { return v.PublishTrigger }).(pulumi.BoolOutput) } -func (GetMetricExtensionQueryPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryProperty)(nil)).Elem() +// Collection method and query properties details of metric extension +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) QueryProperties() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemQueryProperty { + return v.QueryProperties + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) } -func (i GetMetricExtensionQueryPropertyArgs) ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput { - return i.ToGetMetricExtensionQueryPropertyOutputWithContext(context.Background()) +// A filter to return resources based on resource type. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyArgs) ToGetMetricExtensionQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutput) +// The URI path that the user can do a GET on to access the metric extension metadata +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ResourceUri() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.ResourceUri }).(pulumi.StringOutput) } -// GetMetricExtensionQueryPropertyArrayInput is an input type that accepts GetMetricExtensionQueryPropertyArray and GetMetricExtensionQueryPropertyArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyArrayInput` via: -// -// GetMetricExtensionQueryPropertyArray{ GetMetricExtensionQueryPropertyArgs{...} } -type GetMetricExtensionQueryPropertyArrayInput interface { - pulumi.Input - - ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput - ToGetMetricExtensionQueryPropertyArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyArrayOutput +// A filter to return metric extensions based on Lifecycle State +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.State }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyArray []GetMetricExtensionQueryPropertyInput +// A filter to return resources based on status e.g. Draft or Published +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Status }).(pulumi.StringOutput) +} -func (GetMetricExtensionQueryPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryProperty)(nil)).Elem() +// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyArray) ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput { - return i.ToGetMetricExtensionQueryPropertyArrayOutputWithContext(context.Background()) +// Metric Extension creation time. An RFC3339 formatted datetime string. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyArray) ToGetMetricExtensionQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyArrayOutput) +// Metric Extension update time. An RFC3339 formatted datetime string. +func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryProperty)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertyOutput) ToGetMetricExtensionQueryPropertyOutput() GetMetricExtensionQueryPropertyOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { return o } -func (o GetMetricExtensionQueryPropertyOutput) ToGetMetricExtensionQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { return o } -// Arguments required by either command or script -func (o GetMetricExtensionQueryPropertyOutput) Arguments() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Arguments }).(pulumi.StringOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItem { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItem)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemOutput) } -// Prefix for an auto generated metric, in case multiple rows with non unique key values are returned -func (o GetMetricExtensionQueryPropertyOutput) AutoRowPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.AutoRowPrefix }).(pulumi.StringOutput) +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource struct { + // The OCID of the resource on which Metric Extension is enabled + ResourceId string `pulumi:"resourceId"` } -// Type of possible collection methods. -func (o GetMetricExtensionQueryPropertyOutput) CollectionMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.CollectionMethod }).(pulumi.StringOutput) -} +// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs and GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput interface { + pulumi.Input -// OS command to execute without arguments -func (o GetMetricExtensionQueryPropertyOutput) Command() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Command }).(pulumi.StringOutput) + ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput + ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput } -// Character used to delimit multiple metric values in single line of output -func (o GetMetricExtensionQueryPropertyOutput) Delimiter() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Delimiter }).(pulumi.StringOutput) +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs struct { + // The OCID of the resource on which Metric Extension is enabled + ResourceId pulumi.StringInput `pulumi:"resourceId"` } -// Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics -func (o GetMetricExtensionQueryPropertyOutput) IdentityMetric() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.IdentityMetric }).(pulumi.StringOutput) +func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() } -// List of values and position of PL/SQL procedure IN parameters -func (o GetMetricExtensionQueryPropertyOutput) InParamDetails() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyInParamDetail { - return v.InParamDetails - }).(GetMetricExtensionQueryPropertyInParamDetailArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(context.Background()) } -// Indicates if Metric Service is enabled on server domain -func (o GetMetricExtensionQueryPropertyOutput) IsMetricServiceEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) bool { return v.IsMetricServiceEnabled }).(pulumi.BoolOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) } -// List of JMX attributes or Metric Service Table columns separated by semi-colon -func (o GetMetricExtensionQueryPropertyOutput) JmxAttributes() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.JmxAttributes }).(pulumi.StringOutput) -} +// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray and GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray{ GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput interface { + pulumi.Input -// JMX Managed Bean Query or Metric Service Table name -func (o GetMetricExtensionQueryPropertyOutput) ManagedBeanQuery() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ManagedBeanQuery }).(pulumi.StringOutput) + ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput } -// Position and SQL Type of PL/SQL OUT parameter -func (o GetMetricExtensionQueryPropertyOutput) OutParamDetails() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyOutParamDetail { - return v.OutParamDetails - }).(GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) -} +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput -// Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL -func (o GetMetricExtensionQueryPropertyOutput) ProtocolType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ProtocolType }).(pulumi.StringOutput) +func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() } -// Type of content response given by the http(s) URL -func (o GetMetricExtensionQueryPropertyOutput) ResponseContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.ResponseContentType }).(pulumi.StringOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(context.Background()) } -// Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. -func (o GetMetricExtensionQueryPropertyOutput) ScriptDetails() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertyScriptDetail { - return v.ScriptDetails - }).(GetMetricExtensionQueryPropertyScriptDetailArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) } -// Details of Sql content which needs to execute to collect Metric Extension data -func (o GetMetricExtensionQueryPropertyOutput) SqlDetails() GetMetricExtensionQueryPropertySqlDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) []GetMetricExtensionQueryPropertySqlDetail { - return v.SqlDetails - }).(GetMetricExtensionQueryPropertySqlDetailArrayOutput) +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() } -// Type of SQL data collection method i.e. either a Statement or SQL Script File -func (o GetMetricExtensionQueryPropertyOutput) SqlType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.SqlType }).(pulumi.StringOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { + return o } -// String prefix used to identify metric output of the OS Command -func (o GetMetricExtensionQueryPropertyOutput) StartsWith() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.StartsWith }).(pulumi.StringOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { + return o } -// Http(s) end point URL -func (o GetMetricExtensionQueryPropertyOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryProperty) string { return v.Url }).(pulumi.StringOutput) +// The OCID of the resource on which Metric Extension is enabled +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource) string { return v.ResourceId }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyArrayOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryProperty)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertyArrayOutput) ToGetMetricExtensionQueryPropertyArrayOutput() GetMetricExtensionQueryPropertyArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { return o } -func (o GetMetricExtensionQueryPropertyArrayOutput) ToGetMetricExtensionQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { return o } -func (o GetMetricExtensionQueryPropertyArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryProperty { - return vs[0].([]GetMetricExtensionQueryProperty)[vs[1].(int)] - }).(GetMetricExtensionQueryPropertyOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) } -type GetMetricExtensionQueryPropertyInParamDetail struct { - // Position of IN parameter - InParamPosition int `pulumi:"inParamPosition"` - // Value of IN parameter - InParamValue string `pulumi:"inParamValue"` +type GetMetricExtensionsMetricExtensionCollectionItemMetricList struct { + // Compute Expression to calculate the value of this metric + ComputeExpression string `pulumi:"computeExpression"` + // Data type of value of this metric + DataType string `pulumi:"dataType"` + // Display name of the metric. + DisplayName string `pulumi:"displayName"` + // Current metric need to be included as dimension or not + IsDimension bool `pulumi:"isDimension"` + // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded + IsHidden bool `pulumi:"isHidden"` + // Metric category + MetricCategory string `pulumi:"metricCategory"` + // A filter to return resources based on name. + Name string `pulumi:"name"` + // Unit of metric value + Unit string `pulumi:"unit"` } -// GetMetricExtensionQueryPropertyInParamDetailInput is an input type that accepts GetMetricExtensionQueryPropertyInParamDetailArgs and GetMetricExtensionQueryPropertyInParamDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInParamDetailInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemMetricListInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs and GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemMetricListInput` via: // -// GetMetricExtensionQueryPropertyInParamDetailArgs{...} -type GetMetricExtensionQueryPropertyInParamDetailInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemMetricListInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput - ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput + ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput } -type GetMetricExtensionQueryPropertyInParamDetailArgs struct { - // Position of IN parameter - InParamPosition pulumi.IntInput `pulumi:"inParamPosition"` - // Value of IN parameter - InParamValue pulumi.StringInput `pulumi:"inParamValue"` +type GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs struct { + // Compute Expression to calculate the value of this metric + ComputeExpression pulumi.StringInput `pulumi:"computeExpression"` + // Data type of value of this metric + DataType pulumi.StringInput `pulumi:"dataType"` + // Display name of the metric. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Current metric need to be included as dimension or not + IsDimension pulumi.BoolInput `pulumi:"isDimension"` + // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded + IsHidden pulumi.BoolInput `pulumi:"isHidden"` + // Metric category + MetricCategory pulumi.StringInput `pulumi:"metricCategory"` + // A filter to return resources based on name. + Name pulumi.StringInput `pulumi:"name"` + // Unit of metric value + Unit pulumi.StringInput `pulumi:"unit"` } -func (GetMetricExtensionQueryPropertyInParamDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() } - -func (i GetMetricExtensionQueryPropertyInParamDetailArgs) ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput { - return i.ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(context.Background()) + +func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(context.Background()) } -func (i GetMetricExtensionQueryPropertyInParamDetailArgs) ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyInParamDetailOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) } -// GetMetricExtensionQueryPropertyInParamDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyInParamDetailArray and GetMetricExtensionQueryPropertyInParamDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyInParamDetailArrayInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemMetricListArray and GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput` via: // -// GetMetricExtensionQueryPropertyInParamDetailArray{ GetMetricExtensionQueryPropertyInParamDetailArgs{...} } -type GetMetricExtensionQueryPropertyInParamDetailArrayInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemMetricListArray{ GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput - ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput } -type GetMetricExtensionQueryPropertyInParamDetailArray []GetMetricExtensionQueryPropertyInParamDetailInput +type GetMetricExtensionsMetricExtensionCollectionItemMetricListArray []GetMetricExtensionsMetricExtensionCollectionItemMetricListInput -func (GetMetricExtensionQueryPropertyInParamDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() } -func (i GetMetricExtensionQueryPropertyInParamDetailArray) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { - return i.ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionQueryPropertyInParamDetailArray) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyInParamDetailArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) } -type GetMetricExtensionQueryPropertyInParamDetailOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertyInParamDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertyInParamDetailOutput) ToGetMetricExtensionQueryPropertyInParamDetailOutput() GetMetricExtensionQueryPropertyInParamDetailOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { return o } -func (o GetMetricExtensionQueryPropertyInParamDetailOutput) ToGetMetricExtensionQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { return o } -// Position of IN parameter -func (o GetMetricExtensionQueryPropertyInParamDetailOutput) InParamPosition() pulumi.IntOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyInParamDetail) int { return v.InParamPosition }).(pulumi.IntOutput) +// Compute Expression to calculate the value of this metric +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ComputeExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.ComputeExpression }).(pulumi.StringOutput) } -// Value of IN parameter -func (o GetMetricExtensionQueryPropertyInParamDetailOutput) InParamValue() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyInParamDetail) string { return v.InParamValue }).(pulumi.StringOutput) +// Data type of value of this metric +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) DataType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.DataType }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyInParamDetailArrayOutput struct{ *pulumi.OutputState } +// Display name of the metric. +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.DisplayName }).(pulumi.StringOutput) +} -func (GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyInParamDetail)(nil)).Elem() +// Current metric need to be included as dimension or not +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) IsDimension() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) bool { return v.IsDimension }).(pulumi.BoolOutput) } -func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutput() GetMetricExtensionQueryPropertyInParamDetailArrayOutput { - return o +// Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) IsHidden() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) bool { return v.IsHidden }).(pulumi.BoolOutput) } -func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyInParamDetailArrayOutput { - return o +// Metric category +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) MetricCategory() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.MetricCategory }).(pulumi.StringOutput) } -func (o GetMetricExtensionQueryPropertyInParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyInParamDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyInParamDetail { - return vs[0].([]GetMetricExtensionQueryPropertyInParamDetail)[vs[1].(int)] - }).(GetMetricExtensionQueryPropertyInParamDetailOutput) +// A filter to return resources based on name. +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.Name }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyOutParamDetail struct { - // Name of the Out Parameter - OutParamName string `pulumi:"outParamName"` - // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. - OutParamPosition int `pulumi:"outParamPosition"` - // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. - OutParamType string `pulumi:"outParamType"` +// Unit of metric value +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.Unit }).(pulumi.StringOutput) } -// GetMetricExtensionQueryPropertyOutParamDetailInput is an input type that accepts GetMetricExtensionQueryPropertyOutParamDetailArgs and GetMetricExtensionQueryPropertyOutParamDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyOutParamDetailInput` via: -// -// GetMetricExtensionQueryPropertyOutParamDetailArgs{...} -type GetMetricExtensionQueryPropertyOutParamDetailInput interface { - pulumi.Input +type GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput struct{ *pulumi.OutputState } - ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput - ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput +func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() } -type GetMetricExtensionQueryPropertyOutParamDetailArgs struct { - // Name of the Out Parameter - OutParamName pulumi.StringInput `pulumi:"outParamName"` - // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. - OutParamPosition pulumi.IntInput `pulumi:"outParamPosition"` - // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. - OutParamType pulumi.StringInput `pulumi:"outParamType"` +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { + return o } -func (GetMetricExtensionQueryPropertyOutParamDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { + return o } -func (i GetMetricExtensionQueryPropertyOutParamDetailArgs) ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput { - return i.ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(context.Background()) +func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemMetricList { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemMetricList)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) } -func (i GetMetricExtensionQueryPropertyOutParamDetailArgs) ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutParamDetailOutput) +type GetMetricExtensionsMetricExtensionCollectionItemQueryProperty struct { + // Arguments required by either command or script + Arguments string `pulumi:"arguments"` + // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned + AutoRowPrefix string `pulumi:"autoRowPrefix"` + // Type of possible collection methods. + CollectionMethod string `pulumi:"collectionMethod"` + // OS command to execute without arguments + Command string `pulumi:"command"` + // Character used to delimit multiple metric values in single line of output + Delimiter string `pulumi:"delimiter"` + // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics + IdentityMetric string `pulumi:"identityMetric"` + // List of values and position of PL/SQL procedure IN parameters + InParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail `pulumi:"inParamDetails"` + // Indicates if Metric Service is enabled on server domain + IsMetricServiceEnabled bool `pulumi:"isMetricServiceEnabled"` + // List of JMX attributes or Metric Service Table columns separated by semi-colon + JmxAttributes string `pulumi:"jmxAttributes"` + // JMX Managed Bean Query or Metric Service Table name + ManagedBeanQuery string `pulumi:"managedBeanQuery"` + // Position and SQL Type of PL/SQL OUT parameter + OutParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail `pulumi:"outParamDetails"` + // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL + ProtocolType string `pulumi:"protocolType"` + // Type of content response given by the http(s) URL + ResponseContentType string `pulumi:"responseContentType"` + // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. + ScriptDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail `pulumi:"scriptDetails"` + // Details of Sql content which needs to execute to collect Metric Extension data + SqlDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail `pulumi:"sqlDetails"` + // Type of SQL data collection method i.e. either a Statement or SQL Script File + SqlType string `pulumi:"sqlType"` + // String prefix used to identify metric output of the OS Command + StartsWith string `pulumi:"startsWith"` + // Http(s) end point URL + Url string `pulumi:"url"` } -// GetMetricExtensionQueryPropertyOutParamDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyOutParamDetailArray and GetMetricExtensionQueryPropertyOutParamDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyOutParamDetailArrayInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput` via: // -// GetMetricExtensionQueryPropertyOutParamDetailArray{ GetMetricExtensionQueryPropertyOutParamDetailArgs{...} } -type GetMetricExtensionQueryPropertyOutParamDetailArrayInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput - ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput } -type GetMetricExtensionQueryPropertyOutParamDetailArray []GetMetricExtensionQueryPropertyOutParamDetailInput - -func (GetMetricExtensionQueryPropertyOutParamDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs struct { + // Arguments required by either command or script + Arguments pulumi.StringInput `pulumi:"arguments"` + // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned + AutoRowPrefix pulumi.StringInput `pulumi:"autoRowPrefix"` + // Type of possible collection methods. + CollectionMethod pulumi.StringInput `pulumi:"collectionMethod"` + // OS command to execute without arguments + Command pulumi.StringInput `pulumi:"command"` + // Character used to delimit multiple metric values in single line of output + Delimiter pulumi.StringInput `pulumi:"delimiter"` + // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics + IdentityMetric pulumi.StringInput `pulumi:"identityMetric"` + // List of values and position of PL/SQL procedure IN parameters + InParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput `pulumi:"inParamDetails"` + // Indicates if Metric Service is enabled on server domain + IsMetricServiceEnabled pulumi.BoolInput `pulumi:"isMetricServiceEnabled"` + // List of JMX attributes or Metric Service Table columns separated by semi-colon + JmxAttributes pulumi.StringInput `pulumi:"jmxAttributes"` + // JMX Managed Bean Query or Metric Service Table name + ManagedBeanQuery pulumi.StringInput `pulumi:"managedBeanQuery"` + // Position and SQL Type of PL/SQL OUT parameter + OutParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput `pulumi:"outParamDetails"` + // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL + ProtocolType pulumi.StringInput `pulumi:"protocolType"` + // Type of content response given by the http(s) URL + ResponseContentType pulumi.StringInput `pulumi:"responseContentType"` + // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. + ScriptDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput `pulumi:"scriptDetails"` + // Details of Sql content which needs to execute to collect Metric Extension data + SqlDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput `pulumi:"sqlDetails"` + // Type of SQL data collection method i.e. either a Statement or SQL Script File + SqlType pulumi.StringInput `pulumi:"sqlType"` + // String prefix used to identify metric output of the OS Command + StartsWith pulumi.StringInput `pulumi:"startsWith"` + // Http(s) end point URL + Url pulumi.StringInput `pulumi:"url"` } -func (i GetMetricExtensionQueryPropertyOutParamDetailArray) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { - return i.ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(context.Background()) +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() } -func (i GetMetricExtensionQueryPropertyOutParamDetailArray) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(context.Background()) } -type GetMetricExtensionQueryPropertyOutParamDetailOutput struct{ *pulumi.OutputState } - -func (GetMetricExtensionQueryPropertyOutParamDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) } -func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) ToGetMetricExtensionQueryPropertyOutParamDetailOutput() GetMetricExtensionQueryPropertyOutParamDetailOutput { - return o -} +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput interface { + pulumi.Input -func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) ToGetMetricExtensionQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailOutput { - return o + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput } -// Name of the Out Parameter -func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) string { return v.OutParamName }).(pulumi.StringOutput) +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput + +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() } -// Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. -func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamPosition() pulumi.IntOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) int { return v.OutParamPosition }).(pulumi.IntOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(context.Background()) } -// SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. -func (o GetMetricExtensionQueryPropertyOutParamDetailOutput) OutParamType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyOutParamDetail) string { return v.OutParamType }).(pulumi.StringOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) } -type GetMetricExtensionQueryPropertyOutParamDetailArrayOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyOutParamDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { return o } -func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyOutParamDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { return o } -func (o GetMetricExtensionQueryPropertyOutParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyOutParamDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyOutParamDetail { - return vs[0].([]GetMetricExtensionQueryPropertyOutParamDetail)[vs[1].(int)] - }).(GetMetricExtensionQueryPropertyOutParamDetailOutput) +// Arguments required by either command or script +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Arguments() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Arguments }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyScriptDetail struct { - // Sql statement or script file content as base64 encoded string - Content string `pulumi:"content"` - // Name of the script file - Name string `pulumi:"name"` +// Prefix for an auto generated metric, in case multiple rows with non unique key values are returned +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) AutoRowPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.AutoRowPrefix }).(pulumi.StringOutput) } -// GetMetricExtensionQueryPropertyScriptDetailInput is an input type that accepts GetMetricExtensionQueryPropertyScriptDetailArgs and GetMetricExtensionQueryPropertyScriptDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyScriptDetailInput` via: -// -// GetMetricExtensionQueryPropertyScriptDetailArgs{...} -type GetMetricExtensionQueryPropertyScriptDetailInput interface { - pulumi.Input - - ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput - ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput +// Type of possible collection methods. +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) CollectionMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { + return v.CollectionMethod + }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyScriptDetailArgs struct { - // Sql statement or script file content as base64 encoded string - Content pulumi.StringInput `pulumi:"content"` - // Name of the script file - Name pulumi.StringInput `pulumi:"name"` +// OS command to execute without arguments +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Command() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Command }).(pulumi.StringOutput) } -func (GetMetricExtensionQueryPropertyScriptDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +// Character used to delimit multiple metric values in single line of output +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Delimiter() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Delimiter }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyScriptDetailArgs) ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput { - return i.ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(context.Background()) +// Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) IdentityMetric() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.IdentityMetric }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyScriptDetailArgs) ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyScriptDetailOutput) +// List of values and position of PL/SQL procedure IN parameters +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) InParamDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail { + return v.InParamDetails + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) } -// GetMetricExtensionQueryPropertyScriptDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertyScriptDetailArray and GetMetricExtensionQueryPropertyScriptDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertyScriptDetailArrayInput` via: -// -// GetMetricExtensionQueryPropertyScriptDetailArray{ GetMetricExtensionQueryPropertyScriptDetailArgs{...} } -type GetMetricExtensionQueryPropertyScriptDetailArrayInput interface { - pulumi.Input - - ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput - ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput +// Indicates if Metric Service is enabled on server domain +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) IsMetricServiceEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) bool { + return v.IsMetricServiceEnabled + }).(pulumi.BoolOutput) } -type GetMetricExtensionQueryPropertyScriptDetailArray []GetMetricExtensionQueryPropertyScriptDetailInput +// List of JMX attributes or Metric Service Table columns separated by semi-colon +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) JmxAttributes() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.JmxAttributes }).(pulumi.StringOutput) +} -func (GetMetricExtensionQueryPropertyScriptDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +// JMX Managed Bean Query or Metric Service Table name +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ManagedBeanQuery() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { + return v.ManagedBeanQuery + }).(pulumi.StringOutput) } -func (i GetMetricExtensionQueryPropertyScriptDetailArray) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { - return i.ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(context.Background()) +// Position and SQL Type of PL/SQL OUT parameter +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) OutParamDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail { + return v.OutParamDetails + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) } -func (i GetMetricExtensionQueryPropertyScriptDetailArray) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertyScriptDetailArrayOutput) +// Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ProtocolType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.ProtocolType }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyScriptDetailOutput struct{ *pulumi.OutputState } +// Type of content response given by the http(s) URL +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ResponseContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { + return v.ResponseContentType + }).(pulumi.StringOutput) +} -func (GetMetricExtensionQueryPropertyScriptDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +// Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ScriptDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail { + return v.ScriptDetails + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) } -func (o GetMetricExtensionQueryPropertyScriptDetailOutput) ToGetMetricExtensionQueryPropertyScriptDetailOutput() GetMetricExtensionQueryPropertyScriptDetailOutput { - return o +// Details of Sql content which needs to execute to collect Metric Extension data +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) SqlDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail { + return v.SqlDetails + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) } -func (o GetMetricExtensionQueryPropertyScriptDetailOutput) ToGetMetricExtensionQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailOutput { - return o +// Type of SQL data collection method i.e. either a Statement or SQL Script File +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) SqlType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.SqlType }).(pulumi.StringOutput) } -// Sql statement or script file content as base64 encoded string -func (o GetMetricExtensionQueryPropertyScriptDetailOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyScriptDetail) string { return v.Content }).(pulumi.StringOutput) +// String prefix used to identify metric output of the OS Command +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) StartsWith() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.StartsWith }).(pulumi.StringOutput) } -// Name of the script file -func (o GetMetricExtensionQueryPropertyScriptDetailOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertyScriptDetail) string { return v.Name }).(pulumi.StringOutput) +// Http(s) end point URL +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Url }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertyScriptDetailArrayOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertyScriptDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutput() GetMetricExtensionQueryPropertyScriptDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { return o } -func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertyScriptDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { return o } -func (o GetMetricExtensionQueryPropertyScriptDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertyScriptDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertyScriptDetail { - return vs[0].([]GetMetricExtensionQueryPropertyScriptDetail)[vs[1].(int)] - }).(GetMetricExtensionQueryPropertyScriptDetailOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryProperty { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) } -type GetMetricExtensionQueryPropertySqlDetail struct { - // Sql statement or script file content as base64 encoded string - Content string `pulumi:"content"` - // If a script needs to be executed, then provide file name of the script - ScriptFileName string `pulumi:"scriptFileName"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail struct { + // Position of IN parameter + InParamPosition int `pulumi:"inParamPosition"` + // Value of IN parameter + InParamValue string `pulumi:"inParamValue"` } -// GetMetricExtensionQueryPropertySqlDetailInput is an input type that accepts GetMetricExtensionQueryPropertySqlDetailArgs and GetMetricExtensionQueryPropertySqlDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertySqlDetailInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput` via: // -// GetMetricExtensionQueryPropertySqlDetailArgs{...} -type GetMetricExtensionQueryPropertySqlDetailInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput - ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(context.Context) GetMetricExtensionQueryPropertySqlDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput } -type GetMetricExtensionQueryPropertySqlDetailArgs struct { - // Sql statement or script file content as base64 encoded string - Content pulumi.StringInput `pulumi:"content"` - // If a script needs to be executed, then provide file name of the script - ScriptFileName pulumi.StringInput `pulumi:"scriptFileName"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs struct { + // Position of IN parameter + InParamPosition pulumi.IntInput `pulumi:"inParamPosition"` + // Value of IN parameter + InParamValue pulumi.StringInput `pulumi:"inParamValue"` } -func (GetMetricExtensionQueryPropertySqlDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() } -func (i GetMetricExtensionQueryPropertySqlDetailArgs) ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput { - return i.ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(context.Background()) } -func (i GetMetricExtensionQueryPropertySqlDetailArgs) ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertySqlDetailOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) } -// GetMetricExtensionQueryPropertySqlDetailArrayInput is an input type that accepts GetMetricExtensionQueryPropertySqlDetailArray and GetMetricExtensionQueryPropertySqlDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionQueryPropertySqlDetailArrayInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput` via: // -// GetMetricExtensionQueryPropertySqlDetailArray{ GetMetricExtensionQueryPropertySqlDetailArgs{...} } -type GetMetricExtensionQueryPropertySqlDetailArrayInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput interface { pulumi.Input - ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput - ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput } -type GetMetricExtensionQueryPropertySqlDetailArray []GetMetricExtensionQueryPropertySqlDetailInput +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput -func (GetMetricExtensionQueryPropertySqlDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() } -func (i GetMetricExtensionQueryPropertySqlDetailArray) ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput { - return i.ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionQueryPropertySqlDetailArray) ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionQueryPropertySqlDetailArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) } -type GetMetricExtensionQueryPropertySqlDetailOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertySqlDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertySqlDetailOutput) ToGetMetricExtensionQueryPropertySqlDetailOutput() GetMetricExtensionQueryPropertySqlDetailOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { return o } -func (o GetMetricExtensionQueryPropertySqlDetailOutput) ToGetMetricExtensionQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { return o } -// Sql statement or script file content as base64 encoded string -func (o GetMetricExtensionQueryPropertySqlDetailOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertySqlDetail) string { return v.Content }).(pulumi.StringOutput) +// Position of IN parameter +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) InParamPosition() pulumi.IntOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail) int { + return v.InParamPosition + }).(pulumi.IntOutput) } -// If a script needs to be executed, then provide file name of the script -func (o GetMetricExtensionQueryPropertySqlDetailOutput) ScriptFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionQueryPropertySqlDetail) string { return v.ScriptFileName }).(pulumi.StringOutput) +// Value of IN parameter +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) InParamValue() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail) string { + return v.InParamValue + }).(pulumi.StringOutput) } -type GetMetricExtensionQueryPropertySqlDetailArrayOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionQueryPropertySqlDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionQueryPropertySqlDetail)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() } -func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionQueryPropertySqlDetailArrayOutput() GetMetricExtensionQueryPropertySqlDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { return o } -func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionQueryPropertySqlDetailArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { return o } -func (o GetMetricExtensionQueryPropertySqlDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionQueryPropertySqlDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionQueryPropertySqlDetail { - return vs[0].([]GetMetricExtensionQueryPropertySqlDetail)[vs[1].(int)] - }).(GetMetricExtensionQueryPropertySqlDetailOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) } -type GetMetricExtensionsFilter struct { - // A filter to return resources based on name. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail struct { + // Name of the Out Parameter + OutParamName string `pulumi:"outParamName"` + // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. + OutParamPosition int `pulumi:"outParamPosition"` + // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. + OutParamType string `pulumi:"outParamType"` } -// GetMetricExtensionsFilterInput is an input type that accepts GetMetricExtensionsFilterArgs and GetMetricExtensionsFilterOutput values. -// You can construct a concrete instance of `GetMetricExtensionsFilterInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput` via: // -// GetMetricExtensionsFilterArgs{...} -type GetMetricExtensionsFilterInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput interface { pulumi.Input - ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput - ToGetMetricExtensionsFilterOutputWithContext(context.Context) GetMetricExtensionsFilterOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput } -type GetMetricExtensionsFilterArgs struct { - // A filter to return resources based on name. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs struct { + // Name of the Out Parameter + OutParamName pulumi.StringInput `pulumi:"outParamName"` + // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. + OutParamPosition pulumi.IntInput `pulumi:"outParamPosition"` + // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. + OutParamType pulumi.StringInput `pulumi:"outParamType"` } -func (GetMetricExtensionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsFilter)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() } -func (i GetMetricExtensionsFilterArgs) ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput { - return i.ToGetMetricExtensionsFilterOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(context.Background()) } -func (i GetMetricExtensionsFilterArgs) ToGetMetricExtensionsFilterOutputWithContext(ctx context.Context) GetMetricExtensionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsFilterOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) } -// GetMetricExtensionsFilterArrayInput is an input type that accepts GetMetricExtensionsFilterArray and GetMetricExtensionsFilterArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsFilterArrayInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput` via: // -// GetMetricExtensionsFilterArray{ GetMetricExtensionsFilterArgs{...} } -type GetMetricExtensionsFilterArrayInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput interface { pulumi.Input - ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput - ToGetMetricExtensionsFilterArrayOutputWithContext(context.Context) GetMetricExtensionsFilterArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput } -type GetMetricExtensionsFilterArray []GetMetricExtensionsFilterInput +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput -func (GetMetricExtensionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsFilter)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() } -func (i GetMetricExtensionsFilterArray) ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput { - return i.ToGetMetricExtensionsFilterArrayOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsFilterArray) ToGetMetricExtensionsFilterArrayOutputWithContext(ctx context.Context) GetMetricExtensionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsFilterArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) } -type GetMetricExtensionsFilterOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsFilter)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() } -func (o GetMetricExtensionsFilterOutput) ToGetMetricExtensionsFilterOutput() GetMetricExtensionsFilterOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { return o } -func (o GetMetricExtensionsFilterOutput) ToGetMetricExtensionsFilterOutputWithContext(ctx context.Context) GetMetricExtensionsFilterOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { return o } -// A filter to return resources based on name. -func (o GetMetricExtensionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsFilter) string { return v.Name }).(pulumi.StringOutput) +// Name of the Out Parameter +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) string { + return v.OutParamName + }).(pulumi.StringOutput) } -func (o GetMetricExtensionsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMetricExtensionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamPosition() pulumi.IntOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) int { + return v.OutParamPosition + }).(pulumi.IntOutput) } -func (o GetMetricExtensionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamType() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) string { + return v.OutParamType + }).(pulumi.StringOutput) } -type GetMetricExtensionsFilterArrayOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsFilter)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() } -func (o GetMetricExtensionsFilterArrayOutput) ToGetMetricExtensionsFilterArrayOutput() GetMetricExtensionsFilterArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { return o } -func (o GetMetricExtensionsFilterArrayOutput) ToGetMetricExtensionsFilterArrayOutputWithContext(ctx context.Context) GetMetricExtensionsFilterArrayOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { return o } -func (o GetMetricExtensionsFilterArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsFilter { - return vs[0].([]GetMetricExtensionsFilter)[vs[1].(int)] - }).(GetMetricExtensionsFilterOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) } -type GetMetricExtensionsMetricExtensionCollection struct { - Items []GetMetricExtensionsMetricExtensionCollectionItem `pulumi:"items"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail struct { + // Sql statement or script file content as base64 encoded string + Content string `pulumi:"content"` + // A filter to return resources based on name. + Name string `pulumi:"name"` } -// GetMetricExtensionsMetricExtensionCollectionInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionArgs and GetMetricExtensionsMetricExtensionCollectionOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput` via: // -// GetMetricExtensionsMetricExtensionCollectionArgs{...} -type GetMetricExtensionsMetricExtensionCollectionInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput - ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput } -type GetMetricExtensionsMetricExtensionCollectionArgs struct { - Items GetMetricExtensionsMetricExtensionCollectionItemArrayInput `pulumi:"items"` +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs struct { + // Sql statement or script file content as base64 encoded string + Content pulumi.StringInput `pulumi:"content"` + // A filter to return resources based on name. + Name pulumi.StringInput `pulumi:"name"` } -func (GetMetricExtensionsMetricExtensionCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionArgs) ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionArgs) ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) } -// GetMetricExtensionsMetricExtensionCollectionArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionArray and GetMetricExtensionsMetricExtensionCollectionArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionArrayInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionArray{ GetMetricExtensionsMetricExtensionCollectionArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionArrayInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionArray []GetMetricExtensionsMetricExtensionCollectionInput +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput -func (GetMetricExtensionsMetricExtensionCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionArray) ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionArray) ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionArrayOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionOutput) ToGetMetricExtensionsMetricExtensionCollectionOutput() GetMetricExtensionsMetricExtensionCollectionOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionOutput) ToGetMetricExtensionsMetricExtensionCollectionOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionOutput) Items() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollection) []GetMetricExtensionsMetricExtensionCollectionItem { - return v.Items - }).(GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) +// Sql statement or script file content as base64 encoded string +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail) string { + return v.Content + }).(pulumi.StringOutput) +} + +// A filter to return resources based on name. +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail) string { + return v.Name + }).(pulumi.StringOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { + return o +} + +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) +} + +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail struct { + // Sql statement or script file content as base64 encoded string + Content string `pulumi:"content"` + // If a script needs to be executed, then provide file name of the script + ScriptFileName string `pulumi:"scriptFileName"` } -type GetMetricExtensionsMetricExtensionCollectionArrayOutput struct{ *pulumi.OutputState } +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput` via: +// +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs{...} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput interface { + pulumi.Input -func (GetMetricExtensionsMetricExtensionCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollection)(nil)).Elem() + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput } -func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionArrayOutput() GetMetricExtensionsMetricExtensionCollectionArrayOutput { - return o +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs struct { + // Sql statement or script file content as base64 encoded string + Content pulumi.StringInput `pulumi:"content"` + // If a script needs to be executed, then provide file name of the script + ScriptFileName pulumi.StringInput `pulumi:"scriptFileName"` } -func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionArrayOutput { - return o +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollection { - return vs[0].([]GetMetricExtensionsMetricExtensionCollection)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(context.Background()) } -type GetMetricExtensionsMetricExtensionCollectionItem struct { - // Type of possible collection methods. - CollectionMethod string `pulumi:"collectionMethod"` - // Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 - CollectionRecurrences string `pulumi:"collectionRecurrences"` - // The ID of the compartment in which data is listed. - CompartmentId string `pulumi:"compartmentId"` - // Created by user - CreatedBy string `pulumi:"createdBy"` - // Description of the metric extension. - Description string `pulumi:"description"` - // Display name of the metric. - DisplayName string `pulumi:"displayName"` - // List of resource objects on which this metric extension is enabled. - EnabledOnResources []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource `pulumi:"enabledOnResources"` - // Count of resources on which this metric extension is enabled. - EnabledOnResourcesCount int `pulumi:"enabledOnResourcesCount"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource - Id string `pulumi:"id"` - // Last updated by user - LastUpdatedBy string `pulumi:"lastUpdatedBy"` - // List of metrics which are part of this metric extension - MetricLists []GetMetricExtensionsMetricExtensionCollectionItemMetricList `pulumi:"metricLists"` - // A filter to return resources based on name. - Name string `pulumi:"name"` - PublishTrigger bool `pulumi:"publishTrigger"` - // Collection method and query properties details of metric extension - QueryProperties []GetMetricExtensionsMetricExtensionCollectionItemQueryProperty `pulumi:"queryProperties"` - // A filter to return resources based on resource type. - ResourceType string `pulumi:"resourceType"` - // The URI path that the user can do a GET on to access the metric extension metadata - ResourceUri string `pulumi:"resourceUri"` - // A filter to return metric extensions based on Lifecycle State - State string `pulumi:"state"` - // A filter to return resources based on status e.g. Draft or Published - Status string `pulumi:"status"` - // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - TenantId string `pulumi:"tenantId"` - // Metric Extension creation time. An RFC3339 formatted datetime string. - TimeCreated string `pulumi:"timeCreated"` - // Metric Extension update time. An RFC3339 formatted datetime string. - TimeUpdated string `pulumi:"timeUpdated"` +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemArgs and GetMetricExtensionsMetricExtensionCollectionItemOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemInput` via: +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput values. +// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemInput interface { +// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs{...} } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput - ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput + ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemArgs struct { - // Type of possible collection methods. - CollectionMethod pulumi.StringInput `pulumi:"collectionMethod"` - // Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 - CollectionRecurrences pulumi.StringInput `pulumi:"collectionRecurrences"` - // The ID of the compartment in which data is listed. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // Created by user - CreatedBy pulumi.StringInput `pulumi:"createdBy"` - // Description of the metric extension. - Description pulumi.StringInput `pulumi:"description"` - // Display name of the metric. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // List of resource objects on which this metric extension is enabled. - EnabledOnResources GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput `pulumi:"enabledOnResources"` - // Count of resources on which this metric extension is enabled. - EnabledOnResourcesCount pulumi.IntInput `pulumi:"enabledOnResourcesCount"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource - Id pulumi.StringInput `pulumi:"id"` - // Last updated by user - LastUpdatedBy pulumi.StringInput `pulumi:"lastUpdatedBy"` - // List of metrics which are part of this metric extension - MetricLists GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput `pulumi:"metricLists"` - // A filter to return resources based on name. - Name pulumi.StringInput `pulumi:"name"` - PublishTrigger pulumi.BoolInput `pulumi:"publishTrigger"` - // Collection method and query properties details of metric extension - QueryProperties GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput `pulumi:"queryProperties"` - // A filter to return resources based on resource type. - ResourceType pulumi.StringInput `pulumi:"resourceType"` - // The URI path that the user can do a GET on to access the metric extension metadata - ResourceUri pulumi.StringInput `pulumi:"resourceUri"` - // A filter to return metric extensions based on Lifecycle State - State pulumi.StringInput `pulumi:"state"` - // A filter to return resources based on status e.g. Draft or Published - Status pulumi.StringInput `pulumi:"status"` - // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - TenantId pulumi.StringInput `pulumi:"tenantId"` - // Metric Extension creation time. An RFC3339 formatted datetime string. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // Metric Extension update time. An RFC3339 formatted datetime string. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` -} +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput -func (GetMetricExtensionsMetricExtensionCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemArgs) ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(context.Background()) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { + return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemArgs) ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemOutput) +func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemArray and GetMetricExtensionsMetricExtensionCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemArrayInput` via: -// -// GetMetricExtensionsMetricExtensionCollectionItemArray{ GetMetricExtensionsMetricExtensionCollectionItemArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemArrayInput interface { - pulumi.Input +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput struct{ *pulumi.OutputState } - ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() } -type GetMetricExtensionsMetricExtensionCollectionItemArray []GetMetricExtensionsMetricExtensionCollectionItemInput +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { + return o +} -func (GetMetricExtensionsMetricExtensionCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { + return o } -func (i GetMetricExtensionsMetricExtensionCollectionItemArray) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(context.Background()) +// Sql statement or script file content as base64 encoded string +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail) string { + return v.Content + }).(pulumi.StringOutput) } -func (i GetMetricExtensionsMetricExtensionCollectionItemArray) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) +// If a script needs to be executed, then provide file name of the script +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ScriptFileName() pulumi.StringOutput { + return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail) string { + return v.ScriptFileName + }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemOutput struct{ *pulumi.OutputState } +type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ToGetMetricExtensionsMetricExtensionCollectionItemOutput() GetMetricExtensionsMetricExtensionCollectionItemOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ToGetMetricExtensionsMetricExtensionCollectionItemOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemOutput { +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { return o } -// Type of possible collection methods. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CollectionMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CollectionMethod }).(pulumi.StringOutput) +func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail { + return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)[vs[1].(int)] + }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) } -// Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CollectionRecurrences() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CollectionRecurrences }).(pulumi.StringOutput) +type GetMonitoredResourceAdditionalAlias struct { + // Monitored Resource Alias Reference Source Credential. + Credentials []GetMonitoredResourceAdditionalAliasCredential `pulumi:"credentials"` + // Property Name. + Name string `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// The ID of the compartment in which data is listed. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) -} +// GetMonitoredResourceAdditionalAliasInput is an input type that accepts GetMonitoredResourceAdditionalAliasArgs and GetMonitoredResourceAdditionalAliasOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasInput` via: +// +// GetMonitoredResourceAdditionalAliasArgs{...} +type GetMonitoredResourceAdditionalAliasInput interface { + pulumi.Input -// Created by user -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) CreatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.CreatedBy }).(pulumi.StringOutput) + ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput + ToGetMonitoredResourceAdditionalAliasOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasOutput } -// Description of the metric extension. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Description }).(pulumi.StringOutput) +type GetMonitoredResourceAdditionalAliasArgs struct { + // Monitored Resource Alias Reference Source Credential. + Credentials GetMonitoredResourceAdditionalAliasCredentialArrayInput `pulumi:"credentials"` + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -// Display name of the metric. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +func (GetMonitoredResourceAdditionalAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalAlias)(nil)).Elem() } -// List of resource objects on which this metric extension is enabled. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) EnabledOnResources() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource { - return v.EnabledOnResources - }).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) +func (i GetMonitoredResourceAdditionalAliasArgs) ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput { + return i.ToGetMonitoredResourceAdditionalAliasOutputWithContext(context.Background()) } -// Count of resources on which this metric extension is enabled. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) EnabledOnResourcesCount() pulumi.IntOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) int { return v.EnabledOnResourcesCount }).(pulumi.IntOutput) +func (i GetMonitoredResourceAdditionalAliasArgs) ToGetMonitoredResourceAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} +// GetMonitoredResourceAdditionalAliasArrayInput is an input type that accepts GetMonitoredResourceAdditionalAliasArray and GetMonitoredResourceAdditionalAliasArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasArrayInput` via: +// +// GetMonitoredResourceAdditionalAliasArray{ GetMonitoredResourceAdditionalAliasArgs{...} } +type GetMonitoredResourceAdditionalAliasArrayInput interface { + pulumi.Input -// Last updated by user -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) LastUpdatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.LastUpdatedBy }).(pulumi.StringOutput) + ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput + ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasArrayOutput } -// List of metrics which are part of this metric extension -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) MetricLists() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemMetricList { - return v.MetricLists - }).(GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) -} +type GetMonitoredResourceAdditionalAliasArray []GetMonitoredResourceAdditionalAliasInput -// A filter to return resources based on name. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Name }).(pulumi.StringOutput) +func (GetMonitoredResourceAdditionalAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAlias)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) PublishTrigger() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) bool { return v.PublishTrigger }).(pulumi.BoolOutput) +func (i GetMonitoredResourceAdditionalAliasArray) ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput { + return i.ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(context.Background()) } -// Collection method and query properties details of metric extension -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) QueryProperties() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) []GetMetricExtensionsMetricExtensionCollectionItemQueryProperty { - return v.QueryProperties - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) +func (i GetMonitoredResourceAdditionalAliasArray) ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasArrayOutput) } -// A filter to return resources based on resource type. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) -} +type GetMonitoredResourceAdditionalAliasOutput struct{ *pulumi.OutputState } -// The URI path that the user can do a GET on to access the metric extension metadata -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) ResourceUri() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.ResourceUri }).(pulumi.StringOutput) +func (GetMonitoredResourceAdditionalAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalAlias)(nil)).Elem() } -// A filter to return metric extensions based on Lifecycle State -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.State }).(pulumi.StringOutput) +func (o GetMonitoredResourceAdditionalAliasOutput) ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput { + return o } -// A filter to return resources based on status e.g. Draft or Published -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.Status }).(pulumi.StringOutput) +func (o GetMonitoredResourceAdditionalAliasOutput) ToGetMonitoredResourceAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasOutput { + return o } -// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +// Monitored Resource Alias Reference Source Credential. +func (o GetMonitoredResourceAdditionalAliasOutput) Credentials() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) []GetMonitoredResourceAdditionalAliasCredential { + return v.Credentials + }).(GetMonitoredResourceAdditionalAliasCredentialArrayOutput) } -// Metric Extension creation time. An RFC3339 formatted datetime string. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +// Property Name. +func (o GetMonitoredResourceAdditionalAliasOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) string { return v.Name }).(pulumi.StringOutput) } -// Metric Extension update time. An RFC3339 formatted datetime string. -func (o GetMetricExtensionsMetricExtensionCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceAdditionalAliasOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) string { return v.Source }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAdditionalAliasArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItem)(nil)).Elem() +func (GetMonitoredResourceAdditionalAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAlias)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { +func (o GetMonitoredResourceAdditionalAliasArrayOutput) ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemArrayOutput { +func (o GetMonitoredResourceAdditionalAliasArrayOutput) ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItem { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItem)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemOutput) +func (o GetMonitoredResourceAdditionalAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalAlias { + return vs[0].([]GetMonitoredResourceAdditionalAlias)[vs[1].(int)] + }).(GetMonitoredResourceAdditionalAliasOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource struct { - // The OCID of the resource on which Metric Extension is enabled - ResourceId string `pulumi:"resourceId"` +type GetMonitoredResourceAdditionalAliasCredential struct { + // Property Name. + Name string `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service string `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs and GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput` via: +// GetMonitoredResourceAdditionalAliasCredentialInput is an input type that accepts GetMonitoredResourceAdditionalAliasCredentialArgs and GetMonitoredResourceAdditionalAliasCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasCredentialInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput interface { +// GetMonitoredResourceAdditionalAliasCredentialArgs{...} +type GetMonitoredResourceAdditionalAliasCredentialInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput - ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput + ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput + ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs struct { - // The OCID of the resource on which Metric Extension is enabled - ResourceId pulumi.StringInput `pulumi:"resourceId"` +type GetMonitoredResourceAdditionalAliasCredentialArgs struct { + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service pulumi.StringInput `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() +func (GetMonitoredResourceAdditionalAliasCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(context.Background()) +func (i GetMonitoredResourceAdditionalAliasCredentialArgs) ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput { + return i.ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) +func (i GetMonitoredResourceAdditionalAliasCredentialArgs) ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasCredentialOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray and GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput` via: +// GetMonitoredResourceAdditionalAliasCredentialArrayInput is an input type that accepts GetMonitoredResourceAdditionalAliasCredentialArray and GetMonitoredResourceAdditionalAliasCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasCredentialArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray{ GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayInput interface { +// GetMonitoredResourceAdditionalAliasCredentialArray{ GetMonitoredResourceAdditionalAliasCredentialArgs{...} } +type GetMonitoredResourceAdditionalAliasCredentialArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput + ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput + ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceInput +type GetMonitoredResourceAdditionalAliasCredentialArray []GetMonitoredResourceAdditionalAliasCredentialInput -func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() +func (GetMonitoredResourceAdditionalAliasCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceAdditionalAliasCredentialArray) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { + return i.ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArray) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) +func (i GetMonitoredResourceAdditionalAliasCredentialArray) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasCredentialArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAdditionalAliasCredentialOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() +func (GetMonitoredResourceAdditionalAliasCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { +func (o GetMonitoredResourceAdditionalAliasCredentialOutput) ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { +func (o GetMonitoredResourceAdditionalAliasCredentialOutput) ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput { return o } -// The OCID of the resource on which Metric Extension is enabled -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource) string { return v.ResourceId }).(pulumi.StringOutput) +// Property Name. +func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Name }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput struct{ *pulumi.OutputState } +// The name of the service owning the credential. Example: stack-monitoring or dbmgmt +func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Service }).(pulumi.StringOutput) +} -func (GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)(nil)).Elem() +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Source }).(pulumi.StringOutput) } -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { +type GetMonitoredResourceAdditionalAliasCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() +} + +func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput { +func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceOutput) +func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalAliasCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalAliasCredential { + return vs[0].([]GetMonitoredResourceAdditionalAliasCredential)[vs[1].(int)] + }).(GetMonitoredResourceAdditionalAliasCredentialOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemMetricList struct { - // Compute Expression to calculate the value of this metric - ComputeExpression string `pulumi:"computeExpression"` - // Data type of value of this metric - DataType string `pulumi:"dataType"` - // Display name of the metric. - DisplayName string `pulumi:"displayName"` - // Current metric need to be included as dimension or not - IsDimension bool `pulumi:"isDimension"` - // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded - IsHidden bool `pulumi:"isHidden"` - // Metric category - MetricCategory string `pulumi:"metricCategory"` - // A filter to return resources based on name. +type GetMonitoredResourceAdditionalCredential struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType string `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description string `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId string `pulumi:"keyId"` + // Property Name. Name string `pulumi:"name"` - // Unit of metric value - Unit string `pulumi:"unit"` + // List of monitored resource properties. + Properties []GetMonitoredResourceAdditionalCredentialProperty `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` + // Monitored Resource Type. + Type string `pulumi:"type"` } -// GetMetricExtensionsMetricExtensionCollectionItemMetricListInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs and GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemMetricListInput` via: +// GetMonitoredResourceAdditionalCredentialInput is an input type that accepts GetMonitoredResourceAdditionalCredentialArgs and GetMonitoredResourceAdditionalCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemMetricListInput interface { +// GetMonitoredResourceAdditionalCredentialArgs{...} +type GetMonitoredResourceAdditionalCredentialInput interface { pulumi.Input - - ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput - ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput -} - -type GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs struct { - // Compute Expression to calculate the value of this metric - ComputeExpression pulumi.StringInput `pulumi:"computeExpression"` - // Data type of value of this metric - DataType pulumi.StringInput `pulumi:"dataType"` - // Display name of the metric. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Current metric need to be included as dimension or not - IsDimension pulumi.BoolInput `pulumi:"isDimension"` - // Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded - IsHidden pulumi.BoolInput `pulumi:"isHidden"` - // Metric category - MetricCategory pulumi.StringInput `pulumi:"metricCategory"` - // A filter to return resources based on name. + + ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput + ToGetMonitoredResourceAdditionalCredentialOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialOutput +} + +type GetMonitoredResourceAdditionalCredentialArgs struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description pulumi.StringInput `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId pulumi.StringInput `pulumi:"keyId"` + // Property Name. Name pulumi.StringInput `pulumi:"name"` - // Unit of metric value - Unit pulumi.StringInput `pulumi:"unit"` + // List of monitored resource properties. + Properties GetMonitoredResourceAdditionalCredentialPropertyArrayInput `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` + // Monitored Resource Type. + Type pulumi.StringInput `pulumi:"type"` } -func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() +func (GetMonitoredResourceAdditionalCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(context.Background()) +func (i GetMonitoredResourceAdditionalCredentialArgs) ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput { + return i.ToGetMonitoredResourceAdditionalCredentialOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) +func (i GetMonitoredResourceAdditionalCredentialArgs) ToGetMonitoredResourceAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemMetricListArray and GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput` via: +// GetMonitoredResourceAdditionalCredentialArrayInput is an input type that accepts GetMonitoredResourceAdditionalCredentialArray and GetMonitoredResourceAdditionalCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemMetricListArray{ GetMetricExtensionsMetricExtensionCollectionItemMetricListArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayInput interface { +// GetMonitoredResourceAdditionalCredentialArray{ GetMonitoredResourceAdditionalCredentialArgs{...} } +type GetMonitoredResourceAdditionalCredentialArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput + ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput + ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemMetricListArray []GetMetricExtensionsMetricExtensionCollectionItemMetricListInput +type GetMonitoredResourceAdditionalCredentialArray []GetMonitoredResourceAdditionalCredentialInput -func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() +func (GetMonitoredResourceAdditionalCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceAdditionalCredentialArray) ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput { + return i.ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemMetricListArray) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) +func (i GetMonitoredResourceAdditionalCredentialArray) ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAdditionalCredentialOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() +func (GetMonitoredResourceAdditionalCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { +func (o GetMonitoredResourceAdditionalCredentialOutput) ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { +func (o GetMonitoredResourceAdditionalCredentialOutput) ToGetMonitoredResourceAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialOutput { return o } -// Compute Expression to calculate the value of this metric -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) ComputeExpression() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.ComputeExpression }).(pulumi.StringOutput) -} - -// Data type of value of this metric -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) DataType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.DataType }).(pulumi.StringOutput) +// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. +// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. +// * PLAINTEXT - The credential properties will have credentials in plain text format. +// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. +func (o GetMonitoredResourceAdditionalCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.CredentialType }).(pulumi.StringOutput) } -// Display name of the metric. -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.DisplayName }).(pulumi.StringOutput) +// The user-specified textual description of the credential. +func (o GetMonitoredResourceAdditionalCredentialOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Description }).(pulumi.StringOutput) } -// Current metric need to be included as dimension or not -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) IsDimension() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) bool { return v.IsDimension }).(pulumi.BoolOutput) +// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. +func (o GetMonitoredResourceAdditionalCredentialOutput) KeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.KeyId }).(pulumi.StringOutput) } -// Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) IsHidden() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) bool { return v.IsHidden }).(pulumi.BoolOutput) +// Property Name. +func (o GetMonitoredResourceAdditionalCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Name }).(pulumi.StringOutput) } -// Metric category -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) MetricCategory() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.MetricCategory }).(pulumi.StringOutput) +// List of monitored resource properties. +func (o GetMonitoredResourceAdditionalCredentialOutput) Properties() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) []GetMonitoredResourceAdditionalCredentialProperty { + return v.Properties + }).(GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) } -// A filter to return resources based on name. -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.Name }).(pulumi.StringOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceAdditionalCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Source }).(pulumi.StringOutput) } -// Unit of metric value -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemMetricList) string { return v.Unit }).(pulumi.StringOutput) +// Monitored Resource Type. +func (o GetMonitoredResourceAdditionalCredentialOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Type }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAdditionalCredentialArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemMetricList)(nil)).Elem() +func (GetMonitoredResourceAdditionalCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { +func (o GetMonitoredResourceAdditionalCredentialArrayOutput) ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput { +func (o GetMonitoredResourceAdditionalCredentialArrayOutput) ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemMetricListArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemMetricList { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemMetricList)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemMetricListOutput) +func (o GetMonitoredResourceAdditionalCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalCredential { + return vs[0].([]GetMonitoredResourceAdditionalCredential)[vs[1].(int)] + }).(GetMonitoredResourceAdditionalCredentialOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryProperty struct { - // Arguments required by either command or script - Arguments string `pulumi:"arguments"` - // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned - AutoRowPrefix string `pulumi:"autoRowPrefix"` - // Type of possible collection methods. - CollectionMethod string `pulumi:"collectionMethod"` - // OS command to execute without arguments - Command string `pulumi:"command"` - // Character used to delimit multiple metric values in single line of output - Delimiter string `pulumi:"delimiter"` - // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics - IdentityMetric string `pulumi:"identityMetric"` - // List of values and position of PL/SQL procedure IN parameters - InParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail `pulumi:"inParamDetails"` - // Indicates if Metric Service is enabled on server domain - IsMetricServiceEnabled bool `pulumi:"isMetricServiceEnabled"` - // List of JMX attributes or Metric Service Table columns separated by semi-colon - JmxAttributes string `pulumi:"jmxAttributes"` - // JMX Managed Bean Query or Metric Service Table name - ManagedBeanQuery string `pulumi:"managedBeanQuery"` - // Position and SQL Type of PL/SQL OUT parameter - OutParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail `pulumi:"outParamDetails"` - // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL - ProtocolType string `pulumi:"protocolType"` - // Type of content response given by the http(s) URL - ResponseContentType string `pulumi:"responseContentType"` - // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. - ScriptDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail `pulumi:"scriptDetails"` - // Details of Sql content which needs to execute to collect Metric Extension data - SqlDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail `pulumi:"sqlDetails"` - // Type of SQL data collection method i.e. either a Statement or SQL Script File - SqlType string `pulumi:"sqlType"` - // String prefix used to identify metric output of the OS Command - StartsWith string `pulumi:"startsWith"` - // Http(s) end point URL - Url string `pulumi:"url"` +type GetMonitoredResourceAdditionalCredentialProperty struct { + // Property Name. + Name string `pulumi:"name"` + // Property Value. + Value string `pulumi:"value"` } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput` via: +// GetMonitoredResourceAdditionalCredentialPropertyInput is an input type that accepts GetMonitoredResourceAdditionalCredentialPropertyArgs and GetMonitoredResourceAdditionalCredentialPropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialPropertyInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput interface { +// GetMonitoredResourceAdditionalCredentialPropertyArgs{...} +type GetMonitoredResourceAdditionalCredentialPropertyInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput + ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput + ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs struct { - // Arguments required by either command or script - Arguments pulumi.StringInput `pulumi:"arguments"` - // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned - AutoRowPrefix pulumi.StringInput `pulumi:"autoRowPrefix"` - // Type of possible collection methods. - CollectionMethod pulumi.StringInput `pulumi:"collectionMethod"` - // OS command to execute without arguments - Command pulumi.StringInput `pulumi:"command"` - // Character used to delimit multiple metric values in single line of output - Delimiter pulumi.StringInput `pulumi:"delimiter"` - // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics - IdentityMetric pulumi.StringInput `pulumi:"identityMetric"` - // List of values and position of PL/SQL procedure IN parameters - InParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput `pulumi:"inParamDetails"` - // Indicates if Metric Service is enabled on server domain - IsMetricServiceEnabled pulumi.BoolInput `pulumi:"isMetricServiceEnabled"` - // List of JMX attributes or Metric Service Table columns separated by semi-colon - JmxAttributes pulumi.StringInput `pulumi:"jmxAttributes"` - // JMX Managed Bean Query or Metric Service Table name - ManagedBeanQuery pulumi.StringInput `pulumi:"managedBeanQuery"` - // Position and SQL Type of PL/SQL OUT parameter - OutParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput `pulumi:"outParamDetails"` - // Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL - ProtocolType pulumi.StringInput `pulumi:"protocolType"` - // Type of content response given by the http(s) URL - ResponseContentType pulumi.StringInput `pulumi:"responseContentType"` - // Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. - ScriptDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput `pulumi:"scriptDetails"` - // Details of Sql content which needs to execute to collect Metric Extension data - SqlDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput `pulumi:"sqlDetails"` - // Type of SQL data collection method i.e. either a Statement or SQL Script File - SqlType pulumi.StringInput `pulumi:"sqlType"` - // String prefix used to identify metric output of the OS Command - StartsWith pulumi.StringInput `pulumi:"startsWith"` - // Http(s) end point URL - Url pulumi.StringInput `pulumi:"url"` +type GetMonitoredResourceAdditionalCredentialPropertyArgs struct { + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetMonitoredResourceAdditionalCredentialPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() +} + +func (i GetMonitoredResourceAdditionalCredentialPropertyArgs) ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput { + return i.ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(context.Background()) +} + +func (i GetMonitoredResourceAdditionalCredentialPropertyArgs) ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialPropertyOutput) +} + +// GetMonitoredResourceAdditionalCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourceAdditionalCredentialPropertyArray and GetMonitoredResourceAdditionalCredentialPropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialPropertyArrayInput` via: +// +// GetMonitoredResourceAdditionalCredentialPropertyArray{ GetMonitoredResourceAdditionalCredentialPropertyArgs{...} } +type GetMonitoredResourceAdditionalCredentialPropertyArrayInput interface { + pulumi.Input + + ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput + ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() +type GetMonitoredResourceAdditionalCredentialPropertyArray []GetMonitoredResourceAdditionalCredentialPropertyInput + +func (GetMonitoredResourceAdditionalCredentialPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(context.Background()) +func (i GetMonitoredResourceAdditionalCredentialPropertyArray) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { + return i.ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) +func (i GetMonitoredResourceAdditionalCredentialPropertyArray) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput` via: -// -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayInput interface { - pulumi.Input +type GetMonitoredResourceAdditionalCredentialPropertyOutput struct{ *pulumi.OutputState } - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput +func (GetMonitoredResourceAdditionalCredentialPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInput +func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput { + return o +} -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() +func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput { + return o } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(context.Background()) +// Property Name. +func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredentialProperty) string { return v.Name }).(pulumi.StringOutput) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) +// Property Value. +func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAdditionalCredentialProperty) string { return v.Value }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAdditionalCredentialPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() +func (GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { +func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { +func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { return o } -// Arguments required by either command or script -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Arguments() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Arguments }).(pulumi.StringOutput) +func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalCredentialPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalCredentialProperty { + return vs[0].([]GetMonitoredResourceAdditionalCredentialProperty)[vs[1].(int)] + }).(GetMonitoredResourceAdditionalCredentialPropertyOutput) } -// Prefix for an auto generated metric, in case multiple rows with non unique key values are returned -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) AutoRowPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.AutoRowPrefix }).(pulumi.StringOutput) +type GetMonitoredResourceAlias struct { + // Monitored Resource Alias Reference Source Credential. + Credentials []GetMonitoredResourceAliasCredential `pulumi:"credentials"` + // Property Name. + Name string `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// Type of possible collection methods. -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) CollectionMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { - return v.CollectionMethod - }).(pulumi.StringOutput) -} +// GetMonitoredResourceAliasInput is an input type that accepts GetMonitoredResourceAliasArgs and GetMonitoredResourceAliasOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAliasInput` via: +// +// GetMonitoredResourceAliasArgs{...} +type GetMonitoredResourceAliasInput interface { + pulumi.Input -// OS command to execute without arguments -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Command() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Command }).(pulumi.StringOutput) + ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput + ToGetMonitoredResourceAliasOutputWithContext(context.Context) GetMonitoredResourceAliasOutput } -// Character used to delimit multiple metric values in single line of output -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Delimiter() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Delimiter }).(pulumi.StringOutput) +type GetMonitoredResourceAliasArgs struct { + // Monitored Resource Alias Reference Source Credential. + Credentials GetMonitoredResourceAliasCredentialArrayInput `pulumi:"credentials"` + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -// Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) IdentityMetric() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.IdentityMetric }).(pulumi.StringOutput) +func (GetMonitoredResourceAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAlias)(nil)).Elem() } -// List of values and position of PL/SQL procedure IN parameters -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) InParamDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail { - return v.InParamDetails - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) +func (i GetMonitoredResourceAliasArgs) ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput { + return i.ToGetMonitoredResourceAliasOutputWithContext(context.Background()) } -// Indicates if Metric Service is enabled on server domain -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) IsMetricServiceEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) bool { - return v.IsMetricServiceEnabled - }).(pulumi.BoolOutput) +func (i GetMonitoredResourceAliasArgs) ToGetMonitoredResourceAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasOutput) } -// List of JMX attributes or Metric Service Table columns separated by semi-colon -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) JmxAttributes() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.JmxAttributes }).(pulumi.StringOutput) +// GetMonitoredResourceAliasArrayInput is an input type that accepts GetMonitoredResourceAliasArray and GetMonitoredResourceAliasArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAliasArrayInput` via: +// +// GetMonitoredResourceAliasArray{ GetMonitoredResourceAliasArgs{...} } +type GetMonitoredResourceAliasArrayInput interface { + pulumi.Input + + ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput + ToGetMonitoredResourceAliasArrayOutputWithContext(context.Context) GetMonitoredResourceAliasArrayOutput } -// JMX Managed Bean Query or Metric Service Table name -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ManagedBeanQuery() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { - return v.ManagedBeanQuery - }).(pulumi.StringOutput) +type GetMonitoredResourceAliasArray []GetMonitoredResourceAliasInput + +func (GetMonitoredResourceAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAlias)(nil)).Elem() } -// Position and SQL Type of PL/SQL OUT parameter -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) OutParamDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail { - return v.OutParamDetails - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) +func (i GetMonitoredResourceAliasArray) ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput { + return i.ToGetMonitoredResourceAliasArrayOutputWithContext(context.Background()) } -// Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ProtocolType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.ProtocolType }).(pulumi.StringOutput) +func (i GetMonitoredResourceAliasArray) ToGetMonitoredResourceAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasArrayOutput) } -// Type of content response given by the http(s) URL -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ResponseContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { - return v.ResponseContentType - }).(pulumi.StringOutput) +type GetMonitoredResourceAliasOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAlias)(nil)).Elem() } -// Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored. -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) ScriptDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail { - return v.ScriptDetails - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) +func (o GetMonitoredResourceAliasOutput) ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput { + return o } -// Details of Sql content which needs to execute to collect Metric Extension data -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) SqlDetails() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail { - return v.SqlDetails - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) +func (o GetMonitoredResourceAliasOutput) ToGetMonitoredResourceAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAliasOutput { + return o } -// Type of SQL data collection method i.e. either a Statement or SQL Script File -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) SqlType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.SqlType }).(pulumi.StringOutput) +// Monitored Resource Alias Reference Source Credential. +func (o GetMonitoredResourceAliasOutput) Credentials() GetMonitoredResourceAliasCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceAlias) []GetMonitoredResourceAliasCredential { return v.Credentials }).(GetMonitoredResourceAliasCredentialArrayOutput) } -// String prefix used to identify metric output of the OS Command -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) StartsWith() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.StartsWith }).(pulumi.StringOutput) +// Property Name. +func (o GetMonitoredResourceAliasOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAlias) string { return v.Name }).(pulumi.StringOutput) } -// Http(s) end point URL -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryProperty) string { return v.Url }).(pulumi.StringOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceAliasOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAlias) string { return v.Source }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAliasArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)(nil)).Elem() +func (GetMonitoredResourceAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAlias)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { +func (o GetMonitoredResourceAliasArrayOutput) ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput { +func (o GetMonitoredResourceAliasArrayOutput) ToGetMonitoredResourceAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryProperty { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryProperty)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutput) +func (o GetMonitoredResourceAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAlias { + return vs[0].([]GetMonitoredResourceAlias)[vs[1].(int)] + }).(GetMonitoredResourceAliasOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail struct { - // Position of IN parameter - InParamPosition int `pulumi:"inParamPosition"` - // Value of IN parameter - InParamValue string `pulumi:"inParamValue"` +type GetMonitoredResourceAliasCredential struct { + // Property Name. + Name string `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service string `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput` via: +// GetMonitoredResourceAliasCredentialInput is an input type that accepts GetMonitoredResourceAliasCredentialArgs and GetMonitoredResourceAliasCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAliasCredentialInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput interface { +// GetMonitoredResourceAliasCredentialArgs{...} +type GetMonitoredResourceAliasCredentialInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput + ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput + ToGetMonitoredResourceAliasCredentialOutputWithContext(context.Context) GetMonitoredResourceAliasCredentialOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs struct { - // Position of IN parameter - InParamPosition pulumi.IntInput `pulumi:"inParamPosition"` - // Value of IN parameter - InParamValue pulumi.StringInput `pulumi:"inParamValue"` +type GetMonitoredResourceAliasCredentialArgs struct { + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service pulumi.StringInput `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() +func (GetMonitoredResourceAliasCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAliasCredential)(nil)).Elem() } - -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(context.Background()) + +func (i GetMonitoredResourceAliasCredentialArgs) ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput { + return i.ToGetMonitoredResourceAliasCredentialOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) +func (i GetMonitoredResourceAliasCredentialArgs) ToGetMonitoredResourceAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasCredentialOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput` via: +// GetMonitoredResourceAliasCredentialArrayInput is an input type that accepts GetMonitoredResourceAliasCredentialArray and GetMonitoredResourceAliasCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceAliasCredentialArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayInput interface { +// GetMonitoredResourceAliasCredentialArray{ GetMonitoredResourceAliasCredentialArgs{...} } +type GetMonitoredResourceAliasCredentialArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput + ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput + ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAliasCredentialArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailInput +type GetMonitoredResourceAliasCredentialArray []GetMonitoredResourceAliasCredentialInput -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() +func (GetMonitoredResourceAliasCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAliasCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceAliasCredentialArray) ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput { + return i.ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) +func (i GetMonitoredResourceAliasCredentialArray) ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasCredentialArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceAliasCredentialOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() +func (GetMonitoredResourceAliasCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceAliasCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { +func (o GetMonitoredResourceAliasCredentialOutput) ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { +func (o GetMonitoredResourceAliasCredentialOutput) ToGetMonitoredResourceAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialOutput { return o } -// Position of IN parameter -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) InParamPosition() pulumi.IntOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail) int { - return v.InParamPosition - }).(pulumi.IntOutput) +// Property Name. +func (o GetMonitoredResourceAliasCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Name }).(pulumi.StringOutput) } -// Value of IN parameter -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) InParamValue() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail) string { - return v.InParamValue - }).(pulumi.StringOutput) +// The name of the service owning the credential. Example: stack-monitoring or dbmgmt +func (o GetMonitoredResourceAliasCredentialOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Service }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput struct{ *pulumi.OutputState } +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceAliasCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Source }).(pulumi.StringOutput) +} -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)(nil)).Elem() +type GetMonitoredResourceAliasCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceAliasCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceAliasCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { +func (o GetMonitoredResourceAliasCredentialArrayOutput) ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput { +func (o GetMonitoredResourceAliasCredentialArrayOutput) ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetailOutput) +func (o GetMonitoredResourceAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAliasCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAliasCredential { + return vs[0].([]GetMonitoredResourceAliasCredential)[vs[1].(int)] + }).(GetMonitoredResourceAliasCredentialOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail struct { - // Name of the Out Parameter - OutParamName string `pulumi:"outParamName"` - // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. - OutParamPosition int `pulumi:"outParamPosition"` - // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. - OutParamType string `pulumi:"outParamType"` +type GetMonitoredResourceCredential struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType string `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description string `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId string `pulumi:"keyId"` + // Property Name. + Name string `pulumi:"name"` + // List of monitored resource properties. + Properties []GetMonitoredResourceCredentialProperty `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` + // Monitored Resource Type. + Type string `pulumi:"type"` } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput` via: +// GetMonitoredResourceCredentialInput is an input type that accepts GetMonitoredResourceCredentialArgs and GetMonitoredResourceCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourceCredentialInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput interface { +// GetMonitoredResourceCredentialArgs{...} +type GetMonitoredResourceCredentialInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput + ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput + ToGetMonitoredResourceCredentialOutputWithContext(context.Context) GetMonitoredResourceCredentialOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs struct { - // Name of the Out Parameter - OutParamName pulumi.StringInput `pulumi:"outParamName"` - // Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. - OutParamPosition pulumi.IntInput `pulumi:"outParamPosition"` - // SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. - OutParamType pulumi.StringInput `pulumi:"outParamType"` +type GetMonitoredResourceCredentialArgs struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description pulumi.StringInput `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId pulumi.StringInput `pulumi:"keyId"` + // Property Name. + Name pulumi.StringInput `pulumi:"name"` + // List of monitored resource properties. + Properties GetMonitoredResourceCredentialPropertyArrayInput `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` + // Monitored Resource Type. + Type pulumi.StringInput `pulumi:"type"` } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(context.Background()) +func (i GetMonitoredResourceCredentialArgs) ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput { + return i.ToGetMonitoredResourceCredentialOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) +func (i GetMonitoredResourceCredentialArgs) ToGetMonitoredResourceCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput` via: +// GetMonitoredResourceCredentialArrayInput is an input type that accepts GetMonitoredResourceCredentialArray and GetMonitoredResourceCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceCredentialArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayInput interface { +// GetMonitoredResourceCredentialArray{ GetMonitoredResourceCredentialArgs{...} } +type GetMonitoredResourceCredentialArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput + ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput + ToGetMonitoredResourceCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceCredentialArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailInput +type GetMonitoredResourceCredentialArray []GetMonitoredResourceCredentialInput -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceCredential)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceCredentialArray) ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput { + return i.ToGetMonitoredResourceCredentialArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) +func (i GetMonitoredResourceCredentialArray) ToGetMonitoredResourceCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceCredentialOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceCredential)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { +func (o GetMonitoredResourceCredentialOutput) ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { +func (o GetMonitoredResourceCredentialOutput) ToGetMonitoredResourceCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialOutput { return o } -// Name of the Out Parameter -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) string { - return v.OutParamName - }).(pulumi.StringOutput) +// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. +// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. +// * PLAINTEXT - The credential properties will have credentials in plain text format. +// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. +func (o GetMonitoredResourceCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.CredentialType }).(pulumi.StringOutput) } -// Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value. -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamPosition() pulumi.IntOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) int { - return v.OutParamPosition - }).(pulumi.IntOutput) +// The user-specified textual description of the credential. +func (o GetMonitoredResourceCredentialOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Description }).(pulumi.StringOutput) } -// SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored. -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) OutParamType() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail) string { - return v.OutParamType - }).(pulumi.StringOutput) +// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. +func (o GetMonitoredResourceCredentialOutput) KeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.KeyId }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput struct{ *pulumi.OutputState } +// Property Name. +func (o GetMonitoredResourceCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Name }).(pulumi.StringOutput) +} -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)(nil)).Elem() +// List of monitored resource properties. +func (o GetMonitoredResourceCredentialOutput) Properties() GetMonitoredResourceCredentialPropertyArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) []GetMonitoredResourceCredentialProperty { return v.Properties }).(GetMonitoredResourceCredentialPropertyArrayOutput) } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourceCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Source }).(pulumi.StringOutput) +} + +// Monitored Resource Type. +func (o GetMonitoredResourceCredentialOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Type }).(pulumi.StringOutput) +} + +type GetMonitoredResourceCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceCredential)(nil)).Elem() +} + +func (o GetMonitoredResourceCredentialArrayOutput) ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput { +func (o GetMonitoredResourceCredentialArrayOutput) ToGetMonitoredResourceCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetailOutput) +func (o GetMonitoredResourceCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceCredential { + return vs[0].([]GetMonitoredResourceCredential)[vs[1].(int)] + }).(GetMonitoredResourceCredentialOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail struct { - // Sql statement or script file content as base64 encoded string - Content string `pulumi:"content"` - // A filter to return resources based on name. +type GetMonitoredResourceCredentialProperty struct { + // Property Name. Name string `pulumi:"name"` + // Property Value. + Value string `pulumi:"value"` } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput` via: +// GetMonitoredResourceCredentialPropertyInput is an input type that accepts GetMonitoredResourceCredentialPropertyArgs and GetMonitoredResourceCredentialPropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourceCredentialPropertyInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput interface { +// GetMonitoredResourceCredentialPropertyArgs{...} +type GetMonitoredResourceCredentialPropertyInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput + ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput + ToGetMonitoredResourceCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourceCredentialPropertyOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs struct { - // Sql statement or script file content as base64 encoded string - Content pulumi.StringInput `pulumi:"content"` - // A filter to return resources based on name. +type GetMonitoredResourceCredentialPropertyArgs struct { + // Property Name. Name pulumi.StringInput `pulumi:"name"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceCredentialProperty)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(context.Background()) +func (i GetMonitoredResourceCredentialPropertyArgs) ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput { + return i.ToGetMonitoredResourceCredentialPropertyOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) +func (i GetMonitoredResourceCredentialPropertyArgs) ToGetMonitoredResourceCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialPropertyOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput` via: +// GetMonitoredResourceCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourceCredentialPropertyArray and GetMonitoredResourceCredentialPropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceCredentialPropertyArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayInput interface { +// GetMonitoredResourceCredentialPropertyArray{ GetMonitoredResourceCredentialPropertyArgs{...} } +type GetMonitoredResourceCredentialPropertyArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput + ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput + ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourceCredentialPropertyArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailInput +type GetMonitoredResourceCredentialPropertyArray []GetMonitoredResourceCredentialPropertyInput -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceCredentialProperty)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceCredentialPropertyArray) ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput { + return i.ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) +func (i GetMonitoredResourceCredentialPropertyArray) ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialPropertyArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceCredentialPropertyOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceCredentialProperty)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { +func (o GetMonitoredResourceCredentialPropertyOutput) ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { +func (o GetMonitoredResourceCredentialPropertyOutput) ToGetMonitoredResourceCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyOutput { return o } -// Sql statement or script file content as base64 encoded string -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail) string { - return v.Content - }).(pulumi.StringOutput) +// Property Name. +func (o GetMonitoredResourceCredentialPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredentialProperty) string { return v.Name }).(pulumi.StringOutput) } -// A filter to return resources based on name. -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail) string { - return v.Name - }).(pulumi.StringOutput) +// Property Value. +func (o GetMonitoredResourceCredentialPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceCredentialProperty) string { return v.Value }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceCredentialPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)(nil)).Elem() +func (GetMonitoredResourceCredentialPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceCredentialProperty)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { +func (o GetMonitoredResourceCredentialPropertyArrayOutput) ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput { +func (o GetMonitoredResourceCredentialPropertyArrayOutput) ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetailOutput) +func (o GetMonitoredResourceCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceCredentialPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceCredentialProperty { + return vs[0].([]GetMonitoredResourceCredentialProperty)[vs[1].(int)] + }).(GetMonitoredResourceCredentialPropertyOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail struct { - // Sql statement or script file content as base64 encoded string - Content string `pulumi:"content"` - // If a script needs to be executed, then provide file name of the script - ScriptFileName string `pulumi:"scriptFileName"` +type GetMonitoredResourceDatabaseConnectionDetail struct { + // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ConnectorId string `pulumi:"connectorId"` + // dbId of the database. + DbId string `pulumi:"dbId"` + // UniqueName used for database connection requests. + DbUniqueName string `pulumi:"dbUniqueName"` + // Listener Port number used for connection requests. + Port int `pulumi:"port"` + // Protocol used in DB connection string when connecting to external database service. + Protocol string `pulumi:"protocol"` + // Service name used for connection requests. + ServiceName string `pulumi:"serviceName"` + // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + SslSecretId string `pulumi:"sslSecretId"` } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput` via: +// GetMonitoredResourceDatabaseConnectionDetailInput is an input type that accepts GetMonitoredResourceDatabaseConnectionDetailArgs and GetMonitoredResourceDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `GetMonitoredResourceDatabaseConnectionDetailInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs{...} -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput interface { +// GetMonitoredResourceDatabaseConnectionDetailArgs{...} +type GetMonitoredResourceDatabaseConnectionDetailInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput + ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput + ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs struct { - // Sql statement or script file content as base64 encoded string - Content pulumi.StringInput `pulumi:"content"` - // If a script needs to be executed, then provide file name of the script - ScriptFileName pulumi.StringInput `pulumi:"scriptFileName"` +type GetMonitoredResourceDatabaseConnectionDetailArgs struct { + // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ConnectorId pulumi.StringInput `pulumi:"connectorId"` + // dbId of the database. + DbId pulumi.StringInput `pulumi:"dbId"` + // UniqueName used for database connection requests. + DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"` + // Listener Port number used for connection requests. + Port pulumi.IntInput `pulumi:"port"` + // Protocol used in DB connection string when connecting to external database service. + Protocol pulumi.StringInput `pulumi:"protocol"` + // Service name used for connection requests. + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() +func (GetMonitoredResourceDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(context.Background()) +func (i GetMonitoredResourceDatabaseConnectionDetailArgs) ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput { + return i.ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) +func (i GetMonitoredResourceDatabaseConnectionDetailArgs) ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceDatabaseConnectionDetailOutput) } -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput is an input type that accepts GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray and GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput values. -// You can construct a concrete instance of `GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput` via: +// GetMonitoredResourceDatabaseConnectionDetailArrayInput is an input type that accepts GetMonitoredResourceDatabaseConnectionDetailArray and GetMonitoredResourceDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceDatabaseConnectionDetailArrayInput` via: // -// GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray{ GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArgs{...} } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayInput interface { +// GetMonitoredResourceDatabaseConnectionDetailArray{ GetMonitoredResourceDatabaseConnectionDetailArgs{...} } +type GetMonitoredResourceDatabaseConnectionDetailArrayInput interface { pulumi.Input - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput - ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput + ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput + ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailInput +type GetMonitoredResourceDatabaseConnectionDetailArray []GetMonitoredResourceDatabaseConnectionDetailInput -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() +func (GetMonitoredResourceDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { - return i.ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceDatabaseConnectionDetailArray) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput { + return i.ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(context.Background()) } -func (i GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArray) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) +func (i GetMonitoredResourceDatabaseConnectionDetailArray) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceDatabaseConnectionDetailArrayOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() +func (GetMonitoredResourceDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput { return o } -// Sql statement or script file content as base64 encoded string -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail) string { - return v.Content - }).(pulumi.StringOutput) +// Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.ConnectorId }).(pulumi.StringOutput) } -// If a script needs to be executed, then provide file name of the script -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) ScriptFileName() pulumi.StringOutput { - return o.ApplyT(func(v GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail) string { - return v.ScriptFileName - }).(pulumi.StringOutput) +// dbId of the database. +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) DbId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.DbId }).(pulumi.StringOutput) } -type GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput struct{ *pulumi.OutputState } +// UniqueName used for database connection requests. +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) DbUniqueName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.DbUniqueName }).(pulumi.StringOutput) +} -func (GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)(nil)).Elem() +// Listener Port number used for connection requests. +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) int { return v.Port }).(pulumi.IntOutput) +} + +// Protocol used in DB connection string when connecting to external database service. +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.Protocol }).(pulumi.StringOutput) +} + +// Service name used for connection requests. +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourceDatabaseConnectionDetailOutput) SslSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.SslSecretId }).(pulumi.StringOutput) +} + +type GetMonitoredResourceDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput() GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { +func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) ToGetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutputWithContext(ctx context.Context) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput { +func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput { return o } -func (o GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailArrayOutput) Index(i pulumi.IntInput) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail { - return vs[0].([]GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail)[vs[1].(int)] - }).(GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetailOutput) +func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceDatabaseConnectionDetail { + return vs[0].([]GetMonitoredResourceDatabaseConnectionDetail)[vs[1].(int)] + }).(GetMonitoredResourceDatabaseConnectionDetailOutput) } -type GetMonitoredResourceAdditionalAlias struct { - // Monitored Resource Alias Reference Source Credential. - Credentials []GetMonitoredResourceAdditionalAliasCredential `pulumi:"credentials"` +type GetMonitoredResourceProperty struct { // Property Name. Name string `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` + // Property Value. + Value string `pulumi:"value"` } -// GetMonitoredResourceAdditionalAliasInput is an input type that accepts GetMonitoredResourceAdditionalAliasArgs and GetMonitoredResourceAdditionalAliasOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasInput` via: +// GetMonitoredResourcePropertyInput is an input type that accepts GetMonitoredResourcePropertyArgs and GetMonitoredResourcePropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourcePropertyInput` via: // -// GetMonitoredResourceAdditionalAliasArgs{...} -type GetMonitoredResourceAdditionalAliasInput interface { +// GetMonitoredResourcePropertyArgs{...} +type GetMonitoredResourcePropertyInput interface { pulumi.Input - ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput - ToGetMonitoredResourceAdditionalAliasOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasOutput + ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput + ToGetMonitoredResourcePropertyOutputWithContext(context.Context) GetMonitoredResourcePropertyOutput } -type GetMonitoredResourceAdditionalAliasArgs struct { - // Monitored Resource Alias Reference Source Credential. - Credentials GetMonitoredResourceAdditionalAliasCredentialArrayInput `pulumi:"credentials"` +type GetMonitoredResourcePropertyArgs struct { // Property Name. Name pulumi.StringInput `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` } -func (GetMonitoredResourceAdditionalAliasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalAlias)(nil)).Elem() +func (GetMonitoredResourcePropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceProperty)(nil)).Elem() } -func (i GetMonitoredResourceAdditionalAliasArgs) ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput { - return i.ToGetMonitoredResourceAdditionalAliasOutputWithContext(context.Background()) +func (i GetMonitoredResourcePropertyArgs) ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput { + return i.ToGetMonitoredResourcePropertyOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAdditionalAliasArgs) ToGetMonitoredResourceAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasOutput) +func (i GetMonitoredResourcePropertyArgs) ToGetMonitoredResourcePropertyOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcePropertyOutput) } -// GetMonitoredResourceAdditionalAliasArrayInput is an input type that accepts GetMonitoredResourceAdditionalAliasArray and GetMonitoredResourceAdditionalAliasArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasArrayInput` via: +// GetMonitoredResourcePropertyArrayInput is an input type that accepts GetMonitoredResourcePropertyArray and GetMonitoredResourcePropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcePropertyArrayInput` via: // -// GetMonitoredResourceAdditionalAliasArray{ GetMonitoredResourceAdditionalAliasArgs{...} } -type GetMonitoredResourceAdditionalAliasArrayInput interface { +// GetMonitoredResourcePropertyArray{ GetMonitoredResourcePropertyArgs{...} } +type GetMonitoredResourcePropertyArrayInput interface { pulumi.Input - ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput - ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasArrayOutput + ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput + ToGetMonitoredResourcePropertyArrayOutputWithContext(context.Context) GetMonitoredResourcePropertyArrayOutput } -type GetMonitoredResourceAdditionalAliasArray []GetMonitoredResourceAdditionalAliasInput +type GetMonitoredResourcePropertyArray []GetMonitoredResourcePropertyInput -func (GetMonitoredResourceAdditionalAliasArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAlias)(nil)).Elem() +func (GetMonitoredResourcePropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceProperty)(nil)).Elem() } -func (i GetMonitoredResourceAdditionalAliasArray) ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput { - return i.ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcePropertyArray) ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput { + return i.ToGetMonitoredResourcePropertyArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAdditionalAliasArray) ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasArrayOutput) +func (i GetMonitoredResourcePropertyArray) ToGetMonitoredResourcePropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcePropertyArrayOutput) } -type GetMonitoredResourceAdditionalAliasOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcePropertyOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAdditionalAliasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalAlias)(nil)).Elem() +func (GetMonitoredResourcePropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceProperty)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalAliasOutput) ToGetMonitoredResourceAdditionalAliasOutput() GetMonitoredResourceAdditionalAliasOutput { +func (o GetMonitoredResourcePropertyOutput) ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput { return o } -func (o GetMonitoredResourceAdditionalAliasOutput) ToGetMonitoredResourceAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasOutput { +func (o GetMonitoredResourcePropertyOutput) ToGetMonitoredResourcePropertyOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyOutput { return o } -// Monitored Resource Alias Reference Source Credential. -func (o GetMonitoredResourceAdditionalAliasOutput) Credentials() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) []GetMonitoredResourceAdditionalAliasCredential { - return v.Credentials - }).(GetMonitoredResourceAdditionalAliasCredentialArrayOutput) -} - // Property Name. -func (o GetMonitoredResourceAdditionalAliasOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) string { return v.Name }).(pulumi.StringOutput) +func (o GetMonitoredResourcePropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceProperty) string { return v.Name }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceAdditionalAliasOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAlias) string { return v.Source }).(pulumi.StringOutput) +// Property Value. +func (o GetMonitoredResourcePropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceProperty) string { return v.Value }).(pulumi.StringOutput) } -type GetMonitoredResourceAdditionalAliasArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcePropertyArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAdditionalAliasArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAlias)(nil)).Elem() +func (GetMonitoredResourcePropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceProperty)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalAliasArrayOutput) ToGetMonitoredResourceAdditionalAliasArrayOutput() GetMonitoredResourceAdditionalAliasArrayOutput { +func (o GetMonitoredResourcePropertyArrayOutput) ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput { return o } -func (o GetMonitoredResourceAdditionalAliasArrayOutput) ToGetMonitoredResourceAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasArrayOutput { +func (o GetMonitoredResourcePropertyArrayOutput) ToGetMonitoredResourcePropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyArrayOutput { return o } -func (o GetMonitoredResourceAdditionalAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalAliasOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalAlias { - return vs[0].([]GetMonitoredResourceAdditionalAlias)[vs[1].(int)] - }).(GetMonitoredResourceAdditionalAliasOutput) +func (o GetMonitoredResourcePropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcePropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceProperty { + return vs[0].([]GetMonitoredResourceProperty)[vs[1].(int)] + }).(GetMonitoredResourcePropertyOutput) } -type GetMonitoredResourceAdditionalAliasCredential struct { - // Property Name. - Name string `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service string `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +type GetMonitoredResourceTaskTaskDetail struct { + // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. + AvailabilityProxyMetricCollectionInterval int `pulumi:"availabilityProxyMetricCollectionInterval"` + // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. + AvailabilityProxyMetrics []string `pulumi:"availabilityProxyMetrics"` + // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. + ConsolePathPrefix string `pulumi:"consolePathPrefix"` + // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. + ExternalIdMapping string `pulumi:"externalIdMapping"` + // Lifecycle states of the external resource which reflects the status of the resource being up. + LifecycleStatusMappingsForUpStatuses []string `pulumi:"lifecycleStatusMappingsForUpStatuses"` + // Name space to be used for Oracle Cloud Infrastructure Native service resources' import. + Namespace string `pulumi:"namespace"` + // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. + ResourceGroup string `pulumi:"resourceGroup"` + // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. + ResourceNameFilter string `pulumi:"resourceNameFilter"` + // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. + ResourceNameMapping string `pulumi:"resourceNameMapping"` + // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. + ResourceTypeFilter string `pulumi:"resourceTypeFilter"` + // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. + ResourceTypeMapping string `pulumi:"resourceTypeMapping"` + // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. + ServiceBaseUrl string `pulumi:"serviceBaseUrl"` + // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. + ShouldUseMetricsFlowForStatus bool `pulumi:"shouldUseMetricsFlowForStatus"` + // Source from where the metrics pushed to telemetry. Possible values: + // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. + // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. Source string `pulumi:"source"` + // Task type. + Type string `pulumi:"type"` } -// GetMonitoredResourceAdditionalAliasCredentialInput is an input type that accepts GetMonitoredResourceAdditionalAliasCredentialArgs and GetMonitoredResourceAdditionalAliasCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasCredentialInput` via: -// -// GetMonitoredResourceAdditionalAliasCredentialArgs{...} -type GetMonitoredResourceAdditionalAliasCredentialInput interface { - pulumi.Input - - ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput - ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput -} - -type GetMonitoredResourceAdditionalAliasCredentialArgs struct { - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service pulumi.StringInput `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` -} - -func (GetMonitoredResourceAdditionalAliasCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() -} - -func (i GetMonitoredResourceAdditionalAliasCredentialArgs) ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput { - return i.ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(context.Background()) -} - -func (i GetMonitoredResourceAdditionalAliasCredentialArgs) ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasCredentialOutput) -} - -// GetMonitoredResourceAdditionalAliasCredentialArrayInput is an input type that accepts GetMonitoredResourceAdditionalAliasCredentialArray and GetMonitoredResourceAdditionalAliasCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalAliasCredentialArrayInput` via: +// GetMonitoredResourceTaskTaskDetailInput is an input type that accepts GetMonitoredResourceTaskTaskDetailArgs and GetMonitoredResourceTaskTaskDetailOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTaskTaskDetailInput` via: // -// GetMonitoredResourceAdditionalAliasCredentialArray{ GetMonitoredResourceAdditionalAliasCredentialArgs{...} } -type GetMonitoredResourceAdditionalAliasCredentialArrayInput interface { +// GetMonitoredResourceTaskTaskDetailArgs{...} +type GetMonitoredResourceTaskTaskDetailInput interface { pulumi.Input - ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput - ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput -} - -type GetMonitoredResourceAdditionalAliasCredentialArray []GetMonitoredResourceAdditionalAliasCredentialInput - -func (GetMonitoredResourceAdditionalAliasCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() -} - -func (i GetMonitoredResourceAdditionalAliasCredentialArray) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { - return i.ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(context.Background()) -} - -func (i GetMonitoredResourceAdditionalAliasCredentialArray) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalAliasCredentialArrayOutput) -} - -type GetMonitoredResourceAdditionalAliasCredentialOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceAdditionalAliasCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() -} - -func (o GetMonitoredResourceAdditionalAliasCredentialOutput) ToGetMonitoredResourceAdditionalAliasCredentialOutput() GetMonitoredResourceAdditionalAliasCredentialOutput { - return o + ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput + ToGetMonitoredResourceTaskTaskDetailOutputWithContext(context.Context) GetMonitoredResourceTaskTaskDetailOutput } -func (o GetMonitoredResourceAdditionalAliasCredentialOutput) ToGetMonitoredResourceAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialOutput { - return o +type GetMonitoredResourceTaskTaskDetailArgs struct { + // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. + AvailabilityProxyMetricCollectionInterval pulumi.IntInput `pulumi:"availabilityProxyMetricCollectionInterval"` + // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. + AvailabilityProxyMetrics pulumi.StringArrayInput `pulumi:"availabilityProxyMetrics"` + // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. + ConsolePathPrefix pulumi.StringInput `pulumi:"consolePathPrefix"` + // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. + ExternalIdMapping pulumi.StringInput `pulumi:"externalIdMapping"` + // Lifecycle states of the external resource which reflects the status of the resource being up. + LifecycleStatusMappingsForUpStatuses pulumi.StringArrayInput `pulumi:"lifecycleStatusMappingsForUpStatuses"` + // Name space to be used for Oracle Cloud Infrastructure Native service resources' import. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. + ResourceNameFilter pulumi.StringInput `pulumi:"resourceNameFilter"` + // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. + ResourceNameMapping pulumi.StringInput `pulumi:"resourceNameMapping"` + // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. + ResourceTypeFilter pulumi.StringInput `pulumi:"resourceTypeFilter"` + // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. + ResourceTypeMapping pulumi.StringInput `pulumi:"resourceTypeMapping"` + // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. + ServiceBaseUrl pulumi.StringInput `pulumi:"serviceBaseUrl"` + // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. + ShouldUseMetricsFlowForStatus pulumi.BoolInput `pulumi:"shouldUseMetricsFlowForStatus"` + // Source from where the metrics pushed to telemetry. Possible values: + // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. + // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. + Source pulumi.StringInput `pulumi:"source"` + // Task type. + Type pulumi.StringInput `pulumi:"type"` } -// Property Name. -func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Name }).(pulumi.StringOutput) +func (GetMonitoredResourceTaskTaskDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTaskTaskDetail)(nil)).Elem() } -// The name of the service owning the credential. Example: stack-monitoring or dbmgmt -func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Service }).(pulumi.StringOutput) +func (i GetMonitoredResourceTaskTaskDetailArgs) ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput { + return i.ToGetMonitoredResourceTaskTaskDetailOutputWithContext(context.Background()) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceAdditionalAliasCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalAliasCredential) string { return v.Source }).(pulumi.StringOutput) +func (i GetMonitoredResourceTaskTaskDetailArgs) ToGetMonitoredResourceTaskTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTaskTaskDetailOutput) } -type GetMonitoredResourceAdditionalAliasCredentialArrayOutput struct{ *pulumi.OutputState } +// GetMonitoredResourceTaskTaskDetailArrayInput is an input type that accepts GetMonitoredResourceTaskTaskDetailArray and GetMonitoredResourceTaskTaskDetailArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTaskTaskDetailArrayInput` via: +// +// GetMonitoredResourceTaskTaskDetailArray{ GetMonitoredResourceTaskTaskDetailArgs{...} } +type GetMonitoredResourceTaskTaskDetailArrayInput interface { + pulumi.Input -func (GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalAliasCredential)(nil)).Elem() + ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput + ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput } -func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutput() GetMonitoredResourceAdditionalAliasCredentialArrayOutput { - return o -} +type GetMonitoredResourceTaskTaskDetailArray []GetMonitoredResourceTaskTaskDetailInput -func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourceAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalAliasCredentialArrayOutput { - return o +func (GetMonitoredResourceTaskTaskDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTaskTaskDetail)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalAliasCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalAliasCredential { - return vs[0].([]GetMonitoredResourceAdditionalAliasCredential)[vs[1].(int)] - }).(GetMonitoredResourceAdditionalAliasCredentialOutput) +func (i GetMonitoredResourceTaskTaskDetailArray) ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput { + return i.ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(context.Background()) } -type GetMonitoredResourceAdditionalCredential struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType string `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description string `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId string `pulumi:"keyId"` - // Property Name. - Name string `pulumi:"name"` - // List of monitored resource properties. - Properties []GetMonitoredResourceAdditionalCredentialProperty `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` - // Monitored Resource Type. - Type string `pulumi:"type"` +func (i GetMonitoredResourceTaskTaskDetailArray) ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTaskTaskDetailArrayOutput) } -// GetMonitoredResourceAdditionalCredentialInput is an input type that accepts GetMonitoredResourceAdditionalCredentialArgs and GetMonitoredResourceAdditionalCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialInput` via: -// -// GetMonitoredResourceAdditionalCredentialArgs{...} -type GetMonitoredResourceAdditionalCredentialInput interface { - pulumi.Input - - ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput - ToGetMonitoredResourceAdditionalCredentialOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialOutput -} +type GetMonitoredResourceTaskTaskDetailOutput struct{ *pulumi.OutputState } -type GetMonitoredResourceAdditionalCredentialArgs struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType pulumi.StringInput `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description pulumi.StringInput `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId pulumi.StringInput `pulumi:"keyId"` - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // List of monitored resource properties. - Properties GetMonitoredResourceAdditionalCredentialPropertyArrayInput `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` - // Monitored Resource Type. - Type pulumi.StringInput `pulumi:"type"` +func (GetMonitoredResourceTaskTaskDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTaskTaskDetail)(nil)).Elem() } -func (GetMonitoredResourceAdditionalCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalCredential)(nil)).Elem() +func (o GetMonitoredResourceTaskTaskDetailOutput) ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput { + return o } -func (i GetMonitoredResourceAdditionalCredentialArgs) ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput { - return i.ToGetMonitoredResourceAdditionalCredentialOutputWithContext(context.Background()) +func (o GetMonitoredResourceTaskTaskDetailOutput) ToGetMonitoredResourceTaskTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailOutput { + return o } -func (i GetMonitoredResourceAdditionalCredentialArgs) ToGetMonitoredResourceAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialOutput) +// Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. +func (o GetMonitoredResourceTaskTaskDetailOutput) AvailabilityProxyMetricCollectionInterval() pulumi.IntOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) int { return v.AvailabilityProxyMetricCollectionInterval }).(pulumi.IntOutput) } -// GetMonitoredResourceAdditionalCredentialArrayInput is an input type that accepts GetMonitoredResourceAdditionalCredentialArray and GetMonitoredResourceAdditionalCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialArrayInput` via: -// -// GetMonitoredResourceAdditionalCredentialArray{ GetMonitoredResourceAdditionalCredentialArgs{...} } -type GetMonitoredResourceAdditionalCredentialArrayInput interface { - pulumi.Input - - ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput - ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput +// List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. +func (o GetMonitoredResourceTaskTaskDetailOutput) AvailabilityProxyMetrics() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) []string { return v.AvailabilityProxyMetrics }).(pulumi.StringArrayOutput) } -type GetMonitoredResourceAdditionalCredentialArray []GetMonitoredResourceAdditionalCredentialInput - -func (GetMonitoredResourceAdditionalCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredential)(nil)).Elem() +// The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. +func (o GetMonitoredResourceTaskTaskDetailOutput) ConsolePathPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ConsolePathPrefix }).(pulumi.StringOutput) } -func (i GetMonitoredResourceAdditionalCredentialArray) ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput { - return i.ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(context.Background()) +// The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. +func (o GetMonitoredResourceTaskTaskDetailOutput) ExternalIdMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ExternalIdMapping }).(pulumi.StringOutput) } -func (i GetMonitoredResourceAdditionalCredentialArray) ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialArrayOutput) +// Lifecycle states of the external resource which reflects the status of the resource being up. +func (o GetMonitoredResourceTaskTaskDetailOutput) LifecycleStatusMappingsForUpStatuses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) []string { return v.LifecycleStatusMappingsForUpStatuses }).(pulumi.StringArrayOutput) } -type GetMonitoredResourceAdditionalCredentialOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceAdditionalCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalCredential)(nil)).Elem() +// Name space to be used for Oracle Cloud Infrastructure Native service resources' import. +func (o GetMonitoredResourceTaskTaskDetailOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Namespace }).(pulumi.StringOutput) } -func (o GetMonitoredResourceAdditionalCredentialOutput) ToGetMonitoredResourceAdditionalCredentialOutput() GetMonitoredResourceAdditionalCredentialOutput { - return o +// The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. +func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceGroup }).(pulumi.StringOutput) } -func (o GetMonitoredResourceAdditionalCredentialOutput) ToGetMonitoredResourceAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialOutput { - return o +// The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. +func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceNameFilter() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceNameFilter }).(pulumi.StringOutput) } -// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. -// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. -// * PLAINTEXT - The credential properties will have credentials in plain text format. -// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. -func (o GetMonitoredResourceAdditionalCredentialOutput) CredentialType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.CredentialType }).(pulumi.StringOutput) +// The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. +func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceNameMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceNameMapping }).(pulumi.StringOutput) } -// The user-specified textual description of the credential. -func (o GetMonitoredResourceAdditionalCredentialOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Description }).(pulumi.StringOutput) +// The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. +func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceTypeFilter() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceTypeFilter }).(pulumi.StringOutput) } -// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. -func (o GetMonitoredResourceAdditionalCredentialOutput) KeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.KeyId }).(pulumi.StringOutput) +// The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. +func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceTypeMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceTypeMapping }).(pulumi.StringOutput) } -// Property Name. -func (o GetMonitoredResourceAdditionalCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Name }).(pulumi.StringOutput) +// The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. +func (o GetMonitoredResourceTaskTaskDetailOutput) ServiceBaseUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ServiceBaseUrl }).(pulumi.StringOutput) } -// List of monitored resource properties. -func (o GetMonitoredResourceAdditionalCredentialOutput) Properties() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) []GetMonitoredResourceAdditionalCredentialProperty { - return v.Properties - }).(GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) +// Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. +func (o GetMonitoredResourceTaskTaskDetailOutput) ShouldUseMetricsFlowForStatus() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) bool { return v.ShouldUseMetricsFlowForStatus }).(pulumi.BoolOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceAdditionalCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Source }).(pulumi.StringOutput) +// Source from where the metrics pushed to telemetry. Possible values: +// * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. +// * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. +func (o GetMonitoredResourceTaskTaskDetailOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Source }).(pulumi.StringOutput) } -// Monitored Resource Type. -func (o GetMonitoredResourceAdditionalCredentialOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredential) string { return v.Type }).(pulumi.StringOutput) +// Task type. +func (o GetMonitoredResourceTaskTaskDetailOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Type }).(pulumi.StringOutput) } -type GetMonitoredResourceAdditionalCredentialArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTaskTaskDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAdditionalCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredential)(nil)).Elem() +func (GetMonitoredResourceTaskTaskDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTaskTaskDetail)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalCredentialArrayOutput) ToGetMonitoredResourceAdditionalCredentialArrayOutput() GetMonitoredResourceAdditionalCredentialArrayOutput { +func (o GetMonitoredResourceTaskTaskDetailArrayOutput) ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput { return o } -func (o GetMonitoredResourceAdditionalCredentialArrayOutput) ToGetMonitoredResourceAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialArrayOutput { +func (o GetMonitoredResourceTaskTaskDetailArrayOutput) ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput { return o } -func (o GetMonitoredResourceAdditionalCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalCredential { - return vs[0].([]GetMonitoredResourceAdditionalCredential)[vs[1].(int)] - }).(GetMonitoredResourceAdditionalCredentialOutput) +func (o GetMonitoredResourceTaskTaskDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTaskTaskDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTaskTaskDetail { + return vs[0].([]GetMonitoredResourceTaskTaskDetail)[vs[1].(int)] + }).(GetMonitoredResourceTaskTaskDetailOutput) } -type GetMonitoredResourceAdditionalCredentialProperty struct { - // Property Name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoredResourceTasksFilter struct { + // Name of the task. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMonitoredResourceAdditionalCredentialPropertyInput is an input type that accepts GetMonitoredResourceAdditionalCredentialPropertyArgs and GetMonitoredResourceAdditionalCredentialPropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialPropertyInput` via: +// GetMonitoredResourceTasksFilterInput is an input type that accepts GetMonitoredResourceTasksFilterArgs and GetMonitoredResourceTasksFilterOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksFilterInput` via: // -// GetMonitoredResourceAdditionalCredentialPropertyArgs{...} -type GetMonitoredResourceAdditionalCredentialPropertyInput interface { +// GetMonitoredResourceTasksFilterArgs{...} +type GetMonitoredResourceTasksFilterInput interface { pulumi.Input - ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput - ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput + ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput + ToGetMonitoredResourceTasksFilterOutputWithContext(context.Context) GetMonitoredResourceTasksFilterOutput } -type GetMonitoredResourceAdditionalCredentialPropertyArgs struct { - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoredResourceTasksFilterArgs struct { + // Name of the task. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMonitoredResourceAdditionalCredentialPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTasksFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksFilter)(nil)).Elem() } -func (i GetMonitoredResourceAdditionalCredentialPropertyArgs) ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput { - return i.ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(context.Background()) +func (i GetMonitoredResourceTasksFilterArgs) ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput { + return i.ToGetMonitoredResourceTasksFilterOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAdditionalCredentialPropertyArgs) ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialPropertyOutput) +func (i GetMonitoredResourceTasksFilterArgs) ToGetMonitoredResourceTasksFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksFilterOutput) } -// GetMonitoredResourceAdditionalCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourceAdditionalCredentialPropertyArray and GetMonitoredResourceAdditionalCredentialPropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAdditionalCredentialPropertyArrayInput` via: +// GetMonitoredResourceTasksFilterArrayInput is an input type that accepts GetMonitoredResourceTasksFilterArray and GetMonitoredResourceTasksFilterArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksFilterArrayInput` via: // -// GetMonitoredResourceAdditionalCredentialPropertyArray{ GetMonitoredResourceAdditionalCredentialPropertyArgs{...} } -type GetMonitoredResourceAdditionalCredentialPropertyArrayInput interface { +// GetMonitoredResourceTasksFilterArray{ GetMonitoredResourceTasksFilterArgs{...} } +type GetMonitoredResourceTasksFilterArrayInput interface { pulumi.Input - ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput - ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput + ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput + ToGetMonitoredResourceTasksFilterArrayOutputWithContext(context.Context) GetMonitoredResourceTasksFilterArrayOutput } -type GetMonitoredResourceAdditionalCredentialPropertyArray []GetMonitoredResourceAdditionalCredentialPropertyInput +type GetMonitoredResourceTasksFilterArray []GetMonitoredResourceTasksFilterInput -func (GetMonitoredResourceAdditionalCredentialPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTasksFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksFilter)(nil)).Elem() } -func (i GetMonitoredResourceAdditionalCredentialPropertyArray) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { - return i.ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTasksFilterArray) ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput { + return i.ToGetMonitoredResourceTasksFilterArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAdditionalCredentialPropertyArray) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) +func (i GetMonitoredResourceTasksFilterArray) ToGetMonitoredResourceTasksFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksFilterArrayOutput) } -type GetMonitoredResourceAdditionalCredentialPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTasksFilterOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAdditionalCredentialPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTasksFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksFilter)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) ToGetMonitoredResourceAdditionalCredentialPropertyOutput() GetMonitoredResourceAdditionalCredentialPropertyOutput { +func (o GetMonitoredResourceTasksFilterOutput) ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput { return o } -func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) ToGetMonitoredResourceAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyOutput { +func (o GetMonitoredResourceTasksFilterOutput) ToGetMonitoredResourceTasksFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterOutput { return o } -// Property Name. -func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredentialProperty) string { return v.Name }).(pulumi.StringOutput) +// Name of the task. +func (o GetMonitoredResourceTasksFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksFilter) string { return v.Name }).(pulumi.StringOutput) } -// Property Value. -func (o GetMonitoredResourceAdditionalCredentialPropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAdditionalCredentialProperty) string { return v.Value }).(pulumi.StringOutput) +func (o GetMonitoredResourceTasksFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetMonitoredResourceAdditionalCredentialPropertyArrayOutput struct{ *pulumi.OutputState } +func (o GetMonitoredResourceTasksFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAdditionalCredentialProperty)(nil)).Elem() +type GetMonitoredResourceTasksFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTasksFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksFilter)(nil)).Elem() } -func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutput() GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { +func (o GetMonitoredResourceTasksFilterArrayOutput) ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput { return o } -func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourceAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAdditionalCredentialPropertyArrayOutput { +func (o GetMonitoredResourceTasksFilterArrayOutput) ToGetMonitoredResourceTasksFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterArrayOutput { return o } -func (o GetMonitoredResourceAdditionalCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAdditionalCredentialPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAdditionalCredentialProperty { - return vs[0].([]GetMonitoredResourceAdditionalCredentialProperty)[vs[1].(int)] - }).(GetMonitoredResourceAdditionalCredentialPropertyOutput) +func (o GetMonitoredResourceTasksFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksFilter { + return vs[0].([]GetMonitoredResourceTasksFilter)[vs[1].(int)] + }).(GetMonitoredResourceTasksFilterOutput) } -type GetMonitoredResourceAlias struct { - // Monitored Resource Alias Reference Source Credential. - Credentials []GetMonitoredResourceAliasCredential `pulumi:"credentials"` - // Property Name. - Name string `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` +type GetMonitoredResourceTasksMonitoredResourceTasksCollection struct { + Items []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem `pulumi:"items"` } -// GetMonitoredResourceAliasInput is an input type that accepts GetMonitoredResourceAliasArgs and GetMonitoredResourceAliasOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAliasInput` via: +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput` via: // -// GetMonitoredResourceAliasArgs{...} -type GetMonitoredResourceAliasInput interface { +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs{...} +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput interface { pulumi.Input - ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput - ToGetMonitoredResourceAliasOutputWithContext(context.Context) GetMonitoredResourceAliasOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput } -type GetMonitoredResourceAliasArgs struct { - // Monitored Resource Alias Reference Source Credential. - Credentials GetMonitoredResourceAliasCredentialArrayInput `pulumi:"credentials"` - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs struct { + Items GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput `pulumi:"items"` } -func (GetMonitoredResourceAliasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAlias)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() } -func (i GetMonitoredResourceAliasArgs) ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput { - return i.ToGetMonitoredResourceAliasOutputWithContext(context.Background()) +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAliasArgs) ToGetMonitoredResourceAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAliasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasOutput) +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) } -// GetMonitoredResourceAliasArrayInput is an input type that accepts GetMonitoredResourceAliasArray and GetMonitoredResourceAliasArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAliasArrayInput` via: +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput` via: // -// GetMonitoredResourceAliasArray{ GetMonitoredResourceAliasArgs{...} } -type GetMonitoredResourceAliasArrayInput interface { +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs{...} } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput interface { pulumi.Input - ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput - ToGetMonitoredResourceAliasArrayOutputWithContext(context.Context) GetMonitoredResourceAliasArrayOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput } -type GetMonitoredResourceAliasArray []GetMonitoredResourceAliasInput +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput -func (GetMonitoredResourceAliasArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAlias)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() } -func (i GetMonitoredResourceAliasArray) ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput { - return i.ToGetMonitoredResourceAliasArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceAliasArray) ToGetMonitoredResourceAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasArrayOutput) +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) } -type GetMonitoredResourceAliasOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAliasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAlias)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() } -func (o GetMonitoredResourceAliasOutput) ToGetMonitoredResourceAliasOutput() GetMonitoredResourceAliasOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { return o } -func (o GetMonitoredResourceAliasOutput) ToGetMonitoredResourceAliasOutputWithContext(ctx context.Context) GetMonitoredResourceAliasOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { return o } -// Monitored Resource Alias Reference Source Credential. -func (o GetMonitoredResourceAliasOutput) Credentials() GetMonitoredResourceAliasCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceAlias) []GetMonitoredResourceAliasCredential { return v.Credentials }).(GetMonitoredResourceAliasCredentialArrayOutput) +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) Items() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollection) []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem { + return v.Items + }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) } -// Property Name. -func (o GetMonitoredResourceAliasOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAlias) string { return v.Name }).(pulumi.StringOutput) +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceAliasOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAlias) string { return v.Source }).(pulumi.StringOutput) +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { + return o +} + +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { + return o +} + +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollection { + return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollection)[vs[1].(int)] + }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) +} + +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. + 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"` + // 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"` + // Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id string `pulumi:"id"` + // Name of the task. + Name string `pulumi:"name"` + // The current state of the stack monitoring resource task. + 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 request details for the performing the task. + TaskDetails []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail `pulumi:"taskDetails"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + TenantId string `pulumi:"tenantId"` + // The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated string `pulumi:"timeCreated"` + // The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated string `pulumi:"timeUpdated"` + // Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. + WorkRequestIds []string `pulumi:"workRequestIds"` +} + +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput` via: +// +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs{...} +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput interface { + pulumi.Input + + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput +} + +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. + 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"` + // 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"` + // Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id pulumi.StringInput `pulumi:"id"` + // Name of the task. + Name pulumi.StringInput `pulumi:"name"` + // The current state of the stack monitoring resource task. + 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 request details for the performing the task. + TaskDetails GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput `pulumi:"taskDetails"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + TenantId pulumi.StringInput `pulumi:"tenantId"` + // The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. + WorkRequestIds pulumi.StringArrayInput `pulumi:"workRequestIds"` } -type GetMonitoredResourceAliasArrayOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceAliasArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAlias)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceAliasArrayOutput) ToGetMonitoredResourceAliasArrayOutput() GetMonitoredResourceAliasArrayOutput { - return o +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(context.Background()) } -func (o GetMonitoredResourceAliasArrayOutput) ToGetMonitoredResourceAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasArrayOutput { - return o +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) } -func (o GetMonitoredResourceAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAliasOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAlias { - return vs[0].([]GetMonitoredResourceAlias)[vs[1].(int)] - }).(GetMonitoredResourceAliasOutput) -} +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput` via: +// +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs{...} } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput interface { + pulumi.Input -type GetMonitoredResourceAliasCredential struct { - // Property Name. - Name string `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service string `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput } -// GetMonitoredResourceAliasCredentialInput is an input type that accepts GetMonitoredResourceAliasCredentialArgs and GetMonitoredResourceAliasCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAliasCredentialInput` via: -// -// GetMonitoredResourceAliasCredentialArgs{...} -type GetMonitoredResourceAliasCredentialInput interface { - pulumi.Input +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput - ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput - ToGetMonitoredResourceAliasCredentialOutputWithContext(context.Context) GetMonitoredResourceAliasCredentialOutput +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() } -type GetMonitoredResourceAliasCredentialArgs struct { - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service pulumi.StringInput `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(context.Background()) } -func (GetMonitoredResourceAliasCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAliasCredential)(nil)).Elem() +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) } -func (i GetMonitoredResourceAliasCredentialArgs) ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput { - return i.ToGetMonitoredResourceAliasCredentialOutputWithContext(context.Background()) +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourceAliasCredentialArgs) ToGetMonitoredResourceAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasCredentialOutput) +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { + return o } -// GetMonitoredResourceAliasCredentialArrayInput is an input type that accepts GetMonitoredResourceAliasCredentialArray and GetMonitoredResourceAliasCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceAliasCredentialArrayInput` via: -// -// GetMonitoredResourceAliasCredentialArray{ GetMonitoredResourceAliasCredentialArgs{...} } -type GetMonitoredResourceAliasCredentialArrayInput interface { - pulumi.Input +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { + return o +} - ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput - ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceAliasCredentialArrayOutput +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -type GetMonitoredResourceAliasCredentialArray []GetMonitoredResourceAliasCredentialInput +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} -func (GetMonitoredResourceAliasCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAliasCredential)(nil)).Elem() +// 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 GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) } -func (i GetMonitoredResourceAliasCredentialArray) ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput { - return i.ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(context.Background()) +// Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -func (i GetMonitoredResourceAliasCredentialArray) ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceAliasCredentialArrayOutput) +// Name of the task. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.Name }).(pulumi.StringOutput) } -type GetMonitoredResourceAliasCredentialOutput struct{ *pulumi.OutputState } +// The current state of the stack monitoring resource task. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.State }).(pulumi.StringOutput) +} -func (GetMonitoredResourceAliasCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceAliasCredential)(nil)).Elem() +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) } -func (o GetMonitoredResourceAliasCredentialOutput) ToGetMonitoredResourceAliasCredentialOutput() GetMonitoredResourceAliasCredentialOutput { - return o +// The request details for the performing the task. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TaskDetails() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail { + return v.TaskDetails + }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) } -func (o GetMonitoredResourceAliasCredentialOutput) ToGetMonitoredResourceAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialOutput { - return o +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) } -// Property Name. -func (o GetMonitoredResourceAliasCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Name }).(pulumi.StringOutput) +// The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -// The name of the service owning the credential. Example: stack-monitoring or dbmgmt -func (o GetMonitoredResourceAliasCredentialOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Service }).(pulumi.StringOutput) +// The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceAliasCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceAliasCredential) string { return v.Source }).(pulumi.StringOutput) +// Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) WorkRequestIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) []string { + return v.WorkRequestIds + }).(pulumi.StringArrayOutput) } -type GetMonitoredResourceAliasCredentialArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceAliasCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceAliasCredential)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceAliasCredentialArrayOutput) ToGetMonitoredResourceAliasCredentialArrayOutput() GetMonitoredResourceAliasCredentialArrayOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceAliasCredentialArrayOutput) ToGetMonitoredResourceAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceAliasCredentialArrayOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceAliasCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceAliasCredential { - return vs[0].([]GetMonitoredResourceAliasCredential)[vs[1].(int)] - }).(GetMonitoredResourceAliasCredentialOutput) +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem { + return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)[vs[1].(int)] + }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) } -type GetMonitoredResourceCredential struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType string `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description string `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId string `pulumi:"keyId"` - // Property Name. - Name string `pulumi:"name"` - // List of monitored resource properties. - Properties []GetMonitoredResourceCredentialProperty `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail struct { + // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. + AvailabilityProxyMetricCollectionInterval int `pulumi:"availabilityProxyMetricCollectionInterval"` + // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. + AvailabilityProxyMetrics []string `pulumi:"availabilityProxyMetrics"` + // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. + ConsolePathPrefix string `pulumi:"consolePathPrefix"` + // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. + ExternalIdMapping string `pulumi:"externalIdMapping"` + // Lifecycle states of the external resource which reflects the status of the resource being up. + LifecycleStatusMappingsForUpStatuses []string `pulumi:"lifecycleStatusMappingsForUpStatuses"` + // Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. + Namespace string `pulumi:"namespace"` + // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. + ResourceGroup string `pulumi:"resourceGroup"` + // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. + ResourceNameFilter string `pulumi:"resourceNameFilter"` + // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. + ResourceNameMapping string `pulumi:"resourceNameMapping"` + // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. + ResourceTypeFilter string `pulumi:"resourceTypeFilter"` + // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. + ResourceTypeMapping string `pulumi:"resourceTypeMapping"` + // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. + ServiceBaseUrl string `pulumi:"serviceBaseUrl"` + // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. + ShouldUseMetricsFlowForStatus bool `pulumi:"shouldUseMetricsFlowForStatus"` + // Source from where the metrics pushed to telemetry. Possible values: + // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. + // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. Source string `pulumi:"source"` - // Monitored Resource Type. + // Task type. Type string `pulumi:"type"` } -// GetMonitoredResourceCredentialInput is an input type that accepts GetMonitoredResourceCredentialArgs and GetMonitoredResourceCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourceCredentialInput` via: +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput` via: +// +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs{...} +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput interface { + pulumi.Input + + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput +} + +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs struct { + // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. + AvailabilityProxyMetricCollectionInterval pulumi.IntInput `pulumi:"availabilityProxyMetricCollectionInterval"` + // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. + AvailabilityProxyMetrics pulumi.StringArrayInput `pulumi:"availabilityProxyMetrics"` + // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. + ConsolePathPrefix pulumi.StringInput `pulumi:"consolePathPrefix"` + // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. + ExternalIdMapping pulumi.StringInput `pulumi:"externalIdMapping"` + // Lifecycle states of the external resource which reflects the status of the resource being up. + LifecycleStatusMappingsForUpStatuses pulumi.StringArrayInput `pulumi:"lifecycleStatusMappingsForUpStatuses"` + // Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. + ResourceNameFilter pulumi.StringInput `pulumi:"resourceNameFilter"` + // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. + ResourceNameMapping pulumi.StringInput `pulumi:"resourceNameMapping"` + // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. + ResourceTypeFilter pulumi.StringInput `pulumi:"resourceTypeFilter"` + // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. + ResourceTypeMapping pulumi.StringInput `pulumi:"resourceTypeMapping"` + // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. + ServiceBaseUrl pulumi.StringInput `pulumi:"serviceBaseUrl"` + // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. + ShouldUseMetricsFlowForStatus pulumi.BoolInput `pulumi:"shouldUseMetricsFlowForStatus"` + // Source from where the metrics pushed to telemetry. Possible values: + // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. + // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. + Source pulumi.StringInput `pulumi:"source"` + // Task type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() +} + +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(context.Background()) +} + +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) +} + +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput` via: // -// GetMonitoredResourceCredentialArgs{...} -type GetMonitoredResourceCredentialInput interface { +// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs{...} } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput interface { pulumi.Input - ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput - ToGetMonitoredResourceCredentialOutputWithContext(context.Context) GetMonitoredResourceCredentialOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput + ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput } -type GetMonitoredResourceCredentialArgs struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType pulumi.StringInput `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description pulumi.StringInput `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId pulumi.StringInput `pulumi:"keyId"` - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // List of monitored resource properties. - Properties GetMonitoredResourceCredentialPropertyArrayInput `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` - // Monitored Resource Type. - Type pulumi.StringInput `pulumi:"type"` +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput + +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() } -func (GetMonitoredResourceCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceCredential)(nil)).Elem() +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { + return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceCredentialArgs) ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput { - return i.ToGetMonitoredResourceCredentialOutputWithContext(context.Background()) +func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) } -func (i GetMonitoredResourceCredentialArgs) ToGetMonitoredResourceCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialOutput) +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() } -// GetMonitoredResourceCredentialArrayInput is an input type that accepts GetMonitoredResourceCredentialArray and GetMonitoredResourceCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceCredentialArrayInput` via: -// -// GetMonitoredResourceCredentialArray{ GetMonitoredResourceCredentialArgs{...} } -type GetMonitoredResourceCredentialArrayInput interface { - pulumi.Input +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { + return o +} - ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput - ToGetMonitoredResourceCredentialArrayOutputWithContext(context.Context) GetMonitoredResourceCredentialArrayOutput +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { + return o } -type GetMonitoredResourceCredentialArray []GetMonitoredResourceCredentialInput +// Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) AvailabilityProxyMetricCollectionInterval() pulumi.IntOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) int { + return v.AvailabilityProxyMetricCollectionInterval + }).(pulumi.IntOutput) +} -func (GetMonitoredResourceCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceCredential)(nil)).Elem() +// List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) AvailabilityProxyMetrics() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) []string { + return v.AvailabilityProxyMetrics + }).(pulumi.StringArrayOutput) } -func (i GetMonitoredResourceCredentialArray) ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput { - return i.ToGetMonitoredResourceCredentialArrayOutputWithContext(context.Background()) +// The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ConsolePathPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ConsolePathPrefix + }).(pulumi.StringOutput) } -func (i GetMonitoredResourceCredentialArray) ToGetMonitoredResourceCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialArrayOutput) +// The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ExternalIdMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ExternalIdMapping + }).(pulumi.StringOutput) } -type GetMonitoredResourceCredentialOutput struct{ *pulumi.OutputState } +// Lifecycle states of the external resource which reflects the status of the resource being up. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) LifecycleStatusMappingsForUpStatuses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) []string { + return v.LifecycleStatusMappingsForUpStatuses + }).(pulumi.StringArrayOutput) +} -func (GetMonitoredResourceCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceCredential)(nil)).Elem() +// Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.Namespace + }).(pulumi.StringOutput) } -func (o GetMonitoredResourceCredentialOutput) ToGetMonitoredResourceCredentialOutput() GetMonitoredResourceCredentialOutput { - return o +// The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ResourceGroup + }).(pulumi.StringOutput) } -func (o GetMonitoredResourceCredentialOutput) ToGetMonitoredResourceCredentialOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialOutput { - return o +// The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceNameFilter() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ResourceNameFilter + }).(pulumi.StringOutput) } -// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. -// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. -// * PLAINTEXT - The credential properties will have credentials in plain text format. -// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. -func (o GetMonitoredResourceCredentialOutput) CredentialType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.CredentialType }).(pulumi.StringOutput) +// The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceNameMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ResourceNameMapping + }).(pulumi.StringOutput) } -// The user-specified textual description of the credential. -func (o GetMonitoredResourceCredentialOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Description }).(pulumi.StringOutput) +// The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceTypeFilter() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ResourceTypeFilter + }).(pulumi.StringOutput) } -// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. -func (o GetMonitoredResourceCredentialOutput) KeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.KeyId }).(pulumi.StringOutput) +// The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceTypeMapping() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ResourceTypeMapping + }).(pulumi.StringOutput) } -// Property Name. -func (o GetMonitoredResourceCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Name }).(pulumi.StringOutput) +// The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ServiceBaseUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.ServiceBaseUrl + }).(pulumi.StringOutput) } -// List of monitored resource properties. -func (o GetMonitoredResourceCredentialOutput) Properties() GetMonitoredResourceCredentialPropertyArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) []GetMonitoredResourceCredentialProperty { return v.Properties }).(GetMonitoredResourceCredentialPropertyArrayOutput) +// Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ShouldUseMetricsFlowForStatus() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) bool { + return v.ShouldUseMetricsFlowForStatus + }).(pulumi.BoolOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourceCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Source }).(pulumi.StringOutput) +// Source from where the metrics pushed to telemetry. Possible values: +// * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. +// * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { + return v.Source + }).(pulumi.StringOutput) } -// Monitored Resource Type. -func (o GetMonitoredResourceCredentialOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredential) string { return v.Type }).(pulumi.StringOutput) +// Task type. +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { return v.Type }).(pulumi.StringOutput) } -type GetMonitoredResourceCredentialArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceCredential)(nil)).Elem() +func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() } -func (o GetMonitoredResourceCredentialArrayOutput) ToGetMonitoredResourceCredentialArrayOutput() GetMonitoredResourceCredentialArrayOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { return o } -func (o GetMonitoredResourceCredentialArrayOutput) ToGetMonitoredResourceCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialArrayOutput { +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { return o } -func (o GetMonitoredResourceCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceCredential { - return vs[0].([]GetMonitoredResourceCredential)[vs[1].(int)] - }).(GetMonitoredResourceCredentialOutput) +func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail { + return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)[vs[1].(int)] + }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) } -type GetMonitoredResourceCredentialProperty struct { - // Property Name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoredResourceTypeMetadata struct { + // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. + AgentProperties []string `pulumi:"agentProperties"` + // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. + // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. + Format string `pulumi:"format"` + // List of required properties for resource type. + RequiredProperties []string `pulumi:"requiredProperties"` + // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. + UniquePropertySets []GetMonitoredResourceTypeMetadataUniquePropertySet `pulumi:"uniquePropertySets"` + // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. + ValidPropertiesForCreates []string `pulumi:"validPropertiesForCreates"` + // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. + ValidPropertiesForUpdates []string `pulumi:"validPropertiesForUpdates"` + // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + ValidPropertyValues map[string]string `pulumi:"validPropertyValues"` + // List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes []string `pulumi:"validSubResourceTypes"` } -// GetMonitoredResourceCredentialPropertyInput is an input type that accepts GetMonitoredResourceCredentialPropertyArgs and GetMonitoredResourceCredentialPropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourceCredentialPropertyInput` via: +// GetMonitoredResourceTypeMetadataInput is an input type that accepts GetMonitoredResourceTypeMetadataArgs and GetMonitoredResourceTypeMetadataOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataInput` via: // -// GetMonitoredResourceCredentialPropertyArgs{...} -type GetMonitoredResourceCredentialPropertyInput interface { +// GetMonitoredResourceTypeMetadataArgs{...} +type GetMonitoredResourceTypeMetadataInput interface { pulumi.Input - ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput - ToGetMonitoredResourceCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourceCredentialPropertyOutput + ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput + ToGetMonitoredResourceTypeMetadataOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataOutput } -type GetMonitoredResourceCredentialPropertyArgs struct { - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoredResourceTypeMetadataArgs struct { + // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. + AgentProperties pulumi.StringArrayInput `pulumi:"agentProperties"` + // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. + // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. + Format pulumi.StringInput `pulumi:"format"` + // List of required properties for resource type. + RequiredProperties pulumi.StringArrayInput `pulumi:"requiredProperties"` + // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. + UniquePropertySets GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput `pulumi:"uniquePropertySets"` + // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. + ValidPropertiesForCreates pulumi.StringArrayInput `pulumi:"validPropertiesForCreates"` + // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. + ValidPropertiesForUpdates pulumi.StringArrayInput `pulumi:"validPropertiesForUpdates"` + // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + ValidPropertyValues pulumi.StringMapInput `pulumi:"validPropertyValues"` + // List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes pulumi.StringArrayInput `pulumi:"validSubResourceTypes"` } -func (GetMonitoredResourceCredentialPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTypeMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypeMetadata)(nil)).Elem() } -func (i GetMonitoredResourceCredentialPropertyArgs) ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput { - return i.ToGetMonitoredResourceCredentialPropertyOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypeMetadataArgs) ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput { + return i.ToGetMonitoredResourceTypeMetadataOutputWithContext(context.Background()) } -func (i GetMonitoredResourceCredentialPropertyArgs) ToGetMonitoredResourceCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialPropertyOutput) +func (i GetMonitoredResourceTypeMetadataArgs) ToGetMonitoredResourceTypeMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataOutput) } -// GetMonitoredResourceCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourceCredentialPropertyArray and GetMonitoredResourceCredentialPropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceCredentialPropertyArrayInput` via: +// GetMonitoredResourceTypeMetadataArrayInput is an input type that accepts GetMonitoredResourceTypeMetadataArray and GetMonitoredResourceTypeMetadataArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataArrayInput` via: // -// GetMonitoredResourceCredentialPropertyArray{ GetMonitoredResourceCredentialPropertyArgs{...} } -type GetMonitoredResourceCredentialPropertyArrayInput interface { +// GetMonitoredResourceTypeMetadataArray{ GetMonitoredResourceTypeMetadataArgs{...} } +type GetMonitoredResourceTypeMetadataArrayInput interface { pulumi.Input - ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput - ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourceCredentialPropertyArrayOutput + ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput + ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataArrayOutput } -type GetMonitoredResourceCredentialPropertyArray []GetMonitoredResourceCredentialPropertyInput +type GetMonitoredResourceTypeMetadataArray []GetMonitoredResourceTypeMetadataInput -func (GetMonitoredResourceCredentialPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTypeMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadata)(nil)).Elem() } -func (i GetMonitoredResourceCredentialPropertyArray) ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput { - return i.ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypeMetadataArray) ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput { + return i.ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceCredentialPropertyArray) ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceCredentialPropertyArrayOutput) +func (i GetMonitoredResourceTypeMetadataArray) ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataArrayOutput) } -type GetMonitoredResourceCredentialPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypeMetadataOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceCredentialPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceCredentialProperty)(nil)).Elem() +func (GetMonitoredResourceTypeMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypeMetadata)(nil)).Elem() } -func (o GetMonitoredResourceCredentialPropertyOutput) ToGetMonitoredResourceCredentialPropertyOutput() GetMonitoredResourceCredentialPropertyOutput { +func (o GetMonitoredResourceTypeMetadataOutput) ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput { return o } -func (o GetMonitoredResourceCredentialPropertyOutput) ToGetMonitoredResourceCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyOutput { +func (o GetMonitoredResourceTypeMetadataOutput) ToGetMonitoredResourceTypeMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataOutput { return o } -// Property Name. -func (o GetMonitoredResourceCredentialPropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredentialProperty) string { return v.Name }).(pulumi.StringOutput) +// List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. +func (o GetMonitoredResourceTypeMetadataOutput) AgentProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.AgentProperties }).(pulumi.StringArrayOutput) } -// Property Value. -func (o GetMonitoredResourceCredentialPropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceCredentialProperty) string { return v.Value }).(pulumi.StringOutput) +// ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. +// * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. +func (o GetMonitoredResourceTypeMetadataOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) string { return v.Format }).(pulumi.StringOutput) } -type GetMonitoredResourceCredentialPropertyArrayOutput struct{ *pulumi.OutputState } +// List of required properties for resource type. +func (o GetMonitoredResourceTypeMetadataOutput) RequiredProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.RequiredProperties }).(pulumi.StringArrayOutput) +} -func (GetMonitoredResourceCredentialPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceCredentialProperty)(nil)).Elem() +// List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. +func (o GetMonitoredResourceTypeMetadataOutput) UniquePropertySets() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []GetMonitoredResourceTypeMetadataUniquePropertySet { + return v.UniquePropertySets + }).(GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) } -func (o GetMonitoredResourceCredentialPropertyArrayOutput) ToGetMonitoredResourceCredentialPropertyArrayOutput() GetMonitoredResourceCredentialPropertyArrayOutput { - return o +// List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. +func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertiesForCreates() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.ValidPropertiesForCreates }).(pulumi.StringArrayOutput) } -func (o GetMonitoredResourceCredentialPropertyArrayOutput) ToGetMonitoredResourceCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourceCredentialPropertyArrayOutput { - return o +// List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. +func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertiesForUpdates() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.ValidPropertiesForUpdates }).(pulumi.StringArrayOutput) } -func (o GetMonitoredResourceCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceCredentialPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceCredentialProperty { - return vs[0].([]GetMonitoredResourceCredentialProperty)[vs[1].(int)] - }).(GetMonitoredResourceCredentialPropertyOutput) +// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` +func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertyValues() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) map[string]string { return v.ValidPropertyValues }).(pulumi.StringMapOutput) } -type GetMonitoredResourceDatabaseConnectionDetail struct { - // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ConnectorId string `pulumi:"connectorId"` - // dbId of the database. - DbId string `pulumi:"dbId"` - // UniqueName used for database connection requests. - DbUniqueName string `pulumi:"dbUniqueName"` - // Listener Port number used for connection requests. - Port int `pulumi:"port"` - // Protocol used in DB connection string when connecting to external database service. - Protocol string `pulumi:"protocol"` - // Service name used for connection requests. - ServiceName string `pulumi:"serviceName"` - // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - SslSecretId string `pulumi:"sslSecretId"` +// List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types +func (o GetMonitoredResourceTypeMetadataOutput) ValidSubResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.ValidSubResourceTypes }).(pulumi.StringArrayOutput) } -// GetMonitoredResourceDatabaseConnectionDetailInput is an input type that accepts GetMonitoredResourceDatabaseConnectionDetailArgs and GetMonitoredResourceDatabaseConnectionDetailOutput values. -// You can construct a concrete instance of `GetMonitoredResourceDatabaseConnectionDetailInput` via: -// -// GetMonitoredResourceDatabaseConnectionDetailArgs{...} -type GetMonitoredResourceDatabaseConnectionDetailInput interface { - pulumi.Input +type GetMonitoredResourceTypeMetadataArrayOutput struct{ *pulumi.OutputState } - ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput - ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput +func (GetMonitoredResourceTypeMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadata)(nil)).Elem() } -type GetMonitoredResourceDatabaseConnectionDetailArgs struct { - // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ConnectorId pulumi.StringInput `pulumi:"connectorId"` - // dbId of the database. - DbId pulumi.StringInput `pulumi:"dbId"` - // UniqueName used for database connection requests. - DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"` - // Listener Port number used for connection requests. - Port pulumi.IntInput `pulumi:"port"` - // Protocol used in DB connection string when connecting to external database service. - Protocol pulumi.StringInput `pulumi:"protocol"` - // Service name used for connection requests. - ServiceName pulumi.StringInput `pulumi:"serviceName"` - // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` +func (o GetMonitoredResourceTypeMetadataArrayOutput) ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput { + return o } -func (GetMonitoredResourceDatabaseConnectionDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() +func (o GetMonitoredResourceTypeMetadataArrayOutput) ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataArrayOutput { + return o } -func (i GetMonitoredResourceDatabaseConnectionDetailArgs) ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput { - return i.ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(context.Background()) +func (o GetMonitoredResourceTypeMetadataArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypeMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypeMetadata { + return vs[0].([]GetMonitoredResourceTypeMetadata)[vs[1].(int)] + }).(GetMonitoredResourceTypeMetadataOutput) } -func (i GetMonitoredResourceDatabaseConnectionDetailArgs) ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceDatabaseConnectionDetailOutput) +type GetMonitoredResourceTypeMetadataUniquePropertySet struct { + // List of properties. + Properties []string `pulumi:"properties"` } -// GetMonitoredResourceDatabaseConnectionDetailArrayInput is an input type that accepts GetMonitoredResourceDatabaseConnectionDetailArray and GetMonitoredResourceDatabaseConnectionDetailArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceDatabaseConnectionDetailArrayInput` via: +// GetMonitoredResourceTypeMetadataUniquePropertySetInput is an input type that accepts GetMonitoredResourceTypeMetadataUniquePropertySetArgs and GetMonitoredResourceTypeMetadataUniquePropertySetOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataUniquePropertySetInput` via: // -// GetMonitoredResourceDatabaseConnectionDetailArray{ GetMonitoredResourceDatabaseConnectionDetailArgs{...} } -type GetMonitoredResourceDatabaseConnectionDetailArrayInput interface { +// GetMonitoredResourceTypeMetadataUniquePropertySetArgs{...} +type GetMonitoredResourceTypeMetadataUniquePropertySetInput interface { pulumi.Input - ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput - ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput + ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput + ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput } -type GetMonitoredResourceDatabaseConnectionDetailArray []GetMonitoredResourceDatabaseConnectionDetailInput +type GetMonitoredResourceTypeMetadataUniquePropertySetArgs struct { + // List of properties. + Properties pulumi.StringArrayInput `pulumi:"properties"` +} -func (GetMonitoredResourceDatabaseConnectionDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() +func (GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() } -func (i GetMonitoredResourceDatabaseConnectionDetailArray) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput { - return i.ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput { + return i.ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(context.Background()) } -func (i GetMonitoredResourceDatabaseConnectionDetailArray) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceDatabaseConnectionDetailArrayOutput) +func (i GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataUniquePropertySetOutput) } -type GetMonitoredResourceDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } +// GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput is an input type that accepts GetMonitoredResourceTypeMetadataUniquePropertySetArray and GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput` via: +// +// GetMonitoredResourceTypeMetadataUniquePropertySetArray{ GetMonitoredResourceTypeMetadataUniquePropertySetArgs{...} } +type GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput interface { + pulumi.Input -func (GetMonitoredResourceDatabaseConnectionDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() + ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput + ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput } -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ToGetMonitoredResourceDatabaseConnectionDetailOutput() GetMonitoredResourceDatabaseConnectionDetailOutput { - return o -} +type GetMonitoredResourceTypeMetadataUniquePropertySetArray []GetMonitoredResourceTypeMetadataUniquePropertySetInput -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ToGetMonitoredResourceDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailOutput { - return o +func (GetMonitoredResourceTypeMetadataUniquePropertySetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() } -// Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.ConnectorId }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypeMetadataUniquePropertySetArray) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { + return i.ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(context.Background()) } -// dbId of the database. -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) DbId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.DbId }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypeMetadataUniquePropertySetArray) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) } -// UniqueName used for database connection requests. -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) DbUniqueName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.DbUniqueName }).(pulumi.StringOutput) -} +type GetMonitoredResourceTypeMetadataUniquePropertySetOutput struct{ *pulumi.OutputState } -// Listener Port number used for connection requests. -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) int { return v.Port }).(pulumi.IntOutput) +func (GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() } -// Protocol used in DB connection string when connecting to external database service. -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.Protocol }).(pulumi.StringOutput) +func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput { + return o } -// Service name used for connection requests. -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.ServiceName }).(pulumi.StringOutput) +func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { + return o } -// SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourceDatabaseConnectionDetailOutput) SslSecretId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceDatabaseConnectionDetail) string { return v.SslSecretId }).(pulumi.StringOutput) +// List of properties. +func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) Properties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypeMetadataUniquePropertySet) []string { return v.Properties }).(pulumi.StringArrayOutput) } -type GetMonitoredResourceDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceDatabaseConnectionDetail)(nil)).Elem() +func (GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() } -func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutput() GetMonitoredResourceDatabaseConnectionDetailArrayOutput { +func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { return o } -func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourceDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceDatabaseConnectionDetailArrayOutput { +func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { return o } -func (o GetMonitoredResourceDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceDatabaseConnectionDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceDatabaseConnectionDetail { - return vs[0].([]GetMonitoredResourceDatabaseConnectionDetail)[vs[1].(int)] - }).(GetMonitoredResourceDatabaseConnectionDetailOutput) +func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypeMetadataUniquePropertySet { + return vs[0].([]GetMonitoredResourceTypeMetadataUniquePropertySet)[vs[1].(int)] + }).(GetMonitoredResourceTypeMetadataUniquePropertySetOutput) } -type GetMonitoredResourceProperty struct { - // Property Name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoredResourceTypesFilter struct { + // A filter to return monitored resource types that match exactly with the resource type name given. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMonitoredResourcePropertyInput is an input type that accepts GetMonitoredResourcePropertyArgs and GetMonitoredResourcePropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourcePropertyInput` via: +// GetMonitoredResourceTypesFilterInput is an input type that accepts GetMonitoredResourceTypesFilterArgs and GetMonitoredResourceTypesFilterOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesFilterInput` via: // -// GetMonitoredResourcePropertyArgs{...} -type GetMonitoredResourcePropertyInput interface { +// GetMonitoredResourceTypesFilterArgs{...} +type GetMonitoredResourceTypesFilterInput interface { pulumi.Input - ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput - ToGetMonitoredResourcePropertyOutputWithContext(context.Context) GetMonitoredResourcePropertyOutput + ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput + ToGetMonitoredResourceTypesFilterOutputWithContext(context.Context) GetMonitoredResourceTypesFilterOutput } -type GetMonitoredResourcePropertyArgs struct { - // Property Name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoredResourceTypesFilterArgs struct { + // A filter to return monitored resource types that match exactly with the resource type name given. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMonitoredResourcePropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceProperty)(nil)).Elem() +func (GetMonitoredResourceTypesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesFilter)(nil)).Elem() } -func (i GetMonitoredResourcePropertyArgs) ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput { - return i.ToGetMonitoredResourcePropertyOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesFilterArgs) ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput { + return i.ToGetMonitoredResourceTypesFilterOutputWithContext(context.Background()) } -func (i GetMonitoredResourcePropertyArgs) ToGetMonitoredResourcePropertyOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcePropertyOutput) +func (i GetMonitoredResourceTypesFilterArgs) ToGetMonitoredResourceTypesFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesFilterOutput) } -// GetMonitoredResourcePropertyArrayInput is an input type that accepts GetMonitoredResourcePropertyArray and GetMonitoredResourcePropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcePropertyArrayInput` via: +// GetMonitoredResourceTypesFilterArrayInput is an input type that accepts GetMonitoredResourceTypesFilterArray and GetMonitoredResourceTypesFilterArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesFilterArrayInput` via: // -// GetMonitoredResourcePropertyArray{ GetMonitoredResourcePropertyArgs{...} } -type GetMonitoredResourcePropertyArrayInput interface { +// GetMonitoredResourceTypesFilterArray{ GetMonitoredResourceTypesFilterArgs{...} } +type GetMonitoredResourceTypesFilterArrayInput interface { pulumi.Input - ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput - ToGetMonitoredResourcePropertyArrayOutputWithContext(context.Context) GetMonitoredResourcePropertyArrayOutput + ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput + ToGetMonitoredResourceTypesFilterArrayOutputWithContext(context.Context) GetMonitoredResourceTypesFilterArrayOutput } -type GetMonitoredResourcePropertyArray []GetMonitoredResourcePropertyInput +type GetMonitoredResourceTypesFilterArray []GetMonitoredResourceTypesFilterInput -func (GetMonitoredResourcePropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceProperty)(nil)).Elem() +func (GetMonitoredResourceTypesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesFilter)(nil)).Elem() } -func (i GetMonitoredResourcePropertyArray) ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput { - return i.ToGetMonitoredResourcePropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesFilterArray) ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput { + return i.ToGetMonitoredResourceTypesFilterArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcePropertyArray) ToGetMonitoredResourcePropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcePropertyArrayOutput) +func (i GetMonitoredResourceTypesFilterArray) ToGetMonitoredResourceTypesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesFilterArrayOutput) } -type GetMonitoredResourcePropertyOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypesFilterOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcePropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceProperty)(nil)).Elem() +func (GetMonitoredResourceTypesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesFilter)(nil)).Elem() } -func (o GetMonitoredResourcePropertyOutput) ToGetMonitoredResourcePropertyOutput() GetMonitoredResourcePropertyOutput { +func (o GetMonitoredResourceTypesFilterOutput) ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput { return o } -func (o GetMonitoredResourcePropertyOutput) ToGetMonitoredResourcePropertyOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyOutput { +func (o GetMonitoredResourceTypesFilterOutput) ToGetMonitoredResourceTypesFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterOutput { return o } -// Property Name. -func (o GetMonitoredResourcePropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceProperty) string { return v.Name }).(pulumi.StringOutput) +// A filter to return monitored resource types that match exactly with the resource type name given. +func (o GetMonitoredResourceTypesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesFilter) string { return v.Name }).(pulumi.StringOutput) } -// Property Value. -func (o GetMonitoredResourcePropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceProperty) string { return v.Value }).(pulumi.StringOutput) +func (o GetMonitoredResourceTypesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetMonitoredResourcePropertyArrayOutput struct{ *pulumi.OutputState } +func (o GetMonitoredResourceTypesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetMonitoredResourcePropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceProperty)(nil)).Elem() +type GetMonitoredResourceTypesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTypesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesFilter)(nil)).Elem() } -func (o GetMonitoredResourcePropertyArrayOutput) ToGetMonitoredResourcePropertyArrayOutput() GetMonitoredResourcePropertyArrayOutput { +func (o GetMonitoredResourceTypesFilterArrayOutput) ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput { return o } -func (o GetMonitoredResourcePropertyArrayOutput) ToGetMonitoredResourcePropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcePropertyArrayOutput { +func (o GetMonitoredResourceTypesFilterArrayOutput) ToGetMonitoredResourceTypesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterArrayOutput { return o } -func (o GetMonitoredResourcePropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcePropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceProperty { - return vs[0].([]GetMonitoredResourceProperty)[vs[1].(int)] - }).(GetMonitoredResourcePropertyOutput) +func (o GetMonitoredResourceTypesFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesFilter { + return vs[0].([]GetMonitoredResourceTypesFilter)[vs[1].(int)] + }).(GetMonitoredResourceTypesFilterOutput) } -type GetMonitoredResourceTaskTaskDetail struct { - // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. - AvailabilityProxyMetricCollectionInterval int `pulumi:"availabilityProxyMetricCollectionInterval"` - // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. - AvailabilityProxyMetrics []string `pulumi:"availabilityProxyMetrics"` - // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. - ConsolePathPrefix string `pulumi:"consolePathPrefix"` - // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. - ExternalIdMapping string `pulumi:"externalIdMapping"` - // Lifecycle states of the external resource which reflects the status of the resource being up. - LifecycleStatusMappingsForUpStatuses []string `pulumi:"lifecycleStatusMappingsForUpStatuses"` - // Name space to be used for Oracle Cloud Infrastructure Native service resources' import. - Namespace string `pulumi:"namespace"` - // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. - ResourceGroup string `pulumi:"resourceGroup"` - // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. - ResourceNameFilter string `pulumi:"resourceNameFilter"` - // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. - ResourceNameMapping string `pulumi:"resourceNameMapping"` - // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. - ResourceTypeFilter string `pulumi:"resourceTypeFilter"` - // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. - ResourceTypeMapping string `pulumi:"resourceTypeMapping"` - // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. - ServiceBaseUrl string `pulumi:"serviceBaseUrl"` - // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. - ShouldUseMetricsFlowForStatus bool `pulumi:"shouldUseMetricsFlowForStatus"` - // Source from where the metrics pushed to telemetry. Possible values: - // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. - // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. - Source string `pulumi:"source"` - // Task type. - Type string `pulumi:"type"` +type GetMonitoredResourceTypesMonitoredResourceTypesCollection struct { + Items []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem `pulumi:"items"` } -// GetMonitoredResourceTaskTaskDetailInput is an input type that accepts GetMonitoredResourceTaskTaskDetailArgs and GetMonitoredResourceTaskTaskDetailOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTaskTaskDetailInput` via: +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput` via: // -// GetMonitoredResourceTaskTaskDetailArgs{...} -type GetMonitoredResourceTaskTaskDetailInput interface { +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs{...} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput interface { pulumi.Input - ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput - ToGetMonitoredResourceTaskTaskDetailOutputWithContext(context.Context) GetMonitoredResourceTaskTaskDetailOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput } -type GetMonitoredResourceTaskTaskDetailArgs struct { - // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. - AvailabilityProxyMetricCollectionInterval pulumi.IntInput `pulumi:"availabilityProxyMetricCollectionInterval"` - // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. - AvailabilityProxyMetrics pulumi.StringArrayInput `pulumi:"availabilityProxyMetrics"` - // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. - ConsolePathPrefix pulumi.StringInput `pulumi:"consolePathPrefix"` - // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. - ExternalIdMapping pulumi.StringInput `pulumi:"externalIdMapping"` - // Lifecycle states of the external resource which reflects the status of the resource being up. - LifecycleStatusMappingsForUpStatuses pulumi.StringArrayInput `pulumi:"lifecycleStatusMappingsForUpStatuses"` - // Name space to be used for Oracle Cloud Infrastructure Native service resources' import. - Namespace pulumi.StringInput `pulumi:"namespace"` - // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. - ResourceNameFilter pulumi.StringInput `pulumi:"resourceNameFilter"` - // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. - ResourceNameMapping pulumi.StringInput `pulumi:"resourceNameMapping"` - // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. - ResourceTypeFilter pulumi.StringInput `pulumi:"resourceTypeFilter"` - // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. - ResourceTypeMapping pulumi.StringInput `pulumi:"resourceTypeMapping"` - // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. - ServiceBaseUrl pulumi.StringInput `pulumi:"serviceBaseUrl"` - // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. - ShouldUseMetricsFlowForStatus pulumi.BoolInput `pulumi:"shouldUseMetricsFlowForStatus"` - // Source from where the metrics pushed to telemetry. Possible values: - // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. - // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. - Source pulumi.StringInput `pulumi:"source"` - // Task type. - Type pulumi.StringInput `pulumi:"type"` +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs struct { + Items GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput `pulumi:"items"` } -func (GetMonitoredResourceTaskTaskDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTaskTaskDetail)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() } -func (i GetMonitoredResourceTaskTaskDetailArgs) ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput { - return i.ToGetMonitoredResourceTaskTaskDetailOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTaskTaskDetailArgs) ToGetMonitoredResourceTaskTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTaskTaskDetailOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) } -// GetMonitoredResourceTaskTaskDetailArrayInput is an input type that accepts GetMonitoredResourceTaskTaskDetailArray and GetMonitoredResourceTaskTaskDetailArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTaskTaskDetailArrayInput` via: +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput` via: // -// GetMonitoredResourceTaskTaskDetailArray{ GetMonitoredResourceTaskTaskDetailArgs{...} } -type GetMonitoredResourceTaskTaskDetailArrayInput interface { +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs{...} } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput interface { pulumi.Input - ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput - ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput } -type GetMonitoredResourceTaskTaskDetailArray []GetMonitoredResourceTaskTaskDetailInput +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput -func (GetMonitoredResourceTaskTaskDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTaskTaskDetail)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() } -func (i GetMonitoredResourceTaskTaskDetailArray) ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput { - return i.ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTaskTaskDetailArray) ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTaskTaskDetailArrayOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) +} + +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() +} + +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { + return o +} + +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { + return o +} + +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) Items() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollection) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { + return v.Items + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) } -type GetMonitoredResourceTaskTaskDetailOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTaskTaskDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTaskTaskDetail)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() } -func (o GetMonitoredResourceTaskTaskDetailOutput) ToGetMonitoredResourceTaskTaskDetailOutput() GetMonitoredResourceTaskTaskDetailOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { return o } -func (o GetMonitoredResourceTaskTaskDetailOutput) ToGetMonitoredResourceTaskTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { return o } -// Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. -func (o GetMonitoredResourceTaskTaskDetailOutput) AvailabilityProxyMetricCollectionInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) int { return v.AvailabilityProxyMetricCollectionInterval }).(pulumi.IntOutput) -} - -// List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. -func (o GetMonitoredResourceTaskTaskDetailOutput) AvailabilityProxyMetrics() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) []string { return v.AvailabilityProxyMetrics }).(pulumi.StringArrayOutput) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollection { + return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollection)[vs[1].(int)] + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) } -// The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. -func (o GetMonitoredResourceTaskTaskDetailOutput) ConsolePathPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ConsolePathPrefix }).(pulumi.StringOutput) +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem struct { + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap map[string]string `pulumi:"additionalNamespaceMap"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. + 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"` + // A friendly description. + Description string `pulumi:"description"` + // Monitored resource type 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"` + // Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id string `pulumi:"id"` + // The metadata details for resource type. + Metadatas []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata `pulumi:"metadatas"` + // A filter to return monitored resource types that has the matching namespace. + MetricNamespace string `pulumi:"metricNamespace"` + // A filter to return monitored resource types that match exactly with the resource type name given. + Name string `pulumi:"name"` + // Resource Category to indicate the kind of resource type. + ResourceCategory string `pulumi:"resourceCategory"` + // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. + SourceType string `pulumi:"sourceType"` + // Lifecycle state of the monitored resource type. + 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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated string `pulumi:"timeCreated"` + // The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated string `pulumi:"timeUpdated"` } -// The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. -func (o GetMonitoredResourceTaskTaskDetailOutput) ExternalIdMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ExternalIdMapping }).(pulumi.StringOutput) -} +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput` via: +// +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs{...} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput interface { + pulumi.Input -// Lifecycle states of the external resource which reflects the status of the resource being up. -func (o GetMonitoredResourceTaskTaskDetailOutput) LifecycleStatusMappingsForUpStatuses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) []string { return v.LifecycleStatusMappingsForUpStatuses }).(pulumi.StringArrayOutput) + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput } -// Name space to be used for Oracle Cloud Infrastructure Native service resources' import. -func (o GetMonitoredResourceTaskTaskDetailOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Namespace }).(pulumi.StringOutput) +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs struct { + // Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + AdditionalNamespaceMap pulumi.StringMapInput `pulumi:"additionalNamespaceMap"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. + 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"` + // A friendly description. + Description pulumi.StringInput `pulumi:"description"` + // Monitored resource type display name. + 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"` + // Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id pulumi.StringInput `pulumi:"id"` + // The metadata details for resource type. + Metadatas GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput `pulumi:"metadatas"` + // A filter to return monitored resource types that has the matching namespace. + MetricNamespace pulumi.StringInput `pulumi:"metricNamespace"` + // A filter to return monitored resource types that match exactly with the resource type name given. + Name pulumi.StringInput `pulumi:"name"` + // Resource Category to indicate the kind of resource type. + ResourceCategory pulumi.StringInput `pulumi:"resourceCategory"` + // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. + SourceType pulumi.StringInput `pulumi:"sourceType"` + // Lifecycle state of the monitored resource type. + 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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` } -// The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. -func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceGroup }).(pulumi.StringOutput) +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() } -// The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. -func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceNameFilter() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceNameFilter }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(context.Background()) } -// The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. -func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceNameMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceNameMapping }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) } -// The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. -func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceTypeFilter() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceTypeFilter }).(pulumi.StringOutput) -} +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput` via: +// +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs{...} } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput interface { + pulumi.Input -// The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. -func (o GetMonitoredResourceTaskTaskDetailOutput) ResourceTypeMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ResourceTypeMapping }).(pulumi.StringOutput) + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput } -// The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. -func (o GetMonitoredResourceTaskTaskDetailOutput) ServiceBaseUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.ServiceBaseUrl }).(pulumi.StringOutput) -} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput -// Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. -func (o GetMonitoredResourceTaskTaskDetailOutput) ShouldUseMetricsFlowForStatus() pulumi.BoolOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) bool { return v.ShouldUseMetricsFlowForStatus }).(pulumi.BoolOutput) +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() } -// Source from where the metrics pushed to telemetry. Possible values: -// * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. -// * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. -func (o GetMonitoredResourceTaskTaskDetailOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Source }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(context.Background()) } -// Task type. -func (o GetMonitoredResourceTaskTaskDetailOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTaskTaskDetail) string { return v.Type }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) } -type GetMonitoredResourceTaskTaskDetailArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTaskTaskDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTaskTaskDetail)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceTaskTaskDetailArrayOutput) ToGetMonitoredResourceTaskTaskDetailArrayOutput() GetMonitoredResourceTaskTaskDetailArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { return o } -func (o GetMonitoredResourceTaskTaskDetailArrayOutput) ToGetMonitoredResourceTaskTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTaskTaskDetailArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { return o } -func (o GetMonitoredResourceTaskTaskDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTaskTaskDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTaskTaskDetail { - return vs[0].([]GetMonitoredResourceTaskTaskDetail)[vs[1].(int)] - }).(GetMonitoredResourceTaskTaskDetailOutput) -} - -type GetMonitoredResourceTasksFilter struct { - // Name of the task. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +// Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) AdditionalNamespaceMap() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { + return v.AdditionalNamespaceMap + }).(pulumi.StringMapOutput) } -// GetMonitoredResourceTasksFilterInput is an input type that accepts GetMonitoredResourceTasksFilterArgs and GetMonitoredResourceTasksFilterOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksFilterInput` via: -// -// GetMonitoredResourceTasksFilterArgs{...} -type GetMonitoredResourceTasksFilterInput interface { - pulumi.Input - - ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput - ToGetMonitoredResourceTasksFilterOutputWithContext(context.Context) GetMonitoredResourceTasksFilterOutput +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -type GetMonitoredResourceTasksFilterArgs struct { - // Name of the task. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) } -func (GetMonitoredResourceTasksFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksFilter)(nil)).Elem() +// A friendly description. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Description }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTasksFilterArgs) ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput { - return i.ToGetMonitoredResourceTasksFilterOutputWithContext(context.Background()) +// Monitored resource type display name. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTasksFilterArgs) ToGetMonitoredResourceTasksFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksFilterOutput) +// 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 GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) } -// GetMonitoredResourceTasksFilterArrayInput is an input type that accepts GetMonitoredResourceTasksFilterArray and GetMonitoredResourceTasksFilterArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksFilterArrayInput` via: -// -// GetMonitoredResourceTasksFilterArray{ GetMonitoredResourceTasksFilterArgs{...} } -type GetMonitoredResourceTasksFilterArrayInput interface { - pulumi.Input - - ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput - ToGetMonitoredResourceTasksFilterArrayOutputWithContext(context.Context) GetMonitoredResourceTasksFilterArrayOutput +// Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -type GetMonitoredResourceTasksFilterArray []GetMonitoredResourceTasksFilterInput - -func (GetMonitoredResourceTasksFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksFilter)(nil)).Elem() +// The metadata details for resource type. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Metadatas() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata { + return v.Metadatas + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) } -func (i GetMonitoredResourceTasksFilterArray) ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput { - return i.ToGetMonitoredResourceTasksFilterArrayOutputWithContext(context.Background()) +// A filter to return monitored resource types that has the matching namespace. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) MetricNamespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.MetricNamespace }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTasksFilterArray) ToGetMonitoredResourceTasksFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksFilterArrayOutput) +// A filter to return monitored resource types that match exactly with the resource type name given. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Name }).(pulumi.StringOutput) } -type GetMonitoredResourceTasksFilterOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceTasksFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksFilter)(nil)).Elem() +// Resource Category to indicate the kind of resource type. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ResourceCategory() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { + return v.ResourceCategory + }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTasksFilterOutput) ToGetMonitoredResourceTasksFilterOutput() GetMonitoredResourceTasksFilterOutput { - return o +// Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) SourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.SourceType }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTasksFilterOutput) ToGetMonitoredResourceTasksFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterOutput { - return o +// Lifecycle state of the monitored resource type. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.State }).(pulumi.StringOutput) } -// Name of the task. -func (o GetMonitoredResourceTasksFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksFilter) string { return v.Name }).(pulumi.StringOutput) +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) } -func (o GetMonitoredResourceTasksFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// The date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTasksFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } -type GetMonitoredResourceTasksFilterArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTasksFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksFilter)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceTasksFilterArrayOutput) ToGetMonitoredResourceTasksFilterArrayOutput() GetMonitoredResourceTasksFilterArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceTasksFilterArrayOutput) ToGetMonitoredResourceTasksFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksFilterArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceTasksFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksFilter { - return vs[0].([]GetMonitoredResourceTasksFilter)[vs[1].(int)] - }).(GetMonitoredResourceTasksFilterOutput) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { + return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)[vs[1].(int)] + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollection struct { - Items []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem `pulumi:"items"` +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata struct { + // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. + AgentProperties []string `pulumi:"agentProperties"` + // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. + // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. + Format string `pulumi:"format"` + // List of required properties for resource type. + RequiredProperties []string `pulumi:"requiredProperties"` + // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. + UniquePropertySets []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet `pulumi:"uniquePropertySets"` + // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. + ValidPropertiesForCreates []string `pulumi:"validPropertiesForCreates"` + // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. + ValidPropertiesForUpdates []string `pulumi:"validPropertiesForUpdates"` + // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + ValidPropertyValues map[string]string `pulumi:"validPropertyValues"` + // List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes []string `pulumi:"validSubResourceTypes"` } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput` via: +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput` via: // -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs{...} -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput interface { +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs{...} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput interface { pulumi.Input - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs struct { - Items GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput `pulumi:"items"` +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs struct { + // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. + AgentProperties pulumi.StringArrayInput `pulumi:"agentProperties"` + // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. + // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. + Format pulumi.StringInput `pulumi:"format"` + // List of required properties for resource type. + RequiredProperties pulumi.StringArrayInput `pulumi:"requiredProperties"` + // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. + UniquePropertySets GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput `pulumi:"uniquePropertySets"` + // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. + ValidPropertiesForCreates pulumi.StringArrayInput `pulumi:"validPropertiesForCreates"` + // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. + ValidPropertiesForUpdates pulumi.StringArrayInput `pulumi:"validPropertiesForUpdates"` + // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + ValidPropertyValues pulumi.StringMapInput `pulumi:"validPropertyValues"` + // List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + ValidSubResourceTypes pulumi.StringArrayInput `pulumi:"validSubResourceTypes"` } -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput` via: +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput` via: // -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionArgs{...} } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayInput interface { +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs{...} } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput interface { pulumi.Input - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionInput +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() -} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput struct{ *pulumi.OutputState } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { - return o +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) Items() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollection) []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem { - return v.Items - }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) -} - -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollection)(nil)).Elem() -} - -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput { - return o +// List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) AgentProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { + return v.AgentProperties + }).(pulumi.StringArrayOutput) } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollection { - return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollection)[vs[1].(int)] - }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionOutput) +// ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. +// * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) string { return v.Format }).(pulumi.StringOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. - 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"` - // 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"` - // Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id string `pulumi:"id"` - // Name of the task. - Name string `pulumi:"name"` - // The current state of the stack monitoring resource task. - 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 request details for the performing the task. - TaskDetails []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail `pulumi:"taskDetails"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - TenantId string `pulumi:"tenantId"` - // The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated string `pulumi:"timeCreated"` - // The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated string `pulumi:"timeUpdated"` - // Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. - WorkRequestIds []string `pulumi:"workRequestIds"` +// List of required properties for resource type. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) RequiredProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { + return v.RequiredProperties + }).(pulumi.StringArrayOutput) } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput` via: -// -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs{...} -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput interface { - pulumi.Input - - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput +// List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) UniquePropertySets() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet { + return v.UniquePropertySets + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. - 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"` - // 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"` - // Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id pulumi.StringInput `pulumi:"id"` - // Name of the task. - Name pulumi.StringInput `pulumi:"name"` - // The current state of the stack monitoring resource task. - 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 request details for the performing the task. - TaskDetails GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput `pulumi:"taskDetails"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - TenantId pulumi.StringInput `pulumi:"tenantId"` - // The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - // Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. - WorkRequestIds pulumi.StringArrayInput `pulumi:"workRequestIds"` +// List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertiesForCreates() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { + return v.ValidPropertiesForCreates + }).(pulumi.StringArrayOutput) } -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() +// List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertiesForUpdates() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { + return v.ValidPropertiesForUpdates + }).(pulumi.StringArrayOutput) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(context.Background()) +// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertyValues() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) map[string]string { + return v.ValidPropertyValues + }).(pulumi.StringMapOutput) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) +// List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidSubResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { + return v.ValidSubResourceTypes + }).(pulumi.StringArrayOutput) } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput` via: -// -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArgs{...} } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayInput interface { - pulumi.Input +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput struct{ *pulumi.OutputState } - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemInput +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { + return o +} -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { + return o } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(context.Background()) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata { + return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)[vs[1].(int)] + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet struct { + // List of properties. + Properties []string `pulumi:"properties"` } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput struct{ *pulumi.OutputState } +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput` via: +// +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs{...} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput interface { + pulumi.Input -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { - return o +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs struct { + // List of properties. + Properties pulumi.StringArrayInput `pulumi:"properties"` } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { - return o +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for which stack monitoring resource tasks should be listed. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(context.Background()) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { - return v.DefinedTags - }).(pulumi.StringMapOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) } -// 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 GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { - return v.FreeformTags - }).(pulumi.StringMapOutput) -} +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput` via: +// +// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs{...} } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput interface { + pulumi.Input -// Task identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.Id }).(pulumi.StringOutput) + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput + ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput } -// Name of the task. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.Name }).(pulumi.StringOutput) -} +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput -// The current state of the stack monitoring resource task. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.State }).(pulumi.StringOutput) +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() } -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) map[string]string { - return v.SystemTags - }).(pulumi.StringMapOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { + return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(context.Background()) } -// The request details for the performing the task. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TaskDetails() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail { - return v.TaskDetails - }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) +func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() } -// The date and time when the stack monitoring resource task was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { + return o } -// The date and time when the stack monitoring resource task was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { + return o } -// Identifiers [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) WorkRequestIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem) []string { - return v.WorkRequestIds +// List of properties. +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) Properties() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet) []string { + return v.Properties }).(pulumi.StringArrayOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)(nil)).Elem() +func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput { +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem { - return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem)[vs[1].(int)] - }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemOutput) +func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet { + return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)[vs[1].(int)] + }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail struct { - // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. - AvailabilityProxyMetricCollectionInterval int `pulumi:"availabilityProxyMetricCollectionInterval"` - // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. - AvailabilityProxyMetrics []string `pulumi:"availabilityProxyMetrics"` - // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. - ConsolePathPrefix string `pulumi:"consolePathPrefix"` - // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. - ExternalIdMapping string `pulumi:"externalIdMapping"` - // Lifecycle states of the external resource which reflects the status of the resource being up. - LifecycleStatusMappingsForUpStatuses []string `pulumi:"lifecycleStatusMappingsForUpStatuses"` - // Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. - Namespace string `pulumi:"namespace"` - // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. - ResourceGroup string `pulumi:"resourceGroup"` - // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. - ResourceNameFilter string `pulumi:"resourceNameFilter"` - // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. - ResourceNameMapping string `pulumi:"resourceNameMapping"` - // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. - ResourceTypeFilter string `pulumi:"resourceTypeFilter"` - // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. - ResourceTypeMapping string `pulumi:"resourceTypeMapping"` - // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. - ServiceBaseUrl string `pulumi:"serviceBaseUrl"` - // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. - ShouldUseMetricsFlowForStatus bool `pulumi:"shouldUseMetricsFlowForStatus"` - // Source from where the metrics pushed to telemetry. Possible values: - // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. - // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. - Source string `pulumi:"source"` - // Task type. - Type string `pulumi:"type"` +type GetMonitoredResourcesFilter struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput` via: +// GetMonitoredResourcesFilterInput is an input type that accepts GetMonitoredResourcesFilterArgs and GetMonitoredResourcesFilterOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesFilterInput` via: // -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs{...} -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput interface { +// GetMonitoredResourcesFilterArgs{...} +type GetMonitoredResourcesFilterInput interface { pulumi.Input - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput + ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput + ToGetMonitoredResourcesFilterOutputWithContext(context.Context) GetMonitoredResourcesFilterOutput } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs struct { - // Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. - AvailabilityProxyMetricCollectionInterval pulumi.IntInput `pulumi:"availabilityProxyMetricCollectionInterval"` - // List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. - AvailabilityProxyMetrics pulumi.StringArrayInput `pulumi:"availabilityProxyMetrics"` - // The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. - ConsolePathPrefix pulumi.StringInput `pulumi:"consolePathPrefix"` - // The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. - ExternalIdMapping pulumi.StringInput `pulumi:"externalIdMapping"` - // Lifecycle states of the external resource which reflects the status of the resource being up. - LifecycleStatusMappingsForUpStatuses pulumi.StringArrayInput `pulumi:"lifecycleStatusMappingsForUpStatuses"` - // Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. - Namespace pulumi.StringInput `pulumi:"namespace"` - // The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - // The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. - ResourceNameFilter pulumi.StringInput `pulumi:"resourceNameFilter"` - // The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. - ResourceNameMapping pulumi.StringInput `pulumi:"resourceNameMapping"` - // The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. - ResourceTypeFilter pulumi.StringInput `pulumi:"resourceTypeFilter"` - // The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. - ResourceTypeMapping pulumi.StringInput `pulumi:"resourceTypeMapping"` - // The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. - ServiceBaseUrl pulumi.StringInput `pulumi:"serviceBaseUrl"` - // Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. - ShouldUseMetricsFlowForStatus pulumi.BoolInput `pulumi:"shouldUseMetricsFlowForStatus"` - // Source from where the metrics pushed to telemetry. Possible values: - // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. - // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. - Source pulumi.StringInput `pulumi:"source"` - // Task type. - Type pulumi.StringInput `pulumi:"type"` +type GetMonitoredResourcesFilterArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetMonitoredResourcesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesFilter)(nil)).Elem() +} + +func (i GetMonitoredResourcesFilterArgs) ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput { + return i.ToGetMonitoredResourcesFilterOutputWithContext(context.Background()) +} + +func (i GetMonitoredResourcesFilterArgs) ToGetMonitoredResourcesFilterOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesFilterOutput) } -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() +// GetMonitoredResourcesFilterArrayInput is an input type that accepts GetMonitoredResourcesFilterArray and GetMonitoredResourcesFilterArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesFilterArrayInput` via: +// +// GetMonitoredResourcesFilterArray{ GetMonitoredResourcesFilterArgs{...} } +type GetMonitoredResourcesFilterArrayInput interface { + pulumi.Input + + ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput + ToGetMonitoredResourcesFilterArrayOutputWithContext(context.Context) GetMonitoredResourcesFilterArrayOutput } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(context.Background()) +type GetMonitoredResourcesFilterArray []GetMonitoredResourcesFilterInput + +func (GetMonitoredResourcesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesFilter)(nil)).Elem() } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) +func (i GetMonitoredResourcesFilterArray) ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput { + return i.ToGetMonitoredResourcesFilterArrayOutputWithContext(context.Background()) } -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput is an input type that accepts GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray and GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput` via: -// -// GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray{ GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArgs{...} } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayInput interface { - pulumi.Input +func (i GetMonitoredResourcesFilterArray) ToGetMonitoredResourcesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesFilterArrayOutput) +} - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput - ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput +type GetMonitoredResourcesFilterOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesFilter)(nil)).Elem() } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray []GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailInput +func (o GetMonitoredResourcesFilterOutput) ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput { + return o +} -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() +func (o GetMonitoredResourcesFilterOutput) ToGetMonitoredResourcesFilterOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterOutput { + return o } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { - return i.ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(context.Background()) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesFilter) string { return v.Name }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArray) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) +func (o GetMonitoredResourcesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMonitoredResourcesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput struct{ *pulumi.OutputState } +func (o GetMonitoredResourcesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() +type GetMonitoredResourcesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesFilter)(nil)).Elem() } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { +func (o GetMonitoredResourcesFilterArrayOutput) ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { +func (o GetMonitoredResourcesFilterArrayOutput) ToGetMonitoredResourcesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterArrayOutput { return o } -// Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) AvailabilityProxyMetricCollectionInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) int { - return v.AvailabilityProxyMetricCollectionInterval - }).(pulumi.IntOutput) +func (o GetMonitoredResourcesFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesFilter { + return vs[0].([]GetMonitoredResourcesFilter)[vs[1].(int)] + }).(GetMonitoredResourcesFilterOutput) } -// List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) AvailabilityProxyMetrics() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) []string { - return v.AvailabilityProxyMetrics - }).(pulumi.StringArrayOutput) +type GetMonitoredResourcesMonitoredResourceCollection struct { + Items []GetMonitoredResourcesMonitoredResourceCollectionItem `pulumi:"items"` } -// The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ConsolePathPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ConsolePathPrefix - }).(pulumi.StringOutput) +// GetMonitoredResourcesMonitoredResourceCollectionInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionArgs and GetMonitoredResourcesMonitoredResourceCollectionOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionInput interface { + pulumi.Input + + ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput + ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput } -// The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ExternalIdMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ExternalIdMapping - }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionArgs struct { + Items GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput `pulumi:"items"` } -// Lifecycle states of the external resource which reflects the status of the resource being up. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) LifecycleStatusMappingsForUpStatuses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) []string { - return v.LifecycleStatusMappingsForUpStatuses - }).(pulumi.StringArrayOutput) +func (GetMonitoredResourcesMonitoredResourceCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() } -// Name space to be used for Oracle Cloud Infrastructure Native service resources discovery. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.Namespace - }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionArgs) ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(context.Background()) } -// The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ResourceGroup - }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionArgs) ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionOutput) } -// The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceNameFilter() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ResourceNameFilter - }).(pulumi.StringOutput) +// GetMonitoredResourcesMonitoredResourceCollectionArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionArray and GetMonitoredResourcesMonitoredResourceCollectionArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionArrayInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionArray{ GetMonitoredResourcesMonitoredResourceCollectionArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionArrayInput interface { + pulumi.Input + + ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput } -// The resource name property in the metric dimensions. Resources imported will be using this property value for resource name. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceNameMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ResourceNameMapping - }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionArray []GetMonitoredResourcesMonitoredResourceCollectionInput + +func (GetMonitoredResourcesMonitoredResourceCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() } -// The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceTypeFilter() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ResourceTypeFilter - }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionArray) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(context.Background()) } -// The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ResourceTypeMapping() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ResourceTypeMapping - }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionArray) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) } -// The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ServiceBaseUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.ServiceBaseUrl - }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() } -// Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) ShouldUseMetricsFlowForStatus() pulumi.BoolOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) bool { - return v.ShouldUseMetricsFlowForStatus - }).(pulumi.BoolOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput { + return o } -// Source from where the metrics pushed to telemetry. Possible values: -// * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services. -// * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { - return v.Source - }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput { + return o } -// Task type. -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail) string { return v.Type }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) Items() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollection) []GetMonitoredResourcesMonitoredResourceCollectionItem { + return v.Items + }).(GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) } -type GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput() GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) ToGetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { return o } -func (o GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail { - return vs[0].([]GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail)[vs[1].(int)] - }).(GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollection { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollection)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionOutput) } -type GetMonitoredResourceTypeMetadata struct { - // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. - AgentProperties []string `pulumi:"agentProperties"` - // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. - // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. - Format string `pulumi:"format"` - // List of required properties for resource type. - RequiredProperties []string `pulumi:"requiredProperties"` - // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. - UniquePropertySets []GetMonitoredResourceTypeMetadataUniquePropertySet `pulumi:"uniquePropertySets"` - // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. - ValidPropertiesForCreates []string `pulumi:"validPropertiesForCreates"` - // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. - ValidPropertiesForUpdates []string `pulumi:"validPropertiesForUpdates"` - // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` - ValidPropertyValues map[string]string `pulumi:"validPropertyValues"` +type GetMonitoredResourcesMonitoredResourceCollectionItem struct { + AdditionalAliases []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias `pulumi:"additionalAliases"` + AdditionalCredentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential `pulumi:"additionalCredentials"` + // Monitored Resource Alias Credential Details + Aliases []GetMonitoredResourcesMonitoredResourceCollectionItemAlias `pulumi:"aliases"` + // The ID of the compartment in which data is listed. + CompartmentId string `pulumi:"compartmentId"` + // Monitored Resource Credential Details. + Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemCredential `pulumi:"credentials"` + // Connection details for the database. + DatabaseConnectionDetails []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` + // 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"` + // Monitored resource display name. + DisplayName string `pulumi:"displayName"` + // The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. + ExternalId string `pulumi:"externalId"` + ExternalResourceId string `pulumi:"externalResourceId"` + // 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"` + // Monitored resource host name. + HostName string `pulumi:"hostName"` + // Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id string `pulumi:"id"` + License string `pulumi:"license"` + // Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ManagementAgentId string `pulumi:"managementAgentId"` + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // List of monitored resource properties. + Properties []GetMonitoredResourcesMonitoredResourceCollectionItemProperty `pulumi:"properties"` + // Resource Category to indicate the kind of resource type. + ResourceCategory string `pulumi:"resourceCategory"` + // Time zone in the form of tz database canonical zone ID. + ResourceTimeZone string `pulumi:"resourceTimeZone"` + // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. + SourceType string `pulumi:"sourceType"` + // Lifecycle state of the monitored resource. + 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"` + // Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + TenantId string `pulumi:"tenantId"` + // The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated string `pulumi:"timeCreated"` + // The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated string `pulumi:"timeUpdated"` + // Monitored Resource Type. + Type string `pulumi:"type"` } -// GetMonitoredResourceTypeMetadataInput is an input type that accepts GetMonitoredResourceTypeMetadataArgs and GetMonitoredResourceTypeMetadataOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemArgs and GetMonitoredResourcesMonitoredResourceCollectionItemOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemInput` via: // -// GetMonitoredResourceTypeMetadataArgs{...} -type GetMonitoredResourceTypeMetadataInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemInput interface { pulumi.Input - ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput - ToGetMonitoredResourceTypeMetadataOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput } -type GetMonitoredResourceTypeMetadataArgs struct { - // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. - AgentProperties pulumi.StringArrayInput `pulumi:"agentProperties"` - // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. - // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. - Format pulumi.StringInput `pulumi:"format"` - // List of required properties for resource type. - RequiredProperties pulumi.StringArrayInput `pulumi:"requiredProperties"` - // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. - UniquePropertySets GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput `pulumi:"uniquePropertySets"` - // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. - ValidPropertiesForCreates pulumi.StringArrayInput `pulumi:"validPropertiesForCreates"` - // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. - ValidPropertiesForUpdates pulumi.StringArrayInput `pulumi:"validPropertiesForUpdates"` - // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` - ValidPropertyValues pulumi.StringMapInput `pulumi:"validPropertyValues"` +type GetMonitoredResourcesMonitoredResourceCollectionItemArgs struct { + AdditionalAliases GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput `pulumi:"additionalAliases"` + AdditionalCredentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput `pulumi:"additionalCredentials"` + // Monitored Resource Alias Credential Details + Aliases GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput `pulumi:"aliases"` + // The ID of the compartment in which data is listed. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Monitored Resource Credential Details. + Credentials GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput `pulumi:"credentials"` + // Connection details for the database. + DatabaseConnectionDetails GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` + // 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"` + // Monitored resource display name. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. + ExternalId pulumi.StringInput `pulumi:"externalId"` + ExternalResourceId pulumi.StringInput `pulumi:"externalResourceId"` + // 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"` + // Monitored resource host name. + HostName pulumi.StringInput `pulumi:"hostName"` + // Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + Id pulumi.StringInput `pulumi:"id"` + License pulumi.StringInput `pulumi:"license"` + // Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ManagementAgentId pulumi.StringInput `pulumi:"managementAgentId"` + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // List of monitored resource properties. + Properties GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput `pulumi:"properties"` + // Resource Category to indicate the kind of resource type. + ResourceCategory pulumi.StringInput `pulumi:"resourceCategory"` + // Time zone in the form of tz database canonical zone ID. + ResourceTimeZone pulumi.StringInput `pulumi:"resourceTimeZone"` + // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. + SourceType pulumi.StringInput `pulumi:"sourceType"` + // Lifecycle state of the monitored resource. + 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"` + // Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + TenantId pulumi.StringInput `pulumi:"tenantId"` + // The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // Monitored Resource Type. + Type pulumi.StringInput `pulumi:"type"` } -func (GetMonitoredResourceTypeMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypeMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourceTypeMetadataArgs) ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput { - return i.ToGetMonitoredResourceTypeMetadataOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypeMetadataArgs) ToGetMonitoredResourceTypeMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemOutput) } -// GetMonitoredResourceTypeMetadataArrayInput is an input type that accepts GetMonitoredResourceTypeMetadataArray and GetMonitoredResourceTypeMetadataArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemArray and GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput` via: // -// GetMonitoredResourceTypeMetadataArray{ GetMonitoredResourceTypeMetadataArgs{...} } -type GetMonitoredResourceTypeMetadataArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemArray{ GetMonitoredResourcesMonitoredResourceCollectionItemArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput interface { pulumi.Input - ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput - ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput } -type GetMonitoredResourceTypeMetadataArray []GetMonitoredResourceTypeMetadataInput +type GetMonitoredResourcesMonitoredResourceCollectionItemArray []GetMonitoredResourcesMonitoredResourceCollectionItemInput -func (GetMonitoredResourceTypeMetadataArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourceTypeMetadataArray) ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput { - return i.ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypeMetadataArray) ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) } -type GetMonitoredResourceTypeMetadataOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypeMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypeMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceTypeMetadataOutput) ToGetMonitoredResourceTypeMetadataOutput() GetMonitoredResourceTypeMetadataOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput { return o } -func (o GetMonitoredResourceTypeMetadataOutput) ToGetMonitoredResourceTypeMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { return o } -// List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. -func (o GetMonitoredResourceTypeMetadataOutput) AgentProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.AgentProperties }).(pulumi.StringArrayOutput) -} - -// ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. -// * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. -func (o GetMonitoredResourceTypeMetadataOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) string { return v.Format }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) AdditionalAliases() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias { + return v.AdditionalAliases + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) } -// List of required properties for resource type. -func (o GetMonitoredResourceTypeMetadataOutput) RequiredProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.RequiredProperties }).(pulumi.StringArrayOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) AdditionalCredentials() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential { + return v.AdditionalCredentials + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) } -// List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. -func (o GetMonitoredResourceTypeMetadataOutput) UniquePropertySets() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []GetMonitoredResourceTypeMetadataUniquePropertySet { - return v.UniquePropertySets - }).(GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) +// Monitored Resource Alias Credential Details +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Aliases() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAlias { + return v.Aliases + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) } -// List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. -func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertiesForCreates() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.ValidPropertiesForCreates }).(pulumi.StringArrayOutput) +// The ID of the compartment in which data is listed. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -// List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. -func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertiesForUpdates() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) []string { return v.ValidPropertiesForUpdates }).(pulumi.StringArrayOutput) +// Monitored Resource Credential Details. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemCredential { + return v.Credentials + }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) } -// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` -func (o GetMonitoredResourceTypeMetadataOutput) ValidPropertyValues() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadata) map[string]string { return v.ValidPropertyValues }).(pulumi.StringMapOutput) +// Connection details for the database. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DatabaseConnectionDetails() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail { + return v.DatabaseConnectionDetails + }).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) } -type GetMonitoredResourceTypeMetadataArrayOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourceTypeMetadataArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadata)(nil)).Elem() +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -func (o GetMonitoredResourceTypeMetadataArrayOutput) ToGetMonitoredResourceTypeMetadataArrayOutput() GetMonitoredResourceTypeMetadataArrayOutput { - return o +// Monitored resource display name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypeMetadataArrayOutput) ToGetMonitoredResourceTypeMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataArrayOutput { - return o +// The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ExternalId }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypeMetadataArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypeMetadataOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypeMetadata { - return vs[0].([]GetMonitoredResourceTypeMetadata)[vs[1].(int)] - }).(GetMonitoredResourceTypeMetadataOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ExternalResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ExternalResourceId }).(pulumi.StringOutput) } -type GetMonitoredResourceTypeMetadataUniquePropertySet struct { - // List of properties. - Properties []string `pulumi:"properties"` +// 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 GetMonitoredResourcesMonitoredResourceCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) } -// GetMonitoredResourceTypeMetadataUniquePropertySetInput is an input type that accepts GetMonitoredResourceTypeMetadataUniquePropertySetArgs and GetMonitoredResourceTypeMetadataUniquePropertySetOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataUniquePropertySetInput` via: -// -// GetMonitoredResourceTypeMetadataUniquePropertySetArgs{...} -type GetMonitoredResourceTypeMetadataUniquePropertySetInput interface { - pulumi.Input - - ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput - ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput +// Monitored resource host name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) HostName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.HostName }).(pulumi.StringOutput) } -type GetMonitoredResourceTypeMetadataUniquePropertySetArgs struct { - // List of properties. - Properties pulumi.StringArrayInput `pulumi:"properties"` +// Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -func (GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) License() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.License }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput { - return i.ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(context.Background()) +// Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ManagementAgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ManagementAgentId }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTypeMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataUniquePropertySetOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Name }).(pulumi.StringOutput) } -// GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput is an input type that accepts GetMonitoredResourceTypeMetadataUniquePropertySetArray and GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput` via: -// -// GetMonitoredResourceTypeMetadataUniquePropertySetArray{ GetMonitoredResourceTypeMetadataUniquePropertySetArgs{...} } -type GetMonitoredResourceTypeMetadataUniquePropertySetArrayInput interface { - pulumi.Input - - ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput - ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput +// List of monitored resource properties. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemProperty { + return v.Properties + }).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) } -type GetMonitoredResourceTypeMetadataUniquePropertySetArray []GetMonitoredResourceTypeMetadataUniquePropertySetInput +// Resource Category to indicate the kind of resource type. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ResourceCategory() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ResourceCategory }).(pulumi.StringOutput) +} -func (GetMonitoredResourceTypeMetadataUniquePropertySetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() +// Time zone in the form of tz database canonical zone ID. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ResourceTimeZone() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ResourceTimeZone }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTypeMetadataUniquePropertySetArray) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { - return i.ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(context.Background()) +// Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) SourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.SourceType }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTypeMetadataUniquePropertySetArray) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) +// Lifecycle state of the monitored resource. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.State }).(pulumi.StringOutput) } -type GetMonitoredResourceTypeMetadataUniquePropertySetOutput struct{ *pulumi.OutputState } +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} -func (GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() +// Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutput() GetMonitoredResourceTypeMetadataUniquePropertySetOutput { - return o +// The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { - return o +// The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } -// List of properties. -func (o GetMonitoredResourceTypeMetadataUniquePropertySetOutput) Properties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypeMetadataUniquePropertySet) []string { return v.Properties }).(pulumi.StringArrayOutput) +// Monitored Resource Type. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Type }).(pulumi.StringOutput) } -type GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypeMetadataUniquePropertySet)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypeMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { return o } -func (o GetMonitoredResourceTypeMetadataUniquePropertySetArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypeMetadataUniquePropertySetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypeMetadataUniquePropertySet { - return vs[0].([]GetMonitoredResourceTypeMetadataUniquePropertySet)[vs[1].(int)] - }).(GetMonitoredResourceTypeMetadataUniquePropertySetOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItem { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItem)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemOutput) } -type GetMonitoredResourceTypesFilter struct { - // A filter to return monitored resource types that match exactly with the resource type name given. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias struct { + // Monitored Resource Alias Reference Source Credential. + Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential `pulumi:"credentials"` + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMonitoredResourceTypesFilterInput is an input type that accepts GetMonitoredResourceTypesFilterArgs and GetMonitoredResourceTypesFilterOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesFilterInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput` via: // -// GetMonitoredResourceTypesFilterArgs{...} -type GetMonitoredResourceTypesFilterInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput interface { pulumi.Input - ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput - ToGetMonitoredResourceTypesFilterOutputWithContext(context.Context) GetMonitoredResourceTypesFilterOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput } -type GetMonitoredResourceTypesFilterArgs struct { - // A filter to return monitored resource types that match exactly with the resource type name given. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs struct { + // Monitored Resource Alias Reference Source Credential. + Credentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput `pulumi:"credentials"` + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -func (GetMonitoredResourceTypesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() } -func (i GetMonitoredResourceTypesFilterArgs) ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput { - return i.ToGetMonitoredResourceTypesFilterOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesFilterArgs) ToGetMonitoredResourceTypesFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesFilterOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) } -// GetMonitoredResourceTypesFilterArrayInput is an input type that accepts GetMonitoredResourceTypesFilterArray and GetMonitoredResourceTypesFilterArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesFilterArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput` via: // -// GetMonitoredResourceTypesFilterArray{ GetMonitoredResourceTypesFilterArgs{...} } -type GetMonitoredResourceTypesFilterArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput interface { pulumi.Input - ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput - ToGetMonitoredResourceTypesFilterArrayOutputWithContext(context.Context) GetMonitoredResourceTypesFilterArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput } -type GetMonitoredResourceTypesFilterArray []GetMonitoredResourceTypesFilterInput +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput -func (GetMonitoredResourceTypesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() } -func (i GetMonitoredResourceTypesFilterArray) ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput { - return i.ToGetMonitoredResourceTypesFilterArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesFilterArray) ToGetMonitoredResourceTypesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesFilterArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) } -type GetMonitoredResourceTypesFilterOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() } -func (o GetMonitoredResourceTypesFilterOutput) ToGetMonitoredResourceTypesFilterOutput() GetMonitoredResourceTypesFilterOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { return o } -func (o GetMonitoredResourceTypesFilterOutput) ToGetMonitoredResourceTypesFilterOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { return o } -// A filter to return monitored resource types that match exactly with the resource type name given. -func (o GetMonitoredResourceTypesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesFilter) string { return v.Name }).(pulumi.StringOutput) +// Monitored Resource Alias Reference Source Credential. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential { + return v.Credentials + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) } -func (o GetMonitoredResourceTypesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) string { return v.Name }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) string { return v.Source }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesFilterArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() } -func (o GetMonitoredResourceTypesFilterArrayOutput) ToGetMonitoredResourceTypesFilterArrayOutput() GetMonitoredResourceTypesFilterArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { return o } -func (o GetMonitoredResourceTypesFilterArrayOutput) ToGetMonitoredResourceTypesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesFilterArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { return o } -func (o GetMonitoredResourceTypesFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesFilter { - return vs[0].([]GetMonitoredResourceTypesFilter)[vs[1].(int)] - }).(GetMonitoredResourceTypesFilterOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollection struct { - Items []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem `pulumi:"items"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service string `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs{...} -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs struct { - Items GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput `pulumi:"items"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service pulumi.StringInput `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionArgs{...} } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionInput +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) Items() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollection) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { - return v.Items - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { + return v.Name + }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput struct{ *pulumi.OutputState } +// The name of the service owning the credential. Example: stack-monitoring or dbmgmt +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { + return v.Service + }).(pulumi.StringOutput) +} -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollection)(nil)).Elem() +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { + return v.Source + }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() +} + +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollection { - return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollection)[vs[1].(int)] - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. - 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"` - // A friendly description. +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType string `pulumi:"credentialType"` + // The user-specified textual description of the credential. Description string `pulumi:"description"` - // Monitored resource type 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"` - // Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id string `pulumi:"id"` - // The metadata details for resource type. - Metadatas []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata `pulumi:"metadatas"` - // A filter to return monitored resource types that has the matching namespace. - MetricNamespace string `pulumi:"metricNamespace"` - // A filter to return monitored resource types that match exactly with the resource type name given. + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId string `pulumi:"keyId"` + // A filter to return resources that match exact resource name. Name string `pulumi:"name"` - // Resource Category to indicate the kind of resource type. - ResourceCategory string `pulumi:"resourceCategory"` - // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. - SourceType string `pulumi:"sourceType"` - // Lifecycle state of the monitored resource type. - 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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated string `pulumi:"timeCreated"` - // The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated string `pulumi:"timeUpdated"` + // List of monitored resource properties. + Properties []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` + // Monitored Resource Type. + Type string `pulumi:"type"` } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs{...} -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. - 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"` - // A friendly description. +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The user-specified textual description of the credential. Description pulumi.StringInput `pulumi:"description"` - // Monitored resource type display name. - 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"` - // Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id pulumi.StringInput `pulumi:"id"` - // The metadata details for resource type. - Metadatas GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput `pulumi:"metadatas"` - // A filter to return monitored resource types that has the matching namespace. - MetricNamespace pulumi.StringInput `pulumi:"metricNamespace"` - // A filter to return monitored resource types that match exactly with the resource type name given. + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId pulumi.StringInput `pulumi:"keyId"` + // A filter to return resources that match exact resource name. Name pulumi.StringInput `pulumi:"name"` - // Resource Category to indicate the kind of resource type. - ResourceCategory pulumi.StringInput `pulumi:"resourceCategory"` - // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. - SourceType pulumi.StringInput `pulumi:"sourceType"` - // Lifecycle state of the monitored resource type. - 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 date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // List of monitored resource properties. + Properties GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` + // Monitored Resource Type. + Type pulumi.StringInput `pulumi:"type"` } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArgs{...} } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemInput +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +} + +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(context.Background()) +} + +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) +} + +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +} + +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { + return o +} + +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { + return o +} + +// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. +// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. +// * PLAINTEXT - The credential properties will have credentials in plain text format. +// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { + return v.CredentialType + }).(pulumi.StringOutput) +} + +// The user-specified textual description of the credential. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { + return v.Description + }).(pulumi.StringOutput) +} + +// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) KeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { + return v.KeyId + }).(pulumi.StringOutput) +} + +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { return v.Name }).(pulumi.StringOutput) +} + +// List of monitored resource properties. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty { + return v.Properties + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(context.Background()) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { + return v.Source + }).(pulumi.StringOutput) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) +// Monitored Resource Type. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { return v.Type }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { return o } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) 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 GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { - return v.DefinedTags - }).(pulumi.StringMapOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) } -// A friendly description. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Description }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // Property Value. + Value string `pulumi:"value"` } -// Monitored resource type display name. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) -} +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput interface { + pulumi.Input -// 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 GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { - return v.FreeformTags - }).(pulumi.StringMapOutput) + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput } -// Monitored resource type identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Id }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` } -// The metadata details for resource type. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Metadatas() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata { - return v.Metadatas - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() } -// A filter to return monitored resource types that has the matching namespace. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) MetricNamespace() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.MetricNamespace }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(context.Background()) } -// A filter to return monitored resource types that match exactly with the resource type name given. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.Name }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) } -// Resource Category to indicate the kind of resource type. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) ResourceCategory() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { - return v.ResourceCategory - }).(pulumi.StringOutput) -} +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput interface { + pulumi.Input -// Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) SourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.SourceType }).(pulumi.StringOutput) + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput } -// Lifecycle state of the monitored resource type. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.State }).(pulumi.StringOutput) -} +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) map[string]string { - return v.SystemTags - }).(pulumi.StringMapOutput) +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() } -// The date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(context.Background()) } -// The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { - return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem)[vs[1].(int)] - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty) string { + return v.Name + }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata struct { - // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. - AgentProperties []string `pulumi:"agentProperties"` - // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. - // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. - Format string `pulumi:"format"` - // List of required properties for resource type. - RequiredProperties []string `pulumi:"requiredProperties"` - // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. - UniquePropertySets []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet `pulumi:"uniquePropertySets"` - // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. - ValidPropertiesForCreates []string `pulumi:"validPropertiesForCreates"` - // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. - ValidPropertiesForUpdates []string `pulumi:"validPropertiesForUpdates"` - // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` - ValidPropertyValues map[string]string `pulumi:"validPropertyValues"` +// Property Value. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty) string { + return v.Value + }).(pulumi.StringOutput) } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput` via: -// -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs{...} -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput interface { - pulumi.Input +type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput struct{ *pulumi.OutputState } - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput +func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs struct { - // List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. - AgentProperties pulumi.StringArrayInput `pulumi:"agentProperties"` - // ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. - // * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. - Format pulumi.StringInput `pulumi:"format"` - // List of required properties for resource type. - RequiredProperties pulumi.StringArrayInput `pulumi:"requiredProperties"` - // List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. - UniquePropertySets GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput `pulumi:"uniquePropertySets"` - // List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. - ValidPropertiesForCreates pulumi.StringArrayInput `pulumi:"validPropertiesForCreates"` - // List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. - ValidPropertiesForUpdates pulumi.StringArrayInput `pulumi:"validPropertiesForUpdates"` - // List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` - ValidPropertyValues pulumi.StringMapInput `pulumi:"validPropertyValues"` +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { + return o } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { + return o } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(context.Background()) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemAlias struct { + // Monitored Resource Alias Reference Source Credential. + Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential `pulumi:"credentials"` + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs{...} } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataInput +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs struct { + // Monitored Resource Alias Reference Source Credential. + Credentials GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput `pulumi:"credentials"` + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` +} -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) +} + +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray and GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput interface { + pulumi.Input + + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray []GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { - return o +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(context.Background()) } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { - return o +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) } -// List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) AgentProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { - return v.AgentProperties - }).(pulumi.StringArrayOutput) -} +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput struct{ *pulumi.OutputState } -// ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. -// * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) string { return v.Format }).(pulumi.StringOutput) +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() } -// List of required properties for resource type. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) RequiredProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { - return v.RequiredProperties - }).(pulumi.StringArrayOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { + return o } -// List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) UniquePropertySets() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet { - return v.UniquePropertySets - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { + return o } -// List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertiesForCreates() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { - return v.ValidPropertiesForCreates - }).(pulumi.StringArrayOutput) +// Monitored Resource Alias Reference Source Credential. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential { + return v.Credentials + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) } -// List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertiesForUpdates() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) []string { - return v.ValidPropertiesForUpdates - }).(pulumi.StringArrayOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) string { return v.Name }).(pulumi.StringOutput) } -// List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) ValidPropertyValues() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata) map[string]string { - return v.ValidPropertyValues - }).(pulumi.StringMapOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) string { return v.Source }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata { - return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata)[vs[1].(int)] - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAlias { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet struct { - // List of properties. - Properties []string `pulumi:"properties"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service string `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs{...} -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs struct { - // List of properties. - Properties pulumi.StringArrayInput `pulumi:"properties"` +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // The name of the service owning the credential. Example: stack-monitoring or dbmgmt + Service pulumi.StringInput `pulumi:"service"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) } -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput is an input type that accepts GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray and GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput` via: // -// GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray{ GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArgs{...} } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput interface { pulumi.Input - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput - ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetInput +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { - return i.ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArray) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { return o } -// List of properties. -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) Properties() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet) []string { - return v.Properties - }).(pulumi.StringArrayOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Name }).(pulumi.StringOutput) } -type GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput struct{ *pulumi.OutputState } +// The name of the service owning the credential. Example: stack-monitoring or dbmgmt +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Service }).(pulumi.StringOutput) +} -func (GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)(nil)).Elem() +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Source }).(pulumi.StringOutput) } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput() GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { +type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() +} + +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) ToGetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutputWithContext(ctx context.Context) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { return o } -func (o GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet { - return vs[0].([]GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet)[vs[1].(int)] - }).(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) } -type GetMonitoredResourcesFilter struct { +type GetMonitoredResourcesMonitoredResourceCollectionItemCredential struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType string `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description string `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId string `pulumi:"keyId"` // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` + Name string `pulumi:"name"` + // List of monitored resource properties. + Properties []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source string `pulumi:"source"` + // Monitored Resource Type. + Type string `pulumi:"type"` } -// GetMonitoredResourcesFilterInput is an input type that accepts GetMonitoredResourcesFilterArgs and GetMonitoredResourcesFilterOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesFilterInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput` via: // -// GetMonitoredResourcesFilterArgs{...} -type GetMonitoredResourcesFilterInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput interface { pulumi.Input - ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput - ToGetMonitoredResourcesFilterOutputWithContext(context.Context) GetMonitoredResourcesFilterOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput } -type GetMonitoredResourcesFilterArgs struct { +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs struct { + // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. + // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. + // * PLAINTEXT - The credential properties will have credentials in plain text format. + // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The user-specified textual description of the credential. + Description pulumi.StringInput `pulumi:"description"` + // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. + KeyId pulumi.StringInput `pulumi:"keyId"` // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` + Name pulumi.StringInput `pulumi:"name"` + // List of monitored resource properties. + Properties GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput `pulumi:"properties"` + // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. + Source pulumi.StringInput `pulumi:"source"` + // Monitored Resource Type. + Type pulumi.StringInput `pulumi:"type"` } -func (GetMonitoredResourcesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() } -func (i GetMonitoredResourcesFilterArgs) ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput { - return i.ToGetMonitoredResourcesFilterOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesFilterArgs) ToGetMonitoredResourcesFilterOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesFilterOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) } -// GetMonitoredResourcesFilterArrayInput is an input type that accepts GetMonitoredResourcesFilterArray and GetMonitoredResourcesFilterArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesFilterArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput` via: // -// GetMonitoredResourcesFilterArray{ GetMonitoredResourcesFilterArgs{...} } -type GetMonitoredResourcesFilterArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput interface { pulumi.Input - ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput - ToGetMonitoredResourcesFilterArrayOutputWithContext(context.Context) GetMonitoredResourcesFilterArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput } -type GetMonitoredResourcesFilterArray []GetMonitoredResourcesFilterInput +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput -func (GetMonitoredResourcesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() } -func (i GetMonitoredResourcesFilterArray) ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput { - return i.ToGetMonitoredResourcesFilterArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesFilterArray) ToGetMonitoredResourcesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesFilterArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) } -type GetMonitoredResourcesFilterOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesFilter)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() } -func (o GetMonitoredResourcesFilterOutput) ToGetMonitoredResourcesFilterOutput() GetMonitoredResourcesFilterOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { return o } -func (o GetMonitoredResourcesFilterOutput) ToGetMonitoredResourcesFilterOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { return o } +// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. +// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. +// * PLAINTEXT - The credential properties will have credentials in plain text format. +// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.CredentialType }).(pulumi.StringOutput) +} + +// The user-specified textual description of the credential. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Description }).(pulumi.StringOutput) +} + +// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) KeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.KeyId }).(pulumi.StringOutput) +} + // A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesFilter) string { return v.Name }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Name }).(pulumi.StringOutput) } -func (o GetMonitoredResourcesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMonitoredResourcesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +// List of monitored resource properties. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty { + return v.Properties + }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) } -func (o GetMonitoredResourcesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Source }).(pulumi.StringOutput) } -type GetMonitoredResourcesFilterArrayOutput struct{ *pulumi.OutputState } +// Monitored Resource Type. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Type }).(pulumi.StringOutput) +} -func (GetMonitoredResourcesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesFilter)(nil)).Elem() +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() } -func (o GetMonitoredResourcesFilterArrayOutput) ToGetMonitoredResourcesFilterArrayOutput() GetMonitoredResourcesFilterArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { return o } -func (o GetMonitoredResourcesFilterArrayOutput) ToGetMonitoredResourcesFilterArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesFilterArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { return o } -func (o GetMonitoredResourcesFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesFilter { - return vs[0].([]GetMonitoredResourcesFilter)[vs[1].(int)] - }).(GetMonitoredResourcesFilterOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemCredential { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) } -type GetMonitoredResourcesMonitoredResourceCollection struct { - Items []GetMonitoredResourcesMonitoredResourceCollectionItem `pulumi:"items"` +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // Property Value. + Value string `pulumi:"value"` } -// GetMonitoredResourcesMonitoredResourceCollectionInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionArgs and GetMonitoredResourcesMonitoredResourceCollectionOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput - ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput } -type GetMonitoredResourcesMonitoredResourceCollectionArgs struct { - Items GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput `pulumi:"items"` +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` } -func (GetMonitoredResourcesMonitoredResourceCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionArgs) ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionArgs) ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionArray and GetMonitoredResourcesMonitoredResourceCollectionArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionArray{ GetMonitoredResourcesMonitoredResourceCollectionArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionArray []GetMonitoredResourcesMonitoredResourceCollectionInput +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput -func (GetMonitoredResourcesMonitoredResourceCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionArray) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionArray) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) ToGetMonitoredResourcesMonitoredResourceCollectionOutput() GetMonitoredResourcesMonitoredResourceCollectionOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) ToGetMonitoredResourcesMonitoredResourceCollectionOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionOutput) Items() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollection) []GetMonitoredResourcesMonitoredResourceCollectionItem { - return v.Items - }).(GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty) string { return v.Name }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollection)(nil)).Elem() +// Property Value. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty) string { return v.Value }).(pulumi.StringOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { - return o -} +type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput struct{ *pulumi.OutputState } -func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionArrayOutput { - return o +func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollection { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollection)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { + return o } -type GetMonitoredResourcesMonitoredResourceCollectionItem struct { - AdditionalAliases []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias `pulumi:"additionalAliases"` - AdditionalCredentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential `pulumi:"additionalCredentials"` - // Monitored Resource Alias Credential Details - Aliases []GetMonitoredResourcesMonitoredResourceCollectionItemAlias `pulumi:"aliases"` - // The ID of the compartment in which data is listed. - CompartmentId string `pulumi:"compartmentId"` - // Monitored Resource Credential Details. - Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemCredential `pulumi:"credentials"` - // Connection details for the database. - DatabaseConnectionDetails []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` - // 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"` - // Monitored resource display name. - DisplayName string `pulumi:"displayName"` - // The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. - ExternalId string `pulumi:"externalId"` - ExternalResourceId string `pulumi:"externalResourceId"` - // 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"` - // Monitored resource host name. - HostName string `pulumi:"hostName"` - // Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id string `pulumi:"id"` - License string `pulumi:"license"` - // Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ManagementAgentId string `pulumi:"managementAgentId"` - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // List of monitored resource properties. - Properties []GetMonitoredResourcesMonitoredResourceCollectionItemProperty `pulumi:"properties"` - // Resource Category to indicate the kind of resource type. - ResourceCategory string `pulumi:"resourceCategory"` - // Time zone in the form of tz database canonical zone ID. - ResourceTimeZone string `pulumi:"resourceTimeZone"` - // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. - SourceType string `pulumi:"sourceType"` - // Lifecycle state of the monitored resource. - 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"` - // Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - TenantId string `pulumi:"tenantId"` - // The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated string `pulumi:"timeCreated"` - // The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated string `pulumi:"timeUpdated"` - // Monitored Resource Type. - Type string `pulumi:"type"` +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { + return o } -// GetMonitoredResourcesMonitoredResourceCollectionItemInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemArgs and GetMonitoredResourcesMonitoredResourceCollectionItemOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemInput` via: +func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) +} + +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail struct { + // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ConnectorId string `pulumi:"connectorId"` + // dbId of the database. + DbId string `pulumi:"dbId"` + // UniqueName used for database connection requests. + DbUniqueName string `pulumi:"dbUniqueName"` + // Listener Port number used for connection requests. + Port int `pulumi:"port"` + // Protocol used in DB connection string when connecting to external database service. + Protocol string `pulumi:"protocol"` + // Service name used for connection requests. + ServiceName string `pulumi:"serviceName"` + // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + SslSecretId string `pulumi:"sslSecretId"` +} + +// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs and GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemArgs struct { - AdditionalAliases GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput `pulumi:"additionalAliases"` - AdditionalCredentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput `pulumi:"additionalCredentials"` - // Monitored Resource Alias Credential Details - Aliases GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput `pulumi:"aliases"` - // The ID of the compartment in which data is listed. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // Monitored Resource Credential Details. - Credentials GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput `pulumi:"credentials"` - // Connection details for the database. - DatabaseConnectionDetails GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` - // 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"` - // Monitored resource display name. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. - ExternalId pulumi.StringInput `pulumi:"externalId"` - ExternalResourceId pulumi.StringInput `pulumi:"externalResourceId"` - // 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"` - // Monitored resource host name. - HostName pulumi.StringInput `pulumi:"hostName"` - // Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id pulumi.StringInput `pulumi:"id"` - License pulumi.StringInput `pulumi:"license"` - // Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ManagementAgentId pulumi.StringInput `pulumi:"managementAgentId"` - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // List of monitored resource properties. - Properties GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput `pulumi:"properties"` - // Resource Category to indicate the kind of resource type. - ResourceCategory pulumi.StringInput `pulumi:"resourceCategory"` - // Time zone in the form of tz database canonical zone ID. - ResourceTimeZone pulumi.StringInput `pulumi:"resourceTimeZone"` - // Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. - SourceType pulumi.StringInput `pulumi:"sourceType"` - // Lifecycle state of the monitored resource. - 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"` - // Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - TenantId pulumi.StringInput `pulumi:"tenantId"` - // The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - // Monitored Resource Type. - Type pulumi.StringInput `pulumi:"type"` +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs struct { + // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ConnectorId pulumi.StringInput `pulumi:"connectorId"` + // dbId of the database. + DbId pulumi.StringInput `pulumi:"dbId"` + // UniqueName used for database connection requests. + DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"` + // Listener Port number used for connection requests. + Port pulumi.IntInput `pulumi:"port"` + // Protocol used in DB connection string when connecting to external database service. + Protocol pulumi.StringInput `pulumi:"protocol"` + // Service name used for connection requests. + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemArray and GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput` via: +// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray and GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemArray{ GetMonitoredResourcesMonitoredResourceCollectionItemArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemArrayInput interface { +// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray{ GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemArray []GetMonitoredResourcesMonitoredResourceCollectionItemInput +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(context.Background()) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutput() GetMonitoredResourcesMonitoredResourceCollectionItemOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) AdditionalAliases() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias { - return v.AdditionalAliases - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) +// Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.ConnectorId + }).(pulumi.StringOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) AdditionalCredentials() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential { - return v.AdditionalCredentials - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) +// dbId of the database. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) DbId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.DbId + }).(pulumi.StringOutput) } -// Monitored Resource Alias Credential Details -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Aliases() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemAlias { - return v.Aliases - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) +// UniqueName used for database connection requests. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) DbUniqueName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.DbUniqueName + }).(pulumi.StringOutput) } -// The ID of the compartment in which data is listed. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +// Listener Port number used for connection requests. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) int { + return v.Port + }).(pulumi.IntOutput) } -// Monitored Resource Credential Details. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemCredential { - return v.Credentials - }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) +// Protocol used in DB connection string when connecting to external database service. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.Protocol + }).(pulumi.StringOutput) } -// Connection details for the database. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DatabaseConnectionDetails() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail { - return v.DatabaseConnectionDetails - }).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) +// Service name used for connection requests. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.ServiceName + }).(pulumi.StringOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +// SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) SslSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { + return v.SslSecretId + }).(pulumi.StringOutput) } -// Monitored resource display name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() } -// The external resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ExternalId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ExternalId }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { + return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ExternalResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ExternalResourceId }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { + return o } -// 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 GetMonitoredResourcesMonitoredResourceCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) } -// Monitored resource host name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) HostName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.HostName }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemProperty struct { + // A filter to return resources that match exact resource name. + Name string `pulumi:"name"` + // Property Value. + Value string `pulumi:"value"` } -// Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Id }).(pulumi.StringOutput) +// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs{...} +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput interface { + pulumi.Input + + ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) License() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.License }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs struct { + // A filter to return resources that match exact resource name. + Name pulumi.StringInput `pulumi:"name"` + // Property Value. + Value pulumi.StringInput `pulumi:"value"` } -// Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ManagementAgentId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ManagementAgentId }).(pulumi.StringOutput) +func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Name }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(context.Background()) } -// List of monitored resource properties. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) []GetMonitoredResourcesMonitoredResourceCollectionItemProperty { - return v.Properties - }).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) } -// Resource Category to indicate the kind of resource type. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ResourceCategory() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ResourceCategory }).(pulumi.StringOutput) +// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput values. +// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput` via: +// +// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs{...} } +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput interface { + pulumi.Input + + ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput + ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput } -// Time zone in the form of tz database canonical zone ID. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) ResourceTimeZone() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.ResourceTimeZone }).(pulumi.StringOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput + +func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() } -// Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) SourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.SourceType }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { + return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(context.Background()) } -// Lifecycle state of the monitored resource. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.State }).(pulumi.StringOutput) +func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) } -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput struct{ *pulumi.OutputState } + +func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() } -// Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { + return o } -// The date and time when the monitored resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { + return o } -// The date and time when the monitored resource was last updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +// A filter to return resources that match exact resource name. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemProperty) string { return v.Name }).(pulumi.StringOutput) } -// Monitored Resource Type. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItem) string { return v.Type }).(pulumi.StringOutput) +// Property Value. +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemProperty) string { return v.Value }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput struct{ *pulumi.OutputState } +type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItem)(nil)).Elem() +func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput { +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItem { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItem)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemOutput) +func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemProperty { + return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)[vs[1].(int)] + }).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias struct { - // Monitored Resource Alias Reference Source Credential. - Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential `pulumi:"credentials"` - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionCondition struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body string `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query string `pulumi:"query"` + // Severity - Critical/Warning + Severity string `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote bool `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl bool `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay string `pulumi:"triggerDelay"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput` via: +// GetMonitoringTemplateAlarmConditionConditionInput is an input type that accepts GetMonitoringTemplateAlarmConditionConditionArgs and GetMonitoringTemplateAlarmConditionConditionOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionConditionInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput interface { +// GetMonitoringTemplateAlarmConditionConditionArgs{...} +type GetMonitoringTemplateAlarmConditionConditionInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput + ToGetMonitoringTemplateAlarmConditionConditionOutput() GetMonitoringTemplateAlarmConditionConditionOutput + ToGetMonitoringTemplateAlarmConditionConditionOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionConditionOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs struct { - // Monitored Resource Alias Reference Source Credential. - Credentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput `pulumi:"credentials"` - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionConditionArgs struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body pulumi.StringInput `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query pulumi.StringInput `pulumi:"query"` + // Severity - Critical/Warning + Severity pulumi.StringInput `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote pulumi.BoolInput `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl pulumi.BoolInput `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay pulumi.StringInput `pulumi:"triggerDelay"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionCondition)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionConditionArgs) ToGetMonitoringTemplateAlarmConditionConditionOutput() GetMonitoringTemplateAlarmConditionConditionOutput { + return i.ToGetMonitoringTemplateAlarmConditionConditionOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) +func (i GetMonitoringTemplateAlarmConditionConditionArgs) ToGetMonitoringTemplateAlarmConditionConditionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionConditionOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput` via: +// GetMonitoringTemplateAlarmConditionConditionArrayInput is an input type that accepts GetMonitoringTemplateAlarmConditionConditionArray and GetMonitoringTemplateAlarmConditionConditionArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionConditionArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayInput interface { +// GetMonitoringTemplateAlarmConditionConditionArray{ GetMonitoringTemplateAlarmConditionConditionArgs{...} } +type GetMonitoringTemplateAlarmConditionConditionArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput + ToGetMonitoringTemplateAlarmConditionConditionArrayOutput() GetMonitoringTemplateAlarmConditionConditionArrayOutput + ToGetMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionConditionArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasInput +type GetMonitoringTemplateAlarmConditionConditionArray []GetMonitoringTemplateAlarmConditionConditionInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionCondition)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionConditionArray) ToGetMonitoringTemplateAlarmConditionConditionArrayOutput() GetMonitoringTemplateAlarmConditionConditionArrayOutput { + return i.ToGetMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) +func (i GetMonitoringTemplateAlarmConditionConditionArray) ToGetMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionConditionArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateAlarmConditionConditionOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionCondition)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { +func (o GetMonitoringTemplateAlarmConditionConditionOutput) ToGetMonitoringTemplateAlarmConditionConditionOutput() GetMonitoringTemplateAlarmConditionConditionOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { +func (o GetMonitoringTemplateAlarmConditionConditionOutput) ToGetMonitoringTemplateAlarmConditionConditionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionConditionOutput { return o } -// Monitored Resource Alias Reference Source Credential. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential { - return v.Credentials - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) +// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. +func (o GetMonitoringTemplateAlarmConditionConditionOutput) Body() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) string { return v.Body }).(pulumi.StringOutput) } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) string { return v.Name }).(pulumi.StringOutput) +// The Monitoring Query Language (MQL) expression to evaluate for the alarm. +func (o GetMonitoringTemplateAlarmConditionConditionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) string { return v.Query }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias) string { return v.Source }).(pulumi.StringOutput) +// Severity - Critical/Warning +func (o GetMonitoringTemplateAlarmConditionConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) string { return v.Severity }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput struct{ *pulumi.OutputState } +// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetMonitoringTemplateAlarmConditionConditionOutput) ShouldAppendNote() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) bool { return v.ShouldAppendNote }).(pulumi.BoolOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)(nil)).Elem() +// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetMonitoringTemplateAlarmConditionConditionOutput) ShouldAppendUrl() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) bool { return v.ShouldAppendUrl }).(pulumi.BoolOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { +// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". +func (o GetMonitoringTemplateAlarmConditionConditionOutput) TriggerDelay() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionCondition) string { return v.TriggerDelay }).(pulumi.StringOutput) +} + +type GetMonitoringTemplateAlarmConditionConditionArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplateAlarmConditionConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionCondition)(nil)).Elem() +} + +func (o GetMonitoringTemplateAlarmConditionConditionArrayOutput) ToGetMonitoringTemplateAlarmConditionConditionArrayOutput() GetMonitoringTemplateAlarmConditionConditionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput { +func (o GetMonitoringTemplateAlarmConditionConditionArrayOutput) ToGetMonitoringTemplateAlarmConditionConditionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionConditionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasOutput) +func (o GetMonitoringTemplateAlarmConditionConditionArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateAlarmConditionConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateAlarmConditionCondition { + return vs[0].([]GetMonitoringTemplateAlarmConditionCondition)[vs[1].(int)] + }).(GetMonitoringTemplateAlarmConditionConditionOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential struct { - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service string `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollection struct { + Items []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem `pulumi:"items"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput` via: +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput interface { +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs{...} +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs struct { - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service pulumi.StringInput `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs struct { + Items GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayInput `pulumi:"items"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollection)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput` via: +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayInput interface { +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray{ GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs{...} } +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialInput +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollection)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollection)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput { return o } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { - return v.Name - }).(pulumi.StringOutput) +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) Items() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollection) []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem { + return v.Items + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) } -// The name of the service owning the credential. Example: stack-monitoring or dbmgmt -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { - return v.Service - }).(pulumi.StringOutput) +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollection)(nil)).Elem() } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential) string { - return v.Source - }).(pulumi.StringOutput) +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput { + return o } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput struct{ *pulumi.OutputState } +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput { + return o +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)(nil)).Elem() +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateAlarmConditionsAlarmConditionCollection { + return vs[0].([]GetMonitoringTemplateAlarmConditionsAlarmConditionCollection)[vs[1].(int)] + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput) +} + +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem struct { + // The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType string `pulumi:"compositeType"` + // Type of defined monitoring template. + ConditionType string `pulumi:"conditionType"` + // Monitoring template conditions + Conditions []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition `pulumi:"conditions"` + // 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"` + // 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + Id string `pulumi:"id"` + // metricName filter. + MetricName string `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId string `pulumi:"monitoringTemplateId"` + // The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace string `pulumi:"namespace"` + // The resource type OCID. + ResourceType string `pulumi:"resourceType"` + // A filter to return alarm condition based on Lifecycle State. + State string `pulumi:"state"` + // A filter to return alarm condition based on input status. + Status string `pulumi:"status"` + // 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated string `pulumi:"timeCreated"` + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemInput` via: +// +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs{...} +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemInput interface { + pulumi.Input + + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { - return o +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs struct { + // The OCID of the composite resource type like EBS/PEOPLE_SOFT. + CompositeType pulumi.StringInput `pulumi:"compositeType"` + // Type of defined monitoring template. + ConditionType pulumi.StringInput `pulumi:"conditionType"` + // Monitoring template conditions + Conditions GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayInput `pulumi:"conditions"` + // 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"` + // 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + Id pulumi.StringInput `pulumi:"id"` + // metricName filter. + MetricName pulumi.StringInput `pulumi:"metricName"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + MonitoringTemplateId pulumi.StringInput `pulumi:"monitoringTemplateId"` + // The stack monitoring service or application emitting the metric that is evaluated by the alarm. + Namespace pulumi.StringInput `pulumi:"namespace"` + // The resource type OCID. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // A filter to return alarm condition based on Lifecycle State. + State pulumi.StringInput `pulumi:"state"` + // A filter to return alarm condition based on input status. + Status pulumi.StringInput `pulumi:"status"` + // 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 date and time the alarm condition was created. Format defined by RFC3339. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time the alarm condition was updated. Format defined by RFC3339. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput { - return o +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredentialOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutputWithContext(context.Background()) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType string `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description string `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId string `pulumi:"keyId"` - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // List of monitored resource properties. - Properties []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` - // Monitored Resource Type. - Type string `pulumi:"type"` +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput` via: +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput interface { +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray{ GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs{...} } +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType pulumi.StringInput `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description pulumi.StringInput `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId pulumi.StringInput `pulumi:"keyId"` - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // List of monitored resource properties. - Properties GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` - // Monitored Resource Type. - Type pulumi.StringInput `pulumi:"type"` -} +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput` via: -// -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayInput interface { - pulumi.Input +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput struct{ *pulumi.OutputState } - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem)(nil)).Elem() } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialInput +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput { + return o +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput { + return o } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(context.Background()) +// The OCID of the composite resource type like EBS/PEOPLE_SOFT. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { + return v.CompositeType + }).(pulumi.StringOutput) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) +// Type of defined monitoring template. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) ConditionType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { + return v.ConditionType + }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput struct{ *pulumi.OutputState } +// Monitoring template conditions +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) Conditions() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition { + return v.Conditions + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { - return o +// 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 GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { - return o +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. -// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. -// * PLAINTEXT - The credential properties will have credentials in plain text format. -// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) CredentialType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { - return v.CredentialType - }).(pulumi.StringOutput) +// metricName filter. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.MetricName }).(pulumi.StringOutput) } -// The user-specified textual description of the credential. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { - return v.Description +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) MonitoringTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { + return v.MonitoringTemplateId }).(pulumi.StringOutput) } -// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) KeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { - return v.KeyId - }).(pulumi.StringOutput) +// The stack monitoring service or application emitting the metric that is evaluated by the alarm. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.Namespace }).(pulumi.StringOutput) } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { return v.Name }).(pulumi.StringOutput) +// The resource type OCID. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) } -// List of monitored resource properties. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty { - return v.Properties - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) +// A filter to return alarm condition based on Lifecycle State. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.State }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { - return v.Source - }).(pulumi.StringOutput) +// A filter to return alarm condition based on input status. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.Status }).(pulumi.StringOutput) } -// Monitored Resource Type. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential) string { return v.Type }).(pulumi.StringOutput) +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput struct{ *pulumi.OutputState } +// The date and time the alarm condition was created. Format defined by RFC3339. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)(nil)).Elem() +// The date and time the alarm condition was updated. Format defined by RFC3339. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem)(nil)).Elem() +} + +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialOutput) +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem { + return vs[0].([]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem)[vs[1].(int)] + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty struct { - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body string `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query string `pulumi:"query"` + // Severity - Critical/Warning + Severity string `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote bool `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl bool `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay string `pulumi:"triggerDelay"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput` via: +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput interface { +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs{...} +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs struct { - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs struct { + // The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + Body pulumi.StringInput `pulumi:"body"` + // The Monitoring Query Language (MQL) expression to evaluate for the alarm. + Query pulumi.StringInput `pulumi:"query"` + // Severity - Critical/Warning + Severity pulumi.StringInput `pulumi:"severity"` + // Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendNote pulumi.BoolInput `pulumi:"shouldAppendNote"` + // Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + ShouldAppendUrl pulumi.BoolInput `pulumi:"shouldAppendUrl"` + // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + TriggerDelay pulumi.StringInput `pulumi:"triggerDelay"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput` via: +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayInput is an input type that accepts GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray and GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayInput interface { +// GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray{ GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs{...} } +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput + ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyInput +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray []GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput { + return i.ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) +func (i GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput { return o } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty) string { - return v.Name +// The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) Body() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) string { + return v.Body }).(pulumi.StringOutput) } -// Property Value. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty) string { - return v.Value +// The Monitoring Query Language (MQL) expression to evaluate for the alarm. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) string { + return v.Query }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput struct{ *pulumi.OutputState } +// Severity - Critical/Warning +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) string { + return v.Severity + }).(pulumi.StringOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)(nil)).Elem() +// Whether the note need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) ShouldAppendNote() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) bool { + return v.ShouldAppendNote + }).(pulumi.BoolOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { +// Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) ShouldAppendUrl() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) bool { + return v.ShouldAppendUrl + }).(pulumi.BoolOutput) +} + +// The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) TriggerDelay() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition) string { + return v.TriggerDelay + }).(pulumi.StringOutput) +} + +type GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition)(nil)).Elem() +} + +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput() GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput { +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) ToGetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialPropertyOutput) +func (o GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition { + return vs[0].([]GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition)[vs[1].(int)] + }).(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAlias struct { - // Monitored Resource Alias Reference Source Credential. - Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential `pulumi:"credentials"` - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput` via: +// GetMonitoringTemplateAlarmConditionsFilterInput is an input type that accepts GetMonitoringTemplateAlarmConditionsFilterArgs and GetMonitoringTemplateAlarmConditionsFilterOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsFilterInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput interface { +// GetMonitoringTemplateAlarmConditionsFilterArgs{...} +type GetMonitoringTemplateAlarmConditionsFilterInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput + ToGetMonitoringTemplateAlarmConditionsFilterOutput() GetMonitoringTemplateAlarmConditionsFilterOutput + ToGetMonitoringTemplateAlarmConditionsFilterOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsFilterOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs struct { - // Monitored Resource Alias Reference Source Credential. - Credentials GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput `pulumi:"credentials"` - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +type GetMonitoringTemplateAlarmConditionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsFilter)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsFilterArgs) ToGetMonitoringTemplateAlarmConditionsFilterOutput() GetMonitoringTemplateAlarmConditionsFilterOutput { + return i.ToGetMonitoringTemplateAlarmConditionsFilterOutputWithContext(context.Background()) } - -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) + +func (i GetMonitoringTemplateAlarmConditionsFilterArgs) ToGetMonitoringTemplateAlarmConditionsFilterOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsFilterOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray and GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput` via: +// GetMonitoringTemplateAlarmConditionsFilterArrayInput is an input type that accepts GetMonitoringTemplateAlarmConditionsFilterArray and GetMonitoringTemplateAlarmConditionsFilterArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateAlarmConditionsFilterArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAliasArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayInput interface { +// GetMonitoringTemplateAlarmConditionsFilterArray{ GetMonitoringTemplateAlarmConditionsFilterArgs{...} } +type GetMonitoringTemplateAlarmConditionsFilterArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput + ToGetMonitoringTemplateAlarmConditionsFilterArrayOutput() GetMonitoringTemplateAlarmConditionsFilterArrayOutput + ToGetMonitoringTemplateAlarmConditionsFilterArrayOutputWithContext(context.Context) GetMonitoringTemplateAlarmConditionsFilterArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray []GetMonitoredResourcesMonitoredResourceCollectionItemAliasInput +type GetMonitoringTemplateAlarmConditionsFilterArray []GetMonitoringTemplateAlarmConditionsFilterInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsFilter)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplateAlarmConditionsFilterArray) ToGetMonitoringTemplateAlarmConditionsFilterArrayOutput() GetMonitoringTemplateAlarmConditionsFilterArrayOutput { + return i.ToGetMonitoringTemplateAlarmConditionsFilterArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) +func (i GetMonitoringTemplateAlarmConditionsFilterArray) ToGetMonitoringTemplateAlarmConditionsFilterArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateAlarmConditionsFilterArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateAlarmConditionsFilterOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsFilter)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { +func (o GetMonitoringTemplateAlarmConditionsFilterOutput) ToGetMonitoringTemplateAlarmConditionsFilterOutput() GetMonitoringTemplateAlarmConditionsFilterOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { +func (o GetMonitoringTemplateAlarmConditionsFilterOutput) ToGetMonitoringTemplateAlarmConditionsFilterOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsFilterOutput { return o } -// Monitored Resource Alias Reference Source Credential. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Credentials() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential { - return v.Credentials - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) +func (o GetMonitoringTemplateAlarmConditionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsFilter) string { return v.Name }).(pulumi.StringOutput) } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) string { return v.Name }).(pulumi.StringOutput) +func (o GetMonitoringTemplateAlarmConditionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAlias) string { return v.Source }).(pulumi.StringOutput) +func (o GetMonitoringTemplateAlarmConditionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplateAlarmConditionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateAlarmConditionsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)(nil)).Elem() +func (GetMonitoringTemplateAlarmConditionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateAlarmConditionsFilter)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { +func (o GetMonitoringTemplateAlarmConditionsFilterArrayOutput) ToGetMonitoringTemplateAlarmConditionsFilterArrayOutput() GetMonitoringTemplateAlarmConditionsFilterArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput { +func (o GetMonitoringTemplateAlarmConditionsFilterArrayOutput) ToGetMonitoringTemplateAlarmConditionsFilterArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateAlarmConditionsFilterArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAlias { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAlias)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasOutput) +func (o GetMonitoringTemplateAlarmConditionsFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateAlarmConditionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateAlarmConditionsFilter { + return vs[0].([]GetMonitoringTemplateAlarmConditionsFilter)[vs[1].(int)] + }).(GetMonitoringTemplateAlarmConditionsFilterOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential struct { - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service string `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` +type GetMonitoringTemplateMember struct { + // The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType string `pulumi:"compositeType"` + // The OCID of the resourceInstance/resourceType/resourceGroup + Id string `pulumi:"id"` + // Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type string `pulumi:"type"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput` via: +// GetMonitoringTemplateMemberInput is an input type that accepts GetMonitoringTemplateMemberArgs and GetMonitoringTemplateMemberOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateMemberInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput interface { +// GetMonitoringTemplateMemberArgs{...} +type GetMonitoringTemplateMemberInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput + ToGetMonitoringTemplateMemberOutput() GetMonitoringTemplateMemberOutput + ToGetMonitoringTemplateMemberOutputWithContext(context.Context) GetMonitoringTemplateMemberOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs struct { - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // The name of the service owning the credential. Example: stack-monitoring or dbmgmt - Service pulumi.StringInput `pulumi:"service"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` +type GetMonitoringTemplateMemberArgs struct { + // The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType pulumi.StringInput `pulumi:"compositeType"` + // The OCID of the resourceInstance/resourceType/resourceGroup + Id pulumi.StringInput `pulumi:"id"` + // Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type pulumi.StringInput `pulumi:"type"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateMember)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(context.Background()) +func (i GetMonitoringTemplateMemberArgs) ToGetMonitoringTemplateMemberOutput() GetMonitoringTemplateMemberOutput { + return i.ToGetMonitoringTemplateMemberOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) +func (i GetMonitoringTemplateMemberArgs) ToGetMonitoringTemplateMemberOutputWithContext(ctx context.Context) GetMonitoringTemplateMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateMemberOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput` via: +// GetMonitoringTemplateMemberArrayInput is an input type that accepts GetMonitoringTemplateMemberArray and GetMonitoringTemplateMemberArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplateMemberArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayInput interface { +// GetMonitoringTemplateMemberArray{ GetMonitoringTemplateMemberArgs{...} } +type GetMonitoringTemplateMemberArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput + ToGetMonitoringTemplateMemberArrayOutput() GetMonitoringTemplateMemberArrayOutput + ToGetMonitoringTemplateMemberArrayOutputWithContext(context.Context) GetMonitoringTemplateMemberArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialInput +type GetMonitoringTemplateMemberArray []GetMonitoringTemplateMemberInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateMember)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplateMemberArray) ToGetMonitoringTemplateMemberArrayOutput() GetMonitoringTemplateMemberArrayOutput { + return i.ToGetMonitoringTemplateMemberArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) +func (i GetMonitoringTemplateMemberArray) ToGetMonitoringTemplateMemberArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplateMemberArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateMemberOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplateMember)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { +func (o GetMonitoringTemplateMemberOutput) ToGetMonitoringTemplateMemberOutput() GetMonitoringTemplateMemberOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { +func (o GetMonitoringTemplateMemberOutput) ToGetMonitoringTemplateMemberOutputWithContext(ctx context.Context) GetMonitoringTemplateMemberOutput { return o } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Name }).(pulumi.StringOutput) +// The OCID of the composite resource type like EBS or Peoplesoft. +func (o GetMonitoringTemplateMemberOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateMember) string { return v.CompositeType }).(pulumi.StringOutput) } -// The name of the service owning the credential. Example: stack-monitoring or dbmgmt -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Service }).(pulumi.StringOutput) +// The OCID of the resourceInstance/resourceType/resourceGroup +func (o GetMonitoringTemplateMemberOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateMember) string { return v.Id }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential) string { return v.Source }).(pulumi.StringOutput) +// Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP +func (o GetMonitoringTemplateMemberOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplateMember) string { return v.Type }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplateMemberArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)(nil)).Elem() +func (GetMonitoringTemplateMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplateMember)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { +func (o GetMonitoringTemplateMemberArrayOutput) ToGetMonitoringTemplateMemberArrayOutput() GetMonitoringTemplateMemberArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput { +func (o GetMonitoringTemplateMemberArrayOutput) ToGetMonitoringTemplateMemberArrayOutputWithContext(ctx context.Context) GetMonitoringTemplateMemberArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredentialOutput) +func (o GetMonitoringTemplateMemberArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplateMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplateMember { + return vs[0].([]GetMonitoringTemplateMember)[vs[1].(int)] + }).(GetMonitoringTemplateMemberOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredential struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType string `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description string `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId string `pulumi:"keyId"` - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // List of monitored resource properties. - Properties []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source string `pulumi:"source"` - // Monitored Resource Type. - Type string `pulumi:"type"` +type GetMonitoringTemplatesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput` via: +// GetMonitoringTemplatesFilterInput is an input type that accepts GetMonitoringTemplatesFilterArgs and GetMonitoringTemplatesFilterOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesFilterInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput interface { +// GetMonitoringTemplatesFilterArgs{...} +type GetMonitoringTemplatesFilterInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput + ToGetMonitoringTemplatesFilterOutput() GetMonitoringTemplatesFilterOutput + ToGetMonitoringTemplatesFilterOutputWithContext(context.Context) GetMonitoringTemplatesFilterOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs struct { - // Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. - // * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. - // * PLAINTEXT - The credential properties will have credentials in plain text format. - // * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. - CredentialType pulumi.StringInput `pulumi:"credentialType"` - // The user-specified textual description of the credential. - Description pulumi.StringInput `pulumi:"description"` - // The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. - KeyId pulumi.StringInput `pulumi:"keyId"` - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // List of monitored resource properties. - Properties GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput `pulumi:"properties"` - // The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Source pulumi.StringInput `pulumi:"source"` - // Monitored Resource Type. - Type pulumi.StringInput `pulumi:"type"` +type GetMonitoringTemplatesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() +func (GetMonitoringTemplatesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesFilter)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesFilterArgs) ToGetMonitoringTemplatesFilterOutput() GetMonitoringTemplatesFilterOutput { + return i.ToGetMonitoringTemplatesFilterOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) +func (i GetMonitoringTemplatesFilterArgs) ToGetMonitoringTemplatesFilterOutputWithContext(ctx context.Context) GetMonitoringTemplatesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesFilterOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput` via: +// GetMonitoringTemplatesFilterArrayInput is an input type that accepts GetMonitoringTemplatesFilterArray and GetMonitoringTemplatesFilterArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesFilterArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray{ GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayInput interface { +// GetMonitoringTemplatesFilterArray{ GetMonitoringTemplatesFilterArgs{...} } +type GetMonitoringTemplatesFilterArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput + ToGetMonitoringTemplatesFilterArrayOutput() GetMonitoringTemplatesFilterArrayOutput + ToGetMonitoringTemplatesFilterArrayOutputWithContext(context.Context) GetMonitoringTemplatesFilterArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialInput +type GetMonitoringTemplatesFilterArray []GetMonitoringTemplatesFilterInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() +func (GetMonitoringTemplatesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesFilter)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesFilterArray) ToGetMonitoringTemplatesFilterArrayOutput() GetMonitoringTemplatesFilterArrayOutput { + return i.ToGetMonitoringTemplatesFilterArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) +func (i GetMonitoringTemplatesFilterArray) ToGetMonitoringTemplatesFilterArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesFilterArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesFilterOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() +func (GetMonitoringTemplatesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesFilter)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { +func (o GetMonitoringTemplatesFilterOutput) ToGetMonitoringTemplatesFilterOutput() GetMonitoringTemplatesFilterOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { +func (o GetMonitoringTemplatesFilterOutput) ToGetMonitoringTemplatesFilterOutputWithContext(ctx context.Context) GetMonitoringTemplatesFilterOutput { return o } -// Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. -// * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. -// * PLAINTEXT - The credential properties will have credentials in plain text format. -// * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) CredentialType() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.CredentialType }).(pulumi.StringOutput) -} - -// The user-specified textual description of the credential. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Description }).(pulumi.StringOutput) -} - -// The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) KeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.KeyId }).(pulumi.StringOutput) -} - -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Name }).(pulumi.StringOutput) -} - -// List of monitored resource properties. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Properties() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty { - return v.Properties - }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) +func (o GetMonitoringTemplatesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesFilter) string { return v.Name }).(pulumi.StringOutput) } -// The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Source }).(pulumi.StringOutput) +func (o GetMonitoringTemplatesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMonitoringTemplatesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -// Monitored Resource Type. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredential) string { return v.Type }).(pulumi.StringOutput) +func (o GetMonitoringTemplatesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesFilterArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)(nil)).Elem() +func (GetMonitoringTemplatesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesFilter)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { +func (o GetMonitoringTemplatesFilterArrayOutput) ToGetMonitoringTemplatesFilterArrayOutput() GetMonitoringTemplatesFilterArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput { +func (o GetMonitoringTemplatesFilterArrayOutput) ToGetMonitoringTemplatesFilterArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesFilterArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemCredential { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemCredential)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialOutput) +func (o GetMonitoringTemplatesFilterArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplatesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplatesFilter { + return vs[0].([]GetMonitoringTemplatesFilter)[vs[1].(int)] + }).(GetMonitoringTemplatesFilterOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty struct { - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoringTemplatesMonitoringTemplateCollection struct { + Items []GetMonitoringTemplatesMonitoringTemplateCollectionItem `pulumi:"items"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionArgs and GetMonitoringTemplatesMonitoringTemplateCollectionOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionArgs{...} +type GetMonitoringTemplatesMonitoringTemplateCollectionInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionOutput() GetMonitoringTemplatesMonitoringTemplateCollectionOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs struct { - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoringTemplatesMonitoringTemplateCollectionArgs struct { + Items GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayInput `pulumi:"items"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollection)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionOutput() GetMonitoringTemplatesMonitoringTemplateCollectionOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionArrayInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionArray and GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionArray{ GetMonitoringTemplatesMonitoringTemplateCollectionArgs{...} } +type GetMonitoringTemplatesMonitoringTemplateCollectionArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyInput +type GetMonitoringTemplatesMonitoringTemplateCollectionArray []GetMonitoringTemplatesMonitoringTemplateCollectionInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollection)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutputWithContext(context.Background()) } - -func (i GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) + +func (i GetMonitoringTemplatesMonitoringTemplateCollectionArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesMonitoringTemplateCollectionOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollection)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionOutput() GetMonitoringTemplatesMonitoringTemplateCollectionOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionOutput { return o } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty) string { return v.Name }).(pulumi.StringOutput) -} - -// Property Value. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty) string { return v.Value }).(pulumi.StringOutput) +func (o GetMonitoringTemplatesMonitoringTemplateCollectionOutput) Items() GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollection) []GetMonitoringTemplatesMonitoringTemplateCollectionItem { + return v.Items + }).(GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollection)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyOutput) +func (o GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplatesMonitoringTemplateCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplatesMonitoringTemplateCollection { + return vs[0].([]GetMonitoringTemplatesMonitoringTemplateCollection)[vs[1].(int)] + }).(GetMonitoringTemplatesMonitoringTemplateCollectionOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail struct { - // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ConnectorId string `pulumi:"connectorId"` - // dbId of the database. - DbId string `pulumi:"dbId"` - // UniqueName used for database connection requests. - DbUniqueName string `pulumi:"dbUniqueName"` - // Listener Port number used for connection requests. - Port int `pulumi:"port"` - // Protocol used in DB connection string when connecting to external database service. - Protocol string `pulumi:"protocol"` - // Service name used for connection requests. - ServiceName string `pulumi:"serviceName"` - // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - SslSecretId string `pulumi:"sslSecretId"` +type GetMonitoringTemplatesMonitoringTemplateCollectionItem struct { + // The ID of the compartment in which data is listed. + 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"` + // A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description string `pulumi:"description"` + // A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + Destinations []string `pulumi:"destinations"` + // A filter to return monitoring template based on 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 OCID of the resourceInstance/resourceType/resourceGroup + Id string `pulumi:"id"` + // Whether the alarm is enabled or disabled. Default value is enabled. + IsAlarmsEnabled bool `pulumi:"isAlarmsEnabled"` + // Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled bool `pulumi:"isSplitNotificationEnabled"` + // List of members of this monitoring template. + Members []GetMonitoringTemplatesMonitoringTemplateCollectionItemMember `pulumi:"members"` + // The format to use for alarm notifications. + MessageFormat string `pulumi:"messageFormat"` + // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + RepeatNotificationDuration string `pulumi:"repeatNotificationDuration"` + // A filter to return monitoring template based on Lifecycle State + State string `pulumi:"state"` + // A filter to return monitoring template based on input status + Status string `pulumi:"status"` + // 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"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId string `pulumi:"tenantId"` + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated string `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated string `pulumi:"timeUpdated"` + // Total Alarm Conditions + TotalAlarmConditions float64 `pulumi:"totalAlarmConditions"` + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions float64 `pulumi:"totalAppliedAlarmConditions"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs and GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionItemInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs and GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionItemInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs{...} +type GetMonitoringTemplatesMonitoringTemplateCollectionItemInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs struct { - // Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - ConnectorId pulumi.StringInput `pulumi:"connectorId"` - // dbId of the database. - DbId pulumi.StringInput `pulumi:"dbId"` - // UniqueName used for database connection requests. - DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"` - // Listener Port number used for connection requests. - Port pulumi.IntInput `pulumi:"port"` - // Protocol used in DB connection string when connecting to external database service. - Protocol pulumi.StringInput `pulumi:"protocol"` - // Service name used for connection requests. - ServiceName pulumi.StringInput `pulumi:"serviceName"` - // SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` +type GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs struct { + // The ID of the compartment in which data is listed. + 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"` + // A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + Description pulumi.StringInput `pulumi:"description"` + // A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + Destinations pulumi.StringArrayInput `pulumi:"destinations"` + // A filter to return monitoring template based on name. + 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 OCID of the resourceInstance/resourceType/resourceGroup + Id pulumi.StringInput `pulumi:"id"` + // Whether the alarm is enabled or disabled. Default value is enabled. + IsAlarmsEnabled pulumi.BoolInput `pulumi:"isAlarmsEnabled"` + // Whether the alarm notification is enabled or disabled, it will be Enabled by default. + IsSplitNotificationEnabled pulumi.BoolInput `pulumi:"isSplitNotificationEnabled"` + // List of members of this monitoring template. + Members GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayInput `pulumi:"members"` + // The format to use for alarm notifications. + MessageFormat pulumi.StringInput `pulumi:"messageFormat"` + // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + RepeatNotificationDuration pulumi.StringInput `pulumi:"repeatNotificationDuration"` + // A filter to return monitoring template based on Lifecycle State + State pulumi.StringInput `pulumi:"state"` + // A filter to return monitoring template based on input status + Status pulumi.StringInput `pulumi:"status"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + TenantId pulumi.StringInput `pulumi:"tenantId"` + // The date and time the monitoringTemplate was created. Format defined by RFC3339. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // Total Alarm Conditions + TotalAlarmConditions pulumi.Float64Input `pulumi:"totalAlarmConditions"` + // Total Applied Alarm Conditions + TotalAppliedAlarmConditions pulumi.Float64Input `pulumi:"totalAppliedAlarmConditions"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray and GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionItemArray and GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray{ GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionItemArray{ GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs{...} } +type GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailInput +type GetMonitoringTemplatesMonitoringTemplateCollectionItemArray []GetMonitoringTemplatesMonitoringTemplateCollectionItemInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollectionItem)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItem)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput { return o } -// Database connector Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.ConnectorId - }).(pulumi.StringOutput) +// The ID of the compartment in which data is listed. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -// dbId of the database. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) DbId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.DbId - }).(pulumi.StringOutput) +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) } -// UniqueName used for database connection requests. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) DbUniqueName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.DbUniqueName - }).(pulumi.StringOutput) +// A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.Description }).(pulumi.StringOutput) } -// Listener Port number used for connection requests. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) int { - return v.Port - }).(pulumi.IntOutput) +// A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) Destinations() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) []string { return v.Destinations }).(pulumi.StringArrayOutput) } -// Protocol used in DB connection string when connecting to external database service. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.Protocol - }).(pulumi.StringOutput) +// A filter to return monitoring template based on name. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) } -// Service name used for connection requests. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.ServiceName - }).(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 GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) } -// SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) SslSecretId() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail) string { - return v.SslSecretId +// The OCID of the resourceInstance/resourceType/resourceGroup +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Whether the alarm is enabled or disabled. Default value is enabled. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) IsAlarmsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) bool { return v.IsAlarmsEnabled }).(pulumi.BoolOutput) +} + +// Whether the alarm notification is enabled or disabled, it will be Enabled by default. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) IsSplitNotificationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) bool { + return v.IsSplitNotificationEnabled + }).(pulumi.BoolOutput) +} + +// List of members of this monitoring template. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) Members() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) []GetMonitoringTemplatesMonitoringTemplateCollectionItemMember { + return v.Members + }).(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) +} + +// The format to use for alarm notifications. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) MessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.MessageFormat }).(pulumi.StringOutput) +} + +// The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) RepeatNotificationDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { + return v.RepeatNotificationDuration }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } +// A filter to return monitoring template based on Lifecycle State +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.State }).(pulumi.StringOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)(nil)).Elem() +// A filter to return monitoring template based on input status +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.Status }).(pulumi.StringOutput) } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.TenantId }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was created. Format defined by RFC3339. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the monitoringTemplate was last updated. Format defined by RFC3339. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Total Alarm Conditions +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) TotalAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) float64 { return v.TotalAlarmConditions }).(pulumi.Float64Output) +} + +// Total Applied Alarm Conditions +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) TotalAppliedAlarmConditions() pulumi.Float64Output { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItem) float64 { + return v.TotalAppliedAlarmConditions + }).(pulumi.Float64Output) +} + +type GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollectionItem)(nil)).Elem() +} + +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailOutput) +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplatesMonitoringTemplateCollectionItem { + return vs[0].([]GetMonitoringTemplatesMonitoringTemplateCollectionItem)[vs[1].(int)] + }).(GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemProperty struct { - // A filter to return resources that match exact resource name. - Name string `pulumi:"name"` - // Property Value. - Value string `pulumi:"value"` +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMember struct { + // The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType string `pulumi:"compositeType"` + // The OCID of the resourceInstance/resourceType/resourceGroup + Id string `pulumi:"id"` + // Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type string `pulumi:"type"` } -// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs and GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs and GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs{...} -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs{...} +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs struct { - // A filter to return resources that match exact resource name. - Name pulumi.StringInput `pulumi:"name"` - // Property Value. - Value pulumi.StringInput `pulumi:"value"` +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs struct { + // The OCID of the composite resource type like EBS or Peoplesoft. + CompositeType pulumi.StringInput `pulumi:"compositeType"` + // The OCID of the resourceInstance/resourceType/resourceGroup + Id pulumi.StringInput `pulumi:"id"` + // Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + Type pulumi.StringInput `pulumi:"type"` } -func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemMember)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) } -// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput is an input type that accepts GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray and GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput values. -// You can construct a concrete instance of `GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput` via: +// GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayInput is an input type that accepts GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray and GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput values. +// You can construct a concrete instance of `GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayInput` via: // -// GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray{ GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs{...} } -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput interface { +// GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray{ GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs{...} } +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayInput interface { pulumi.Input - ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput - ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput + ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutputWithContext(context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput } -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray []GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray []GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberInput -func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollectionItemMember)(nil)).Elem() } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { - return i.ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(context.Background()) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput { + return i.ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutputWithContext(context.Background()) } -func (i GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) +func (i GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput struct{ *pulumi.OutputState } +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput struct{ *pulumi.OutputState } -func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemMember)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput { return o } -// A filter to return resources that match exact resource name. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemProperty) string { return v.Name }).(pulumi.StringOutput) +// The OCID of the composite resource type like EBS or Peoplesoft. +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) CompositeType() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItemMember) string { return v.CompositeType }).(pulumi.StringOutput) } -// Property Value. -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetMonitoredResourcesMonitoredResourceCollectionItemProperty) string { return v.Value }).(pulumi.StringOutput) +// The OCID of the resourceInstance/resourceType/resourceGroup +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItemMember) string { return v.Id }).(pulumi.StringOutput) } -type GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput struct{ *pulumi.OutputState } +// Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitoringTemplatesMonitoringTemplateCollectionItemMember) string { return v.Type }).(pulumi.StringOutput) +} -func (GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)(nil)).Elem() +type GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput struct{ *pulumi.OutputState } + +func (GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMonitoringTemplatesMonitoringTemplateCollectionItemMember)(nil)).Elem() } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput() GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput() GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) ToGetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput { +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) ToGetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutputWithContext(ctx context.Context) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput { return o } -func (o GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput) Index(i pulumi.IntInput) GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoredResourcesMonitoredResourceCollectionItemProperty { - return vs[0].([]GetMonitoredResourcesMonitoredResourceCollectionItemProperty)[vs[1].(int)] - }).(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput) +func (o GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput) Index(i pulumi.IntInput) GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMonitoringTemplatesMonitoringTemplateCollectionItemMember { + return vs[0].([]GetMonitoringTemplatesMonitoringTemplateCollectionItemMember)[vs[1].(int)] + }).(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput) } type GetProcessSetSpecification struct { @@ -18417,6 +20834,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MonitoredResourcesSearchItemArrayInput)(nil)).Elem(), MonitoredResourcesSearchItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MonitoredResourcesSearchItemPropertyInput)(nil)).Elem(), MonitoredResourcesSearchItemPropertyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MonitoredResourcesSearchItemPropertyArrayInput)(nil)).Elem(), MonitoredResourcesSearchItemPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateAlarmConditionConditionInput)(nil)).Elem(), MonitoringTemplateAlarmConditionConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateAlarmConditionConditionArrayInput)(nil)).Elem(), MonitoringTemplateAlarmConditionConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMemberInput)(nil)).Elem(), MonitoringTemplateMemberArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MonitoringTemplateMemberArrayInput)(nil)).Elem(), MonitoringTemplateMemberArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ProcessSetSpecificationInput)(nil)).Elem(), ProcessSetSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ProcessSetSpecificationPtrInput)(nil)).Elem(), ProcessSetSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ProcessSetSpecificationItemInput)(nil)).Elem(), ProcessSetSpecificationItemArgs{}) @@ -18443,6 +20864,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsConfigCollectionItemArrayInput)(nil)).Elem(), GetConfigsConfigCollectionItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsFilterInput)(nil)).Elem(), GetConfigsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsFilterArrayInput)(nil)).Elem(), GetConfigsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayInput)(nil)).Elem(), GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesFilterInput)(nil)).Elem(), GetDefinedMonitoringTemplatesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDefinedMonitoringTemplatesFilterArrayInput)(nil)).Elem(), GetDefinedMonitoringTemplatesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailInput)(nil)).Elem(), GetDiscoveryJobDiscoveryDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailArrayInput)(nil)).Elem(), GetDiscoveryJobDiscoveryDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDiscoveryJobDiscoveryDetailCredentialInput)(nil)).Elem(), GetDiscoveryJobDiscoveryDetailCredentialArgs{}) @@ -18585,6 +21016,26 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayInput)(nil)).Elem(), GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemPropertyInput)(nil)).Elem(), GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayInput)(nil)).Elem(), GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionConditionInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionConditionArrayInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsFilterInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateAlarmConditionsFilterArrayInput)(nil)).Elem(), GetMonitoringTemplateAlarmConditionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateMemberInput)(nil)).Elem(), GetMonitoringTemplateMemberArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplateMemberArrayInput)(nil)).Elem(), GetMonitoringTemplateMemberArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesFilterInput)(nil)).Elem(), GetMonitoringTemplatesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesFilterArrayInput)(nil)).Elem(), GetMonitoringTemplatesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionArrayInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayInput)(nil)).Elem(), GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProcessSetSpecificationInput)(nil)).Elem(), GetProcessSetSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProcessSetSpecificationArrayInput)(nil)).Elem(), GetProcessSetSpecificationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProcessSetSpecificationItemInput)(nil)).Elem(), GetProcessSetSpecificationItemArgs{}) @@ -18671,6 +21122,10 @@ func init() { pulumi.RegisterOutputType(MonitoredResourcesSearchItemArrayOutput{}) pulumi.RegisterOutputType(MonitoredResourcesSearchItemPropertyOutput{}) pulumi.RegisterOutputType(MonitoredResourcesSearchItemPropertyArrayOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateAlarmConditionConditionOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateAlarmConditionConditionArrayOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateMemberOutput{}) + pulumi.RegisterOutputType(MonitoringTemplateMemberArrayOutput{}) pulumi.RegisterOutputType(ProcessSetSpecificationOutput{}) pulumi.RegisterOutputType(ProcessSetSpecificationPtrOutput{}) pulumi.RegisterOutputType(ProcessSetSpecificationItemOutput{}) @@ -18697,6 +21152,16 @@ func init() { pulumi.RegisterOutputType(GetConfigsConfigCollectionItemArrayOutput{}) pulumi.RegisterOutputType(GetConfigsFilterOutput{}) pulumi.RegisterOutputType(GetConfigsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArrayOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArrayOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesFilterOutput{}) + pulumi.RegisterOutputType(GetDefinedMonitoringTemplatesFilterArrayOutput{}) pulumi.RegisterOutputType(GetDiscoveryJobDiscoveryDetailOutput{}) pulumi.RegisterOutputType(GetDiscoveryJobDiscoveryDetailArrayOutput{}) pulumi.RegisterOutputType(GetDiscoveryJobDiscoveryDetailCredentialOutput{}) @@ -18839,6 +21304,26 @@ func init() { pulumi.RegisterOutputType(GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailArrayOutput{}) pulumi.RegisterOutputType(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyOutput{}) pulumi.RegisterOutputType(GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionConditionOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionConditionArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsFilterOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateAlarmConditionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateMemberOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplateMemberArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesFilterOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionItemOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberOutput{}) + pulumi.RegisterOutputType(GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArrayOutput{}) pulumi.RegisterOutputType(GetProcessSetSpecificationOutput{}) pulumi.RegisterOutputType(GetProcessSetSpecificationArrayOutput{}) pulumi.RegisterOutputType(GetProcessSetSpecificationItemOutput{}) diff --git a/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscription.go b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscription.go new file mode 100644 index 0000000000..c7267ee15a --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscription.go @@ -0,0 +1,293 @@ +// 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 tenantmanagercontrolplane + +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 Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Get the assigned subscription details by assigned subscription ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetAssignedSubscription(ctx, &tenantmanagercontrolplane.GetAssignedSubscriptionArgs{ +// AssignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAssignedSubscription(ctx *pulumi.Context, args *GetAssignedSubscriptionArgs, opts ...pulumi.InvokeOption) (*GetAssignedSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAssignedSubscriptionResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAssignedSubscription. +type GetAssignedSubscriptionArgs struct { + // OCID of the assigned Oracle Cloud Subscription. + AssignedSubscriptionId string `pulumi:"assignedSubscriptionId"` +} + +// A collection of values returned by getAssignedSubscription. +type GetAssignedSubscriptionResult struct { + AssignedSubscriptionId string `pulumi:"assignedSubscriptionId"` + // Subscription ID. + ClassicSubscriptionId string `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency string `pulumi:"cloudAmountCurrency"` + // The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber string `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode string `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode string `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + EntityVersion string `pulumi:"entityVersion"` + // 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 provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Specifies whether or not the subscription is legacy. + IsClassicSubscription bool `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription bool `pulumi:"isGovernmentSubscription"` + // Service or component which is used to provision and manage the subscription. + ManagedBy string `pulumi:"managedBy"` + // List of subscription order OCIDs that contributed to this subscription. + OrderIds []string `pulumi:"orderIds"` + // Specifies any program that is associated with the subscription. + ProgramType string `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions []GetAssignedSubscriptionPromotion `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId string `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment string `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName string `pulumi:"serviceName"` + // List of SKUs linked to the subscription. + Skuses []GetAssignedSubscriptionSkus `pulumi:"skuses"` + // Subscription start time. + StartDate string `pulumi:"startDate"` + // Lifecycle state of the subscription. + State string `pulumi:"state"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber string `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier string `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated string `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetAssignedSubscriptionOutput(ctx *pulumi.Context, args GetAssignedSubscriptionOutputArgs, opts ...pulumi.InvokeOption) GetAssignedSubscriptionResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetAssignedSubscriptionResultOutput, error) { + args := v.(GetAssignedSubscriptionArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", args, GetAssignedSubscriptionResultOutput{}, options).(GetAssignedSubscriptionResultOutput), nil + }).(GetAssignedSubscriptionResultOutput) +} + +// A collection of arguments for invoking getAssignedSubscription. +type GetAssignedSubscriptionOutputArgs struct { + // OCID of the assigned Oracle Cloud Subscription. + AssignedSubscriptionId pulumi.StringInput `pulumi:"assignedSubscriptionId"` +} + +func (GetAssignedSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getAssignedSubscription. +type GetAssignedSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionResult)(nil)).Elem() +} + +func (o GetAssignedSubscriptionResultOutput) ToGetAssignedSubscriptionResultOutput() GetAssignedSubscriptionResultOutput { + return o +} + +func (o GetAssignedSubscriptionResultOutput) ToGetAssignedSubscriptionResultOutputWithContext(ctx context.Context) GetAssignedSubscriptionResultOutput { + return o +} + +func (o GetAssignedSubscriptionResultOutput) AssignedSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.AssignedSubscriptionId }).(pulumi.StringOutput) +} + +// Subscription ID. +func (o GetAssignedSubscriptionResultOutput) ClassicSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.ClassicSubscriptionId }).(pulumi.StringOutput) +} + +// The currency code for the customer associated with the subscription. +func (o GetAssignedSubscriptionResultOutput) CloudAmountCurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.CloudAmountCurrency }).(pulumi.StringOutput) +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. +func (o GetAssignedSubscriptionResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Customer service identifier for the customer associated with the subscription. +func (o GetAssignedSubscriptionResultOutput) CsiNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.CsiNumber }).(pulumi.StringOutput) +} + +// Currency code. For example USD, MXN. +func (o GetAssignedSubscriptionResultOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +// The country code for the customer associated with the subscription. +func (o GetAssignedSubscriptionResultOutput) CustomerCountryCode() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.CustomerCountryCode }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetAssignedSubscriptionResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// Date and time when the SKU ended. +func (o GetAssignedSubscriptionResultOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.EndDate }).(pulumi.StringOutput) +} + +// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). +func (o GetAssignedSubscriptionResultOutput) EntityVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.EntityVersion }).(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 GetAssignedSubscriptionResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAssignedSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Specifies whether or not the subscription is legacy. +func (o GetAssignedSubscriptionResultOutput) IsClassicSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) bool { return v.IsClassicSubscription }).(pulumi.BoolOutput) +} + +// Specifies whether or not the subscription is a government subscription. +func (o GetAssignedSubscriptionResultOutput) IsGovernmentSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) bool { return v.IsGovernmentSubscription }).(pulumi.BoolOutput) +} + +// Service or component which is used to provision and manage the subscription. +func (o GetAssignedSubscriptionResultOutput) ManagedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.ManagedBy }).(pulumi.StringOutput) +} + +// List of subscription order OCIDs that contributed to this subscription. +func (o GetAssignedSubscriptionResultOutput) OrderIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) []string { return v.OrderIds }).(pulumi.StringArrayOutput) +} + +// Specifies any program that is associated with the subscription. +func (o GetAssignedSubscriptionResultOutput) ProgramType() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.ProgramType }).(pulumi.StringOutput) +} + +// List of promotions related to the subscription. +func (o GetAssignedSubscriptionResultOutput) Promotions() GetAssignedSubscriptionPromotionArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) []GetAssignedSubscriptionPromotion { return v.Promotions }).(GetAssignedSubscriptionPromotionArrayOutput) +} + +// Purchase entitlement ID associated with the subscription. +func (o GetAssignedSubscriptionResultOutput) PurchaseEntitlementId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.PurchaseEntitlementId }).(pulumi.StringOutput) +} + +// Region for the subscription. +func (o GetAssignedSubscriptionResultOutput) RegionAssignment() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.RegionAssignment }).(pulumi.StringOutput) +} + +// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. +func (o GetAssignedSubscriptionResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// List of SKUs linked to the subscription. +func (o GetAssignedSubscriptionResultOutput) Skuses() GetAssignedSubscriptionSkusArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) []GetAssignedSubscriptionSkus { return v.Skuses }).(GetAssignedSubscriptionSkusArrayOutput) +} + +// Subscription start time. +func (o GetAssignedSubscriptionResultOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.StartDate }).(pulumi.StringOutput) +} + +// Lifecycle state of the subscription. +func (o GetAssignedSubscriptionResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.State }).(pulumi.StringOutput) +} + +// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. +func (o GetAssignedSubscriptionResultOutput) SubscriptionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.SubscriptionNumber }).(pulumi.StringOutput) +} + +// Tier for the subscription, whether a free promotion subscription or a paid subscription. +func (o GetAssignedSubscriptionResultOutput) SubscriptionTier() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.SubscriptionTier }).(pulumi.StringOutput) +} + +// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetAssignedSubscriptionResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetAssignedSubscriptionResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAssignedSubscriptionResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.go b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.go new file mode 100644 index 0000000000..81979a2f96 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.go @@ -0,0 +1,129 @@ +// 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 tenantmanagercontrolplane + +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 Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// List line item summaries that a assigned subscription owns. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetAssignedSubscriptionLineItems(ctx, &tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsArgs{ +// AssignedSubscriptionId: testAssignedSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAssignedSubscriptionLineItems(ctx *pulumi.Context, args *GetAssignedSubscriptionLineItemsArgs, opts ...pulumi.InvokeOption) (*GetAssignedSubscriptionLineItemsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAssignedSubscriptionLineItemsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAssignedSubscriptionLineItems. +type GetAssignedSubscriptionLineItemsArgs struct { + // OCID of the assigned Oracle Cloud Subscription. + AssignedSubscriptionId string `pulumi:"assignedSubscriptionId"` + Filters []GetAssignedSubscriptionLineItemsFilter `pulumi:"filters"` +} + +// A collection of values returned by getAssignedSubscriptionLineItems. +type GetAssignedSubscriptionLineItemsResult struct { + AssignedSubscriptionId string `pulumi:"assignedSubscriptionId"` + // The list of assigned_subscription_line_item_collection. + AssignedSubscriptionLineItemCollections []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection `pulumi:"assignedSubscriptionLineItemCollections"` + Filters []GetAssignedSubscriptionLineItemsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetAssignedSubscriptionLineItemsOutput(ctx *pulumi.Context, args GetAssignedSubscriptionLineItemsOutputArgs, opts ...pulumi.InvokeOption) GetAssignedSubscriptionLineItemsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetAssignedSubscriptionLineItemsResultOutput, error) { + args := v.(GetAssignedSubscriptionLineItemsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", args, GetAssignedSubscriptionLineItemsResultOutput{}, options).(GetAssignedSubscriptionLineItemsResultOutput), nil + }).(GetAssignedSubscriptionLineItemsResultOutput) +} + +// A collection of arguments for invoking getAssignedSubscriptionLineItems. +type GetAssignedSubscriptionLineItemsOutputArgs struct { + // OCID of the assigned Oracle Cloud Subscription. + AssignedSubscriptionId pulumi.StringInput `pulumi:"assignedSubscriptionId"` + Filters GetAssignedSubscriptionLineItemsFilterArrayInput `pulumi:"filters"` +} + +func (GetAssignedSubscriptionLineItemsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsArgs)(nil)).Elem() +} + +// A collection of values returned by getAssignedSubscriptionLineItems. +type GetAssignedSubscriptionLineItemsResultOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsResult)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsResultOutput) ToGetAssignedSubscriptionLineItemsResultOutput() GetAssignedSubscriptionLineItemsResultOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsResultOutput) ToGetAssignedSubscriptionLineItemsResultOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsResultOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsResultOutput) AssignedSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsResult) string { return v.AssignedSubscriptionId }).(pulumi.StringOutput) +} + +// The list of assigned_subscription_line_item_collection. +func (o GetAssignedSubscriptionLineItemsResultOutput) AssignedSubscriptionLineItemCollections() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsResult) []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection { + return v.AssignedSubscriptionLineItemCollections + }).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) +} + +func (o GetAssignedSubscriptionLineItemsResultOutput) Filters() GetAssignedSubscriptionLineItemsFilterArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsResult) []GetAssignedSubscriptionLineItemsFilter { + return v.Filters + }).(GetAssignedSubscriptionLineItemsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAssignedSubscriptionLineItemsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptions.go b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptions.go new file mode 100644 index 0000000000..13fa894d11 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getAssignedSubscriptions.go @@ -0,0 +1,151 @@ +// 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 tenantmanagercontrolplane + +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 Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetAssignedSubscriptions(ctx, &tenantmanagercontrolplane.GetAssignedSubscriptionsArgs{ +// CompartmentId: compartmentId, +// EntityVersion: pulumi.StringRef(assignedSubscriptionEntityVersion), +// SubscriptionId: pulumi.StringRef(testSubscription.Id), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAssignedSubscriptions(ctx *pulumi.Context, args *GetAssignedSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetAssignedSubscriptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAssignedSubscriptionsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAssignedSubscriptions. +type GetAssignedSubscriptionsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // The version of the subscription entity. + EntityVersion *string `pulumi:"entityVersion"` + Filters []GetAssignedSubscriptionsFilter `pulumi:"filters"` + // The ID of the subscription to which the tenancy is associated. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getAssignedSubscriptions. +type GetAssignedSubscriptionsResult struct { + // The list of assigned_subscription_collection. + AssignedSubscriptionCollections []GetAssignedSubscriptionsAssignedSubscriptionCollection `pulumi:"assignedSubscriptionCollections"` + // The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + EntityVersion *string `pulumi:"entityVersion"` + Filters []GetAssignedSubscriptionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + SubscriptionId *string `pulumi:"subscriptionId"` +} + +func GetAssignedSubscriptionsOutput(ctx *pulumi.Context, args GetAssignedSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetAssignedSubscriptionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetAssignedSubscriptionsResultOutput, error) { + args := v.(GetAssignedSubscriptionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", args, GetAssignedSubscriptionsResultOutput{}, options).(GetAssignedSubscriptionsResultOutput), nil + }).(GetAssignedSubscriptionsResultOutput) +} + +// A collection of arguments for invoking getAssignedSubscriptions. +type GetAssignedSubscriptionsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The version of the subscription entity. + EntityVersion pulumi.StringPtrInput `pulumi:"entityVersion"` + Filters GetAssignedSubscriptionsFilterArrayInput `pulumi:"filters"` + // The ID of the subscription to which the tenancy is associated. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (GetAssignedSubscriptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getAssignedSubscriptions. +type GetAssignedSubscriptionsResultOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsResult)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsResultOutput) ToGetAssignedSubscriptionsResultOutput() GetAssignedSubscriptionsResultOutput { + return o +} + +func (o GetAssignedSubscriptionsResultOutput) ToGetAssignedSubscriptionsResultOutputWithContext(ctx context.Context) GetAssignedSubscriptionsResultOutput { + return o +} + +// The list of assigned_subscription_collection. +func (o GetAssignedSubscriptionsResultOutput) AssignedSubscriptionCollections() GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) []GetAssignedSubscriptionsAssignedSubscriptionCollection { + return v.AssignedSubscriptionCollections + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. +func (o GetAssignedSubscriptionsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). +func (o GetAssignedSubscriptionsResultOutput) EntityVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) *string { return v.EntityVersion }).(pulumi.StringPtrOutput) +} + +func (o GetAssignedSubscriptionsResultOutput) Filters() GetAssignedSubscriptionsFilterArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) []GetAssignedSubscriptionsFilter { return v.Filters }).(GetAssignedSubscriptionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAssignedSubscriptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetAssignedSubscriptionsResultOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsResult) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAssignedSubscriptionsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getDomain.go b/sdk/go/oci/tenantmanagercontrolplane/getDomain.go new file mode 100644 index 0000000000..1c67b19279 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getDomain.go @@ -0,0 +1,181 @@ +// 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 tenantmanagercontrolplane + +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 Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the domain. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetDomain(ctx, &tenantmanagercontrolplane.GetDomainArgs{ +// DomainId: testDomainOciTenantmanagercontrolplaneDomain.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDomain(ctx *pulumi.Context, args *GetDomainArgs, opts ...pulumi.InvokeOption) (*GetDomainResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDomainResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomain. +type GetDomainArgs struct { + // The domain OCID. + DomainId string `pulumi:"domainId"` +} + +// A collection of values returned by getDomain. +type GetDomainResult struct { + // 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"` + DomainId string `pulumi:"domainId"` + // The domain name. + DomainName string `pulumi:"domainName"` + // 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 provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The OCID of the tenancy that has started the registration process for this domain. + OwnerId string `pulumi:"ownerId"` + // Lifecycle state of the domain. + State string `pulumi:"state"` + // Status of the domain. + Status string `pulumi:"status"` + // 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"` + // Date-time when this domain was created. An RFC 3339-formatted date and time string. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + TimeUpdated string `pulumi:"timeUpdated"` + // The code that the owner of the domain will need to add as a TXT record to their domain. + TxtRecord string `pulumi:"txtRecord"` +} + +func GetDomainOutput(ctx *pulumi.Context, args GetDomainOutputArgs, opts ...pulumi.InvokeOption) GetDomainResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetDomainResultOutput, error) { + args := v.(GetDomainArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getDomain:getDomain", args, GetDomainResultOutput{}, options).(GetDomainResultOutput), nil + }).(GetDomainResultOutput) +} + +// A collection of arguments for invoking getDomain. +type GetDomainOutputArgs struct { + // The domain OCID. + DomainId pulumi.StringInput `pulumi:"domainId"` +} + +func (GetDomainOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainArgs)(nil)).Elem() +} + +// A collection of values returned by getDomain. +type GetDomainResultOutput struct{ *pulumi.OutputState } + +func (GetDomainResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainResult)(nil)).Elem() +} + +func (o GetDomainResultOutput) ToGetDomainResultOutput() GetDomainResultOutput { + return o +} + +func (o GetDomainResultOutput) ToGetDomainResultOutputWithContext(ctx context.Context) GetDomainResultOutput { + return o +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetDomainResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o GetDomainResultOutput) DomainId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.DomainId }).(pulumi.StringOutput) +} + +// The domain name. +func (o GetDomainResultOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.DomainName }).(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 GetDomainResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDomainResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The OCID of the tenancy that has started the registration process for this domain. +func (o GetDomainResultOutput) OwnerId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.OwnerId }).(pulumi.StringOutput) +} + +// Lifecycle state of the domain. +func (o GetDomainResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.State }).(pulumi.StringOutput) +} + +// Status of the domain. +func (o GetDomainResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDomainResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date-time when this domain was created. An RFC 3339-formatted date and time string. +func (o GetDomainResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this domain was last updated. An RFC 3339-formatted date and time string. +func (o GetDomainResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The code that the owner of the domain will need to add as a TXT record to their domain. +func (o GetDomainResultOutput) TxtRecord() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainResult) string { return v.TxtRecord }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDomainResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernance.go b/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernance.go new file mode 100644 index 0000000000..0526f04c73 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernance.go @@ -0,0 +1,195 @@ +// 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 tenantmanagercontrolplane + +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 Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the domain governance entity. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetDomainGovernance(ctx, &tenantmanagercontrolplane.GetDomainGovernanceArgs{ +// DomainGovernanceId: testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDomainGovernance(ctx *pulumi.Context, args *GetDomainGovernanceArgs, opts ...pulumi.InvokeOption) (*GetDomainGovernanceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDomainGovernanceResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomainGovernance. +type GetDomainGovernanceArgs struct { + // The domain governance OCID. + DomainGovernanceId string `pulumi:"domainGovernanceId"` +} + +// A collection of values returned by getDomainGovernance. +type GetDomainGovernanceResult struct { + // 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"` + DomainGovernanceId string `pulumi:"domainGovernanceId"` + // The OCID of the domain associated with this domain governance entity. + DomainId string `pulumi:"domainId"` + // 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 provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Indicates whether governance is enabled for this domain. + IsGovernanceEnabled bool `pulumi:"isGovernanceEnabled"` + // The ONS subscription associated with this domain governance entity. + OnsSubscriptionId string `pulumi:"onsSubscriptionId"` + // The ONS topic associated with this domain governance entity. + OnsTopicId string `pulumi:"onsTopicId"` + // The OCID of the tenancy that owns this domain governance entity. + OwnerId string `pulumi:"ownerId"` + // Lifecycle state of the domain governance entity. + State string `pulumi:"state"` + // Email address to be used to notify the user, and that the ONS subscription will be created with. + SubscriptionEmail string `pulumi:"subscriptionEmail"` + // 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"` + // Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetDomainGovernanceOutput(ctx *pulumi.Context, args GetDomainGovernanceOutputArgs, opts ...pulumi.InvokeOption) GetDomainGovernanceResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetDomainGovernanceResultOutput, error) { + args := v.(GetDomainGovernanceArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", args, GetDomainGovernanceResultOutput{}, options).(GetDomainGovernanceResultOutput), nil + }).(GetDomainGovernanceResultOutput) +} + +// A collection of arguments for invoking getDomainGovernance. +type GetDomainGovernanceOutputArgs struct { + // The domain governance OCID. + DomainGovernanceId pulumi.StringInput `pulumi:"domainGovernanceId"` +} + +func (GetDomainGovernanceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernanceArgs)(nil)).Elem() +} + +// A collection of values returned by getDomainGovernance. +type GetDomainGovernanceResultOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernanceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernanceResult)(nil)).Elem() +} + +func (o GetDomainGovernanceResultOutput) ToGetDomainGovernanceResultOutput() GetDomainGovernanceResultOutput { + return o +} + +func (o GetDomainGovernanceResultOutput) ToGetDomainGovernanceResultOutputWithContext(ctx context.Context) GetDomainGovernanceResultOutput { + return o +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetDomainGovernanceResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o GetDomainGovernanceResultOutput) DomainGovernanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.DomainGovernanceId }).(pulumi.StringOutput) +} + +// The OCID of the domain associated with this domain governance entity. +func (o GetDomainGovernanceResultOutput) DomainId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.DomainId }).(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 GetDomainGovernanceResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDomainGovernanceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Indicates whether governance is enabled for this domain. +func (o GetDomainGovernanceResultOutput) IsGovernanceEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) bool { return v.IsGovernanceEnabled }).(pulumi.BoolOutput) +} + +// The ONS subscription associated with this domain governance entity. +func (o GetDomainGovernanceResultOutput) OnsSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.OnsSubscriptionId }).(pulumi.StringOutput) +} + +// The ONS topic associated with this domain governance entity. +func (o GetDomainGovernanceResultOutput) OnsTopicId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.OnsTopicId }).(pulumi.StringOutput) +} + +// The OCID of the tenancy that owns this domain governance entity. +func (o GetDomainGovernanceResultOutput) OwnerId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.OwnerId }).(pulumi.StringOutput) +} + +// Lifecycle state of the domain governance entity. +func (o GetDomainGovernanceResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.State }).(pulumi.StringOutput) +} + +// Email address to be used to notify the user, and that the ONS subscription will be created with. +func (o GetDomainGovernanceResultOutput) SubscriptionEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.SubscriptionEmail }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDomainGovernanceResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date-time when this domain governance was created. An RFC 3339-formatted date and time string. +func (o GetDomainGovernanceResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. +func (o GetDomainGovernanceResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernanceResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDomainGovernanceResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernances.go b/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernances.go new file mode 100644 index 0000000000..f7d675e81b --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getDomainGovernances.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 tenantmanagercontrolplane + +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 Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Return a (paginated) list of domain governance entities. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetDomainGovernances(ctx, &tenantmanagercontrolplane.GetDomainGovernancesArgs{ +// CompartmentId: compartmentId, +// DomainGovernanceId: pulumi.StringRef(testDomainGovernance.Id), +// DomainId: pulumi.StringRef(testDomain.Id), +// Name: pulumi.StringRef(domainGovernanceName), +// State: pulumi.StringRef(domainGovernanceState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDomainGovernances(ctx *pulumi.Context, args *GetDomainGovernancesArgs, opts ...pulumi.InvokeOption) (*GetDomainGovernancesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDomainGovernancesResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomainGovernances. +type GetDomainGovernancesArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // The domain governance OCID. + DomainGovernanceId *string `pulumi:"domainGovernanceId"` + // The domain OCID. + DomainId *string `pulumi:"domainId"` + Filters []GetDomainGovernancesFilter `pulumi:"filters"` + // A filter to return only resources that exactly match the name given. + Name *string `pulumi:"name"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDomainGovernances. +type GetDomainGovernancesResult struct { + CompartmentId string `pulumi:"compartmentId"` + // The list of domain_governance_collection. + DomainGovernanceCollections []GetDomainGovernancesDomainGovernanceCollection `pulumi:"domainGovernanceCollections"` + DomainGovernanceId *string `pulumi:"domainGovernanceId"` + // The OCID of the domain associated with this domain governance entity. + DomainId *string `pulumi:"domainId"` + Filters []GetDomainGovernancesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Name *string `pulumi:"name"` + // Lifecycle state of the domain governance entity. + State *string `pulumi:"state"` +} + +func GetDomainGovernancesOutput(ctx *pulumi.Context, args GetDomainGovernancesOutputArgs, opts ...pulumi.InvokeOption) GetDomainGovernancesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetDomainGovernancesResultOutput, error) { + args := v.(GetDomainGovernancesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", args, GetDomainGovernancesResultOutput{}, options).(GetDomainGovernancesResultOutput), nil + }).(GetDomainGovernancesResultOutput) +} + +// A collection of arguments for invoking getDomainGovernances. +type GetDomainGovernancesOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The domain governance OCID. + DomainGovernanceId pulumi.StringPtrInput `pulumi:"domainGovernanceId"` + // The domain OCID. + DomainId pulumi.StringPtrInput `pulumi:"domainId"` + Filters GetDomainGovernancesFilterArrayInput `pulumi:"filters"` + // A filter to return only resources that exactly match the name given. + Name pulumi.StringPtrInput `pulumi:"name"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDomainGovernancesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesArgs)(nil)).Elem() +} + +// A collection of values returned by getDomainGovernances. +type GetDomainGovernancesResultOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesResult)(nil)).Elem() +} + +func (o GetDomainGovernancesResultOutput) ToGetDomainGovernancesResultOutput() GetDomainGovernancesResultOutput { + return o +} + +func (o GetDomainGovernancesResultOutput) ToGetDomainGovernancesResultOutputWithContext(ctx context.Context) GetDomainGovernancesResultOutput { + return o +} + +func (o GetDomainGovernancesResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of domain_governance_collection. +func (o GetDomainGovernancesResultOutput) DomainGovernanceCollections() GetDomainGovernancesDomainGovernanceCollectionArrayOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) []GetDomainGovernancesDomainGovernanceCollection { + return v.DomainGovernanceCollections + }).(GetDomainGovernancesDomainGovernanceCollectionArrayOutput) +} + +func (o GetDomainGovernancesResultOutput) DomainGovernanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) *string { return v.DomainGovernanceId }).(pulumi.StringPtrOutput) +} + +// The OCID of the domain associated with this domain governance entity. +func (o GetDomainGovernancesResultOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) *string { return v.DomainId }).(pulumi.StringPtrOutput) +} + +func (o GetDomainGovernancesResultOutput) Filters() GetDomainGovernancesFilterArrayOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) []GetDomainGovernancesFilter { return v.Filters }).(GetDomainGovernancesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDomainGovernancesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDomainGovernancesResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Lifecycle state of the domain governance entity. +func (o GetDomainGovernancesResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainGovernancesResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDomainGovernancesResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getDomains.go b/sdk/go/oci/tenantmanagercontrolplane/getDomains.go new file mode 100644 index 0000000000..16f5eb0fbb --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getDomains.go @@ -0,0 +1,169 @@ +// 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 tenantmanagercontrolplane + +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 Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Return a (paginated) list of domains. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetDomains(ctx, &tenantmanagercontrolplane.GetDomainsArgs{ +// CompartmentId: compartmentId, +// DomainId: pulumi.StringRef(testDomain.Id), +// Name: pulumi.StringRef(domainName), +// State: pulumi.StringRef(domainState), +// Status: pulumi.StringRef(domainStatus), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDomainsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomains. +type GetDomainsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // The domain OCID. + DomainId *string `pulumi:"domainId"` + Filters []GetDomainsFilter `pulumi:"filters"` + // A filter to return only resources that exactly match the name given. + Name *string `pulumi:"name"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` + // The status of the domain. + Status *string `pulumi:"status"` +} + +// A collection of values returned by getDomains. +type GetDomainsResult struct { + CompartmentId string `pulumi:"compartmentId"` + // The list of domain_collection. + DomainCollections []GetDomainsDomainCollection `pulumi:"domainCollections"` + DomainId *string `pulumi:"domainId"` + Filters []GetDomainsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Name *string `pulumi:"name"` + // Lifecycle state of the domain. + State *string `pulumi:"state"` + // Status of the domain. + Status *string `pulumi:"status"` +} + +func GetDomainsOutput(ctx *pulumi.Context, args GetDomainsOutputArgs, opts ...pulumi.InvokeOption) GetDomainsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetDomainsResultOutput, error) { + args := v.(GetDomainsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getDomains:getDomains", args, GetDomainsResultOutput{}, options).(GetDomainsResultOutput), nil + }).(GetDomainsResultOutput) +} + +// A collection of arguments for invoking getDomains. +type GetDomainsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The domain OCID. + DomainId pulumi.StringPtrInput `pulumi:"domainId"` + Filters GetDomainsFilterArrayInput `pulumi:"filters"` + // A filter to return only resources that exactly match the name given. + Name pulumi.StringPtrInput `pulumi:"name"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` + // The status of the domain. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetDomainsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsArgs)(nil)).Elem() +} + +// A collection of values returned by getDomains. +type GetDomainsResultOutput struct{ *pulumi.OutputState } + +func (GetDomainsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsResult)(nil)).Elem() +} + +func (o GetDomainsResultOutput) ToGetDomainsResultOutput() GetDomainsResultOutput { + return o +} + +func (o GetDomainsResultOutput) ToGetDomainsResultOutputWithContext(ctx context.Context) GetDomainsResultOutput { + return o +} + +func (o GetDomainsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of domain_collection. +func (o GetDomainsResultOutput) DomainCollections() GetDomainsDomainCollectionArrayOutput { + return o.ApplyT(func(v GetDomainsResult) []GetDomainsDomainCollection { return v.DomainCollections }).(GetDomainsDomainCollectionArrayOutput) +} + +func (o GetDomainsResultOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.DomainId }).(pulumi.StringPtrOutput) +} + +func (o GetDomainsResultOutput) Filters() GetDomainsFilterArrayOutput { + return o.ApplyT(func(v GetDomainsResult) []GetDomainsFilter { return v.Filters }).(GetDomainsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDomainsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDomainsResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Lifecycle state of the domain. +func (o GetDomainsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// Status of the domain. +func (o GetDomainsResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDomainsResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDomainsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getLink.go b/sdk/go/oci/tenantmanagercontrolplane/getLink.go new file mode 100644 index 0000000000..e9a9da80b4 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getLink.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 tenantmanagercontrolplane + +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 Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the link. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetLink(ctx, &tenantmanagercontrolplane.GetLinkArgs{ +// LinkId: testLinkOciTenantmanagercontrolplaneLink.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetLink(ctx *pulumi.Context, args *GetLinkArgs, opts ...pulumi.InvokeOption) (*GetLinkResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLinkResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getLink:getLink", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getLink. +type GetLinkArgs struct { + // OCID of the link to retrieve. + LinkId string `pulumi:"linkId"` +} + +// A collection of values returned by getLink. +type GetLinkResult struct { + // OCID of the child tenancy. + ChildTenancyId string `pulumi:"childTenancyId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + LinkId string `pulumi:"linkId"` + // OCID of the parent tenancy. + ParentTenancyId string `pulumi:"parentTenancyId"` + // Lifecycle state of the link. + State string `pulumi:"state"` + // Date-time when this link was created. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this link was terminated. + TimeTerminated string `pulumi:"timeTerminated"` + // Date-time when this link was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetLinkOutput(ctx *pulumi.Context, args GetLinkOutputArgs, opts ...pulumi.InvokeOption) GetLinkResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetLinkResultOutput, error) { + args := v.(GetLinkArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getLink:getLink", args, GetLinkResultOutput{}, options).(GetLinkResultOutput), nil + }).(GetLinkResultOutput) +} + +// A collection of arguments for invoking getLink. +type GetLinkOutputArgs struct { + // OCID of the link to retrieve. + LinkId pulumi.StringInput `pulumi:"linkId"` +} + +func (GetLinkOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinkArgs)(nil)).Elem() +} + +// A collection of values returned by getLink. +type GetLinkResultOutput struct{ *pulumi.OutputState } + +func (GetLinkResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinkResult)(nil)).Elem() +} + +func (o GetLinkResultOutput) ToGetLinkResultOutput() GetLinkResultOutput { + return o +} + +func (o GetLinkResultOutput) ToGetLinkResultOutputWithContext(ctx context.Context) GetLinkResultOutput { + return o +} + +// OCID of the child tenancy. +func (o GetLinkResultOutput) ChildTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.ChildTenancyId }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetLinkResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetLinkResultOutput) LinkId() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.LinkId }).(pulumi.StringOutput) +} + +// OCID of the parent tenancy. +func (o GetLinkResultOutput) ParentTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.ParentTenancyId }).(pulumi.StringOutput) +} + +// Lifecycle state of the link. +func (o GetLinkResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.State }).(pulumi.StringOutput) +} + +// Date-time when this link was created. +func (o GetLinkResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this link was terminated. +func (o GetLinkResultOutput) TimeTerminated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.TimeTerminated }).(pulumi.StringOutput) +} + +// Date-time when this link was last updated. +func (o GetLinkResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinkResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetLinkResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getLinks.go b/sdk/go/oci/tenantmanagercontrolplane/getLinks.go new file mode 100644 index 0000000000..a3e008aa67 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getLinks.go @@ -0,0 +1,151 @@ +// 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 tenantmanagercontrolplane + +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 Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Return a (paginated) list of links. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetLinks(ctx, &tenantmanagercontrolplane.GetLinksArgs{ +// ChildTenancyId: pulumi.StringRef(testTenancy.Id), +// ParentTenancyId: pulumi.StringRef(testTenancy.Id), +// State: pulumi.StringRef(linkState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetLinks(ctx *pulumi.Context, args *GetLinksArgs, opts ...pulumi.InvokeOption) (*GetLinksResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLinksResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getLinks. +type GetLinksArgs struct { + // The ID of the child tenancy this link is associated with. + ChildTenancyId *string `pulumi:"childTenancyId"` + Filters []GetLinksFilter `pulumi:"filters"` + // The ID of the parent tenancy this link is associated with. + ParentTenancyId *string `pulumi:"parentTenancyId"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` +} + +// A collection of values returned by getLinks. +type GetLinksResult struct { + // OCID of the child tenancy. + ChildTenancyId *string `pulumi:"childTenancyId"` + Filters []GetLinksFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The list of link_collection. + LinkCollections []GetLinksLinkCollection `pulumi:"linkCollections"` + // OCID of the parent tenancy. + ParentTenancyId *string `pulumi:"parentTenancyId"` + // Lifecycle state of the link. + State *string `pulumi:"state"` +} + +func GetLinksOutput(ctx *pulumi.Context, args GetLinksOutputArgs, opts ...pulumi.InvokeOption) GetLinksResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetLinksResultOutput, error) { + args := v.(GetLinksArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getLinks:getLinks", args, GetLinksResultOutput{}, options).(GetLinksResultOutput), nil + }).(GetLinksResultOutput) +} + +// A collection of arguments for invoking getLinks. +type GetLinksOutputArgs struct { + // The ID of the child tenancy this link is associated with. + ChildTenancyId pulumi.StringPtrInput `pulumi:"childTenancyId"` + Filters GetLinksFilterArrayInput `pulumi:"filters"` + // The ID of the parent tenancy this link is associated with. + ParentTenancyId pulumi.StringPtrInput `pulumi:"parentTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetLinksOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksArgs)(nil)).Elem() +} + +// A collection of values returned by getLinks. +type GetLinksResultOutput struct{ *pulumi.OutputState } + +func (GetLinksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksResult)(nil)).Elem() +} + +func (o GetLinksResultOutput) ToGetLinksResultOutput() GetLinksResultOutput { + return o +} + +func (o GetLinksResultOutput) ToGetLinksResultOutputWithContext(ctx context.Context) GetLinksResultOutput { + return o +} + +// OCID of the child tenancy. +func (o GetLinksResultOutput) ChildTenancyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetLinksResult) *string { return v.ChildTenancyId }).(pulumi.StringPtrOutput) +} + +func (o GetLinksResultOutput) Filters() GetLinksFilterArrayOutput { + return o.ApplyT(func(v GetLinksResult) []GetLinksFilter { return v.Filters }).(GetLinksFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetLinksResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of link_collection. +func (o GetLinksResultOutput) LinkCollections() GetLinksLinkCollectionArrayOutput { + return o.ApplyT(func(v GetLinksResult) []GetLinksLinkCollection { return v.LinkCollections }).(GetLinksLinkCollectionArrayOutput) +} + +// OCID of the parent tenancy. +func (o GetLinksResultOutput) ParentTenancyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetLinksResult) *string { return v.ParentTenancyId }).(pulumi.StringPtrOutput) +} + +// Lifecycle state of the link. +func (o GetLinksResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetLinksResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetLinksResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getOrganization.go b/sdk/go/oci/tenantmanagercontrolplane/getOrganization.go new file mode 100644 index 0000000000..ffe3b364a3 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getOrganization.go @@ -0,0 +1,160 @@ +// 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 tenantmanagercontrolplane + +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 Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the organization. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetOrganization(ctx, &tenantmanagercontrolplane.GetOrganizationArgs{ +// OrganizationId: testOrganizationOciTenantmanagercontrolplaneOrganization.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetOrganization(ctx *pulumi.Context, args *GetOrganizationArgs, opts ...pulumi.InvokeOption) (*GetOrganizationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrganizationResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrganization. +type GetOrganizationArgs struct { + // OCID of the organization to retrieve. + OrganizationId string `pulumi:"organizationId"` +} + +// A collection of values returned by getOrganization. +type GetOrganizationResult struct { + // OCID of the compartment containing the organization. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + DefaultUcmSubscriptionId string `pulumi:"defaultUcmSubscriptionId"` + // A display name for the organization. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OrganizationId string `pulumi:"organizationId"` + // The name of the tenancy that is the organization parent. + ParentName string `pulumi:"parentName"` + // Lifecycle state of the organization. + State string `pulumi:"state"` + // Date and time when the organization was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the organization was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetOrganizationOutput(ctx *pulumi.Context, args GetOrganizationOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetOrganizationResultOutput, error) { + args := v.(GetOrganizationArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", args, GetOrganizationResultOutput{}, options).(GetOrganizationResultOutput), nil + }).(GetOrganizationResultOutput) +} + +// A collection of arguments for invoking getOrganization. +type GetOrganizationOutputArgs struct { + // OCID of the organization to retrieve. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` +} + +func (GetOrganizationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationArgs)(nil)).Elem() +} + +// A collection of values returned by getOrganization. +type GetOrganizationResultOutput struct{ *pulumi.OutputState } + +func (GetOrganizationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationResult)(nil)).Elem() +} + +func (o GetOrganizationResultOutput) ToGetOrganizationResultOutput() GetOrganizationResultOutput { + return o +} + +func (o GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext(ctx context.Context) GetOrganizationResultOutput { + return o +} + +// OCID of the compartment containing the organization. Always a tenancy OCID. +func (o GetOrganizationResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. +func (o GetOrganizationResultOutput) DefaultUcmSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.DefaultUcmSubscriptionId }).(pulumi.StringOutput) +} + +// A display name for the organization. Avoid entering confidential information. +func (o GetOrganizationResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOrganizationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetOrganizationResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The name of the tenancy that is the organization parent. +func (o GetOrganizationResultOutput) ParentName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.ParentName }).(pulumi.StringOutput) +} + +// Lifecycle state of the organization. +func (o GetOrganizationResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.State }).(pulumi.StringOutput) +} + +// Date and time when the organization was created. +func (o GetOrganizationResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the organization was last updated. +func (o GetOrganizationResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrganizationResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancies.go b/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancies.go new file mode 100644 index 0000000000..e76eb7952a --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancies.go @@ -0,0 +1,127 @@ +// 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 tenantmanagercontrolplane + +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 Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets a list of tenancies in the organization. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetOrganizationTenancies(ctx, &tenantmanagercontrolplane.GetOrganizationTenanciesArgs{ +// OrganizationId: testOrganization.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetOrganizationTenancies(ctx *pulumi.Context, args *GetOrganizationTenanciesArgs, opts ...pulumi.InvokeOption) (*GetOrganizationTenanciesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrganizationTenanciesResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrganizationTenancies. +type GetOrganizationTenanciesArgs struct { + Filters []GetOrganizationTenanciesFilter `pulumi:"filters"` + // OCID of the organization. + OrganizationId string `pulumi:"organizationId"` +} + +// A collection of values returned by getOrganizationTenancies. +type GetOrganizationTenanciesResult struct { + Filters []GetOrganizationTenanciesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OrganizationId string `pulumi:"organizationId"` + // The list of organization_tenancy_collection. + OrganizationTenancyCollections []GetOrganizationTenanciesOrganizationTenancyCollection `pulumi:"organizationTenancyCollections"` +} + +func GetOrganizationTenanciesOutput(ctx *pulumi.Context, args GetOrganizationTenanciesOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationTenanciesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetOrganizationTenanciesResultOutput, error) { + args := v.(GetOrganizationTenanciesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", args, GetOrganizationTenanciesResultOutput{}, options).(GetOrganizationTenanciesResultOutput), nil + }).(GetOrganizationTenanciesResultOutput) +} + +// A collection of arguments for invoking getOrganizationTenancies. +type GetOrganizationTenanciesOutputArgs struct { + Filters GetOrganizationTenanciesFilterArrayInput `pulumi:"filters"` + // OCID of the organization. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` +} + +func (GetOrganizationTenanciesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesArgs)(nil)).Elem() +} + +// A collection of values returned by getOrganizationTenancies. +type GetOrganizationTenanciesResultOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesResult)(nil)).Elem() +} + +func (o GetOrganizationTenanciesResultOutput) ToGetOrganizationTenanciesResultOutput() GetOrganizationTenanciesResultOutput { + return o +} + +func (o GetOrganizationTenanciesResultOutput) ToGetOrganizationTenanciesResultOutputWithContext(ctx context.Context) GetOrganizationTenanciesResultOutput { + return o +} + +func (o GetOrganizationTenanciesResultOutput) Filters() GetOrganizationTenanciesFilterArrayOutput { + return o.ApplyT(func(v GetOrganizationTenanciesResult) []GetOrganizationTenanciesFilter { return v.Filters }).(GetOrganizationTenanciesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOrganizationTenanciesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetOrganizationTenanciesResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The list of organization_tenancy_collection. +func (o GetOrganizationTenanciesResultOutput) OrganizationTenancyCollections() GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput { + return o.ApplyT(func(v GetOrganizationTenanciesResult) []GetOrganizationTenanciesOrganizationTenancyCollection { + return v.OrganizationTenancyCollections + }).(GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrganizationTenanciesResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancy.go b/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancy.go new file mode 100644 index 0000000000..177aefd45d --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getOrganizationTenancy.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 tenantmanagercontrolplane + +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 Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the organization's tenancy. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetOrganizationTenancy(ctx, &tenantmanagercontrolplane.GetOrganizationTenancyArgs{ +// OrganizationId: testOrganization.Id, +// TenancyId: testTenancy.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetOrganizationTenancy(ctx *pulumi.Context, args *GetOrganizationTenancyArgs, opts ...pulumi.InvokeOption) (*GetOrganizationTenancyResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrganizationTenancyResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrganizationTenancy. +type GetOrganizationTenancyArgs struct { + // OCID of the organization. + OrganizationId string `pulumi:"organizationId"` + // OCID of the tenancy to retrieve. + TenancyId string `pulumi:"tenancyId"` +} + +// A collection of values returned by getOrganizationTenancy. +type GetOrganizationTenancyResult struct { + // The governance status of the tenancy. + GovernanceStatus string `pulumi:"governanceStatus"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Parameter to indicate the tenancy is approved for transfer to another organization. + IsApprovedForTransfer bool `pulumi:"isApprovedForTransfer"` + // Name of the tenancy. + Name string `pulumi:"name"` + OrganizationId string `pulumi:"organizationId"` + // Role of the organization tenancy. + Role string `pulumi:"role"` + // Lifecycle state of the organization tenancy. + State string `pulumi:"state"` + // OCID of the tenancy. + TenancyId string `pulumi:"tenancyId"` + // Date and time when the tenancy joined the organization. + TimeJoined string `pulumi:"timeJoined"` + // Date and time when the tenancy left the organization. + TimeLeft string `pulumi:"timeLeft"` +} + +func GetOrganizationTenancyOutput(ctx *pulumi.Context, args GetOrganizationTenancyOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationTenancyResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetOrganizationTenancyResultOutput, error) { + args := v.(GetOrganizationTenancyArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", args, GetOrganizationTenancyResultOutput{}, options).(GetOrganizationTenancyResultOutput), nil + }).(GetOrganizationTenancyResultOutput) +} + +// A collection of arguments for invoking getOrganizationTenancy. +type GetOrganizationTenancyOutputArgs struct { + // OCID of the organization. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` + // OCID of the tenancy to retrieve. + TenancyId pulumi.StringInput `pulumi:"tenancyId"` +} + +func (GetOrganizationTenancyOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenancyArgs)(nil)).Elem() +} + +// A collection of values returned by getOrganizationTenancy. +type GetOrganizationTenancyResultOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenancyResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenancyResult)(nil)).Elem() +} + +func (o GetOrganizationTenancyResultOutput) ToGetOrganizationTenancyResultOutput() GetOrganizationTenancyResultOutput { + return o +} + +func (o GetOrganizationTenancyResultOutput) ToGetOrganizationTenancyResultOutputWithContext(ctx context.Context) GetOrganizationTenancyResultOutput { + return o +} + +// The governance status of the tenancy. +func (o GetOrganizationTenancyResultOutput) GovernanceStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.GovernanceStatus }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOrganizationTenancyResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Parameter to indicate the tenancy is approved for transfer to another organization. +func (o GetOrganizationTenancyResultOutput) IsApprovedForTransfer() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) bool { return v.IsApprovedForTransfer }).(pulumi.BoolOutput) +} + +// Name of the tenancy. +func (o GetOrganizationTenancyResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetOrganizationTenancyResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// Role of the organization tenancy. +func (o GetOrganizationTenancyResultOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.Role }).(pulumi.StringOutput) +} + +// Lifecycle state of the organization tenancy. +func (o GetOrganizationTenancyResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.State }).(pulumi.StringOutput) +} + +// OCID of the tenancy. +func (o GetOrganizationTenancyResultOutput) TenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.TenancyId }).(pulumi.StringOutput) +} + +// Date and time when the tenancy joined the organization. +func (o GetOrganizationTenancyResultOutput) TimeJoined() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.TimeJoined }).(pulumi.StringOutput) +} + +// Date and time when the tenancy left the organization. +func (o GetOrganizationTenancyResultOutput) TimeLeft() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenancyResult) string { return v.TimeLeft }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrganizationTenancyResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getOrganizations.go b/sdk/go/oci/tenantmanagercontrolplane/getOrganizations.go new file mode 100644 index 0000000000..930a39a04e --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getOrganizations.go @@ -0,0 +1,129 @@ +// 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 tenantmanagercontrolplane + +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 Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Lists organizations associated with the caller. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetOrganizations(ctx, &tenantmanagercontrolplane.GetOrganizationsArgs{ +// CompartmentId: compartmentId, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetOrganizations(ctx *pulumi.Context, args *GetOrganizationsArgs, opts ...pulumi.InvokeOption) (*GetOrganizationsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrganizationsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrganizations. +type GetOrganizationsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetOrganizationsFilter `pulumi:"filters"` +} + +// A collection of values returned by getOrganizations. +type GetOrganizationsResult struct { + // OCID of the compartment containing the organization. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetOrganizationsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The list of organization_collection. + OrganizationCollections []GetOrganizationsOrganizationCollection `pulumi:"organizationCollections"` +} + +func GetOrganizationsOutput(ctx *pulumi.Context, args GetOrganizationsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetOrganizationsResultOutput, error) { + args := v.(GetOrganizationsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", args, GetOrganizationsResultOutput{}, options).(GetOrganizationsResultOutput), nil + }).(GetOrganizationsResultOutput) +} + +// A collection of arguments for invoking getOrganizations. +type GetOrganizationsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetOrganizationsFilterArrayInput `pulumi:"filters"` +} + +func (GetOrganizationsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsArgs)(nil)).Elem() +} + +// A collection of values returned by getOrganizations. +type GetOrganizationsResultOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsResult)(nil)).Elem() +} + +func (o GetOrganizationsResultOutput) ToGetOrganizationsResultOutput() GetOrganizationsResultOutput { + return o +} + +func (o GetOrganizationsResultOutput) ToGetOrganizationsResultOutputWithContext(ctx context.Context) GetOrganizationsResultOutput { + return o +} + +// OCID of the compartment containing the organization. Always a tenancy OCID. +func (o GetOrganizationsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetOrganizationsResultOutput) Filters() GetOrganizationsFilterArrayOutput { + return o.ApplyT(func(v GetOrganizationsResult) []GetOrganizationsFilter { return v.Filters }).(GetOrganizationsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOrganizationsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of organization_collection. +func (o GetOrganizationsResultOutput) OrganizationCollections() GetOrganizationsOrganizationCollectionArrayOutput { + return o.ApplyT(func(v GetOrganizationsResult) []GetOrganizationsOrganizationCollection { + return v.OrganizationCollections + }).(GetOrganizationsOrganizationCollectionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrganizationsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitation.go b/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitation.go new file mode 100644 index 0000000000..038bb7b463 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitation.go @@ -0,0 +1,202 @@ +// 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 tenantmanagercontrolplane + +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 Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the recipient invitation. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetRecipientInvitation(ctx, &tenantmanagercontrolplane.GetRecipientInvitationArgs{ +// RecipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetRecipientInvitation(ctx *pulumi.Context, args *GetRecipientInvitationArgs, opts ...pulumi.InvokeOption) (*GetRecipientInvitationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRecipientInvitationResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRecipientInvitation. +type GetRecipientInvitationArgs struct { + // OCID of the recipient invitation to retrieve. + RecipientInvitationId string `pulumi:"recipientInvitationId"` +} + +// A collection of values returned by getRecipientInvitation. +type GetRecipientInvitationResult struct { + // OCID of the recipient tenancy. + 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"` + // A user-created name to describe the invitation. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress string `pulumi:"recipientEmailAddress"` + RecipientInvitationId string `pulumi:"recipientInvitationId"` + // OCID of the corresponding sender invitation. + SenderInvitationId string `pulumi:"senderInvitationId"` + // OCID of the sender tenancy. + SenderTenancyId string `pulumi:"senderTenancyId"` + // Lifecycle state of the recipient invitation. + State string `pulumi:"state"` + // Status of the recipient invitation. + Status string `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects []string `pulumi:"subjects"` + // 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"` + // Date and time when the recipient invitation was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the recipient invitation was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetRecipientInvitationOutput(ctx *pulumi.Context, args GetRecipientInvitationOutputArgs, opts ...pulumi.InvokeOption) GetRecipientInvitationResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetRecipientInvitationResultOutput, error) { + args := v.(GetRecipientInvitationArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", args, GetRecipientInvitationResultOutput{}, options).(GetRecipientInvitationResultOutput), nil + }).(GetRecipientInvitationResultOutput) +} + +// A collection of arguments for invoking getRecipientInvitation. +type GetRecipientInvitationOutputArgs struct { + // OCID of the recipient invitation to retrieve. + RecipientInvitationId pulumi.StringInput `pulumi:"recipientInvitationId"` +} + +func (GetRecipientInvitationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationArgs)(nil)).Elem() +} + +// A collection of values returned by getRecipientInvitation. +type GetRecipientInvitationResultOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationResult)(nil)).Elem() +} + +func (o GetRecipientInvitationResultOutput) ToGetRecipientInvitationResultOutput() GetRecipientInvitationResultOutput { + return o +} + +func (o GetRecipientInvitationResultOutput) ToGetRecipientInvitationResultOutputWithContext(ctx context.Context) GetRecipientInvitationResultOutput { + return o +} + +// OCID of the recipient tenancy. +func (o GetRecipientInvitationResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) 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 GetRecipientInvitationResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A user-created name to describe the invitation. Avoid entering confidential information. +func (o GetRecipientInvitationResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) 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 GetRecipientInvitationResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetRecipientInvitationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Email address of the recipient. +func (o GetRecipientInvitationResultOutput) RecipientEmailAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.RecipientEmailAddress }).(pulumi.StringOutput) +} + +func (o GetRecipientInvitationResultOutput) RecipientInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.RecipientInvitationId }).(pulumi.StringOutput) +} + +// OCID of the corresponding sender invitation. +func (o GetRecipientInvitationResultOutput) SenderInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.SenderInvitationId }).(pulumi.StringOutput) +} + +// OCID of the sender tenancy. +func (o GetRecipientInvitationResultOutput) SenderTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.SenderTenancyId }).(pulumi.StringOutput) +} + +// Lifecycle state of the recipient invitation. +func (o GetRecipientInvitationResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.State }).(pulumi.StringOutput) +} + +// Status of the recipient invitation. +func (o GetRecipientInvitationResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.Status }).(pulumi.StringOutput) +} + +// The list of subjects the invitation contains. +func (o GetRecipientInvitationResultOutput) Subjects() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) []string { return v.Subjects }).(pulumi.StringArrayOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetRecipientInvitationResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date and time when the recipient invitation was created. +func (o GetRecipientInvitationResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the recipient invitation was last updated. +func (o GetRecipientInvitationResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRecipientInvitationResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitations.go b/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitations.go new file mode 100644 index 0000000000..bae83405cb --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getRecipientInvitations.go @@ -0,0 +1,165 @@ +// 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 tenantmanagercontrolplane + +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 Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Return a (paginated) list of recipient invitations. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetRecipientInvitations(ctx, &tenantmanagercontrolplane.GetRecipientInvitationsArgs{ +// CompartmentId: compartmentId, +// SenderTenancyId: pulumi.StringRef(testTenancy.Id), +// State: pulumi.StringRef(recipientInvitationState), +// Status: pulumi.StringRef(recipientInvitationStatus), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetRecipientInvitations(ctx *pulumi.Context, args *GetRecipientInvitationsArgs, opts ...pulumi.InvokeOption) (*GetRecipientInvitationsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRecipientInvitationsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRecipientInvitations. +type GetRecipientInvitationsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetRecipientInvitationsFilter `pulumi:"filters"` + // The tenancy that sent the invitation. + SenderTenancyId *string `pulumi:"senderTenancyId"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` + // The status of the recipient invitation. + Status *string `pulumi:"status"` +} + +// A collection of values returned by getRecipientInvitations. +type GetRecipientInvitationsResult struct { + // OCID of the recipient tenancy. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetRecipientInvitationsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The list of recipient_invitation_collection. + RecipientInvitationCollections []GetRecipientInvitationsRecipientInvitationCollection `pulumi:"recipientInvitationCollections"` + // OCID of the sender tenancy. + SenderTenancyId *string `pulumi:"senderTenancyId"` + // Lifecycle state of the recipient invitation. + State *string `pulumi:"state"` + // Status of the recipient invitation. + Status *string `pulumi:"status"` +} + +func GetRecipientInvitationsOutput(ctx *pulumi.Context, args GetRecipientInvitationsOutputArgs, opts ...pulumi.InvokeOption) GetRecipientInvitationsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetRecipientInvitationsResultOutput, error) { + args := v.(GetRecipientInvitationsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", args, GetRecipientInvitationsResultOutput{}, options).(GetRecipientInvitationsResultOutput), nil + }).(GetRecipientInvitationsResultOutput) +} + +// A collection of arguments for invoking getRecipientInvitations. +type GetRecipientInvitationsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetRecipientInvitationsFilterArrayInput `pulumi:"filters"` + // The tenancy that sent the invitation. + SenderTenancyId pulumi.StringPtrInput `pulumi:"senderTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` + // The status of the recipient invitation. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetRecipientInvitationsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsArgs)(nil)).Elem() +} + +// A collection of values returned by getRecipientInvitations. +type GetRecipientInvitationsResultOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsResult)(nil)).Elem() +} + +func (o GetRecipientInvitationsResultOutput) ToGetRecipientInvitationsResultOutput() GetRecipientInvitationsResultOutput { + return o +} + +func (o GetRecipientInvitationsResultOutput) ToGetRecipientInvitationsResultOutputWithContext(ctx context.Context) GetRecipientInvitationsResultOutput { + return o +} + +// OCID of the recipient tenancy. +func (o GetRecipientInvitationsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetRecipientInvitationsResultOutput) Filters() GetRecipientInvitationsFilterArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) []GetRecipientInvitationsFilter { return v.Filters }).(GetRecipientInvitationsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetRecipientInvitationsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of recipient_invitation_collection. +func (o GetRecipientInvitationsResultOutput) RecipientInvitationCollections() GetRecipientInvitationsRecipientInvitationCollectionArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) []GetRecipientInvitationsRecipientInvitationCollection { + return v.RecipientInvitationCollections + }).(GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) +} + +// OCID of the sender tenancy. +func (o GetRecipientInvitationsResultOutput) SenderTenancyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) *string { return v.SenderTenancyId }).(pulumi.StringPtrOutput) +} + +// Lifecycle state of the recipient invitation. +func (o GetRecipientInvitationsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// Status of the recipient invitation. +func (o GetRecipientInvitationsResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRecipientInvitationsResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRecipientInvitationsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitation.go b/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitation.go new file mode 100644 index 0000000000..7eaed783d2 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitation.go @@ -0,0 +1,202 @@ +// 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 tenantmanagercontrolplane + +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 Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets information about the sender invitation. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSenderInvitation(ctx, &tenantmanagercontrolplane.GetSenderInvitationArgs{ +// SenderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSenderInvitation(ctx *pulumi.Context, args *GetSenderInvitationArgs, opts ...pulumi.InvokeOption) (*GetSenderInvitationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSenderInvitationResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSenderInvitation. +type GetSenderInvitationArgs struct { + // OCID of the sender invitation to retrieve. + SenderInvitationId string `pulumi:"senderInvitationId"` +} + +// A collection of values returned by getSenderInvitation. +type GetSenderInvitationResult struct { + // OCID of the sender tenancy. + 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"` + // A user-created name to describe the invitation. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress string `pulumi:"recipientEmailAddress"` + // OCID of the corresponding recipient invitation. + RecipientInvitationId string `pulumi:"recipientInvitationId"` + // OCID of the recipient tenancy. + RecipientTenancyId string `pulumi:"recipientTenancyId"` + SenderInvitationId string `pulumi:"senderInvitationId"` + // Lifecycle state of the sender invitation. + State string `pulumi:"state"` + // Status of the sender invitation. + Status string `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects []string `pulumi:"subjects"` + // 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"` + // Date and time when the sender invitation was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the sender invitation was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetSenderInvitationOutput(ctx *pulumi.Context, args GetSenderInvitationOutputArgs, opts ...pulumi.InvokeOption) GetSenderInvitationResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSenderInvitationResultOutput, error) { + args := v.(GetSenderInvitationArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", args, GetSenderInvitationResultOutput{}, options).(GetSenderInvitationResultOutput), nil + }).(GetSenderInvitationResultOutput) +} + +// A collection of arguments for invoking getSenderInvitation. +type GetSenderInvitationOutputArgs struct { + // OCID of the sender invitation to retrieve. + SenderInvitationId pulumi.StringInput `pulumi:"senderInvitationId"` +} + +func (GetSenderInvitationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationArgs)(nil)).Elem() +} + +// A collection of values returned by getSenderInvitation. +type GetSenderInvitationResultOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationResult)(nil)).Elem() +} + +func (o GetSenderInvitationResultOutput) ToGetSenderInvitationResultOutput() GetSenderInvitationResultOutput { + return o +} + +func (o GetSenderInvitationResultOutput) ToGetSenderInvitationResultOutputWithContext(ctx context.Context) GetSenderInvitationResultOutput { + return o +} + +// OCID of the sender tenancy. +func (o GetSenderInvitationResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) 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 GetSenderInvitationResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A user-created name to describe the invitation. Avoid entering confidential information. +func (o GetSenderInvitationResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) 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 GetSenderInvitationResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSenderInvitationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Email address of the recipient. +func (o GetSenderInvitationResultOutput) RecipientEmailAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.RecipientEmailAddress }).(pulumi.StringOutput) +} + +// OCID of the corresponding recipient invitation. +func (o GetSenderInvitationResultOutput) RecipientInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.RecipientInvitationId }).(pulumi.StringOutput) +} + +// OCID of the recipient tenancy. +func (o GetSenderInvitationResultOutput) RecipientTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.RecipientTenancyId }).(pulumi.StringOutput) +} + +func (o GetSenderInvitationResultOutput) SenderInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.SenderInvitationId }).(pulumi.StringOutput) +} + +// Lifecycle state of the sender invitation. +func (o GetSenderInvitationResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.State }).(pulumi.StringOutput) +} + +// Status of the sender invitation. +func (o GetSenderInvitationResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.Status }).(pulumi.StringOutput) +} + +// The list of subjects the invitation contains. +func (o GetSenderInvitationResultOutput) Subjects() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSenderInvitationResult) []string { return v.Subjects }).(pulumi.StringArrayOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetSenderInvitationResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date and time when the sender invitation was created. +func (o GetSenderInvitationResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the sender invitation was last updated. +func (o GetSenderInvitationResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSenderInvitationResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitations.go b/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitations.go new file mode 100644 index 0000000000..577df152d7 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSenderInvitations.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 tenantmanagercontrolplane + +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 Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Return a (paginated) list of sender invitations. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSenderInvitations(ctx, &tenantmanagercontrolplane.GetSenderInvitationsArgs{ +// CompartmentId: compartmentId, +// DisplayName: pulumi.StringRef(senderInvitationDisplayName), +// RecipientTenancyId: pulumi.StringRef(testTenancy.Id), +// State: pulumi.StringRef(senderInvitationState), +// Status: pulumi.StringRef(senderInvitationStatus), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSenderInvitations(ctx *pulumi.Context, args *GetSenderInvitationsArgs, opts ...pulumi.InvokeOption) (*GetSenderInvitationsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSenderInvitationsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSenderInvitations. +type GetSenderInvitationsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // A filter to return only resources that match the entire display name given. + DisplayName *string `pulumi:"displayName"` + Filters []GetSenderInvitationsFilter `pulumi:"filters"` + // The tenancy that the invitation is addressed to. + RecipientTenancyId *string `pulumi:"recipientTenancyId"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` + // The status of the sender invitation. + Status *string `pulumi:"status"` +} + +// A collection of values returned by getSenderInvitations. +type GetSenderInvitationsResult struct { + // OCID of the sender tenancy. + CompartmentId string `pulumi:"compartmentId"` + // A user-created name to describe the invitation. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + Filters []GetSenderInvitationsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // OCID of the recipient tenancy. + RecipientTenancyId *string `pulumi:"recipientTenancyId"` + // The list of sender_invitation_collection. + SenderInvitationCollections []GetSenderInvitationsSenderInvitationCollection `pulumi:"senderInvitationCollections"` + // Lifecycle state of the sender invitation. + State *string `pulumi:"state"` + // Status of the sender invitation. + Status *string `pulumi:"status"` +} + +func GetSenderInvitationsOutput(ctx *pulumi.Context, args GetSenderInvitationsOutputArgs, opts ...pulumi.InvokeOption) GetSenderInvitationsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSenderInvitationsResultOutput, error) { + args := v.(GetSenderInvitationsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", args, GetSenderInvitationsResultOutput{}, options).(GetSenderInvitationsResultOutput), nil + }).(GetSenderInvitationsResultOutput) +} + +// A collection of arguments for invoking getSenderInvitations. +type GetSenderInvitationsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetSenderInvitationsFilterArrayInput `pulumi:"filters"` + // The tenancy that the invitation is addressed to. + RecipientTenancyId pulumi.StringPtrInput `pulumi:"recipientTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` + // The status of the sender invitation. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetSenderInvitationsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsArgs)(nil)).Elem() +} + +// A collection of values returned by getSenderInvitations. +type GetSenderInvitationsResultOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsResult)(nil)).Elem() +} + +func (o GetSenderInvitationsResultOutput) ToGetSenderInvitationsResultOutput() GetSenderInvitationsResultOutput { + return o +} + +func (o GetSenderInvitationsResultOutput) ToGetSenderInvitationsResultOutputWithContext(ctx context.Context) GetSenderInvitationsResultOutput { + return o +} + +// OCID of the sender tenancy. +func (o GetSenderInvitationsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// A user-created name to describe the invitation. Avoid entering confidential information. +func (o GetSenderInvitationsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetSenderInvitationsResultOutput) Filters() GetSenderInvitationsFilterArrayOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) []GetSenderInvitationsFilter { return v.Filters }).(GetSenderInvitationsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSenderInvitationsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// OCID of the recipient tenancy. +func (o GetSenderInvitationsResultOutput) RecipientTenancyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) *string { return v.RecipientTenancyId }).(pulumi.StringPtrOutput) +} + +// The list of sender_invitation_collection. +func (o GetSenderInvitationsResultOutput) SenderInvitationCollections() GetSenderInvitationsSenderInvitationCollectionArrayOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) []GetSenderInvitationsSenderInvitationCollection { + return v.SenderInvitationCollections + }).(GetSenderInvitationsSenderInvitationCollectionArrayOutput) +} + +// Lifecycle state of the sender invitation. +func (o GetSenderInvitationsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// Status of the sender invitation. +func (o GetSenderInvitationsResultOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSenderInvitationsResult) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSenderInvitationsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscription.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscription.go new file mode 100644 index 0000000000..f233c349e0 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscription.go @@ -0,0 +1,286 @@ +// 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 tenantmanagercontrolplane + +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 Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Gets the subscription details by subscription ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscription(ctx, &tenantmanagercontrolplane.GetSubscriptionArgs{ +// SubscriptionId: testSubscriptionOciTenantmanagercontrolplaneSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSubscription(ctx *pulumi.Context, args *GetSubscriptionArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubscriptionResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscription. +type GetSubscriptionArgs struct { + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getSubscription. +type GetSubscriptionResult struct { + // Classic subscription ID. + ClassicSubscriptionId string `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency string `pulumi:"cloudAmountCurrency"` + // The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber string `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode string `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode string `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + EntityVersion string `pulumi:"entityVersion"` + // 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 provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Specifies whether or not the subscription is from classic systems. + IsClassicSubscription bool `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription bool `pulumi:"isGovernmentSubscription"` + // The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + PaymentModel string `pulumi:"paymentModel"` + // Specifies any program that is associated with the subscription. + ProgramType string `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions []GetSubscriptionPromotion `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId string `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment string `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName string `pulumi:"serviceName"` + // List of SKUs linked to this subscription. + Skuses []GetSubscriptionSkus `pulumi:"skuses"` + // Subscription start time. + StartDate string `pulumi:"startDate"` + // Lifecycle state of the subscription. + State string `pulumi:"state"` + SubscriptionId string `pulumi:"subscriptionId"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber string `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier string `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated string `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetSubscriptionOutput(ctx *pulumi.Context, args GetSubscriptionOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSubscriptionResultOutput, error) { + args := v.(GetSubscriptionArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", args, GetSubscriptionResultOutput{}, options).(GetSubscriptionResultOutput), nil + }).(GetSubscriptionResultOutput) +} + +// A collection of arguments for invoking getSubscription. +type GetSubscriptionOutputArgs struct { + // OCID of the subscription. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` +} + +func (GetSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscription. +type GetSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionResult)(nil)).Elem() +} + +func (o GetSubscriptionResultOutput) ToGetSubscriptionResultOutput() GetSubscriptionResultOutput { + return o +} + +func (o GetSubscriptionResultOutput) ToGetSubscriptionResultOutputWithContext(ctx context.Context) GetSubscriptionResultOutput { + return o +} + +// Classic subscription ID. +func (o GetSubscriptionResultOutput) ClassicSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.ClassicSubscriptionId }).(pulumi.StringOutput) +} + +// The currency code for the customer associated with the subscription. +func (o GetSubscriptionResultOutput) CloudAmountCurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.CloudAmountCurrency }).(pulumi.StringOutput) +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. +func (o GetSubscriptionResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Customer service identifier for the customer associated with the subscription. +func (o GetSubscriptionResultOutput) CsiNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.CsiNumber }).(pulumi.StringOutput) +} + +// Currency code. For example USD, MXN. +func (o GetSubscriptionResultOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +// The country code for the customer associated with the subscription. +func (o GetSubscriptionResultOutput) CustomerCountryCode() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.CustomerCountryCode }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetSubscriptionResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// Date and time when the SKU ended. +func (o GetSubscriptionResultOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.EndDate }).(pulumi.StringOutput) +} + +// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). +func (o GetSubscriptionResultOutput) EntityVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.EntityVersion }).(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 GetSubscriptionResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Specifies whether or not the subscription is from classic systems. +func (o GetSubscriptionResultOutput) IsClassicSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionResult) bool { return v.IsClassicSubscription }).(pulumi.BoolOutput) +} + +// Specifies whether or not the subscription is a government subscription. +func (o GetSubscriptionResultOutput) IsGovernmentSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionResult) bool { return v.IsGovernmentSubscription }).(pulumi.BoolOutput) +} + +// The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. +func (o GetSubscriptionResultOutput) PaymentModel() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.PaymentModel }).(pulumi.StringOutput) +} + +// Specifies any program that is associated with the subscription. +func (o GetSubscriptionResultOutput) ProgramType() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.ProgramType }).(pulumi.StringOutput) +} + +// List of promotions related to the subscription. +func (o GetSubscriptionResultOutput) Promotions() GetSubscriptionPromotionArrayOutput { + return o.ApplyT(func(v GetSubscriptionResult) []GetSubscriptionPromotion { return v.Promotions }).(GetSubscriptionPromotionArrayOutput) +} + +// Purchase entitlement ID associated with the subscription. +func (o GetSubscriptionResultOutput) PurchaseEntitlementId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.PurchaseEntitlementId }).(pulumi.StringOutput) +} + +// Region for the subscription. +func (o GetSubscriptionResultOutput) RegionAssignment() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.RegionAssignment }).(pulumi.StringOutput) +} + +// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. +func (o GetSubscriptionResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// List of SKUs linked to this subscription. +func (o GetSubscriptionResultOutput) Skuses() GetSubscriptionSkusArrayOutput { + return o.ApplyT(func(v GetSubscriptionResult) []GetSubscriptionSkus { return v.Skuses }).(GetSubscriptionSkusArrayOutput) +} + +// Subscription start time. +func (o GetSubscriptionResultOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.StartDate }).(pulumi.StringOutput) +} + +// Lifecycle state of the subscription. +func (o GetSubscriptionResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. +func (o GetSubscriptionResultOutput) SubscriptionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.SubscriptionNumber }).(pulumi.StringOutput) +} + +// Tier for the subscription, whether a free promotion subscription or a paid subscription. +func (o GetSubscriptionResultOutput) SubscriptionTier() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.SubscriptionTier }).(pulumi.StringOutput) +} + +// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetSubscriptionResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetSubscriptionResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSubscriptionResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionAvailableRegions.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionAvailableRegions.go new file mode 100644 index 0000000000..64e0433a40 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionAvailableRegions.go @@ -0,0 +1,129 @@ +// 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 tenantmanagercontrolplane + +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 Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// List the available regions based on subscription ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscriptionAvailableRegions(ctx, &tenantmanagercontrolplane.GetSubscriptionAvailableRegionsArgs{ +// SubscriptionId: testSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSubscriptionAvailableRegions(ctx *pulumi.Context, args *GetSubscriptionAvailableRegionsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionAvailableRegionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubscriptionAvailableRegionsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscriptionAvailableRegions. +type GetSubscriptionAvailableRegionsArgs struct { + Filters []GetSubscriptionAvailableRegionsFilter `pulumi:"filters"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getSubscriptionAvailableRegions. +type GetSubscriptionAvailableRegionsResult struct { + // The list of available_region_collection. + AvailableRegionCollections []GetSubscriptionAvailableRegionsAvailableRegionCollection `pulumi:"availableRegionCollections"` + Filters []GetSubscriptionAvailableRegionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + SubscriptionId string `pulumi:"subscriptionId"` +} + +func GetSubscriptionAvailableRegionsOutput(ctx *pulumi.Context, args GetSubscriptionAvailableRegionsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionAvailableRegionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSubscriptionAvailableRegionsResultOutput, error) { + args := v.(GetSubscriptionAvailableRegionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", args, GetSubscriptionAvailableRegionsResultOutput{}, options).(GetSubscriptionAvailableRegionsResultOutput), nil + }).(GetSubscriptionAvailableRegionsResultOutput) +} + +// A collection of arguments for invoking getSubscriptionAvailableRegions. +type GetSubscriptionAvailableRegionsOutputArgs struct { + Filters GetSubscriptionAvailableRegionsFilterArrayInput `pulumi:"filters"` + // OCID of the subscription. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` +} + +func (GetSubscriptionAvailableRegionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscriptionAvailableRegions. +type GetSubscriptionAvailableRegionsResultOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsResult)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsResultOutput) ToGetSubscriptionAvailableRegionsResultOutput() GetSubscriptionAvailableRegionsResultOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsResultOutput) ToGetSubscriptionAvailableRegionsResultOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsResultOutput { + return o +} + +// The list of available_region_collection. +func (o GetSubscriptionAvailableRegionsResultOutput) AvailableRegionCollections() GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsResult) []GetSubscriptionAvailableRegionsAvailableRegionCollection { + return v.AvailableRegionCollections + }).(GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) +} + +func (o GetSubscriptionAvailableRegionsResultOutput) Filters() GetSubscriptionAvailableRegionsFilterArrayOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsResult) []GetSubscriptionAvailableRegionsFilter { + return v.Filters + }).(GetSubscriptionAvailableRegionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSubscriptionAvailableRegionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetSubscriptionAvailableRegionsResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionLineItems.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionLineItems.go new file mode 100644 index 0000000000..0a77c6d24b --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionLineItems.go @@ -0,0 +1,127 @@ +// 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 tenantmanagercontrolplane + +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 Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Lists the line items in a subscription. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscriptionLineItems(ctx, &tenantmanagercontrolplane.GetSubscriptionLineItemsArgs{ +// SubscriptionId: testSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSubscriptionLineItems(ctx *pulumi.Context, args *GetSubscriptionLineItemsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionLineItemsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubscriptionLineItemsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscriptionLineItems. +type GetSubscriptionLineItemsArgs struct { + Filters []GetSubscriptionLineItemsFilter `pulumi:"filters"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getSubscriptionLineItems. +type GetSubscriptionLineItemsResult struct { + Filters []GetSubscriptionLineItemsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + SubscriptionId string `pulumi:"subscriptionId"` + // The list of subscription_line_item_collection. + SubscriptionLineItemCollections []GetSubscriptionLineItemsSubscriptionLineItemCollection `pulumi:"subscriptionLineItemCollections"` +} + +func GetSubscriptionLineItemsOutput(ctx *pulumi.Context, args GetSubscriptionLineItemsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionLineItemsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSubscriptionLineItemsResultOutput, error) { + args := v.(GetSubscriptionLineItemsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", args, GetSubscriptionLineItemsResultOutput{}, options).(GetSubscriptionLineItemsResultOutput), nil + }).(GetSubscriptionLineItemsResultOutput) +} + +// A collection of arguments for invoking getSubscriptionLineItems. +type GetSubscriptionLineItemsOutputArgs struct { + Filters GetSubscriptionLineItemsFilterArrayInput `pulumi:"filters"` + // OCID of the subscription. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` +} + +func (GetSubscriptionLineItemsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscriptionLineItems. +type GetSubscriptionLineItemsResultOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsResult)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsResultOutput) ToGetSubscriptionLineItemsResultOutput() GetSubscriptionLineItemsResultOutput { + return o +} + +func (o GetSubscriptionLineItemsResultOutput) ToGetSubscriptionLineItemsResultOutputWithContext(ctx context.Context) GetSubscriptionLineItemsResultOutput { + return o +} + +func (o GetSubscriptionLineItemsResultOutput) Filters() GetSubscriptionLineItemsFilterArrayOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsResult) []GetSubscriptionLineItemsFilter { return v.Filters }).(GetSubscriptionLineItemsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSubscriptionLineItemsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetSubscriptionLineItemsResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// The list of subscription_line_item_collection. +func (o GetSubscriptionLineItemsResultOutput) SubscriptionLineItemCollections() GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsResult) []GetSubscriptionLineItemsSubscriptionLineItemCollection { + return v.SubscriptionLineItemCollections + }).(GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSubscriptionLineItemsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMapping.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMapping.go new file mode 100644 index 0000000000..9d01fcf1ec --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMapping.go @@ -0,0 +1,160 @@ +// 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 tenantmanagercontrolplane + +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 Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Get the subscription mapping details by subscription mapping ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscriptionMapping(ctx, &tenantmanagercontrolplane.GetSubscriptionMappingArgs{ +// SubscriptionMappingId: testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupSubscriptionMapping(ctx *pulumi.Context, args *LookupSubscriptionMappingArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionMappingResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSubscriptionMappingResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscriptionMapping. +type LookupSubscriptionMappingArgs struct { + // OCID of the subscriptionMappingId. + SubscriptionMappingId string `pulumi:"subscriptionMappingId"` +} + +// A collection of values returned by getSubscriptionMapping. +type LookupSubscriptionMappingResult struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // OCID of the mapping between subscription and compartment identified by the tenancy. + Id string `pulumi:"id"` + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned bool `pulumi:"isExplicitlyAssigned"` + // Lifecycle state of the subscriptionMapping. + State string `pulumi:"state"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` + SubscriptionMappingId string `pulumi:"subscriptionMappingId"` + // Date-time when subscription mapping was created. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when subscription mapping was terminated. + TimeTerminated string `pulumi:"timeTerminated"` + // Date-time when subscription mapping was updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupSubscriptionMappingOutput(ctx *pulumi.Context, args LookupSubscriptionMappingOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionMappingResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupSubscriptionMappingResultOutput, error) { + args := v.(LookupSubscriptionMappingArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", args, LookupSubscriptionMappingResultOutput{}, options).(LookupSubscriptionMappingResultOutput), nil + }).(LookupSubscriptionMappingResultOutput) +} + +// A collection of arguments for invoking getSubscriptionMapping. +type LookupSubscriptionMappingOutputArgs struct { + // OCID of the subscriptionMappingId. + SubscriptionMappingId pulumi.StringInput `pulumi:"subscriptionMappingId"` +} + +func (LookupSubscriptionMappingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubscriptionMappingArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscriptionMapping. +type LookupSubscriptionMappingResultOutput struct{ *pulumi.OutputState } + +func (LookupSubscriptionMappingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubscriptionMappingResult)(nil)).Elem() +} + +func (o LookupSubscriptionMappingResultOutput) ToLookupSubscriptionMappingResultOutput() LookupSubscriptionMappingResultOutput { + return o +} + +func (o LookupSubscriptionMappingResultOutput) ToLookupSubscriptionMappingResultOutputWithContext(ctx context.Context) LookupSubscriptionMappingResultOutput { + return o +} + +// OCID of the compartment. Always a tenancy OCID. +func (o LookupSubscriptionMappingResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// OCID of the mapping between subscription and compartment identified by the tenancy. +func (o LookupSubscriptionMappingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Denotes if the subscription is explicity assigned to the root compartment or tenancy. +func (o LookupSubscriptionMappingResultOutput) IsExplicitlyAssigned() pulumi.BoolOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) bool { return v.IsExplicitlyAssigned }).(pulumi.BoolOutput) +} + +// Lifecycle state of the subscriptionMapping. +func (o LookupSubscriptionMappingResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.State }).(pulumi.StringOutput) +} + +// OCID of the subscription. +func (o LookupSubscriptionMappingResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +func (o LookupSubscriptionMappingResultOutput) SubscriptionMappingId() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.SubscriptionMappingId }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was created. +func (o LookupSubscriptionMappingResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was terminated. +func (o LookupSubscriptionMappingResultOutput) TimeTerminated() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.TimeTerminated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was updated. +func (o LookupSubscriptionMappingResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubscriptionMappingResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSubscriptionMappingResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMappings.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMappings.go new file mode 100644 index 0000000000..978e139034 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptionMappings.go @@ -0,0 +1,163 @@ +// 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 tenantmanagercontrolplane + +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 Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscriptionMappings(ctx, &tenantmanagercontrolplane.GetSubscriptionMappingsArgs{ +// SubscriptionId: testSubscription.Id, +// CompartmentId: pulumi.StringRef(compartmentId), +// State: pulumi.StringRef(subscriptionMappingState), +// SubscriptionMappingId: pulumi.StringRef(testSubscriptionMapping.Id), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSubscriptionMappings(ctx *pulumi.Context, args *GetSubscriptionMappingsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionMappingsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubscriptionMappingsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscriptionMappings. +type GetSubscriptionMappingsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + Filters []GetSubscriptionMappingsFilter `pulumi:"filters"` + // The lifecycle state of the resource. + State *string `pulumi:"state"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` + // A unique ID for subscription and tenancy mapping. + SubscriptionMappingId *string `pulumi:"subscriptionMappingId"` +} + +// A collection of values returned by getSubscriptionMappings. +type GetSubscriptionMappingsResult struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId *string `pulumi:"compartmentId"` + Filters []GetSubscriptionMappingsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Lifecycle state of the subscriptionMapping. + State *string `pulumi:"state"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` + // The list of subscription_mapping_collection. + SubscriptionMappingCollections []GetSubscriptionMappingsSubscriptionMappingCollection `pulumi:"subscriptionMappingCollections"` + SubscriptionMappingId *string `pulumi:"subscriptionMappingId"` +} + +func GetSubscriptionMappingsOutput(ctx *pulumi.Context, args GetSubscriptionMappingsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionMappingsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSubscriptionMappingsResultOutput, error) { + args := v.(GetSubscriptionMappingsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", args, GetSubscriptionMappingsResultOutput{}, options).(GetSubscriptionMappingsResultOutput), nil + }).(GetSubscriptionMappingsResultOutput) +} + +// A collection of arguments for invoking getSubscriptionMappings. +type GetSubscriptionMappingsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + Filters GetSubscriptionMappingsFilterArrayInput `pulumi:"filters"` + // The lifecycle state of the resource. + State pulumi.StringPtrInput `pulumi:"state"` + // OCID of the subscription. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + // A unique ID for subscription and tenancy mapping. + SubscriptionMappingId pulumi.StringPtrInput `pulumi:"subscriptionMappingId"` +} + +func (GetSubscriptionMappingsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscriptionMappings. +type GetSubscriptionMappingsResultOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsResult)(nil)).Elem() +} + +func (o GetSubscriptionMappingsResultOutput) ToGetSubscriptionMappingsResultOutput() GetSubscriptionMappingsResultOutput { + return o +} + +func (o GetSubscriptionMappingsResultOutput) ToGetSubscriptionMappingsResultOutputWithContext(ctx context.Context) GetSubscriptionMappingsResultOutput { + return o +} + +// OCID of the compartment. Always a tenancy OCID. +func (o GetSubscriptionMappingsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetSubscriptionMappingsResultOutput) Filters() GetSubscriptionMappingsFilterArrayOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) []GetSubscriptionMappingsFilter { return v.Filters }).(GetSubscriptionMappingsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSubscriptionMappingsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Lifecycle state of the subscriptionMapping. +func (o GetSubscriptionMappingsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// OCID of the subscription. +func (o GetSubscriptionMappingsResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// The list of subscription_mapping_collection. +func (o GetSubscriptionMappingsResultOutput) SubscriptionMappingCollections() GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) []GetSubscriptionMappingsSubscriptionMappingCollection { + return v.SubscriptionMappingCollections + }).(GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) +} + +func (o GetSubscriptionMappingsResultOutput) SubscriptionMappingId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionMappingsResult) *string { return v.SubscriptionMappingId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSubscriptionMappingsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/getSubscriptions.go b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptions.go new file mode 100644 index 0000000000..a78e7229e2 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/getSubscriptions.go @@ -0,0 +1,151 @@ +// 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 tenantmanagercontrolplane + +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 Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// List the subscriptions that a compartment owns. Only the root compartment is allowed. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.GetSubscriptions(ctx, &tenantmanagercontrolplane.GetSubscriptionsArgs{ +// CompartmentId: pulumi.StringRef(compartmentId), +// EntityVersion: pulumi.StringRef(subscriptionEntityVersion), +// SubscriptionId: pulumi.StringRef(testSubscription.Id), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSubscriptions(ctx *pulumi.Context, args *GetSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubscriptionsResult + err := ctx.Invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubscriptions. +type GetSubscriptionsArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // The version of the subscription entity. + EntityVersion *string `pulumi:"entityVersion"` + Filters []GetSubscriptionsFilter `pulumi:"filters"` + // The ID of the subscription to which the tenancy is associated. + SubscriptionId *string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getSubscriptions. +type GetSubscriptionsResult struct { + // The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + CompartmentId *string `pulumi:"compartmentId"` + // The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + EntityVersion *string `pulumi:"entityVersion"` + Filters []GetSubscriptionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The list of subscription_collection. + SubscriptionCollections []GetSubscriptionsSubscriptionCollection `pulumi:"subscriptionCollections"` + SubscriptionId *string `pulumi:"subscriptionId"` +} + +func GetSubscriptionsOutput(ctx *pulumi.Context, args GetSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSubscriptionsResultOutput, error) { + args := v.(GetSubscriptionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", args, GetSubscriptionsResultOutput{}, options).(GetSubscriptionsResultOutput), nil + }).(GetSubscriptionsResultOutput) +} + +// A collection of arguments for invoking getSubscriptions. +type GetSubscriptionsOutputArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // The version of the subscription entity. + EntityVersion pulumi.StringPtrInput `pulumi:"entityVersion"` + Filters GetSubscriptionsFilterArrayInput `pulumi:"filters"` + // The ID of the subscription to which the tenancy is associated. + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` +} + +func (GetSubscriptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getSubscriptions. +type GetSubscriptionsResultOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsResult)(nil)).Elem() +} + +func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput() GetSubscriptionsResultOutput { + return o +} + +func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext(ctx context.Context) GetSubscriptionsResultOutput { + return o +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. +func (o GetSubscriptionsResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionsResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +// The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). +func (o GetSubscriptionsResultOutput) EntityVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionsResult) *string { return v.EntityVersion }).(pulumi.StringPtrOutput) +} + +func (o GetSubscriptionsResultOutput) Filters() GetSubscriptionsFilterArrayOutput { + return o.ApplyT(func(v GetSubscriptionsResult) []GetSubscriptionsFilter { return v.Filters }).(GetSubscriptionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSubscriptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of subscription_collection. +func (o GetSubscriptionsResultOutput) SubscriptionCollections() GetSubscriptionsSubscriptionCollectionArrayOutput { + return o.ApplyT(func(v GetSubscriptionsResult) []GetSubscriptionsSubscriptionCollection { + return v.SubscriptionCollections + }).(GetSubscriptionsSubscriptionCollectionArrayOutput) +} + +func (o GetSubscriptionsResultOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSubscriptionsResult) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSubscriptionsResultOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/init.go b/sdk/go/oci/tenantmanagercontrolplane/init.go new file mode 100644 index 0000000000..6eed1776eb --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/init.go @@ -0,0 +1,44 @@ +// 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 tenantmanagercontrolplane + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping": + r = &SubscriptionMapping{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +func init() { + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "oci", + "Tenantmanagercontrolplane/subscriptionMapping", + &module{version}, + ) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/pulumiTypes.go b/sdk/go/oci/tenantmanagercontrolplane/pulumiTypes.go new file mode 100644 index 0000000000..42db476cca --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/pulumiTypes.go @@ -0,0 +1,6803 @@ +// 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 tenantmanagercontrolplane + +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 GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection struct { + // Array containing line item summaries in an assigned subscription. + Items []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem `pulumi:"items"` +} + +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionInput is an input type that accepts GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs and GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionInput` via: +// +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs{...} +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs struct { + // Array containing line item summaries in an assigned subscription. + Items GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayInput `pulumi:"items"` +} + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput { + return i.ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) +} + +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayInput is an input type that accepts GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray and GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayInput` via: +// +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray{ GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs{...} } +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionInput + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput { + return i.ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput { + return o +} + +// Array containing line item summaries in an assigned subscription. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) Items() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection) []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem { + return v.Items + }).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection { + return vs[0].([]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection)[vs[1].(int)] + }).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput) +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem struct { + // Billing model supported by the associated line item. + BillingModel string `pulumi:"billingModel"` + // Subscription line item identifier. + Id string `pulumi:"id"` + // Product code. + ProductCode string `pulumi:"productCode"` + // Product number. + Quantity float64 `pulumi:"quantity"` + // 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + TimeEnded string `pulumi:"timeEnded"` + // The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemInput is an input type that accepts GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs and GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemInput` via: +// +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs{...} +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs struct { + // Billing model supported by the associated line item. + BillingModel pulumi.StringInput `pulumi:"billingModel"` + // Subscription line item identifier. + Id pulumi.StringInput `pulumi:"id"` + // Product code. + ProductCode pulumi.StringInput `pulumi:"productCode"` + // Product number. + Quantity pulumi.Float64Input `pulumi:"quantity"` + // 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + TimeEnded pulumi.StringInput `pulumi:"timeEnded"` + // The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput { + return i.ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) +} + +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayInput is an input type that accepts GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray and GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayInput` via: +// +// GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray{ GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs{...} } +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput + ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray []GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemInput + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput { + return i.ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput { + return o +} + +// Billing model supported by the associated line item. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) BillingModel() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) string { + return v.BillingModel + }).(pulumi.StringOutput) +} + +// Subscription line item identifier. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Product code. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) ProductCode() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) string { + return v.ProductCode + }).(pulumi.StringOutput) +} + +// Product number. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) Quantity() pulumi.Float64Output { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) float64 { + return v.Quantity + }).(pulumi.Float64Output) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) TimeEnded() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) string { + return v.TimeEnded + }).(pulumi.StringOutput) +} + +// The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem) string { + return v.TimeStarted + }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput() GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) ToGetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem { + return vs[0].([]GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem)[vs[1].(int)] + }).(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput) +} + +type GetAssignedSubscriptionLineItemsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetAssignedSubscriptionLineItemsFilterInput is an input type that accepts GetAssignedSubscriptionLineItemsFilterArgs and GetAssignedSubscriptionLineItemsFilterOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsFilterInput` via: +// +// GetAssignedSubscriptionLineItemsFilterArgs{...} +type GetAssignedSubscriptionLineItemsFilterInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsFilterOutput() GetAssignedSubscriptionLineItemsFilterOutput + ToGetAssignedSubscriptionLineItemsFilterOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsFilterOutput +} + +type GetAssignedSubscriptionLineItemsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetAssignedSubscriptionLineItemsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsFilterArgs) ToGetAssignedSubscriptionLineItemsFilterOutput() GetAssignedSubscriptionLineItemsFilterOutput { + return i.ToGetAssignedSubscriptionLineItemsFilterOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsFilterArgs) ToGetAssignedSubscriptionLineItemsFilterOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsFilterOutput) +} + +// GetAssignedSubscriptionLineItemsFilterArrayInput is an input type that accepts GetAssignedSubscriptionLineItemsFilterArray and GetAssignedSubscriptionLineItemsFilterArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionLineItemsFilterArrayInput` via: +// +// GetAssignedSubscriptionLineItemsFilterArray{ GetAssignedSubscriptionLineItemsFilterArgs{...} } +type GetAssignedSubscriptionLineItemsFilterArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionLineItemsFilterArrayOutput() GetAssignedSubscriptionLineItemsFilterArrayOutput + ToGetAssignedSubscriptionLineItemsFilterArrayOutputWithContext(context.Context) GetAssignedSubscriptionLineItemsFilterArrayOutput +} + +type GetAssignedSubscriptionLineItemsFilterArray []GetAssignedSubscriptionLineItemsFilterInput + +func (GetAssignedSubscriptionLineItemsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (i GetAssignedSubscriptionLineItemsFilterArray) ToGetAssignedSubscriptionLineItemsFilterArrayOutput() GetAssignedSubscriptionLineItemsFilterArrayOutput { + return i.ToGetAssignedSubscriptionLineItemsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionLineItemsFilterArray) ToGetAssignedSubscriptionLineItemsFilterArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionLineItemsFilterArrayOutput) +} + +type GetAssignedSubscriptionLineItemsFilterOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsFilterOutput) ToGetAssignedSubscriptionLineItemsFilterOutput() GetAssignedSubscriptionLineItemsFilterOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsFilterOutput) ToGetAssignedSubscriptionLineItemsFilterOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsFilterOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetAssignedSubscriptionLineItemsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetAssignedSubscriptionLineItemsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionLineItemsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetAssignedSubscriptionLineItemsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionLineItemsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (o GetAssignedSubscriptionLineItemsFilterArrayOutput) ToGetAssignedSubscriptionLineItemsFilterArrayOutput() GetAssignedSubscriptionLineItemsFilterArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsFilterArrayOutput) ToGetAssignedSubscriptionLineItemsFilterArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionLineItemsFilterArrayOutput { + return o +} + +func (o GetAssignedSubscriptionLineItemsFilterArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionLineItemsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionLineItemsFilter { + return vs[0].([]GetAssignedSubscriptionLineItemsFilter)[vs[1].(int)] + }).(GetAssignedSubscriptionLineItemsFilterOutput) +} + +type GetAssignedSubscriptionPromotion struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount float64 `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit string `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration int `pulumi:"duration"` + // Unit for the duration. + DurationUnit string `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay bool `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status string `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired string `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetAssignedSubscriptionPromotionInput is an input type that accepts GetAssignedSubscriptionPromotionArgs and GetAssignedSubscriptionPromotionOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionPromotionInput` via: +// +// GetAssignedSubscriptionPromotionArgs{...} +type GetAssignedSubscriptionPromotionInput interface { + pulumi.Input + + ToGetAssignedSubscriptionPromotionOutput() GetAssignedSubscriptionPromotionOutput + ToGetAssignedSubscriptionPromotionOutputWithContext(context.Context) GetAssignedSubscriptionPromotionOutput +} + +type GetAssignedSubscriptionPromotionArgs struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount pulumi.Float64Input `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit pulumi.StringInput `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration pulumi.IntInput `pulumi:"duration"` + // Unit for the duration. + DurationUnit pulumi.StringInput `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay pulumi.BoolInput `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status pulumi.StringInput `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired pulumi.StringInput `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetAssignedSubscriptionPromotionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionPromotion)(nil)).Elem() +} + +func (i GetAssignedSubscriptionPromotionArgs) ToGetAssignedSubscriptionPromotionOutput() GetAssignedSubscriptionPromotionOutput { + return i.ToGetAssignedSubscriptionPromotionOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionPromotionArgs) ToGetAssignedSubscriptionPromotionOutputWithContext(ctx context.Context) GetAssignedSubscriptionPromotionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionPromotionOutput) +} + +// GetAssignedSubscriptionPromotionArrayInput is an input type that accepts GetAssignedSubscriptionPromotionArray and GetAssignedSubscriptionPromotionArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionPromotionArrayInput` via: +// +// GetAssignedSubscriptionPromotionArray{ GetAssignedSubscriptionPromotionArgs{...} } +type GetAssignedSubscriptionPromotionArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionPromotionArrayOutput() GetAssignedSubscriptionPromotionArrayOutput + ToGetAssignedSubscriptionPromotionArrayOutputWithContext(context.Context) GetAssignedSubscriptionPromotionArrayOutput +} + +type GetAssignedSubscriptionPromotionArray []GetAssignedSubscriptionPromotionInput + +func (GetAssignedSubscriptionPromotionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionPromotion)(nil)).Elem() +} + +func (i GetAssignedSubscriptionPromotionArray) ToGetAssignedSubscriptionPromotionArrayOutput() GetAssignedSubscriptionPromotionArrayOutput { + return i.ToGetAssignedSubscriptionPromotionArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionPromotionArray) ToGetAssignedSubscriptionPromotionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionPromotionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionPromotionArrayOutput) +} + +type GetAssignedSubscriptionPromotionOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionPromotionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionPromotion)(nil)).Elem() +} + +func (o GetAssignedSubscriptionPromotionOutput) ToGetAssignedSubscriptionPromotionOutput() GetAssignedSubscriptionPromotionOutput { + return o +} + +func (o GetAssignedSubscriptionPromotionOutput) ToGetAssignedSubscriptionPromotionOutputWithContext(ctx context.Context) GetAssignedSubscriptionPromotionOutput { + return o +} + +// If a subscription is present, indicates the total amount of promotional subscription credits. +func (o GetAssignedSubscriptionPromotionOutput) Amount() pulumi.Float64Output { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) float64 { return v.Amount }).(pulumi.Float64Output) +} + +// Currency unit associated with the promotion. +func (o GetAssignedSubscriptionPromotionOutput) CurrencyUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) string { return v.CurrencyUnit }).(pulumi.StringOutput) +} + +// Specifies how long the promotion related to the subscription, if any, is valid in duration units. +func (o GetAssignedSubscriptionPromotionOutput) Duration() pulumi.IntOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) int { return v.Duration }).(pulumi.IntOutput) +} + +// Unit for the duration. +func (o GetAssignedSubscriptionPromotionOutput) DurationUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) string { return v.DurationUnit }).(pulumi.StringOutput) +} + +// Speficies whether or not the customer intends to pay after the promotion has expired. +func (o GetAssignedSubscriptionPromotionOutput) IsIntentToPay() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) bool { return v.IsIntentToPay }).(pulumi.BoolOutput) +} + +// If a subscription is present, indicates the current status of the subscription promotion. +func (o GetAssignedSubscriptionPromotionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) string { return v.Status }).(pulumi.StringOutput) +} + +// Date and time when the promotion ends. +func (o GetAssignedSubscriptionPromotionOutput) TimeExpired() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) string { return v.TimeExpired }).(pulumi.StringOutput) +} + +// Date and time when the promotion starts. +func (o GetAssignedSubscriptionPromotionOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionPromotion) string { return v.TimeStarted }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionPromotionArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionPromotionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionPromotion)(nil)).Elem() +} + +func (o GetAssignedSubscriptionPromotionArrayOutput) ToGetAssignedSubscriptionPromotionArrayOutput() GetAssignedSubscriptionPromotionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionPromotionArrayOutput) ToGetAssignedSubscriptionPromotionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionPromotionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionPromotionArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionPromotionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionPromotion { + return vs[0].([]GetAssignedSubscriptionPromotion)[vs[1].(int)] + }).(GetAssignedSubscriptionPromotionOutput) +} + +type GetAssignedSubscriptionSkus struct { + // Description of the stock units. + Description string `pulumi:"description"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId string `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance bool `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent bool `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription string `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName string `pulumi:"metricName"` + // Quantity of the stock units. + Quantity int `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku string `pulumi:"sku"` + // Subscription start time. + StartDate string `pulumi:"startDate"` +} + +// GetAssignedSubscriptionSkusInput is an input type that accepts GetAssignedSubscriptionSkusArgs and GetAssignedSubscriptionSkusOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionSkusInput` via: +// +// GetAssignedSubscriptionSkusArgs{...} +type GetAssignedSubscriptionSkusInput interface { + pulumi.Input + + ToGetAssignedSubscriptionSkusOutput() GetAssignedSubscriptionSkusOutput + ToGetAssignedSubscriptionSkusOutputWithContext(context.Context) GetAssignedSubscriptionSkusOutput +} + +type GetAssignedSubscriptionSkusArgs struct { + // Description of the stock units. + Description pulumi.StringInput `pulumi:"description"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId pulumi.StringInput `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance pulumi.BoolInput `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent pulumi.BoolInput `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription pulumi.StringInput `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName pulumi.StringInput `pulumi:"metricName"` + // Quantity of the stock units. + Quantity pulumi.IntInput `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku pulumi.StringInput `pulumi:"sku"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` +} + +func (GetAssignedSubscriptionSkusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionSkus)(nil)).Elem() +} + +func (i GetAssignedSubscriptionSkusArgs) ToGetAssignedSubscriptionSkusOutput() GetAssignedSubscriptionSkusOutput { + return i.ToGetAssignedSubscriptionSkusOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionSkusArgs) ToGetAssignedSubscriptionSkusOutputWithContext(ctx context.Context) GetAssignedSubscriptionSkusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionSkusOutput) +} + +// GetAssignedSubscriptionSkusArrayInput is an input type that accepts GetAssignedSubscriptionSkusArray and GetAssignedSubscriptionSkusArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionSkusArrayInput` via: +// +// GetAssignedSubscriptionSkusArray{ GetAssignedSubscriptionSkusArgs{...} } +type GetAssignedSubscriptionSkusArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionSkusArrayOutput() GetAssignedSubscriptionSkusArrayOutput + ToGetAssignedSubscriptionSkusArrayOutputWithContext(context.Context) GetAssignedSubscriptionSkusArrayOutput +} + +type GetAssignedSubscriptionSkusArray []GetAssignedSubscriptionSkusInput + +func (GetAssignedSubscriptionSkusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionSkus)(nil)).Elem() +} + +func (i GetAssignedSubscriptionSkusArray) ToGetAssignedSubscriptionSkusArrayOutput() GetAssignedSubscriptionSkusArrayOutput { + return i.ToGetAssignedSubscriptionSkusArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionSkusArray) ToGetAssignedSubscriptionSkusArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionSkusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionSkusArrayOutput) +} + +type GetAssignedSubscriptionSkusOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionSkusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionSkus)(nil)).Elem() +} + +func (o GetAssignedSubscriptionSkusOutput) ToGetAssignedSubscriptionSkusOutput() GetAssignedSubscriptionSkusOutput { + return o +} + +func (o GetAssignedSubscriptionSkusOutput) ToGetAssignedSubscriptionSkusOutputWithContext(ctx context.Context) GetAssignedSubscriptionSkusOutput { + return o +} + +// Description of the stock units. +func (o GetAssignedSubscriptionSkusOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.Description }).(pulumi.StringOutput) +} + +// Date and time when the SKU ended. +func (o GetAssignedSubscriptionSkusOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.EndDate }).(pulumi.StringOutput) +} + +// Sales order line identifier. +func (o GetAssignedSubscriptionSkusOutput) GsiOrderLineId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.GsiOrderLineId }).(pulumi.StringOutput) +} + +// Specifies if an additional test instance can be provisioned by the SaaS application. +func (o GetAssignedSubscriptionSkusOutput) IsAdditionalInstance() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) bool { return v.IsAdditionalInstance }).(pulumi.BoolOutput) +} + +// Specifies if the SKU is considered as a parent or child. +func (o GetAssignedSubscriptionSkusOutput) IsBaseServiceComponent() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) bool { return v.IsBaseServiceComponent }).(pulumi.BoolOutput) +} + +// Description of the covered product belonging to this SKU. +func (o GetAssignedSubscriptionSkusOutput) LicensePartDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.LicensePartDescription }).(pulumi.StringOutput) +} + +// Base metric for billing the service. +func (o GetAssignedSubscriptionSkusOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.MetricName }).(pulumi.StringOutput) +} + +// Quantity of the stock units. +func (o GetAssignedSubscriptionSkusOutput) Quantity() pulumi.IntOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) int { return v.Quantity }).(pulumi.IntOutput) +} + +// Stock Keeping Unit (SKU) ID. +func (o GetAssignedSubscriptionSkusOutput) Sku() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.Sku }).(pulumi.StringOutput) +} + +// Subscription start time. +func (o GetAssignedSubscriptionSkusOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionSkus) string { return v.StartDate }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionSkusArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionSkusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionSkus)(nil)).Elem() +} + +func (o GetAssignedSubscriptionSkusArrayOutput) ToGetAssignedSubscriptionSkusArrayOutput() GetAssignedSubscriptionSkusArrayOutput { + return o +} + +func (o GetAssignedSubscriptionSkusArrayOutput) ToGetAssignedSubscriptionSkusArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionSkusArrayOutput { + return o +} + +func (o GetAssignedSubscriptionSkusArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionSkusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionSkus { + return vs[0].([]GetAssignedSubscriptionSkus)[vs[1].(int)] + }).(GetAssignedSubscriptionSkusOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollection struct { + Items []GetAssignedSubscriptionsAssignedSubscriptionCollectionItem `pulumi:"items"` +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs and GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs{...} +type GetAssignedSubscriptionsAssignedSubscriptionCollectionInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs struct { + Items GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayInput `pulumi:"items"` +} + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollection)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionArray and GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionArray{ GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs{...} } +type GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionArray []GetAssignedSubscriptionsAssignedSubscriptionCollectionInput + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollection)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollection)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) Items() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollection) []GetAssignedSubscriptionsAssignedSubscriptionCollectionItem { + return v.Items + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollection)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionsAssignedSubscriptionCollection { + return vs[0].([]GetAssignedSubscriptionsAssignedSubscriptionCollection)[vs[1].(int)] + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItem struct { + // Subscription ID. + ClassicSubscriptionId string `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency string `pulumi:"cloudAmountCurrency"` + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber string `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode string `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode string `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // The version of the subscription entity. + EntityVersion string `pulumi:"entityVersion"` + // 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + Id string `pulumi:"id"` + // Specifies whether or not the subscription is legacy. + IsClassicSubscription bool `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription bool `pulumi:"isGovernmentSubscription"` + // Service or component which is used to provision and manage the subscription. + ManagedBy string `pulumi:"managedBy"` + // List of subscription order OCIDs that contributed to this subscription. + OrderIds []string `pulumi:"orderIds"` + // Specifies any program that is associated with the subscription. + ProgramType string `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId string `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment string `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName string `pulumi:"serviceName"` + // List of SKUs linked to the subscription. + Skuses []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus `pulumi:"skuses"` + // Subscription start time. + StartDate string `pulumi:"startDate"` + // Lifecycle state of the subscription. + State string `pulumi:"state"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber string `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier string `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated string `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs{...} +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs struct { + // Subscription ID. + ClassicSubscriptionId pulumi.StringInput `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency pulumi.StringInput `pulumi:"cloudAmountCurrency"` + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber pulumi.StringInput `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode pulumi.StringInput `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // The version of the subscription entity. + EntityVersion pulumi.StringInput `pulumi:"entityVersion"` + // 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + Id pulumi.StringInput `pulumi:"id"` + // Specifies whether or not the subscription is legacy. + IsClassicSubscription pulumi.BoolInput `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription pulumi.BoolInput `pulumi:"isGovernmentSubscription"` + // Service or component which is used to provision and manage the subscription. + ManagedBy pulumi.StringInput `pulumi:"managedBy"` + // List of subscription order OCIDs that contributed to this subscription. + OrderIds pulumi.StringArrayInput `pulumi:"orderIds"` + // Specifies any program that is associated with the subscription. + ProgramType pulumi.StringInput `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayInput `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId pulumi.StringInput `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment pulumi.StringInput `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // List of SKUs linked to the subscription. + Skuses GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayInput `pulumi:"skuses"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` + // Lifecycle state of the subscription. + State pulumi.StringInput `pulumi:"state"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber pulumi.StringInput `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier pulumi.StringInput `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItem)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray{ GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs{...} } +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemInput + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItem)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItem)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput { + return o +} + +// Subscription ID. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ClassicSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { + return v.ClassicSubscriptionId + }).(pulumi.StringOutput) +} + +// The currency code for the customer associated with the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) CloudAmountCurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { + return v.CloudAmountCurrency + }).(pulumi.StringOutput) +} + +// The ID of the compartment in which to list resources. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Customer service identifier for the customer associated with the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) CsiNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.CsiNumber }).(pulumi.StringOutput) +} + +// Currency code. For example USD, MXN. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +// The country code for the customer associated with the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) CustomerCountryCode() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { + return v.CustomerCountryCode + }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// Date and time when the SKU ended. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.EndDate }).(pulumi.StringOutput) +} + +// The version of the subscription entity. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) EntityVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.EntityVersion }).(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 GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Specifies whether or not the subscription is legacy. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) IsClassicSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) bool { + return v.IsClassicSubscription + }).(pulumi.BoolOutput) +} + +// Specifies whether or not the subscription is a government subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) IsGovernmentSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) bool { + return v.IsGovernmentSubscription + }).(pulumi.BoolOutput) +} + +// Service or component which is used to provision and manage the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ManagedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.ManagedBy }).(pulumi.StringOutput) +} + +// List of subscription order OCIDs that contributed to this subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) OrderIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) []string { return v.OrderIds }).(pulumi.StringArrayOutput) +} + +// Specifies any program that is associated with the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ProgramType() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.ProgramType }).(pulumi.StringOutput) +} + +// List of promotions related to the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) Promotions() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion { + return v.Promotions + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) +} + +// Purchase entitlement ID associated with the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) PurchaseEntitlementId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { + return v.PurchaseEntitlementId + }).(pulumi.StringOutput) +} + +// Region for the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) RegionAssignment() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.RegionAssignment }).(pulumi.StringOutput) +} + +// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// List of SKUs linked to the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) Skuses() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus { + return v.Skuses + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) +} + +// Subscription start time. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.StartDate }).(pulumi.StringOutput) +} + +// Lifecycle state of the subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) SubscriptionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.SubscriptionNumber }).(pulumi.StringOutput) +} + +// Tier for the subscription, whether a free promotion subscription or a paid subscription. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) SubscriptionTier() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.SubscriptionTier }).(pulumi.StringOutput) +} + +// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItem)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionsAssignedSubscriptionCollectionItem { + return vs[0].([]GetAssignedSubscriptionsAssignedSubscriptionCollectionItem)[vs[1].(int)] + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount float64 `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit string `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration int `pulumi:"duration"` + // Unit for the duration. + DurationUnit string `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay bool `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status string `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired string `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs{...} +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount pulumi.Float64Input `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit pulumi.StringInput `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration pulumi.IntInput `pulumi:"duration"` + // Unit for the duration. + DurationUnit pulumi.StringInput `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay pulumi.BoolInput `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status pulumi.StringInput `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired pulumi.StringInput `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray{ GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs{...} } +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionInput + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput { + return o +} + +// If a subscription is present, indicates the total amount of promotional subscription credits. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) Amount() pulumi.Float64Output { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) float64 { return v.Amount }).(pulumi.Float64Output) +} + +// Currency unit associated with the promotion. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) CurrencyUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) string { + return v.CurrencyUnit + }).(pulumi.StringOutput) +} + +// Specifies how long the promotion related to the subscription, if any, is valid in duration units. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) Duration() pulumi.IntOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) int { return v.Duration }).(pulumi.IntOutput) +} + +// Unit for the duration. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) DurationUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) string { + return v.DurationUnit + }).(pulumi.StringOutput) +} + +// Speficies whether or not the customer intends to pay after the promotion has expired. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) IsIntentToPay() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) bool { + return v.IsIntentToPay + }).(pulumi.BoolOutput) +} + +// If a subscription is present, indicates the current status of the subscription promotion. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) string { return v.Status }).(pulumi.StringOutput) +} + +// Date and time when the promotion ends. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) TimeExpired() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) string { + return v.TimeExpired + }).(pulumi.StringOutput) +} + +// Date and time when the promotion starts. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion) string { + return v.TimeStarted + }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion { + return vs[0].([]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion)[vs[1].(int)] + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus struct { + // Description of the stock units. + Description string `pulumi:"description"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId string `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance bool `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent bool `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription string `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName string `pulumi:"metricName"` + // Quantity of the stock units. + Quantity int `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku string `pulumi:"sku"` + // Subscription start time. + StartDate string `pulumi:"startDate"` +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs{...} +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs struct { + // Description of the stock units. + Description pulumi.StringInput `pulumi:"description"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId pulumi.StringInput `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance pulumi.BoolInput `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent pulumi.BoolInput `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription pulumi.StringInput `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName pulumi.StringInput `pulumi:"metricName"` + // Quantity of the stock units. + Quantity pulumi.IntInput `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku pulumi.StringInput `pulumi:"sku"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` +} + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) +} + +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayInput is an input type that accepts GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray and GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayInput` via: +// +// GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray{ GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs{...} } +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput + ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutputWithContext(context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray []GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusInput + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput { + return i.ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput { + return o +} + +// Description of the stock units. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.Description }).(pulumi.StringOutput) +} + +// Date and time when the SKU ended. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.EndDate }).(pulumi.StringOutput) +} + +// Sales order line identifier. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) GsiOrderLineId() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.GsiOrderLineId }).(pulumi.StringOutput) +} + +// Specifies if an additional test instance can be provisioned by the SaaS application. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) IsAdditionalInstance() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) bool { + return v.IsAdditionalInstance + }).(pulumi.BoolOutput) +} + +// Specifies if the SKU is considered as a parent or child. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) IsBaseServiceComponent() pulumi.BoolOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) bool { + return v.IsBaseServiceComponent + }).(pulumi.BoolOutput) +} + +// Description of the covered product belonging to this SKU. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) LicensePartDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { + return v.LicensePartDescription + }).(pulumi.StringOutput) +} + +// Base metric for billing the service. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.MetricName }).(pulumi.StringOutput) +} + +// Quantity of the stock units. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) Quantity() pulumi.IntOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) int { return v.Quantity }).(pulumi.IntOutput) +} + +// Stock Keeping Unit (SKU) ID. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) Sku() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.Sku }).(pulumi.StringOutput) +} + +// Subscription start time. +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus) string { return v.StartDate }).(pulumi.StringOutput) +} + +type GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput() GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) ToGetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus { + return vs[0].([]GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus)[vs[1].(int)] + }).(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput) +} + +type GetAssignedSubscriptionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetAssignedSubscriptionsFilterInput is an input type that accepts GetAssignedSubscriptionsFilterArgs and GetAssignedSubscriptionsFilterOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsFilterInput` via: +// +// GetAssignedSubscriptionsFilterArgs{...} +type GetAssignedSubscriptionsFilterInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsFilterOutput() GetAssignedSubscriptionsFilterOutput + ToGetAssignedSubscriptionsFilterOutputWithContext(context.Context) GetAssignedSubscriptionsFilterOutput +} + +type GetAssignedSubscriptionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetAssignedSubscriptionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsFilter)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsFilterArgs) ToGetAssignedSubscriptionsFilterOutput() GetAssignedSubscriptionsFilterOutput { + return i.ToGetAssignedSubscriptionsFilterOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsFilterArgs) ToGetAssignedSubscriptionsFilterOutputWithContext(ctx context.Context) GetAssignedSubscriptionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsFilterOutput) +} + +// GetAssignedSubscriptionsFilterArrayInput is an input type that accepts GetAssignedSubscriptionsFilterArray and GetAssignedSubscriptionsFilterArrayOutput values. +// You can construct a concrete instance of `GetAssignedSubscriptionsFilterArrayInput` via: +// +// GetAssignedSubscriptionsFilterArray{ GetAssignedSubscriptionsFilterArgs{...} } +type GetAssignedSubscriptionsFilterArrayInput interface { + pulumi.Input + + ToGetAssignedSubscriptionsFilterArrayOutput() GetAssignedSubscriptionsFilterArrayOutput + ToGetAssignedSubscriptionsFilterArrayOutputWithContext(context.Context) GetAssignedSubscriptionsFilterArrayOutput +} + +type GetAssignedSubscriptionsFilterArray []GetAssignedSubscriptionsFilterInput + +func (GetAssignedSubscriptionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsFilter)(nil)).Elem() +} + +func (i GetAssignedSubscriptionsFilterArray) ToGetAssignedSubscriptionsFilterArrayOutput() GetAssignedSubscriptionsFilterArrayOutput { + return i.ToGetAssignedSubscriptionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetAssignedSubscriptionsFilterArray) ToGetAssignedSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAssignedSubscriptionsFilterArrayOutput) +} + +type GetAssignedSubscriptionsFilterOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAssignedSubscriptionsFilter)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsFilterOutput) ToGetAssignedSubscriptionsFilterOutput() GetAssignedSubscriptionsFilterOutput { + return o +} + +func (o GetAssignedSubscriptionsFilterOutput) ToGetAssignedSubscriptionsFilterOutputWithContext(ctx context.Context) GetAssignedSubscriptionsFilterOutput { + return o +} + +func (o GetAssignedSubscriptionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetAssignedSubscriptionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetAssignedSubscriptionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAssignedSubscriptionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetAssignedSubscriptionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetAssignedSubscriptionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAssignedSubscriptionsFilter)(nil)).Elem() +} + +func (o GetAssignedSubscriptionsFilterArrayOutput) ToGetAssignedSubscriptionsFilterArrayOutput() GetAssignedSubscriptionsFilterArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsFilterArrayOutput) ToGetAssignedSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetAssignedSubscriptionsFilterArrayOutput { + return o +} + +func (o GetAssignedSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) GetAssignedSubscriptionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAssignedSubscriptionsFilter { + return vs[0].([]GetAssignedSubscriptionsFilter)[vs[1].(int)] + }).(GetAssignedSubscriptionsFilterOutput) +} + +type GetDomainGovernancesDomainGovernanceCollection struct { + Items []GetDomainGovernancesDomainGovernanceCollectionItem `pulumi:"items"` +} + +// GetDomainGovernancesDomainGovernanceCollectionInput is an input type that accepts GetDomainGovernancesDomainGovernanceCollectionArgs and GetDomainGovernancesDomainGovernanceCollectionOutput values. +// You can construct a concrete instance of `GetDomainGovernancesDomainGovernanceCollectionInput` via: +// +// GetDomainGovernancesDomainGovernanceCollectionArgs{...} +type GetDomainGovernancesDomainGovernanceCollectionInput interface { + pulumi.Input + + ToGetDomainGovernancesDomainGovernanceCollectionOutput() GetDomainGovernancesDomainGovernanceCollectionOutput + ToGetDomainGovernancesDomainGovernanceCollectionOutputWithContext(context.Context) GetDomainGovernancesDomainGovernanceCollectionOutput +} + +type GetDomainGovernancesDomainGovernanceCollectionArgs struct { + Items GetDomainGovernancesDomainGovernanceCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDomainGovernancesDomainGovernanceCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollection)(nil)).Elem() +} + +func (i GetDomainGovernancesDomainGovernanceCollectionArgs) ToGetDomainGovernancesDomainGovernanceCollectionOutput() GetDomainGovernancesDomainGovernanceCollectionOutput { + return i.ToGetDomainGovernancesDomainGovernanceCollectionOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesDomainGovernanceCollectionArgs) ToGetDomainGovernancesDomainGovernanceCollectionOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesDomainGovernanceCollectionOutput) +} + +// GetDomainGovernancesDomainGovernanceCollectionArrayInput is an input type that accepts GetDomainGovernancesDomainGovernanceCollectionArray and GetDomainGovernancesDomainGovernanceCollectionArrayOutput values. +// You can construct a concrete instance of `GetDomainGovernancesDomainGovernanceCollectionArrayInput` via: +// +// GetDomainGovernancesDomainGovernanceCollectionArray{ GetDomainGovernancesDomainGovernanceCollectionArgs{...} } +type GetDomainGovernancesDomainGovernanceCollectionArrayInput interface { + pulumi.Input + + ToGetDomainGovernancesDomainGovernanceCollectionArrayOutput() GetDomainGovernancesDomainGovernanceCollectionArrayOutput + ToGetDomainGovernancesDomainGovernanceCollectionArrayOutputWithContext(context.Context) GetDomainGovernancesDomainGovernanceCollectionArrayOutput +} + +type GetDomainGovernancesDomainGovernanceCollectionArray []GetDomainGovernancesDomainGovernanceCollectionInput + +func (GetDomainGovernancesDomainGovernanceCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesDomainGovernanceCollection)(nil)).Elem() +} + +func (i GetDomainGovernancesDomainGovernanceCollectionArray) ToGetDomainGovernancesDomainGovernanceCollectionArrayOutput() GetDomainGovernancesDomainGovernanceCollectionArrayOutput { + return i.ToGetDomainGovernancesDomainGovernanceCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesDomainGovernanceCollectionArray) ToGetDomainGovernancesDomainGovernanceCollectionArrayOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesDomainGovernanceCollectionArrayOutput) +} + +type GetDomainGovernancesDomainGovernanceCollectionOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesDomainGovernanceCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollection)(nil)).Elem() +} + +func (o GetDomainGovernancesDomainGovernanceCollectionOutput) ToGetDomainGovernancesDomainGovernanceCollectionOutput() GetDomainGovernancesDomainGovernanceCollectionOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionOutput) ToGetDomainGovernancesDomainGovernanceCollectionOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionOutput) Items() GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollection) []GetDomainGovernancesDomainGovernanceCollectionItem { + return v.Items + }).(GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) +} + +type GetDomainGovernancesDomainGovernanceCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesDomainGovernanceCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesDomainGovernanceCollection)(nil)).Elem() +} + +func (o GetDomainGovernancesDomainGovernanceCollectionArrayOutput) ToGetDomainGovernancesDomainGovernanceCollectionArrayOutput() GetDomainGovernancesDomainGovernanceCollectionArrayOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionArrayOutput) ToGetDomainGovernancesDomainGovernanceCollectionArrayOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionArrayOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionArrayOutput) Index(i pulumi.IntInput) GetDomainGovernancesDomainGovernanceCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainGovernancesDomainGovernanceCollection { + return vs[0].([]GetDomainGovernancesDomainGovernanceCollection)[vs[1].(int)] + }).(GetDomainGovernancesDomainGovernanceCollectionOutput) +} + +type GetDomainGovernancesDomainGovernanceCollectionItem 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"` + // The domain OCID. + DomainId string `pulumi:"domainId"` + // 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 OCID of the domain governance entity. + Id string `pulumi:"id"` + // Indicates whether governance is enabled for this domain. + IsGovernanceEnabled bool `pulumi:"isGovernanceEnabled"` + // The ONS subscription associated with this domain governance entity. + OnsSubscriptionId string `pulumi:"onsSubscriptionId"` + // The ONS topic associated with this domain governance entity. + OnsTopicId string `pulumi:"onsTopicId"` + // The OCID of the tenancy that owns this domain governance entity. + OwnerId string `pulumi:"ownerId"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // Email address to be used to notify the user, and that the ONS subscription will be created with. + SubscriptionEmail string `pulumi:"subscriptionEmail"` + // 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"` + // Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetDomainGovernancesDomainGovernanceCollectionItemInput is an input type that accepts GetDomainGovernancesDomainGovernanceCollectionItemArgs and GetDomainGovernancesDomainGovernanceCollectionItemOutput values. +// You can construct a concrete instance of `GetDomainGovernancesDomainGovernanceCollectionItemInput` via: +// +// GetDomainGovernancesDomainGovernanceCollectionItemArgs{...} +type GetDomainGovernancesDomainGovernanceCollectionItemInput interface { + pulumi.Input + + ToGetDomainGovernancesDomainGovernanceCollectionItemOutput() GetDomainGovernancesDomainGovernanceCollectionItemOutput + ToGetDomainGovernancesDomainGovernanceCollectionItemOutputWithContext(context.Context) GetDomainGovernancesDomainGovernanceCollectionItemOutput +} + +type GetDomainGovernancesDomainGovernanceCollectionItemArgs 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"` + // The domain OCID. + DomainId pulumi.StringInput `pulumi:"domainId"` + // 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 OCID of the domain governance entity. + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether governance is enabled for this domain. + IsGovernanceEnabled pulumi.BoolInput `pulumi:"isGovernanceEnabled"` + // The ONS subscription associated with this domain governance entity. + OnsSubscriptionId pulumi.StringInput `pulumi:"onsSubscriptionId"` + // The ONS topic associated with this domain governance entity. + OnsTopicId pulumi.StringInput `pulumi:"onsTopicId"` + // The OCID of the tenancy that owns this domain governance entity. + OwnerId pulumi.StringInput `pulumi:"ownerId"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // Email address to be used to notify the user, and that the ONS subscription will be created with. + SubscriptionEmail pulumi.StringInput `pulumi:"subscriptionEmail"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetDomainGovernancesDomainGovernanceCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionItem)(nil)).Elem() +} + +func (i GetDomainGovernancesDomainGovernanceCollectionItemArgs) ToGetDomainGovernancesDomainGovernanceCollectionItemOutput() GetDomainGovernancesDomainGovernanceCollectionItemOutput { + return i.ToGetDomainGovernancesDomainGovernanceCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesDomainGovernanceCollectionItemArgs) ToGetDomainGovernancesDomainGovernanceCollectionItemOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesDomainGovernanceCollectionItemOutput) +} + +// GetDomainGovernancesDomainGovernanceCollectionItemArrayInput is an input type that accepts GetDomainGovernancesDomainGovernanceCollectionItemArray and GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDomainGovernancesDomainGovernanceCollectionItemArrayInput` via: +// +// GetDomainGovernancesDomainGovernanceCollectionItemArray{ GetDomainGovernancesDomainGovernanceCollectionItemArgs{...} } +type GetDomainGovernancesDomainGovernanceCollectionItemArrayInput interface { + pulumi.Input + + ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutput() GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput + ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutputWithContext(context.Context) GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput +} + +type GetDomainGovernancesDomainGovernanceCollectionItemArray []GetDomainGovernancesDomainGovernanceCollectionItemInput + +func (GetDomainGovernancesDomainGovernanceCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesDomainGovernanceCollectionItem)(nil)).Elem() +} + +func (i GetDomainGovernancesDomainGovernanceCollectionItemArray) ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutput() GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput { + return i.ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesDomainGovernanceCollectionItemArray) ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) +} + +type GetDomainGovernancesDomainGovernanceCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesDomainGovernanceCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionItem)(nil)).Elem() +} + +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) ToGetDomainGovernancesDomainGovernanceCollectionItemOutput() GetDomainGovernancesDomainGovernanceCollectionItemOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) ToGetDomainGovernancesDomainGovernanceCollectionItemOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) 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 GetDomainGovernancesDomainGovernanceCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// The domain OCID. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) DomainId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.DomainId }).(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 GetDomainGovernancesDomainGovernanceCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the domain governance entity. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Indicates whether governance is enabled for this domain. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) IsGovernanceEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) bool { return v.IsGovernanceEnabled }).(pulumi.BoolOutput) +} + +// The ONS subscription associated with this domain governance entity. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) OnsSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.OnsSubscriptionId }).(pulumi.StringOutput) +} + +// The ONS topic associated with this domain governance entity. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) OnsTopicId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.OnsTopicId }).(pulumi.StringOutput) +} + +// The OCID of the tenancy that owns this domain governance entity. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) OwnerId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.OwnerId }).(pulumi.StringOutput) +} + +// The lifecycle state of the resource. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Email address to be used to notify the user, and that the ONS subscription will be created with. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) SubscriptionEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.SubscriptionEmail }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date-time when this domain governance was created. An RFC 3339-formatted date and time string. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. +func (o GetDomainGovernancesDomainGovernanceCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesDomainGovernanceCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesDomainGovernanceCollectionItem)(nil)).Elem() +} + +func (o GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutput() GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) ToGetDomainGovernancesDomainGovernanceCollectionItemArrayOutputWithContext(ctx context.Context) GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput { + return o +} + +func (o GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDomainGovernancesDomainGovernanceCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainGovernancesDomainGovernanceCollectionItem { + return vs[0].([]GetDomainGovernancesDomainGovernanceCollectionItem)[vs[1].(int)] + }).(GetDomainGovernancesDomainGovernanceCollectionItemOutput) +} + +type GetDomainGovernancesFilter struct { + // A filter to return only resources that exactly match the name given. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDomainGovernancesFilterInput is an input type that accepts GetDomainGovernancesFilterArgs and GetDomainGovernancesFilterOutput values. +// You can construct a concrete instance of `GetDomainGovernancesFilterInput` via: +// +// GetDomainGovernancesFilterArgs{...} +type GetDomainGovernancesFilterInput interface { + pulumi.Input + + ToGetDomainGovernancesFilterOutput() GetDomainGovernancesFilterOutput + ToGetDomainGovernancesFilterOutputWithContext(context.Context) GetDomainGovernancesFilterOutput +} + +type GetDomainGovernancesFilterArgs struct { + // A filter to return only resources that exactly match the name given. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDomainGovernancesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesFilter)(nil)).Elem() +} + +func (i GetDomainGovernancesFilterArgs) ToGetDomainGovernancesFilterOutput() GetDomainGovernancesFilterOutput { + return i.ToGetDomainGovernancesFilterOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesFilterArgs) ToGetDomainGovernancesFilterOutputWithContext(ctx context.Context) GetDomainGovernancesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesFilterOutput) +} + +// GetDomainGovernancesFilterArrayInput is an input type that accepts GetDomainGovernancesFilterArray and GetDomainGovernancesFilterArrayOutput values. +// You can construct a concrete instance of `GetDomainGovernancesFilterArrayInput` via: +// +// GetDomainGovernancesFilterArray{ GetDomainGovernancesFilterArgs{...} } +type GetDomainGovernancesFilterArrayInput interface { + pulumi.Input + + ToGetDomainGovernancesFilterArrayOutput() GetDomainGovernancesFilterArrayOutput + ToGetDomainGovernancesFilterArrayOutputWithContext(context.Context) GetDomainGovernancesFilterArrayOutput +} + +type GetDomainGovernancesFilterArray []GetDomainGovernancesFilterInput + +func (GetDomainGovernancesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesFilter)(nil)).Elem() +} + +func (i GetDomainGovernancesFilterArray) ToGetDomainGovernancesFilterArrayOutput() GetDomainGovernancesFilterArrayOutput { + return i.ToGetDomainGovernancesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDomainGovernancesFilterArray) ToGetDomainGovernancesFilterArrayOutputWithContext(ctx context.Context) GetDomainGovernancesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainGovernancesFilterArrayOutput) +} + +type GetDomainGovernancesFilterOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainGovernancesFilter)(nil)).Elem() +} + +func (o GetDomainGovernancesFilterOutput) ToGetDomainGovernancesFilterOutput() GetDomainGovernancesFilterOutput { + return o +} + +func (o GetDomainGovernancesFilterOutput) ToGetDomainGovernancesFilterOutputWithContext(ctx context.Context) GetDomainGovernancesFilterOutput { + return o +} + +// A filter to return only resources that exactly match the name given. +func (o GetDomainGovernancesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainGovernancesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDomainGovernancesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDomainGovernancesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDomainGovernancesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDomainGovernancesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDomainGovernancesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainGovernancesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainGovernancesFilter)(nil)).Elem() +} + +func (o GetDomainGovernancesFilterArrayOutput) ToGetDomainGovernancesFilterArrayOutput() GetDomainGovernancesFilterArrayOutput { + return o +} + +func (o GetDomainGovernancesFilterArrayOutput) ToGetDomainGovernancesFilterArrayOutputWithContext(ctx context.Context) GetDomainGovernancesFilterArrayOutput { + return o +} + +func (o GetDomainGovernancesFilterArrayOutput) Index(i pulumi.IntInput) GetDomainGovernancesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainGovernancesFilter { + return vs[0].([]GetDomainGovernancesFilter)[vs[1].(int)] + }).(GetDomainGovernancesFilterOutput) +} + +type GetDomainsDomainCollection struct { + Items []GetDomainsDomainCollectionItem `pulumi:"items"` +} + +// GetDomainsDomainCollectionInput is an input type that accepts GetDomainsDomainCollectionArgs and GetDomainsDomainCollectionOutput values. +// You can construct a concrete instance of `GetDomainsDomainCollectionInput` via: +// +// GetDomainsDomainCollectionArgs{...} +type GetDomainsDomainCollectionInput interface { + pulumi.Input + + ToGetDomainsDomainCollectionOutput() GetDomainsDomainCollectionOutput + ToGetDomainsDomainCollectionOutputWithContext(context.Context) GetDomainsDomainCollectionOutput +} + +type GetDomainsDomainCollectionArgs struct { + Items GetDomainsDomainCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDomainsDomainCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainCollection)(nil)).Elem() +} + +func (i GetDomainsDomainCollectionArgs) ToGetDomainsDomainCollectionOutput() GetDomainsDomainCollectionOutput { + return i.ToGetDomainsDomainCollectionOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainCollectionArgs) ToGetDomainsDomainCollectionOutputWithContext(ctx context.Context) GetDomainsDomainCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainCollectionOutput) +} + +// GetDomainsDomainCollectionArrayInput is an input type that accepts GetDomainsDomainCollectionArray and GetDomainsDomainCollectionArrayOutput values. +// You can construct a concrete instance of `GetDomainsDomainCollectionArrayInput` via: +// +// GetDomainsDomainCollectionArray{ GetDomainsDomainCollectionArgs{...} } +type GetDomainsDomainCollectionArrayInput interface { + pulumi.Input + + ToGetDomainsDomainCollectionArrayOutput() GetDomainsDomainCollectionArrayOutput + ToGetDomainsDomainCollectionArrayOutputWithContext(context.Context) GetDomainsDomainCollectionArrayOutput +} + +type GetDomainsDomainCollectionArray []GetDomainsDomainCollectionInput + +func (GetDomainsDomainCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainCollection)(nil)).Elem() +} + +func (i GetDomainsDomainCollectionArray) ToGetDomainsDomainCollectionArrayOutput() GetDomainsDomainCollectionArrayOutput { + return i.ToGetDomainsDomainCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainCollectionArray) ToGetDomainsDomainCollectionArrayOutputWithContext(ctx context.Context) GetDomainsDomainCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainCollectionArrayOutput) +} + +type GetDomainsDomainCollectionOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainCollection)(nil)).Elem() +} + +func (o GetDomainsDomainCollectionOutput) ToGetDomainsDomainCollectionOutput() GetDomainsDomainCollectionOutput { + return o +} + +func (o GetDomainsDomainCollectionOutput) ToGetDomainsDomainCollectionOutputWithContext(ctx context.Context) GetDomainsDomainCollectionOutput { + return o +} + +func (o GetDomainsDomainCollectionOutput) Items() GetDomainsDomainCollectionItemArrayOutput { + return o.ApplyT(func(v GetDomainsDomainCollection) []GetDomainsDomainCollectionItem { return v.Items }).(GetDomainsDomainCollectionItemArrayOutput) +} + +type GetDomainsDomainCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainCollection)(nil)).Elem() +} + +func (o GetDomainsDomainCollectionArrayOutput) ToGetDomainsDomainCollectionArrayOutput() GetDomainsDomainCollectionArrayOutput { + return o +} + +func (o GetDomainsDomainCollectionArrayOutput) ToGetDomainsDomainCollectionArrayOutputWithContext(ctx context.Context) GetDomainsDomainCollectionArrayOutput { + return o +} + +func (o GetDomainsDomainCollectionArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsDomainCollection { + return vs[0].([]GetDomainsDomainCollection)[vs[1].(int)] + }).(GetDomainsDomainCollectionOutput) +} + +type GetDomainsDomainCollectionItem 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"` + // The domain name. + DomainName string `pulumi:"domainName"` + // 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 OCID of the domain. + Id string `pulumi:"id"` + IsGovernanceEnabled bool `pulumi:"isGovernanceEnabled"` + // The OCID of the tenancy that has started the registration process for this domain. + OwnerId string `pulumi:"ownerId"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // The status of the domain. + Status string `pulumi:"status"` + SubscriptionEmail string `pulumi:"subscriptionEmail"` + // 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"` + // Date-time when this domain was created. An RFC 3339-formatted date and time string. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + TimeUpdated string `pulumi:"timeUpdated"` + // The code that the owner of the domain will need to add as a TXT record to their domain. + TxtRecord string `pulumi:"txtRecord"` +} + +// GetDomainsDomainCollectionItemInput is an input type that accepts GetDomainsDomainCollectionItemArgs and GetDomainsDomainCollectionItemOutput values. +// You can construct a concrete instance of `GetDomainsDomainCollectionItemInput` via: +// +// GetDomainsDomainCollectionItemArgs{...} +type GetDomainsDomainCollectionItemInput interface { + pulumi.Input + + ToGetDomainsDomainCollectionItemOutput() GetDomainsDomainCollectionItemOutput + ToGetDomainsDomainCollectionItemOutputWithContext(context.Context) GetDomainsDomainCollectionItemOutput +} + +type GetDomainsDomainCollectionItemArgs 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"` + // The domain name. + DomainName pulumi.StringInput `pulumi:"domainName"` + // 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 OCID of the domain. + Id pulumi.StringInput `pulumi:"id"` + IsGovernanceEnabled pulumi.BoolInput `pulumi:"isGovernanceEnabled"` + // The OCID of the tenancy that has started the registration process for this domain. + OwnerId pulumi.StringInput `pulumi:"ownerId"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // The status of the domain. + Status pulumi.StringInput `pulumi:"status"` + SubscriptionEmail pulumi.StringInput `pulumi:"subscriptionEmail"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Date-time when this domain was created. An RFC 3339-formatted date and time string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // The code that the owner of the domain will need to add as a TXT record to their domain. + TxtRecord pulumi.StringInput `pulumi:"txtRecord"` +} + +func (GetDomainsDomainCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainCollectionItem)(nil)).Elem() +} + +func (i GetDomainsDomainCollectionItemArgs) ToGetDomainsDomainCollectionItemOutput() GetDomainsDomainCollectionItemOutput { + return i.ToGetDomainsDomainCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainCollectionItemArgs) ToGetDomainsDomainCollectionItemOutputWithContext(ctx context.Context) GetDomainsDomainCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainCollectionItemOutput) +} + +// GetDomainsDomainCollectionItemArrayInput is an input type that accepts GetDomainsDomainCollectionItemArray and GetDomainsDomainCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDomainsDomainCollectionItemArrayInput` via: +// +// GetDomainsDomainCollectionItemArray{ GetDomainsDomainCollectionItemArgs{...} } +type GetDomainsDomainCollectionItemArrayInput interface { + pulumi.Input + + ToGetDomainsDomainCollectionItemArrayOutput() GetDomainsDomainCollectionItemArrayOutput + ToGetDomainsDomainCollectionItemArrayOutputWithContext(context.Context) GetDomainsDomainCollectionItemArrayOutput +} + +type GetDomainsDomainCollectionItemArray []GetDomainsDomainCollectionItemInput + +func (GetDomainsDomainCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainCollectionItem)(nil)).Elem() +} + +func (i GetDomainsDomainCollectionItemArray) ToGetDomainsDomainCollectionItemArrayOutput() GetDomainsDomainCollectionItemArrayOutput { + return i.ToGetDomainsDomainCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsDomainCollectionItemArray) ToGetDomainsDomainCollectionItemArrayOutputWithContext(ctx context.Context) GetDomainsDomainCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsDomainCollectionItemArrayOutput) +} + +type GetDomainsDomainCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsDomainCollectionItem)(nil)).Elem() +} + +func (o GetDomainsDomainCollectionItemOutput) ToGetDomainsDomainCollectionItemOutput() GetDomainsDomainCollectionItemOutput { + return o +} + +func (o GetDomainsDomainCollectionItemOutput) ToGetDomainsDomainCollectionItemOutputWithContext(ctx context.Context) GetDomainsDomainCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetDomainsDomainCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) 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 GetDomainsDomainCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// The domain name. +func (o GetDomainsDomainCollectionItemOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.DomainName }).(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 GetDomainsDomainCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the domain. +func (o GetDomainsDomainCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDomainsDomainCollectionItemOutput) IsGovernanceEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) bool { return v.IsGovernanceEnabled }).(pulumi.BoolOutput) +} + +// The OCID of the tenancy that has started the registration process for this domain. +func (o GetDomainsDomainCollectionItemOutput) OwnerId() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.OwnerId }).(pulumi.StringOutput) +} + +// The lifecycle state of the resource. +func (o GetDomainsDomainCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The status of the domain. +func (o GetDomainsDomainCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetDomainsDomainCollectionItemOutput) SubscriptionEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.SubscriptionEmail }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetDomainsDomainCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date-time when this domain was created. An RFC 3339-formatted date and time string. +func (o GetDomainsDomainCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this domain was last updated. An RFC 3339-formatted date and time string. +func (o GetDomainsDomainCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The code that the owner of the domain will need to add as a TXT record to their domain. +func (o GetDomainsDomainCollectionItemOutput) TxtRecord() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsDomainCollectionItem) string { return v.TxtRecord }).(pulumi.StringOutput) +} + +type GetDomainsDomainCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsDomainCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsDomainCollectionItem)(nil)).Elem() +} + +func (o GetDomainsDomainCollectionItemArrayOutput) ToGetDomainsDomainCollectionItemArrayOutput() GetDomainsDomainCollectionItemArrayOutput { + return o +} + +func (o GetDomainsDomainCollectionItemArrayOutput) ToGetDomainsDomainCollectionItemArrayOutputWithContext(ctx context.Context) GetDomainsDomainCollectionItemArrayOutput { + return o +} + +func (o GetDomainsDomainCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsDomainCollectionItem { + return vs[0].([]GetDomainsDomainCollectionItem)[vs[1].(int)] + }).(GetDomainsDomainCollectionItemOutput) +} + +type GetDomainsFilter struct { + // A filter to return only resources that exactly match the name given. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDomainsFilterInput is an input type that accepts GetDomainsFilterArgs and GetDomainsFilterOutput values. +// You can construct a concrete instance of `GetDomainsFilterInput` via: +// +// GetDomainsFilterArgs{...} +type GetDomainsFilterInput interface { + pulumi.Input + + ToGetDomainsFilterOutput() GetDomainsFilterOutput + ToGetDomainsFilterOutputWithContext(context.Context) GetDomainsFilterOutput +} + +type GetDomainsFilterArgs struct { + // A filter to return only resources that exactly match the name given. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDomainsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsFilter)(nil)).Elem() +} + +func (i GetDomainsFilterArgs) ToGetDomainsFilterOutput() GetDomainsFilterOutput { + return i.ToGetDomainsFilterOutputWithContext(context.Background()) +} + +func (i GetDomainsFilterArgs) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsFilterOutput) +} + +// GetDomainsFilterArrayInput is an input type that accepts GetDomainsFilterArray and GetDomainsFilterArrayOutput values. +// You can construct a concrete instance of `GetDomainsFilterArrayInput` via: +// +// GetDomainsFilterArray{ GetDomainsFilterArgs{...} } +type GetDomainsFilterArrayInput interface { + pulumi.Input + + ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput + ToGetDomainsFilterArrayOutputWithContext(context.Context) GetDomainsFilterArrayOutput +} + +type GetDomainsFilterArray []GetDomainsFilterInput + +func (GetDomainsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsFilter)(nil)).Elem() +} + +func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput { + return i.ToGetDomainsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDomainsFilterArrayOutput) +} + +type GetDomainsFilterOutput struct{ *pulumi.OutputState } + +func (GetDomainsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDomainsFilter)(nil)).Elem() +} + +func (o GetDomainsFilterOutput) ToGetDomainsFilterOutput() GetDomainsFilterOutput { + return o +} + +func (o GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput { + return o +} + +// A filter to return only resources that exactly match the name given. +func (o GetDomainsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDomainsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDomainsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDomainsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDomainsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDomainsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDomainsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDomainsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDomainsFilter)(nil)).Elem() +} + +func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput { + return o +} + +func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput { + return o +} + +func (o GetDomainsFilterArrayOutput) Index(i pulumi.IntInput) GetDomainsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDomainsFilter { + return vs[0].([]GetDomainsFilter)[vs[1].(int)] + }).(GetDomainsFilterOutput) +} + +type GetLinksFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetLinksFilterInput is an input type that accepts GetLinksFilterArgs and GetLinksFilterOutput values. +// You can construct a concrete instance of `GetLinksFilterInput` via: +// +// GetLinksFilterArgs{...} +type GetLinksFilterInput interface { + pulumi.Input + + ToGetLinksFilterOutput() GetLinksFilterOutput + ToGetLinksFilterOutputWithContext(context.Context) GetLinksFilterOutput +} + +type GetLinksFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetLinksFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksFilter)(nil)).Elem() +} + +func (i GetLinksFilterArgs) ToGetLinksFilterOutput() GetLinksFilterOutput { + return i.ToGetLinksFilterOutputWithContext(context.Background()) +} + +func (i GetLinksFilterArgs) ToGetLinksFilterOutputWithContext(ctx context.Context) GetLinksFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksFilterOutput) +} + +// GetLinksFilterArrayInput is an input type that accepts GetLinksFilterArray and GetLinksFilterArrayOutput values. +// You can construct a concrete instance of `GetLinksFilterArrayInput` via: +// +// GetLinksFilterArray{ GetLinksFilterArgs{...} } +type GetLinksFilterArrayInput interface { + pulumi.Input + + ToGetLinksFilterArrayOutput() GetLinksFilterArrayOutput + ToGetLinksFilterArrayOutputWithContext(context.Context) GetLinksFilterArrayOutput +} + +type GetLinksFilterArray []GetLinksFilterInput + +func (GetLinksFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksFilter)(nil)).Elem() +} + +func (i GetLinksFilterArray) ToGetLinksFilterArrayOutput() GetLinksFilterArrayOutput { + return i.ToGetLinksFilterArrayOutputWithContext(context.Background()) +} + +func (i GetLinksFilterArray) ToGetLinksFilterArrayOutputWithContext(ctx context.Context) GetLinksFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksFilterArrayOutput) +} + +type GetLinksFilterOutput struct{ *pulumi.OutputState } + +func (GetLinksFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksFilter)(nil)).Elem() +} + +func (o GetLinksFilterOutput) ToGetLinksFilterOutput() GetLinksFilterOutput { + return o +} + +func (o GetLinksFilterOutput) ToGetLinksFilterOutputWithContext(ctx context.Context) GetLinksFilterOutput { + return o +} + +func (o GetLinksFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetLinksFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetLinksFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetLinksFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLinksFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetLinksFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetLinksFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksFilter)(nil)).Elem() +} + +func (o GetLinksFilterArrayOutput) ToGetLinksFilterArrayOutput() GetLinksFilterArrayOutput { + return o +} + +func (o GetLinksFilterArrayOutput) ToGetLinksFilterArrayOutputWithContext(ctx context.Context) GetLinksFilterArrayOutput { + return o +} + +func (o GetLinksFilterArrayOutput) Index(i pulumi.IntInput) GetLinksFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLinksFilter { + return vs[0].([]GetLinksFilter)[vs[1].(int)] + }).(GetLinksFilterOutput) +} + +type GetLinksLinkCollection struct { + Items []GetLinksLinkCollectionItem `pulumi:"items"` +} + +// GetLinksLinkCollectionInput is an input type that accepts GetLinksLinkCollectionArgs and GetLinksLinkCollectionOutput values. +// You can construct a concrete instance of `GetLinksLinkCollectionInput` via: +// +// GetLinksLinkCollectionArgs{...} +type GetLinksLinkCollectionInput interface { + pulumi.Input + + ToGetLinksLinkCollectionOutput() GetLinksLinkCollectionOutput + ToGetLinksLinkCollectionOutputWithContext(context.Context) GetLinksLinkCollectionOutput +} + +type GetLinksLinkCollectionArgs struct { + Items GetLinksLinkCollectionItemArrayInput `pulumi:"items"` +} + +func (GetLinksLinkCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksLinkCollection)(nil)).Elem() +} + +func (i GetLinksLinkCollectionArgs) ToGetLinksLinkCollectionOutput() GetLinksLinkCollectionOutput { + return i.ToGetLinksLinkCollectionOutputWithContext(context.Background()) +} + +func (i GetLinksLinkCollectionArgs) ToGetLinksLinkCollectionOutputWithContext(ctx context.Context) GetLinksLinkCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksLinkCollectionOutput) +} + +// GetLinksLinkCollectionArrayInput is an input type that accepts GetLinksLinkCollectionArray and GetLinksLinkCollectionArrayOutput values. +// You can construct a concrete instance of `GetLinksLinkCollectionArrayInput` via: +// +// GetLinksLinkCollectionArray{ GetLinksLinkCollectionArgs{...} } +type GetLinksLinkCollectionArrayInput interface { + pulumi.Input + + ToGetLinksLinkCollectionArrayOutput() GetLinksLinkCollectionArrayOutput + ToGetLinksLinkCollectionArrayOutputWithContext(context.Context) GetLinksLinkCollectionArrayOutput +} + +type GetLinksLinkCollectionArray []GetLinksLinkCollectionInput + +func (GetLinksLinkCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksLinkCollection)(nil)).Elem() +} + +func (i GetLinksLinkCollectionArray) ToGetLinksLinkCollectionArrayOutput() GetLinksLinkCollectionArrayOutput { + return i.ToGetLinksLinkCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetLinksLinkCollectionArray) ToGetLinksLinkCollectionArrayOutputWithContext(ctx context.Context) GetLinksLinkCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksLinkCollectionArrayOutput) +} + +type GetLinksLinkCollectionOutput struct{ *pulumi.OutputState } + +func (GetLinksLinkCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksLinkCollection)(nil)).Elem() +} + +func (o GetLinksLinkCollectionOutput) ToGetLinksLinkCollectionOutput() GetLinksLinkCollectionOutput { + return o +} + +func (o GetLinksLinkCollectionOutput) ToGetLinksLinkCollectionOutputWithContext(ctx context.Context) GetLinksLinkCollectionOutput { + return o +} + +func (o GetLinksLinkCollectionOutput) Items() GetLinksLinkCollectionItemArrayOutput { + return o.ApplyT(func(v GetLinksLinkCollection) []GetLinksLinkCollectionItem { return v.Items }).(GetLinksLinkCollectionItemArrayOutput) +} + +type GetLinksLinkCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetLinksLinkCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksLinkCollection)(nil)).Elem() +} + +func (o GetLinksLinkCollectionArrayOutput) ToGetLinksLinkCollectionArrayOutput() GetLinksLinkCollectionArrayOutput { + return o +} + +func (o GetLinksLinkCollectionArrayOutput) ToGetLinksLinkCollectionArrayOutputWithContext(ctx context.Context) GetLinksLinkCollectionArrayOutput { + return o +} + +func (o GetLinksLinkCollectionArrayOutput) Index(i pulumi.IntInput) GetLinksLinkCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLinksLinkCollection { + return vs[0].([]GetLinksLinkCollection)[vs[1].(int)] + }).(GetLinksLinkCollectionOutput) +} + +type GetLinksLinkCollectionItem struct { + // The ID of the child tenancy this link is associated with. + ChildTenancyId string `pulumi:"childTenancyId"` + // OCID of the link. + Id string `pulumi:"id"` + // The ID of the parent tenancy this link is associated with. + ParentTenancyId string `pulumi:"parentTenancyId"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // Date-time when this link was created. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when this link was terminated. + TimeTerminated string `pulumi:"timeTerminated"` + // Date-time when this link was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetLinksLinkCollectionItemInput is an input type that accepts GetLinksLinkCollectionItemArgs and GetLinksLinkCollectionItemOutput values. +// You can construct a concrete instance of `GetLinksLinkCollectionItemInput` via: +// +// GetLinksLinkCollectionItemArgs{...} +type GetLinksLinkCollectionItemInput interface { + pulumi.Input + + ToGetLinksLinkCollectionItemOutput() GetLinksLinkCollectionItemOutput + ToGetLinksLinkCollectionItemOutputWithContext(context.Context) GetLinksLinkCollectionItemOutput +} + +type GetLinksLinkCollectionItemArgs struct { + // The ID of the child tenancy this link is associated with. + ChildTenancyId pulumi.StringInput `pulumi:"childTenancyId"` + // OCID of the link. + Id pulumi.StringInput `pulumi:"id"` + // The ID of the parent tenancy this link is associated with. + ParentTenancyId pulumi.StringInput `pulumi:"parentTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // Date-time when this link was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date-time when this link was terminated. + TimeTerminated pulumi.StringInput `pulumi:"timeTerminated"` + // Date-time when this link was last updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetLinksLinkCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksLinkCollectionItem)(nil)).Elem() +} + +func (i GetLinksLinkCollectionItemArgs) ToGetLinksLinkCollectionItemOutput() GetLinksLinkCollectionItemOutput { + return i.ToGetLinksLinkCollectionItemOutputWithContext(context.Background()) +} + +func (i GetLinksLinkCollectionItemArgs) ToGetLinksLinkCollectionItemOutputWithContext(ctx context.Context) GetLinksLinkCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksLinkCollectionItemOutput) +} + +// GetLinksLinkCollectionItemArrayInput is an input type that accepts GetLinksLinkCollectionItemArray and GetLinksLinkCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetLinksLinkCollectionItemArrayInput` via: +// +// GetLinksLinkCollectionItemArray{ GetLinksLinkCollectionItemArgs{...} } +type GetLinksLinkCollectionItemArrayInput interface { + pulumi.Input + + ToGetLinksLinkCollectionItemArrayOutput() GetLinksLinkCollectionItemArrayOutput + ToGetLinksLinkCollectionItemArrayOutputWithContext(context.Context) GetLinksLinkCollectionItemArrayOutput +} + +type GetLinksLinkCollectionItemArray []GetLinksLinkCollectionItemInput + +func (GetLinksLinkCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksLinkCollectionItem)(nil)).Elem() +} + +func (i GetLinksLinkCollectionItemArray) ToGetLinksLinkCollectionItemArrayOutput() GetLinksLinkCollectionItemArrayOutput { + return i.ToGetLinksLinkCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetLinksLinkCollectionItemArray) ToGetLinksLinkCollectionItemArrayOutputWithContext(ctx context.Context) GetLinksLinkCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLinksLinkCollectionItemArrayOutput) +} + +type GetLinksLinkCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetLinksLinkCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLinksLinkCollectionItem)(nil)).Elem() +} + +func (o GetLinksLinkCollectionItemOutput) ToGetLinksLinkCollectionItemOutput() GetLinksLinkCollectionItemOutput { + return o +} + +func (o GetLinksLinkCollectionItemOutput) ToGetLinksLinkCollectionItemOutputWithContext(ctx context.Context) GetLinksLinkCollectionItemOutput { + return o +} + +// The ID of the child tenancy this link is associated with. +func (o GetLinksLinkCollectionItemOutput) ChildTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.ChildTenancyId }).(pulumi.StringOutput) +} + +// OCID of the link. +func (o GetLinksLinkCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// The ID of the parent tenancy this link is associated with. +func (o GetLinksLinkCollectionItemOutput) ParentTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.ParentTenancyId }).(pulumi.StringOutput) +} + +// The lifecycle state of the resource. +func (o GetLinksLinkCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Date-time when this link was created. +func (o GetLinksLinkCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when this link was terminated. +func (o GetLinksLinkCollectionItemOutput) TimeTerminated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.TimeTerminated }).(pulumi.StringOutput) +} + +// Date-time when this link was last updated. +func (o GetLinksLinkCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetLinksLinkCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetLinksLinkCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetLinksLinkCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLinksLinkCollectionItem)(nil)).Elem() +} + +func (o GetLinksLinkCollectionItemArrayOutput) ToGetLinksLinkCollectionItemArrayOutput() GetLinksLinkCollectionItemArrayOutput { + return o +} + +func (o GetLinksLinkCollectionItemArrayOutput) ToGetLinksLinkCollectionItemArrayOutputWithContext(ctx context.Context) GetLinksLinkCollectionItemArrayOutput { + return o +} + +func (o GetLinksLinkCollectionItemArrayOutput) Index(i pulumi.IntInput) GetLinksLinkCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLinksLinkCollectionItem { + return vs[0].([]GetLinksLinkCollectionItem)[vs[1].(int)] + }).(GetLinksLinkCollectionItemOutput) +} + +type GetOrganizationTenanciesFilter struct { + // Name of the tenancy. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetOrganizationTenanciesFilterInput is an input type that accepts GetOrganizationTenanciesFilterArgs and GetOrganizationTenanciesFilterOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesFilterInput` via: +// +// GetOrganizationTenanciesFilterArgs{...} +type GetOrganizationTenanciesFilterInput interface { + pulumi.Input + + ToGetOrganizationTenanciesFilterOutput() GetOrganizationTenanciesFilterOutput + ToGetOrganizationTenanciesFilterOutputWithContext(context.Context) GetOrganizationTenanciesFilterOutput +} + +type GetOrganizationTenanciesFilterArgs struct { + // Name of the tenancy. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetOrganizationTenanciesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesFilter)(nil)).Elem() +} + +func (i GetOrganizationTenanciesFilterArgs) ToGetOrganizationTenanciesFilterOutput() GetOrganizationTenanciesFilterOutput { + return i.ToGetOrganizationTenanciesFilterOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesFilterArgs) ToGetOrganizationTenanciesFilterOutputWithContext(ctx context.Context) GetOrganizationTenanciesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesFilterOutput) +} + +// GetOrganizationTenanciesFilterArrayInput is an input type that accepts GetOrganizationTenanciesFilterArray and GetOrganizationTenanciesFilterArrayOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesFilterArrayInput` via: +// +// GetOrganizationTenanciesFilterArray{ GetOrganizationTenanciesFilterArgs{...} } +type GetOrganizationTenanciesFilterArrayInput interface { + pulumi.Input + + ToGetOrganizationTenanciesFilterArrayOutput() GetOrganizationTenanciesFilterArrayOutput + ToGetOrganizationTenanciesFilterArrayOutputWithContext(context.Context) GetOrganizationTenanciesFilterArrayOutput +} + +type GetOrganizationTenanciesFilterArray []GetOrganizationTenanciesFilterInput + +func (GetOrganizationTenanciesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesFilter)(nil)).Elem() +} + +func (i GetOrganizationTenanciesFilterArray) ToGetOrganizationTenanciesFilterArrayOutput() GetOrganizationTenanciesFilterArrayOutput { + return i.ToGetOrganizationTenanciesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesFilterArray) ToGetOrganizationTenanciesFilterArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesFilterArrayOutput) +} + +type GetOrganizationTenanciesFilterOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesFilter)(nil)).Elem() +} + +func (o GetOrganizationTenanciesFilterOutput) ToGetOrganizationTenanciesFilterOutput() GetOrganizationTenanciesFilterOutput { + return o +} + +func (o GetOrganizationTenanciesFilterOutput) ToGetOrganizationTenanciesFilterOutputWithContext(ctx context.Context) GetOrganizationTenanciesFilterOutput { + return o +} + +// Name of the tenancy. +func (o GetOrganizationTenanciesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetOrganizationTenanciesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetOrganizationTenanciesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetOrganizationTenanciesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrganizationTenanciesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetOrganizationTenanciesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesFilter)(nil)).Elem() +} + +func (o GetOrganizationTenanciesFilterArrayOutput) ToGetOrganizationTenanciesFilterArrayOutput() GetOrganizationTenanciesFilterArrayOutput { + return o +} + +func (o GetOrganizationTenanciesFilterArrayOutput) ToGetOrganizationTenanciesFilterArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesFilterArrayOutput { + return o +} + +func (o GetOrganizationTenanciesFilterArrayOutput) Index(i pulumi.IntInput) GetOrganizationTenanciesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationTenanciesFilter { + return vs[0].([]GetOrganizationTenanciesFilter)[vs[1].(int)] + }).(GetOrganizationTenanciesFilterOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollection struct { + Items []GetOrganizationTenanciesOrganizationTenancyCollectionItem `pulumi:"items"` +} + +// GetOrganizationTenanciesOrganizationTenancyCollectionInput is an input type that accepts GetOrganizationTenanciesOrganizationTenancyCollectionArgs and GetOrganizationTenanciesOrganizationTenancyCollectionOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesOrganizationTenancyCollectionInput` via: +// +// GetOrganizationTenanciesOrganizationTenancyCollectionArgs{...} +type GetOrganizationTenanciesOrganizationTenancyCollectionInput interface { + pulumi.Input + + ToGetOrganizationTenanciesOrganizationTenancyCollectionOutput() GetOrganizationTenanciesOrganizationTenancyCollectionOutput + ToGetOrganizationTenanciesOrganizationTenancyCollectionOutputWithContext(context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionOutput +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionArgs struct { + Items GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayInput `pulumi:"items"` +} + +func (GetOrganizationTenanciesOrganizationTenancyCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollection)(nil)).Elem() +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionArgs) ToGetOrganizationTenanciesOrganizationTenancyCollectionOutput() GetOrganizationTenanciesOrganizationTenancyCollectionOutput { + return i.ToGetOrganizationTenanciesOrganizationTenancyCollectionOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionArgs) ToGetOrganizationTenanciesOrganizationTenancyCollectionOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesOrganizationTenancyCollectionOutput) +} + +// GetOrganizationTenanciesOrganizationTenancyCollectionArrayInput is an input type that accepts GetOrganizationTenanciesOrganizationTenancyCollectionArray and GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesOrganizationTenancyCollectionArrayInput` via: +// +// GetOrganizationTenanciesOrganizationTenancyCollectionArray{ GetOrganizationTenanciesOrganizationTenancyCollectionArgs{...} } +type GetOrganizationTenanciesOrganizationTenancyCollectionArrayInput interface { + pulumi.Input + + ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput + ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutputWithContext(context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionArray []GetOrganizationTenanciesOrganizationTenancyCollectionInput + +func (GetOrganizationTenanciesOrganizationTenancyCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesOrganizationTenancyCollection)(nil)).Elem() +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionArray) ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput { + return i.ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionArray) ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesOrganizationTenancyCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollection)(nil)).Elem() +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionOutput() GetOrganizationTenanciesOrganizationTenancyCollectionOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionOutput) Items() GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollection) []GetOrganizationTenanciesOrganizationTenancyCollectionItem { + return v.Items + }).(GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesOrganizationTenancyCollection)(nil)).Elem() +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput) Index(i pulumi.IntInput) GetOrganizationTenanciesOrganizationTenancyCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationTenanciesOrganizationTenancyCollection { + return vs[0].([]GetOrganizationTenanciesOrganizationTenancyCollection)[vs[1].(int)] + }).(GetOrganizationTenanciesOrganizationTenancyCollectionOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionItem struct { + // The governance status of the tenancy. + GovernanceStatus string `pulumi:"governanceStatus"` + // Parameter to indicate the tenancy is approved for transfer to another organization. + IsApprovedForTransfer bool `pulumi:"isApprovedForTransfer"` + // Name of the tenancy. + Name string `pulumi:"name"` + // Role of the organization tenancy. + Role string `pulumi:"role"` + // Lifecycle state of the organization tenancy. + State string `pulumi:"state"` + // OCID of the tenancy. + TenancyId string `pulumi:"tenancyId"` + // Date and time when the tenancy joined the organization. + TimeJoined string `pulumi:"timeJoined"` + // Date and time when the tenancy left the organization. + TimeLeft string `pulumi:"timeLeft"` +} + +// GetOrganizationTenanciesOrganizationTenancyCollectionItemInput is an input type that accepts GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs and GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesOrganizationTenancyCollectionItemInput` via: +// +// GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs{...} +type GetOrganizationTenanciesOrganizationTenancyCollectionItemInput interface { + pulumi.Input + + ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput + ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutputWithContext(context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs struct { + // The governance status of the tenancy. + GovernanceStatus pulumi.StringInput `pulumi:"governanceStatus"` + // Parameter to indicate the tenancy is approved for transfer to another organization. + IsApprovedForTransfer pulumi.BoolInput `pulumi:"isApprovedForTransfer"` + // Name of the tenancy. + Name pulumi.StringInput `pulumi:"name"` + // Role of the organization tenancy. + Role pulumi.StringInput `pulumi:"role"` + // Lifecycle state of the organization tenancy. + State pulumi.StringInput `pulumi:"state"` + // OCID of the tenancy. + TenancyId pulumi.StringInput `pulumi:"tenancyId"` + // Date and time when the tenancy joined the organization. + TimeJoined pulumi.StringInput `pulumi:"timeJoined"` + // Date and time when the tenancy left the organization. + TimeLeft pulumi.StringInput `pulumi:"timeLeft"` +} + +func (GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionItem)(nil)).Elem() +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput { + return i.ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) +} + +// GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayInput is an input type that accepts GetOrganizationTenanciesOrganizationTenancyCollectionItemArray and GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayInput` via: +// +// GetOrganizationTenanciesOrganizationTenancyCollectionItemArray{ GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs{...} } +type GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayInput interface { + pulumi.Input + + ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput + ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutputWithContext(context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionItemArray []GetOrganizationTenanciesOrganizationTenancyCollectionItemInput + +func (GetOrganizationTenanciesOrganizationTenancyCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesOrganizationTenancyCollectionItem)(nil)).Elem() +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionItemArray) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput { + return i.ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationTenanciesOrganizationTenancyCollectionItemArray) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionItem)(nil)).Elem() +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput { + return o +} + +// The governance status of the tenancy. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) GovernanceStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.GovernanceStatus }).(pulumi.StringOutput) +} + +// Parameter to indicate the tenancy is approved for transfer to another organization. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) IsApprovedForTransfer() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) bool { return v.IsApprovedForTransfer }).(pulumi.BoolOutput) +} + +// Name of the tenancy. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +// Role of the organization tenancy. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.Role }).(pulumi.StringOutput) +} + +// Lifecycle state of the organization tenancy. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// OCID of the tenancy. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) TenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.TenancyId }).(pulumi.StringOutput) +} + +// Date and time when the tenancy joined the organization. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) TimeJoined() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.TimeJoined }).(pulumi.StringOutput) +} + +// Date and time when the tenancy left the organization. +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) TimeLeft() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationTenanciesOrganizationTenancyCollectionItem) string { return v.TimeLeft }).(pulumi.StringOutput) +} + +type GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationTenanciesOrganizationTenancyCollectionItem)(nil)).Elem() +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput() GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) ToGetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutputWithContext(ctx context.Context) GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput { + return o +} + +func (o GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput) Index(i pulumi.IntInput) GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationTenanciesOrganizationTenancyCollectionItem { + return vs[0].([]GetOrganizationTenanciesOrganizationTenancyCollectionItem)[vs[1].(int)] + }).(GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput) +} + +type GetOrganizationsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetOrganizationsFilterInput is an input type that accepts GetOrganizationsFilterArgs and GetOrganizationsFilterOutput values. +// You can construct a concrete instance of `GetOrganizationsFilterInput` via: +// +// GetOrganizationsFilterArgs{...} +type GetOrganizationsFilterInput interface { + pulumi.Input + + ToGetOrganizationsFilterOutput() GetOrganizationsFilterOutput + ToGetOrganizationsFilterOutputWithContext(context.Context) GetOrganizationsFilterOutput +} + +type GetOrganizationsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetOrganizationsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsFilter)(nil)).Elem() +} + +func (i GetOrganizationsFilterArgs) ToGetOrganizationsFilterOutput() GetOrganizationsFilterOutput { + return i.ToGetOrganizationsFilterOutputWithContext(context.Background()) +} + +func (i GetOrganizationsFilterArgs) ToGetOrganizationsFilterOutputWithContext(ctx context.Context) GetOrganizationsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsFilterOutput) +} + +// GetOrganizationsFilterArrayInput is an input type that accepts GetOrganizationsFilterArray and GetOrganizationsFilterArrayOutput values. +// You can construct a concrete instance of `GetOrganizationsFilterArrayInput` via: +// +// GetOrganizationsFilterArray{ GetOrganizationsFilterArgs{...} } +type GetOrganizationsFilterArrayInput interface { + pulumi.Input + + ToGetOrganizationsFilterArrayOutput() GetOrganizationsFilterArrayOutput + ToGetOrganizationsFilterArrayOutputWithContext(context.Context) GetOrganizationsFilterArrayOutput +} + +type GetOrganizationsFilterArray []GetOrganizationsFilterInput + +func (GetOrganizationsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsFilter)(nil)).Elem() +} + +func (i GetOrganizationsFilterArray) ToGetOrganizationsFilterArrayOutput() GetOrganizationsFilterArrayOutput { + return i.ToGetOrganizationsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationsFilterArray) ToGetOrganizationsFilterArrayOutputWithContext(ctx context.Context) GetOrganizationsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsFilterArrayOutput) +} + +type GetOrganizationsFilterOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsFilter)(nil)).Elem() +} + +func (o GetOrganizationsFilterOutput) ToGetOrganizationsFilterOutput() GetOrganizationsFilterOutput { + return o +} + +func (o GetOrganizationsFilterOutput) ToGetOrganizationsFilterOutputWithContext(ctx context.Context) GetOrganizationsFilterOutput { + return o +} + +func (o GetOrganizationsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetOrganizationsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetOrganizationsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetOrganizationsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrganizationsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetOrganizationsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsFilter)(nil)).Elem() +} + +func (o GetOrganizationsFilterArrayOutput) ToGetOrganizationsFilterArrayOutput() GetOrganizationsFilterArrayOutput { + return o +} + +func (o GetOrganizationsFilterArrayOutput) ToGetOrganizationsFilterArrayOutputWithContext(ctx context.Context) GetOrganizationsFilterArrayOutput { + return o +} + +func (o GetOrganizationsFilterArrayOutput) Index(i pulumi.IntInput) GetOrganizationsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationsFilter { + return vs[0].([]GetOrganizationsFilter)[vs[1].(int)] + }).(GetOrganizationsFilterOutput) +} + +type GetOrganizationsOrganizationCollection struct { + Items []GetOrganizationsOrganizationCollectionItem `pulumi:"items"` +} + +// GetOrganizationsOrganizationCollectionInput is an input type that accepts GetOrganizationsOrganizationCollectionArgs and GetOrganizationsOrganizationCollectionOutput values. +// You can construct a concrete instance of `GetOrganizationsOrganizationCollectionInput` via: +// +// GetOrganizationsOrganizationCollectionArgs{...} +type GetOrganizationsOrganizationCollectionInput interface { + pulumi.Input + + ToGetOrganizationsOrganizationCollectionOutput() GetOrganizationsOrganizationCollectionOutput + ToGetOrganizationsOrganizationCollectionOutputWithContext(context.Context) GetOrganizationsOrganizationCollectionOutput +} + +type GetOrganizationsOrganizationCollectionArgs struct { + Items GetOrganizationsOrganizationCollectionItemArrayInput `pulumi:"items"` +} + +func (GetOrganizationsOrganizationCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsOrganizationCollection)(nil)).Elem() +} + +func (i GetOrganizationsOrganizationCollectionArgs) ToGetOrganizationsOrganizationCollectionOutput() GetOrganizationsOrganizationCollectionOutput { + return i.ToGetOrganizationsOrganizationCollectionOutputWithContext(context.Background()) +} + +func (i GetOrganizationsOrganizationCollectionArgs) ToGetOrganizationsOrganizationCollectionOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsOrganizationCollectionOutput) +} + +// GetOrganizationsOrganizationCollectionArrayInput is an input type that accepts GetOrganizationsOrganizationCollectionArray and GetOrganizationsOrganizationCollectionArrayOutput values. +// You can construct a concrete instance of `GetOrganizationsOrganizationCollectionArrayInput` via: +// +// GetOrganizationsOrganizationCollectionArray{ GetOrganizationsOrganizationCollectionArgs{...} } +type GetOrganizationsOrganizationCollectionArrayInput interface { + pulumi.Input + + ToGetOrganizationsOrganizationCollectionArrayOutput() GetOrganizationsOrganizationCollectionArrayOutput + ToGetOrganizationsOrganizationCollectionArrayOutputWithContext(context.Context) GetOrganizationsOrganizationCollectionArrayOutput +} + +type GetOrganizationsOrganizationCollectionArray []GetOrganizationsOrganizationCollectionInput + +func (GetOrganizationsOrganizationCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsOrganizationCollection)(nil)).Elem() +} + +func (i GetOrganizationsOrganizationCollectionArray) ToGetOrganizationsOrganizationCollectionArrayOutput() GetOrganizationsOrganizationCollectionArrayOutput { + return i.ToGetOrganizationsOrganizationCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationsOrganizationCollectionArray) ToGetOrganizationsOrganizationCollectionArrayOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsOrganizationCollectionArrayOutput) +} + +type GetOrganizationsOrganizationCollectionOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsOrganizationCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsOrganizationCollection)(nil)).Elem() +} + +func (o GetOrganizationsOrganizationCollectionOutput) ToGetOrganizationsOrganizationCollectionOutput() GetOrganizationsOrganizationCollectionOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionOutput) ToGetOrganizationsOrganizationCollectionOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionOutput) Items() GetOrganizationsOrganizationCollectionItemArrayOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollection) []GetOrganizationsOrganizationCollectionItem { + return v.Items + }).(GetOrganizationsOrganizationCollectionItemArrayOutput) +} + +type GetOrganizationsOrganizationCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsOrganizationCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsOrganizationCollection)(nil)).Elem() +} + +func (o GetOrganizationsOrganizationCollectionArrayOutput) ToGetOrganizationsOrganizationCollectionArrayOutput() GetOrganizationsOrganizationCollectionArrayOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionArrayOutput) ToGetOrganizationsOrganizationCollectionArrayOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionArrayOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionArrayOutput) Index(i pulumi.IntInput) GetOrganizationsOrganizationCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationsOrganizationCollection { + return vs[0].([]GetOrganizationsOrganizationCollection)[vs[1].(int)] + }).(GetOrganizationsOrganizationCollectionOutput) +} + +type GetOrganizationsOrganizationCollectionItem struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + DefaultUcmSubscriptionId string `pulumi:"defaultUcmSubscriptionId"` + // A display name for the organization. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // OCID of the organization. + Id string `pulumi:"id"` + // The name of the tenancy that is the organization parent. + ParentName string `pulumi:"parentName"` + // Lifecycle state of the organization. + State string `pulumi:"state"` + // Date and time when the organization was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the organization was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetOrganizationsOrganizationCollectionItemInput is an input type that accepts GetOrganizationsOrganizationCollectionItemArgs and GetOrganizationsOrganizationCollectionItemOutput values. +// You can construct a concrete instance of `GetOrganizationsOrganizationCollectionItemInput` via: +// +// GetOrganizationsOrganizationCollectionItemArgs{...} +type GetOrganizationsOrganizationCollectionItemInput interface { + pulumi.Input + + ToGetOrganizationsOrganizationCollectionItemOutput() GetOrganizationsOrganizationCollectionItemOutput + ToGetOrganizationsOrganizationCollectionItemOutputWithContext(context.Context) GetOrganizationsOrganizationCollectionItemOutput +} + +type GetOrganizationsOrganizationCollectionItemArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + DefaultUcmSubscriptionId pulumi.StringInput `pulumi:"defaultUcmSubscriptionId"` + // A display name for the organization. Avoid entering confidential information. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // OCID of the organization. + Id pulumi.StringInput `pulumi:"id"` + // The name of the tenancy that is the organization parent. + ParentName pulumi.StringInput `pulumi:"parentName"` + // Lifecycle state of the organization. + State pulumi.StringInput `pulumi:"state"` + // Date and time when the organization was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date and time when the organization was last updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetOrganizationsOrganizationCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsOrganizationCollectionItem)(nil)).Elem() +} + +func (i GetOrganizationsOrganizationCollectionItemArgs) ToGetOrganizationsOrganizationCollectionItemOutput() GetOrganizationsOrganizationCollectionItemOutput { + return i.ToGetOrganizationsOrganizationCollectionItemOutputWithContext(context.Background()) +} + +func (i GetOrganizationsOrganizationCollectionItemArgs) ToGetOrganizationsOrganizationCollectionItemOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsOrganizationCollectionItemOutput) +} + +// GetOrganizationsOrganizationCollectionItemArrayInput is an input type that accepts GetOrganizationsOrganizationCollectionItemArray and GetOrganizationsOrganizationCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetOrganizationsOrganizationCollectionItemArrayInput` via: +// +// GetOrganizationsOrganizationCollectionItemArray{ GetOrganizationsOrganizationCollectionItemArgs{...} } +type GetOrganizationsOrganizationCollectionItemArrayInput interface { + pulumi.Input + + ToGetOrganizationsOrganizationCollectionItemArrayOutput() GetOrganizationsOrganizationCollectionItemArrayOutput + ToGetOrganizationsOrganizationCollectionItemArrayOutputWithContext(context.Context) GetOrganizationsOrganizationCollectionItemArrayOutput +} + +type GetOrganizationsOrganizationCollectionItemArray []GetOrganizationsOrganizationCollectionItemInput + +func (GetOrganizationsOrganizationCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsOrganizationCollectionItem)(nil)).Elem() +} + +func (i GetOrganizationsOrganizationCollectionItemArray) ToGetOrganizationsOrganizationCollectionItemArrayOutput() GetOrganizationsOrganizationCollectionItemArrayOutput { + return i.ToGetOrganizationsOrganizationCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetOrganizationsOrganizationCollectionItemArray) ToGetOrganizationsOrganizationCollectionItemArrayOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationsOrganizationCollectionItemArrayOutput) +} + +type GetOrganizationsOrganizationCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsOrganizationCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationsOrganizationCollectionItem)(nil)).Elem() +} + +func (o GetOrganizationsOrganizationCollectionItemOutput) ToGetOrganizationsOrganizationCollectionItemOutput() GetOrganizationsOrganizationCollectionItemOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionItemOutput) ToGetOrganizationsOrganizationCollectionItemOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetOrganizationsOrganizationCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. +func (o GetOrganizationsOrganizationCollectionItemOutput) DefaultUcmSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.DefaultUcmSubscriptionId }).(pulumi.StringOutput) +} + +// A display name for the organization. Avoid entering confidential information. +func (o GetOrganizationsOrganizationCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// OCID of the organization. +func (o GetOrganizationsOrganizationCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the tenancy that is the organization parent. +func (o GetOrganizationsOrganizationCollectionItemOutput) ParentName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.ParentName }).(pulumi.StringOutput) +} + +// Lifecycle state of the organization. +func (o GetOrganizationsOrganizationCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Date and time when the organization was created. +func (o GetOrganizationsOrganizationCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the organization was last updated. +func (o GetOrganizationsOrganizationCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationsOrganizationCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetOrganizationsOrganizationCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetOrganizationsOrganizationCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrganizationsOrganizationCollectionItem)(nil)).Elem() +} + +func (o GetOrganizationsOrganizationCollectionItemArrayOutput) ToGetOrganizationsOrganizationCollectionItemArrayOutput() GetOrganizationsOrganizationCollectionItemArrayOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionItemArrayOutput) ToGetOrganizationsOrganizationCollectionItemArrayOutputWithContext(ctx context.Context) GetOrganizationsOrganizationCollectionItemArrayOutput { + return o +} + +func (o GetOrganizationsOrganizationCollectionItemArrayOutput) Index(i pulumi.IntInput) GetOrganizationsOrganizationCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrganizationsOrganizationCollectionItem { + return vs[0].([]GetOrganizationsOrganizationCollectionItem)[vs[1].(int)] + }).(GetOrganizationsOrganizationCollectionItemOutput) +} + +type GetRecipientInvitationsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetRecipientInvitationsFilterInput is an input type that accepts GetRecipientInvitationsFilterArgs and GetRecipientInvitationsFilterOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsFilterInput` via: +// +// GetRecipientInvitationsFilterArgs{...} +type GetRecipientInvitationsFilterInput interface { + pulumi.Input + + ToGetRecipientInvitationsFilterOutput() GetRecipientInvitationsFilterOutput + ToGetRecipientInvitationsFilterOutputWithContext(context.Context) GetRecipientInvitationsFilterOutput +} + +type GetRecipientInvitationsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetRecipientInvitationsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsFilter)(nil)).Elem() +} + +func (i GetRecipientInvitationsFilterArgs) ToGetRecipientInvitationsFilterOutput() GetRecipientInvitationsFilterOutput { + return i.ToGetRecipientInvitationsFilterOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsFilterArgs) ToGetRecipientInvitationsFilterOutputWithContext(ctx context.Context) GetRecipientInvitationsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsFilterOutput) +} + +// GetRecipientInvitationsFilterArrayInput is an input type that accepts GetRecipientInvitationsFilterArray and GetRecipientInvitationsFilterArrayOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsFilterArrayInput` via: +// +// GetRecipientInvitationsFilterArray{ GetRecipientInvitationsFilterArgs{...} } +type GetRecipientInvitationsFilterArrayInput interface { + pulumi.Input + + ToGetRecipientInvitationsFilterArrayOutput() GetRecipientInvitationsFilterArrayOutput + ToGetRecipientInvitationsFilterArrayOutputWithContext(context.Context) GetRecipientInvitationsFilterArrayOutput +} + +type GetRecipientInvitationsFilterArray []GetRecipientInvitationsFilterInput + +func (GetRecipientInvitationsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsFilter)(nil)).Elem() +} + +func (i GetRecipientInvitationsFilterArray) ToGetRecipientInvitationsFilterArrayOutput() GetRecipientInvitationsFilterArrayOutput { + return i.ToGetRecipientInvitationsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsFilterArray) ToGetRecipientInvitationsFilterArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsFilterArrayOutput) +} + +type GetRecipientInvitationsFilterOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsFilter)(nil)).Elem() +} + +func (o GetRecipientInvitationsFilterOutput) ToGetRecipientInvitationsFilterOutput() GetRecipientInvitationsFilterOutput { + return o +} + +func (o GetRecipientInvitationsFilterOutput) ToGetRecipientInvitationsFilterOutputWithContext(ctx context.Context) GetRecipientInvitationsFilterOutput { + return o +} + +func (o GetRecipientInvitationsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetRecipientInvitationsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetRecipientInvitationsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetRecipientInvitationsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetRecipientInvitationsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsFilter)(nil)).Elem() +} + +func (o GetRecipientInvitationsFilterArrayOutput) ToGetRecipientInvitationsFilterArrayOutput() GetRecipientInvitationsFilterArrayOutput { + return o +} + +func (o GetRecipientInvitationsFilterArrayOutput) ToGetRecipientInvitationsFilterArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsFilterArrayOutput { + return o +} + +func (o GetRecipientInvitationsFilterArrayOutput) Index(i pulumi.IntInput) GetRecipientInvitationsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRecipientInvitationsFilter { + return vs[0].([]GetRecipientInvitationsFilter)[vs[1].(int)] + }).(GetRecipientInvitationsFilterOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollection struct { + Items []GetRecipientInvitationsRecipientInvitationCollectionItem `pulumi:"items"` +} + +// GetRecipientInvitationsRecipientInvitationCollectionInput is an input type that accepts GetRecipientInvitationsRecipientInvitationCollectionArgs and GetRecipientInvitationsRecipientInvitationCollectionOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsRecipientInvitationCollectionInput` via: +// +// GetRecipientInvitationsRecipientInvitationCollectionArgs{...} +type GetRecipientInvitationsRecipientInvitationCollectionInput interface { + pulumi.Input + + ToGetRecipientInvitationsRecipientInvitationCollectionOutput() GetRecipientInvitationsRecipientInvitationCollectionOutput + ToGetRecipientInvitationsRecipientInvitationCollectionOutputWithContext(context.Context) GetRecipientInvitationsRecipientInvitationCollectionOutput +} + +type GetRecipientInvitationsRecipientInvitationCollectionArgs struct { + Items GetRecipientInvitationsRecipientInvitationCollectionItemArrayInput `pulumi:"items"` +} + +func (GetRecipientInvitationsRecipientInvitationCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollection)(nil)).Elem() +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionArgs) ToGetRecipientInvitationsRecipientInvitationCollectionOutput() GetRecipientInvitationsRecipientInvitationCollectionOutput { + return i.ToGetRecipientInvitationsRecipientInvitationCollectionOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionArgs) ToGetRecipientInvitationsRecipientInvitationCollectionOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsRecipientInvitationCollectionOutput) +} + +// GetRecipientInvitationsRecipientInvitationCollectionArrayInput is an input type that accepts GetRecipientInvitationsRecipientInvitationCollectionArray and GetRecipientInvitationsRecipientInvitationCollectionArrayOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsRecipientInvitationCollectionArrayInput` via: +// +// GetRecipientInvitationsRecipientInvitationCollectionArray{ GetRecipientInvitationsRecipientInvitationCollectionArgs{...} } +type GetRecipientInvitationsRecipientInvitationCollectionArrayInput interface { + pulumi.Input + + ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionArrayOutput + ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutputWithContext(context.Context) GetRecipientInvitationsRecipientInvitationCollectionArrayOutput +} + +type GetRecipientInvitationsRecipientInvitationCollectionArray []GetRecipientInvitationsRecipientInvitationCollectionInput + +func (GetRecipientInvitationsRecipientInvitationCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsRecipientInvitationCollection)(nil)).Elem() +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionArray) ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionArrayOutput { + return i.ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionArray) ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollectionOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsRecipientInvitationCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollection)(nil)).Elem() +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionOutput) ToGetRecipientInvitationsRecipientInvitationCollectionOutput() GetRecipientInvitationsRecipientInvitationCollectionOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionOutput) ToGetRecipientInvitationsRecipientInvitationCollectionOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionOutput) Items() GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollection) []GetRecipientInvitationsRecipientInvitationCollectionItem { + return v.Items + }).(GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsRecipientInvitationCollection)(nil)).Elem() +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionArrayOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) ToGetRecipientInvitationsRecipientInvitationCollectionArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionArrayOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionArrayOutput) Index(i pulumi.IntInput) GetRecipientInvitationsRecipientInvitationCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRecipientInvitationsRecipientInvitationCollection { + return vs[0].([]GetRecipientInvitationsRecipientInvitationCollection)[vs[1].(int)] + }).(GetRecipientInvitationsRecipientInvitationCollectionOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollectionItem 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"` + // A user-created name to describe the invitation. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // OCID of the recipient invitation. + Id string `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress string `pulumi:"recipientEmailAddress"` + // OCID of the corresponding sender invitation. + SenderInvitationId string `pulumi:"senderInvitationId"` + // The tenancy that sent the invitation. + SenderTenancyId string `pulumi:"senderTenancyId"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // The status of the recipient invitation. + Status string `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects []string `pulumi:"subjects"` + // 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"` + // Date and time when the recipient invitation was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the recipient invitation was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetRecipientInvitationsRecipientInvitationCollectionItemInput is an input type that accepts GetRecipientInvitationsRecipientInvitationCollectionItemArgs and GetRecipientInvitationsRecipientInvitationCollectionItemOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsRecipientInvitationCollectionItemInput` via: +// +// GetRecipientInvitationsRecipientInvitationCollectionItemArgs{...} +type GetRecipientInvitationsRecipientInvitationCollectionItemInput interface { + pulumi.Input + + ToGetRecipientInvitationsRecipientInvitationCollectionItemOutput() GetRecipientInvitationsRecipientInvitationCollectionItemOutput + ToGetRecipientInvitationsRecipientInvitationCollectionItemOutputWithContext(context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemOutput +} + +type GetRecipientInvitationsRecipientInvitationCollectionItemArgs 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"` + // A user-created name to describe the invitation. Avoid entering confidential information. + 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"` + // OCID of the recipient invitation. + Id pulumi.StringInput `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress pulumi.StringInput `pulumi:"recipientEmailAddress"` + // OCID of the corresponding sender invitation. + SenderInvitationId pulumi.StringInput `pulumi:"senderInvitationId"` + // The tenancy that sent the invitation. + SenderTenancyId pulumi.StringInput `pulumi:"senderTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // The status of the recipient invitation. + Status pulumi.StringInput `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects pulumi.StringArrayInput `pulumi:"subjects"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Date and time when the recipient invitation was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date and time when the recipient invitation was last updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetRecipientInvitationsRecipientInvitationCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionItem)(nil)).Elem() +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionItemArgs) ToGetRecipientInvitationsRecipientInvitationCollectionItemOutput() GetRecipientInvitationsRecipientInvitationCollectionItemOutput { + return i.ToGetRecipientInvitationsRecipientInvitationCollectionItemOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionItemArgs) ToGetRecipientInvitationsRecipientInvitationCollectionItemOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsRecipientInvitationCollectionItemOutput) +} + +// GetRecipientInvitationsRecipientInvitationCollectionItemArrayInput is an input type that accepts GetRecipientInvitationsRecipientInvitationCollectionItemArray and GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetRecipientInvitationsRecipientInvitationCollectionItemArrayInput` via: +// +// GetRecipientInvitationsRecipientInvitationCollectionItemArray{ GetRecipientInvitationsRecipientInvitationCollectionItemArgs{...} } +type GetRecipientInvitationsRecipientInvitationCollectionItemArrayInput interface { + pulumi.Input + + ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput + ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutputWithContext(context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput +} + +type GetRecipientInvitationsRecipientInvitationCollectionItemArray []GetRecipientInvitationsRecipientInvitationCollectionItemInput + +func (GetRecipientInvitationsRecipientInvitationCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsRecipientInvitationCollectionItem)(nil)).Elem() +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionItemArray) ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput { + return i.ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetRecipientInvitationsRecipientInvitationCollectionItemArray) ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsRecipientInvitationCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionItem)(nil)).Elem() +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) ToGetRecipientInvitationsRecipientInvitationCollectionItemOutput() GetRecipientInvitationsRecipientInvitationCollectionItemOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) ToGetRecipientInvitationsRecipientInvitationCollectionItemOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) 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 GetRecipientInvitationsRecipientInvitationCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// A user-created name to describe the invitation. Avoid entering confidential information. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) 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 GetRecipientInvitationsRecipientInvitationCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// OCID of the recipient invitation. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Email address of the recipient. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) RecipientEmailAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { + return v.RecipientEmailAddress + }).(pulumi.StringOutput) +} + +// OCID of the corresponding sender invitation. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) SenderInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.SenderInvitationId }).(pulumi.StringOutput) +} + +// The tenancy that sent the invitation. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) SenderTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.SenderTenancyId }).(pulumi.StringOutput) +} + +// The lifecycle state of the resource. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The status of the recipient invitation. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.Status }).(pulumi.StringOutput) +} + +// The list of subjects the invitation contains. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) Subjects() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) []string { return v.Subjects }).(pulumi.StringArrayOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// Date and time when the recipient invitation was created. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the recipient invitation was last updated. +func (o GetRecipientInvitationsRecipientInvitationCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetRecipientInvitationsRecipientInvitationCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRecipientInvitationsRecipientInvitationCollectionItem)(nil)).Elem() +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput() GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) ToGetRecipientInvitationsRecipientInvitationCollectionItemArrayOutputWithContext(ctx context.Context) GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput { + return o +} + +func (o GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput) Index(i pulumi.IntInput) GetRecipientInvitationsRecipientInvitationCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRecipientInvitationsRecipientInvitationCollectionItem { + return vs[0].([]GetRecipientInvitationsRecipientInvitationCollectionItem)[vs[1].(int)] + }).(GetRecipientInvitationsRecipientInvitationCollectionItemOutput) +} + +type GetSenderInvitationsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetSenderInvitationsFilterInput is an input type that accepts GetSenderInvitationsFilterArgs and GetSenderInvitationsFilterOutput values. +// You can construct a concrete instance of `GetSenderInvitationsFilterInput` via: +// +// GetSenderInvitationsFilterArgs{...} +type GetSenderInvitationsFilterInput interface { + pulumi.Input + + ToGetSenderInvitationsFilterOutput() GetSenderInvitationsFilterOutput + ToGetSenderInvitationsFilterOutputWithContext(context.Context) GetSenderInvitationsFilterOutput +} + +type GetSenderInvitationsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetSenderInvitationsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsFilter)(nil)).Elem() +} + +func (i GetSenderInvitationsFilterArgs) ToGetSenderInvitationsFilterOutput() GetSenderInvitationsFilterOutput { + return i.ToGetSenderInvitationsFilterOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsFilterArgs) ToGetSenderInvitationsFilterOutputWithContext(ctx context.Context) GetSenderInvitationsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsFilterOutput) +} + +// GetSenderInvitationsFilterArrayInput is an input type that accepts GetSenderInvitationsFilterArray and GetSenderInvitationsFilterArrayOutput values. +// You can construct a concrete instance of `GetSenderInvitationsFilterArrayInput` via: +// +// GetSenderInvitationsFilterArray{ GetSenderInvitationsFilterArgs{...} } +type GetSenderInvitationsFilterArrayInput interface { + pulumi.Input + + ToGetSenderInvitationsFilterArrayOutput() GetSenderInvitationsFilterArrayOutput + ToGetSenderInvitationsFilterArrayOutputWithContext(context.Context) GetSenderInvitationsFilterArrayOutput +} + +type GetSenderInvitationsFilterArray []GetSenderInvitationsFilterInput + +func (GetSenderInvitationsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsFilter)(nil)).Elem() +} + +func (i GetSenderInvitationsFilterArray) ToGetSenderInvitationsFilterArrayOutput() GetSenderInvitationsFilterArrayOutput { + return i.ToGetSenderInvitationsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsFilterArray) ToGetSenderInvitationsFilterArrayOutputWithContext(ctx context.Context) GetSenderInvitationsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsFilterArrayOutput) +} + +type GetSenderInvitationsFilterOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsFilter)(nil)).Elem() +} + +func (o GetSenderInvitationsFilterOutput) ToGetSenderInvitationsFilterOutput() GetSenderInvitationsFilterOutput { + return o +} + +func (o GetSenderInvitationsFilterOutput) ToGetSenderInvitationsFilterOutputWithContext(ctx context.Context) GetSenderInvitationsFilterOutput { + return o +} + +func (o GetSenderInvitationsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSenderInvitationsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSenderInvitationsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetSenderInvitationsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSenderInvitationsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetSenderInvitationsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsFilter)(nil)).Elem() +} + +func (o GetSenderInvitationsFilterArrayOutput) ToGetSenderInvitationsFilterArrayOutput() GetSenderInvitationsFilterArrayOutput { + return o +} + +func (o GetSenderInvitationsFilterArrayOutput) ToGetSenderInvitationsFilterArrayOutputWithContext(ctx context.Context) GetSenderInvitationsFilterArrayOutput { + return o +} + +func (o GetSenderInvitationsFilterArrayOutput) Index(i pulumi.IntInput) GetSenderInvitationsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSenderInvitationsFilter { + return vs[0].([]GetSenderInvitationsFilter)[vs[1].(int)] + }).(GetSenderInvitationsFilterOutput) +} + +type GetSenderInvitationsSenderInvitationCollection struct { + Items []GetSenderInvitationsSenderInvitationCollectionItem `pulumi:"items"` +} + +// GetSenderInvitationsSenderInvitationCollectionInput is an input type that accepts GetSenderInvitationsSenderInvitationCollectionArgs and GetSenderInvitationsSenderInvitationCollectionOutput values. +// You can construct a concrete instance of `GetSenderInvitationsSenderInvitationCollectionInput` via: +// +// GetSenderInvitationsSenderInvitationCollectionArgs{...} +type GetSenderInvitationsSenderInvitationCollectionInput interface { + pulumi.Input + + ToGetSenderInvitationsSenderInvitationCollectionOutput() GetSenderInvitationsSenderInvitationCollectionOutput + ToGetSenderInvitationsSenderInvitationCollectionOutputWithContext(context.Context) GetSenderInvitationsSenderInvitationCollectionOutput +} + +type GetSenderInvitationsSenderInvitationCollectionArgs struct { + Items GetSenderInvitationsSenderInvitationCollectionItemArrayInput `pulumi:"items"` +} + +func (GetSenderInvitationsSenderInvitationCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollection)(nil)).Elem() +} + +func (i GetSenderInvitationsSenderInvitationCollectionArgs) ToGetSenderInvitationsSenderInvitationCollectionOutput() GetSenderInvitationsSenderInvitationCollectionOutput { + return i.ToGetSenderInvitationsSenderInvitationCollectionOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsSenderInvitationCollectionArgs) ToGetSenderInvitationsSenderInvitationCollectionOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsSenderInvitationCollectionOutput) +} + +// GetSenderInvitationsSenderInvitationCollectionArrayInput is an input type that accepts GetSenderInvitationsSenderInvitationCollectionArray and GetSenderInvitationsSenderInvitationCollectionArrayOutput values. +// You can construct a concrete instance of `GetSenderInvitationsSenderInvitationCollectionArrayInput` via: +// +// GetSenderInvitationsSenderInvitationCollectionArray{ GetSenderInvitationsSenderInvitationCollectionArgs{...} } +type GetSenderInvitationsSenderInvitationCollectionArrayInput interface { + pulumi.Input + + ToGetSenderInvitationsSenderInvitationCollectionArrayOutput() GetSenderInvitationsSenderInvitationCollectionArrayOutput + ToGetSenderInvitationsSenderInvitationCollectionArrayOutputWithContext(context.Context) GetSenderInvitationsSenderInvitationCollectionArrayOutput +} + +type GetSenderInvitationsSenderInvitationCollectionArray []GetSenderInvitationsSenderInvitationCollectionInput + +func (GetSenderInvitationsSenderInvitationCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsSenderInvitationCollection)(nil)).Elem() +} + +func (i GetSenderInvitationsSenderInvitationCollectionArray) ToGetSenderInvitationsSenderInvitationCollectionArrayOutput() GetSenderInvitationsSenderInvitationCollectionArrayOutput { + return i.ToGetSenderInvitationsSenderInvitationCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsSenderInvitationCollectionArray) ToGetSenderInvitationsSenderInvitationCollectionArrayOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsSenderInvitationCollectionArrayOutput) +} + +type GetSenderInvitationsSenderInvitationCollectionOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsSenderInvitationCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollection)(nil)).Elem() +} + +func (o GetSenderInvitationsSenderInvitationCollectionOutput) ToGetSenderInvitationsSenderInvitationCollectionOutput() GetSenderInvitationsSenderInvitationCollectionOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionOutput) ToGetSenderInvitationsSenderInvitationCollectionOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionOutput) Items() GetSenderInvitationsSenderInvitationCollectionItemArrayOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollection) []GetSenderInvitationsSenderInvitationCollectionItem { + return v.Items + }).(GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) +} + +type GetSenderInvitationsSenderInvitationCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsSenderInvitationCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsSenderInvitationCollection)(nil)).Elem() +} + +func (o GetSenderInvitationsSenderInvitationCollectionArrayOutput) ToGetSenderInvitationsSenderInvitationCollectionArrayOutput() GetSenderInvitationsSenderInvitationCollectionArrayOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionArrayOutput) ToGetSenderInvitationsSenderInvitationCollectionArrayOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionArrayOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionArrayOutput) Index(i pulumi.IntInput) GetSenderInvitationsSenderInvitationCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSenderInvitationsSenderInvitationCollection { + return vs[0].([]GetSenderInvitationsSenderInvitationCollection)[vs[1].(int)] + }).(GetSenderInvitationsSenderInvitationCollectionOutput) +} + +type GetSenderInvitationsSenderInvitationCollectionItem 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"` + // A filter to return only resources that match the entire display name given. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // OCID of the sender invitation. + Id string `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress string `pulumi:"recipientEmailAddress"` + // OCID of the corresponding recipient invitation. + RecipientInvitationId string `pulumi:"recipientInvitationId"` + // The tenancy that the invitation is addressed to. + RecipientTenancyId string `pulumi:"recipientTenancyId"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // The status of the sender invitation. + Status string `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects []string `pulumi:"subjects"` + // 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"` + // Date and time when the sender invitation was created. + TimeCreated string `pulumi:"timeCreated"` + // Date and time when the sender invitation was last updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetSenderInvitationsSenderInvitationCollectionItemInput is an input type that accepts GetSenderInvitationsSenderInvitationCollectionItemArgs and GetSenderInvitationsSenderInvitationCollectionItemOutput values. +// You can construct a concrete instance of `GetSenderInvitationsSenderInvitationCollectionItemInput` via: +// +// GetSenderInvitationsSenderInvitationCollectionItemArgs{...} +type GetSenderInvitationsSenderInvitationCollectionItemInput interface { + pulumi.Input + + ToGetSenderInvitationsSenderInvitationCollectionItemOutput() GetSenderInvitationsSenderInvitationCollectionItemOutput + ToGetSenderInvitationsSenderInvitationCollectionItemOutputWithContext(context.Context) GetSenderInvitationsSenderInvitationCollectionItemOutput +} + +type GetSenderInvitationsSenderInvitationCollectionItemArgs 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"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` + // OCID of the sender invitation. + Id pulumi.StringInput `pulumi:"id"` + // Email address of the recipient. + RecipientEmailAddress pulumi.StringInput `pulumi:"recipientEmailAddress"` + // OCID of the corresponding recipient invitation. + RecipientInvitationId pulumi.StringInput `pulumi:"recipientInvitationId"` + // The tenancy that the invitation is addressed to. + RecipientTenancyId pulumi.StringInput `pulumi:"recipientTenancyId"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // The status of the sender invitation. + Status pulumi.StringInput `pulumi:"status"` + // The list of subjects the invitation contains. + Subjects pulumi.StringArrayInput `pulumi:"subjects"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Date and time when the sender invitation was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date and time when the sender invitation was last updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetSenderInvitationsSenderInvitationCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionItem)(nil)).Elem() +} + +func (i GetSenderInvitationsSenderInvitationCollectionItemArgs) ToGetSenderInvitationsSenderInvitationCollectionItemOutput() GetSenderInvitationsSenderInvitationCollectionItemOutput { + return i.ToGetSenderInvitationsSenderInvitationCollectionItemOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsSenderInvitationCollectionItemArgs) ToGetSenderInvitationsSenderInvitationCollectionItemOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsSenderInvitationCollectionItemOutput) +} + +// GetSenderInvitationsSenderInvitationCollectionItemArrayInput is an input type that accepts GetSenderInvitationsSenderInvitationCollectionItemArray and GetSenderInvitationsSenderInvitationCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetSenderInvitationsSenderInvitationCollectionItemArrayInput` via: +// +// GetSenderInvitationsSenderInvitationCollectionItemArray{ GetSenderInvitationsSenderInvitationCollectionItemArgs{...} } +type GetSenderInvitationsSenderInvitationCollectionItemArrayInput interface { + pulumi.Input + + ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutput() GetSenderInvitationsSenderInvitationCollectionItemArrayOutput + ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutputWithContext(context.Context) GetSenderInvitationsSenderInvitationCollectionItemArrayOutput +} + +type GetSenderInvitationsSenderInvitationCollectionItemArray []GetSenderInvitationsSenderInvitationCollectionItemInput + +func (GetSenderInvitationsSenderInvitationCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsSenderInvitationCollectionItem)(nil)).Elem() +} + +func (i GetSenderInvitationsSenderInvitationCollectionItemArray) ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutput() GetSenderInvitationsSenderInvitationCollectionItemArrayOutput { + return i.ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetSenderInvitationsSenderInvitationCollectionItemArray) ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) +} + +type GetSenderInvitationsSenderInvitationCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsSenderInvitationCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionItem)(nil)).Elem() +} + +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) ToGetSenderInvitationsSenderInvitationCollectionItemOutput() GetSenderInvitationsSenderInvitationCollectionItemOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) ToGetSenderInvitationsSenderInvitationCollectionItemOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) 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 GetSenderInvitationsSenderInvitationCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A filter to return only resources that match the entire display name given. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) 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 GetSenderInvitationsSenderInvitationCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// OCID of the sender invitation. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Email address of the recipient. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) RecipientEmailAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.RecipientEmailAddress }).(pulumi.StringOutput) +} + +// OCID of the corresponding recipient invitation. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) RecipientInvitationId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.RecipientInvitationId }).(pulumi.StringOutput) +} + +// The tenancy that the invitation is addressed to. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) RecipientTenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.RecipientTenancyId }).(pulumi.StringOutput) +} + +// The lifecycle state of the resource. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The status of the sender invitation. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.Status }).(pulumi.StringOutput) +} + +// The list of subjects the invitation contains. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) Subjects() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) []string { return v.Subjects }).(pulumi.StringArrayOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Date and time when the sender invitation was created. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date and time when the sender invitation was last updated. +func (o GetSenderInvitationsSenderInvitationCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSenderInvitationsSenderInvitationCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetSenderInvitationsSenderInvitationCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSenderInvitationsSenderInvitationCollectionItem)(nil)).Elem() +} + +func (o GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutput() GetSenderInvitationsSenderInvitationCollectionItemArrayOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) ToGetSenderInvitationsSenderInvitationCollectionItemArrayOutputWithContext(ctx context.Context) GetSenderInvitationsSenderInvitationCollectionItemArrayOutput { + return o +} + +func (o GetSenderInvitationsSenderInvitationCollectionItemArrayOutput) Index(i pulumi.IntInput) GetSenderInvitationsSenderInvitationCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSenderInvitationsSenderInvitationCollectionItem { + return vs[0].([]GetSenderInvitationsSenderInvitationCollectionItem)[vs[1].(int)] + }).(GetSenderInvitationsSenderInvitationCollectionItemOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollection struct { + // Array containing available region items. + Items []GetSubscriptionAvailableRegionsAvailableRegionCollectionItem `pulumi:"items"` +} + +// GetSubscriptionAvailableRegionsAvailableRegionCollectionInput is an input type that accepts GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs and GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsAvailableRegionCollectionInput` via: +// +// GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs{...} +type GetSubscriptionAvailableRegionsAvailableRegionCollectionInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutputWithContext(context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs struct { + // Array containing available region items. + Items GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayInput `pulumi:"items"` +} + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollection)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput { + return i.ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) +} + +// GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayInput is an input type that accepts GetSubscriptionAvailableRegionsAvailableRegionCollectionArray and GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayInput` via: +// +// GetSubscriptionAvailableRegionsAvailableRegionCollectionArray{ GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs{...} } +type GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutputWithContext(context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionArray []GetSubscriptionAvailableRegionsAvailableRegionCollectionInput + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsAvailableRegionCollection)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionArray) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput { + return i.ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionArray) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollection)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput { + return o +} + +// Array containing available region items. +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) Items() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsAvailableRegionCollection) []GetSubscriptionAvailableRegionsAvailableRegionCollectionItem { + return v.Items + }).(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsAvailableRegionCollection)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionAvailableRegionsAvailableRegionCollection { + return vs[0].([]GetSubscriptionAvailableRegionsAvailableRegionCollection)[vs[1].(int)] + }).(GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItem struct { + // Region availability for the subscription. + RegionName string `pulumi:"regionName"` + // 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"` +} + +// GetSubscriptionAvailableRegionsAvailableRegionCollectionItemInput is an input type that accepts GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs and GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsAvailableRegionCollectionItemInput` via: +// +// GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs{...} +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutputWithContext(context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs struct { + // Region availability for the subscription. + RegionName pulumi.StringInput `pulumi:"regionName"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` +} + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput { + return i.ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) +} + +// GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayInput is an input type that accepts GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray and GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayInput` via: +// +// GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray{ GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs{...} } +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput + ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutputWithContext(context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray []GetSubscriptionAvailableRegionsAvailableRegionCollectionItemInput + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsAvailableRegionCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput { + return i.ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput { + return o +} + +// Region availability for the subscription. +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsAvailableRegionCollectionItem) string { return v.RegionName }).(pulumi.StringOutput) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsAvailableRegionCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +type GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsAvailableRegionCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput() GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) ToGetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionAvailableRegionsAvailableRegionCollectionItem { + return vs[0].([]GetSubscriptionAvailableRegionsAvailableRegionCollectionItem)[vs[1].(int)] + }).(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput) +} + +type GetSubscriptionAvailableRegionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetSubscriptionAvailableRegionsFilterInput is an input type that accepts GetSubscriptionAvailableRegionsFilterArgs and GetSubscriptionAvailableRegionsFilterOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsFilterInput` via: +// +// GetSubscriptionAvailableRegionsFilterArgs{...} +type GetSubscriptionAvailableRegionsFilterInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsFilterOutput() GetSubscriptionAvailableRegionsFilterOutput + ToGetSubscriptionAvailableRegionsFilterOutputWithContext(context.Context) GetSubscriptionAvailableRegionsFilterOutput +} + +type GetSubscriptionAvailableRegionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetSubscriptionAvailableRegionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsFilter)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsFilterArgs) ToGetSubscriptionAvailableRegionsFilterOutput() GetSubscriptionAvailableRegionsFilterOutput { + return i.ToGetSubscriptionAvailableRegionsFilterOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsFilterArgs) ToGetSubscriptionAvailableRegionsFilterOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsFilterOutput) +} + +// GetSubscriptionAvailableRegionsFilterArrayInput is an input type that accepts GetSubscriptionAvailableRegionsFilterArray and GetSubscriptionAvailableRegionsFilterArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionAvailableRegionsFilterArrayInput` via: +// +// GetSubscriptionAvailableRegionsFilterArray{ GetSubscriptionAvailableRegionsFilterArgs{...} } +type GetSubscriptionAvailableRegionsFilterArrayInput interface { + pulumi.Input + + ToGetSubscriptionAvailableRegionsFilterArrayOutput() GetSubscriptionAvailableRegionsFilterArrayOutput + ToGetSubscriptionAvailableRegionsFilterArrayOutputWithContext(context.Context) GetSubscriptionAvailableRegionsFilterArrayOutput +} + +type GetSubscriptionAvailableRegionsFilterArray []GetSubscriptionAvailableRegionsFilterInput + +func (GetSubscriptionAvailableRegionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsFilter)(nil)).Elem() +} + +func (i GetSubscriptionAvailableRegionsFilterArray) ToGetSubscriptionAvailableRegionsFilterArrayOutput() GetSubscriptionAvailableRegionsFilterArrayOutput { + return i.ToGetSubscriptionAvailableRegionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionAvailableRegionsFilterArray) ToGetSubscriptionAvailableRegionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionAvailableRegionsFilterArrayOutput) +} + +type GetSubscriptionAvailableRegionsFilterOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionAvailableRegionsFilter)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsFilterOutput) ToGetSubscriptionAvailableRegionsFilterOutput() GetSubscriptionAvailableRegionsFilterOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsFilterOutput) ToGetSubscriptionAvailableRegionsFilterOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsFilterOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSubscriptionAvailableRegionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetSubscriptionAvailableRegionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSubscriptionAvailableRegionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetSubscriptionAvailableRegionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionAvailableRegionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionAvailableRegionsFilter)(nil)).Elem() +} + +func (o GetSubscriptionAvailableRegionsFilterArrayOutput) ToGetSubscriptionAvailableRegionsFilterArrayOutput() GetSubscriptionAvailableRegionsFilterArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsFilterArrayOutput) ToGetSubscriptionAvailableRegionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionAvailableRegionsFilterArrayOutput { + return o +} + +func (o GetSubscriptionAvailableRegionsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionAvailableRegionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionAvailableRegionsFilter { + return vs[0].([]GetSubscriptionAvailableRegionsFilter)[vs[1].(int)] + }).(GetSubscriptionAvailableRegionsFilterOutput) +} + +type GetSubscriptionLineItemsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetSubscriptionLineItemsFilterInput is an input type that accepts GetSubscriptionLineItemsFilterArgs and GetSubscriptionLineItemsFilterOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsFilterInput` via: +// +// GetSubscriptionLineItemsFilterArgs{...} +type GetSubscriptionLineItemsFilterInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsFilterOutput() GetSubscriptionLineItemsFilterOutput + ToGetSubscriptionLineItemsFilterOutputWithContext(context.Context) GetSubscriptionLineItemsFilterOutput +} + +type GetSubscriptionLineItemsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetSubscriptionLineItemsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsFilterArgs) ToGetSubscriptionLineItemsFilterOutput() GetSubscriptionLineItemsFilterOutput { + return i.ToGetSubscriptionLineItemsFilterOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsFilterArgs) ToGetSubscriptionLineItemsFilterOutputWithContext(ctx context.Context) GetSubscriptionLineItemsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsFilterOutput) +} + +// GetSubscriptionLineItemsFilterArrayInput is an input type that accepts GetSubscriptionLineItemsFilterArray and GetSubscriptionLineItemsFilterArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsFilterArrayInput` via: +// +// GetSubscriptionLineItemsFilterArray{ GetSubscriptionLineItemsFilterArgs{...} } +type GetSubscriptionLineItemsFilterArrayInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsFilterArrayOutput() GetSubscriptionLineItemsFilterArrayOutput + ToGetSubscriptionLineItemsFilterArrayOutputWithContext(context.Context) GetSubscriptionLineItemsFilterArrayOutput +} + +type GetSubscriptionLineItemsFilterArray []GetSubscriptionLineItemsFilterInput + +func (GetSubscriptionLineItemsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsFilterArray) ToGetSubscriptionLineItemsFilterArrayOutput() GetSubscriptionLineItemsFilterArrayOutput { + return i.ToGetSubscriptionLineItemsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsFilterArray) ToGetSubscriptionLineItemsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsFilterArrayOutput) +} + +type GetSubscriptionLineItemsFilterOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsFilterOutput) ToGetSubscriptionLineItemsFilterOutput() GetSubscriptionLineItemsFilterOutput { + return o +} + +func (o GetSubscriptionLineItemsFilterOutput) ToGetSubscriptionLineItemsFilterOutputWithContext(ctx context.Context) GetSubscriptionLineItemsFilterOutput { + return o +} + +func (o GetSubscriptionLineItemsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSubscriptionLineItemsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetSubscriptionLineItemsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetSubscriptionLineItemsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsFilter)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsFilterArrayOutput) ToGetSubscriptionLineItemsFilterArrayOutput() GetSubscriptionLineItemsFilterArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsFilterArrayOutput) ToGetSubscriptionLineItemsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsFilterArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionLineItemsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionLineItemsFilter { + return vs[0].([]GetSubscriptionLineItemsFilter)[vs[1].(int)] + }).(GetSubscriptionLineItemsFilterOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollection struct { + // Array containing line item summaries in a subscription. + Items []GetSubscriptionLineItemsSubscriptionLineItemCollectionItem `pulumi:"items"` +} + +// GetSubscriptionLineItemsSubscriptionLineItemCollectionInput is an input type that accepts GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs and GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsSubscriptionLineItemCollectionInput` via: +// +// GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs{...} +type GetSubscriptionLineItemsSubscriptionLineItemCollectionInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutputWithContext(context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs struct { + // Array containing line item summaries in a subscription. + Items GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayInput `pulumi:"items"` +} + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollection)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput { + return i.ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) +} + +// GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayInput is an input type that accepts GetSubscriptionLineItemsSubscriptionLineItemCollectionArray and GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayInput` via: +// +// GetSubscriptionLineItemsSubscriptionLineItemCollectionArray{ GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs{...} } +type GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutputWithContext(context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionArray []GetSubscriptionLineItemsSubscriptionLineItemCollectionInput + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsSubscriptionLineItemCollection)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionArray) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput { + return i.ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionArray) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollection)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput { + return o +} + +// Array containing line item summaries in a subscription. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) Items() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollection) []GetSubscriptionLineItemsSubscriptionLineItemCollectionItem { + return v.Items + }).(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsSubscriptionLineItemCollection)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionLineItemsSubscriptionLineItemCollection { + return vs[0].([]GetSubscriptionLineItemsSubscriptionLineItemCollection)[vs[1].(int)] + }).(GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItem struct { + // Billing model supported by the associated line item. + BillingModel string `pulumi:"billingModel"` + // Subscription line item identifier. + Id string `pulumi:"id"` + // Product code. + ProductCode string `pulumi:"productCode"` + // Product number. + Quantity float64 `pulumi:"quantity"` + // 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + TimeEnded string `pulumi:"timeEnded"` + // The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetSubscriptionLineItemsSubscriptionLineItemCollectionItemInput is an input type that accepts GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs and GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsSubscriptionLineItemCollectionItemInput` via: +// +// GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs{...} +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutputWithContext(context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs struct { + // Billing model supported by the associated line item. + BillingModel pulumi.StringInput `pulumi:"billingModel"` + // Subscription line item identifier. + Id pulumi.StringInput `pulumi:"id"` + // Product code. + ProductCode pulumi.StringInput `pulumi:"productCode"` + // Product number. + Quantity pulumi.Float64Input `pulumi:"quantity"` + // 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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + TimeEnded pulumi.StringInput `pulumi:"timeEnded"` + // The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput { + return i.ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) +} + +// GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayInput is an input type that accepts GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray and GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayInput` via: +// +// GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray{ GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs{...} } +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayInput interface { + pulumi.Input + + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput + ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutputWithContext(context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray []GetSubscriptionLineItemsSubscriptionLineItemCollectionItemInput + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput { + return i.ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput { + return o +} + +// Billing model supported by the associated line item. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) BillingModel() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) string { return v.BillingModel }).(pulumi.StringOutput) +} + +// Subscription line item identifier. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Product code. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) ProductCode() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) string { return v.ProductCode }).(pulumi.StringOutput) +} + +// Product number. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) Quantity() pulumi.Float64Output { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) float64 { return v.Quantity }).(pulumi.Float64Output) +} + +// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) TimeEnded() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) string { return v.TimeEnded }).(pulumi.StringOutput) +} + +// The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionLineItemsSubscriptionLineItemCollectionItem) string { return v.TimeStarted }).(pulumi.StringOutput) +} + +type GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionLineItemsSubscriptionLineItemCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput() GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) ToGetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput) Index(i pulumi.IntInput) GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionLineItemsSubscriptionLineItemCollectionItem { + return vs[0].([]GetSubscriptionLineItemsSubscriptionLineItemCollectionItem)[vs[1].(int)] + }).(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput) +} + +type GetSubscriptionMappingsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetSubscriptionMappingsFilterInput is an input type that accepts GetSubscriptionMappingsFilterArgs and GetSubscriptionMappingsFilterOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsFilterInput` via: +// +// GetSubscriptionMappingsFilterArgs{...} +type GetSubscriptionMappingsFilterInput interface { + pulumi.Input + + ToGetSubscriptionMappingsFilterOutput() GetSubscriptionMappingsFilterOutput + ToGetSubscriptionMappingsFilterOutputWithContext(context.Context) GetSubscriptionMappingsFilterOutput +} + +type GetSubscriptionMappingsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetSubscriptionMappingsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsFilter)(nil)).Elem() +} + +func (i GetSubscriptionMappingsFilterArgs) ToGetSubscriptionMappingsFilterOutput() GetSubscriptionMappingsFilterOutput { + return i.ToGetSubscriptionMappingsFilterOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsFilterArgs) ToGetSubscriptionMappingsFilterOutputWithContext(ctx context.Context) GetSubscriptionMappingsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsFilterOutput) +} + +// GetSubscriptionMappingsFilterArrayInput is an input type that accepts GetSubscriptionMappingsFilterArray and GetSubscriptionMappingsFilterArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsFilterArrayInput` via: +// +// GetSubscriptionMappingsFilterArray{ GetSubscriptionMappingsFilterArgs{...} } +type GetSubscriptionMappingsFilterArrayInput interface { + pulumi.Input + + ToGetSubscriptionMappingsFilterArrayOutput() GetSubscriptionMappingsFilterArrayOutput + ToGetSubscriptionMappingsFilterArrayOutputWithContext(context.Context) GetSubscriptionMappingsFilterArrayOutput +} + +type GetSubscriptionMappingsFilterArray []GetSubscriptionMappingsFilterInput + +func (GetSubscriptionMappingsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsFilter)(nil)).Elem() +} + +func (i GetSubscriptionMappingsFilterArray) ToGetSubscriptionMappingsFilterArrayOutput() GetSubscriptionMappingsFilterArrayOutput { + return i.ToGetSubscriptionMappingsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsFilterArray) ToGetSubscriptionMappingsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsFilterArrayOutput) +} + +type GetSubscriptionMappingsFilterOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsFilter)(nil)).Elem() +} + +func (o GetSubscriptionMappingsFilterOutput) ToGetSubscriptionMappingsFilterOutput() GetSubscriptionMappingsFilterOutput { + return o +} + +func (o GetSubscriptionMappingsFilterOutput) ToGetSubscriptionMappingsFilterOutputWithContext(ctx context.Context) GetSubscriptionMappingsFilterOutput { + return o +} + +func (o GetSubscriptionMappingsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSubscriptionMappingsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSubscriptionMappingsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetSubscriptionMappingsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSubscriptionMappingsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetSubscriptionMappingsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsFilter)(nil)).Elem() +} + +func (o GetSubscriptionMappingsFilterArrayOutput) ToGetSubscriptionMappingsFilterArrayOutput() GetSubscriptionMappingsFilterArrayOutput { + return o +} + +func (o GetSubscriptionMappingsFilterArrayOutput) ToGetSubscriptionMappingsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsFilterArrayOutput { + return o +} + +func (o GetSubscriptionMappingsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionMappingsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionMappingsFilter { + return vs[0].([]GetSubscriptionMappingsFilter)[vs[1].(int)] + }).(GetSubscriptionMappingsFilterOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollection struct { + Items []GetSubscriptionMappingsSubscriptionMappingCollectionItem `pulumi:"items"` +} + +// GetSubscriptionMappingsSubscriptionMappingCollectionInput is an input type that accepts GetSubscriptionMappingsSubscriptionMappingCollectionArgs and GetSubscriptionMappingsSubscriptionMappingCollectionOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsSubscriptionMappingCollectionInput` via: +// +// GetSubscriptionMappingsSubscriptionMappingCollectionArgs{...} +type GetSubscriptionMappingsSubscriptionMappingCollectionInput interface { + pulumi.Input + + ToGetSubscriptionMappingsSubscriptionMappingCollectionOutput() GetSubscriptionMappingsSubscriptionMappingCollectionOutput + ToGetSubscriptionMappingsSubscriptionMappingCollectionOutputWithContext(context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionOutput +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionArgs struct { + Items GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayInput `pulumi:"items"` +} + +func (GetSubscriptionMappingsSubscriptionMappingCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollection)(nil)).Elem() +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionArgs) ToGetSubscriptionMappingsSubscriptionMappingCollectionOutput() GetSubscriptionMappingsSubscriptionMappingCollectionOutput { + return i.ToGetSubscriptionMappingsSubscriptionMappingCollectionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionArgs) ToGetSubscriptionMappingsSubscriptionMappingCollectionOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsSubscriptionMappingCollectionOutput) +} + +// GetSubscriptionMappingsSubscriptionMappingCollectionArrayInput is an input type that accepts GetSubscriptionMappingsSubscriptionMappingCollectionArray and GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsSubscriptionMappingCollectionArrayInput` via: +// +// GetSubscriptionMappingsSubscriptionMappingCollectionArray{ GetSubscriptionMappingsSubscriptionMappingCollectionArgs{...} } +type GetSubscriptionMappingsSubscriptionMappingCollectionArrayInput interface { + pulumi.Input + + ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput + ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutputWithContext(context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionArray []GetSubscriptionMappingsSubscriptionMappingCollectionInput + +func (GetSubscriptionMappingsSubscriptionMappingCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsSubscriptionMappingCollection)(nil)).Elem() +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionArray) ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput { + return i.ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionArray) ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsSubscriptionMappingCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollection)(nil)).Elem() +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionOutput() GetSubscriptionMappingsSubscriptionMappingCollectionOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionOutput) Items() GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollection) []GetSubscriptionMappingsSubscriptionMappingCollectionItem { + return v.Items + }).(GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsSubscriptionMappingCollection)(nil)).Elem() +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionMappingsSubscriptionMappingCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionMappingsSubscriptionMappingCollection { + return vs[0].([]GetSubscriptionMappingsSubscriptionMappingCollection)[vs[1].(int)] + }).(GetSubscriptionMappingsSubscriptionMappingCollectionOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionItem struct { + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // OCID of the mapping between subscription and compartment identified by the tenancy. + Id string `pulumi:"id"` + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned bool `pulumi:"isExplicitlyAssigned"` + // The lifecycle state of the resource. + State string `pulumi:"state"` + // OCID of the subscription. + SubscriptionId string `pulumi:"subscriptionId"` + // Date-time when subscription mapping was created. + TimeCreated string `pulumi:"timeCreated"` + // Date-time when subscription mapping was terminated. + TimeTerminated string `pulumi:"timeTerminated"` + // Date-time when subscription mapping was updated. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetSubscriptionMappingsSubscriptionMappingCollectionItemInput is an input type that accepts GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs and GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsSubscriptionMappingCollectionItemInput` via: +// +// GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs{...} +type GetSubscriptionMappingsSubscriptionMappingCollectionItemInput interface { + pulumi.Input + + ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput + ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutputWithContext(context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs struct { + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // OCID of the mapping between subscription and compartment identified by the tenancy. + Id pulumi.StringInput `pulumi:"id"` + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned pulumi.BoolInput `pulumi:"isExplicitlyAssigned"` + // The lifecycle state of the resource. + State pulumi.StringInput `pulumi:"state"` + // OCID of the subscription. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + // Date-time when subscription mapping was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Date-time when subscription mapping was terminated. + TimeTerminated pulumi.StringInput `pulumi:"timeTerminated"` + // Date-time when subscription mapping was updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput { + return i.ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) +} + +// GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayInput is an input type that accepts GetSubscriptionMappingsSubscriptionMappingCollectionItemArray and GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayInput` via: +// +// GetSubscriptionMappingsSubscriptionMappingCollectionItemArray{ GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs{...} } +type GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayInput interface { + pulumi.Input + + ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput + ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutputWithContext(context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionItemArray []GetSubscriptionMappingsSubscriptionMappingCollectionItemInput + +func (GetSubscriptionMappingsSubscriptionMappingCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsSubscriptionMappingCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionItemArray) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput { + return i.ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionMappingsSubscriptionMappingCollectionItemArray) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput { + return o +} + +// The ID of the compartment in which to list resources. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// OCID of the mapping between subscription and compartment identified by the tenancy. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Denotes if the subscription is explicity assigned to the root compartment or tenancy. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) IsExplicitlyAssigned() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) bool { return v.IsExplicitlyAssigned }).(pulumi.BoolOutput) +} + +// The lifecycle state of the resource. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// OCID of the subscription. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was created. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was terminated. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) TimeTerminated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.TimeTerminated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was updated. +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionMappingsSubscriptionMappingCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionMappingsSubscriptionMappingCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput() GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) ToGetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput) Index(i pulumi.IntInput) GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionMappingsSubscriptionMappingCollectionItem { + return vs[0].([]GetSubscriptionMappingsSubscriptionMappingCollectionItem)[vs[1].(int)] + }).(GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput) +} + +type GetSubscriptionPromotion struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount float64 `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit string `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration int `pulumi:"duration"` + // Unit for the duration. + DurationUnit string `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay bool `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status string `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired string `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetSubscriptionPromotionInput is an input type that accepts GetSubscriptionPromotionArgs and GetSubscriptionPromotionOutput values. +// You can construct a concrete instance of `GetSubscriptionPromotionInput` via: +// +// GetSubscriptionPromotionArgs{...} +type GetSubscriptionPromotionInput interface { + pulumi.Input + + ToGetSubscriptionPromotionOutput() GetSubscriptionPromotionOutput + ToGetSubscriptionPromotionOutputWithContext(context.Context) GetSubscriptionPromotionOutput +} + +type GetSubscriptionPromotionArgs struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount pulumi.Float64Input `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit pulumi.StringInput `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration pulumi.IntInput `pulumi:"duration"` + // Unit for the duration. + DurationUnit pulumi.StringInput `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay pulumi.BoolInput `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status pulumi.StringInput `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired pulumi.StringInput `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetSubscriptionPromotionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionPromotion)(nil)).Elem() +} + +func (i GetSubscriptionPromotionArgs) ToGetSubscriptionPromotionOutput() GetSubscriptionPromotionOutput { + return i.ToGetSubscriptionPromotionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionPromotionArgs) ToGetSubscriptionPromotionOutputWithContext(ctx context.Context) GetSubscriptionPromotionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionPromotionOutput) +} + +// GetSubscriptionPromotionArrayInput is an input type that accepts GetSubscriptionPromotionArray and GetSubscriptionPromotionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionPromotionArrayInput` via: +// +// GetSubscriptionPromotionArray{ GetSubscriptionPromotionArgs{...} } +type GetSubscriptionPromotionArrayInput interface { + pulumi.Input + + ToGetSubscriptionPromotionArrayOutput() GetSubscriptionPromotionArrayOutput + ToGetSubscriptionPromotionArrayOutputWithContext(context.Context) GetSubscriptionPromotionArrayOutput +} + +type GetSubscriptionPromotionArray []GetSubscriptionPromotionInput + +func (GetSubscriptionPromotionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionPromotion)(nil)).Elem() +} + +func (i GetSubscriptionPromotionArray) ToGetSubscriptionPromotionArrayOutput() GetSubscriptionPromotionArrayOutput { + return i.ToGetSubscriptionPromotionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionPromotionArray) ToGetSubscriptionPromotionArrayOutputWithContext(ctx context.Context) GetSubscriptionPromotionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionPromotionArrayOutput) +} + +type GetSubscriptionPromotionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionPromotionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionPromotion)(nil)).Elem() +} + +func (o GetSubscriptionPromotionOutput) ToGetSubscriptionPromotionOutput() GetSubscriptionPromotionOutput { + return o +} + +func (o GetSubscriptionPromotionOutput) ToGetSubscriptionPromotionOutputWithContext(ctx context.Context) GetSubscriptionPromotionOutput { + return o +} + +// If a subscription is present, indicates the total amount of promotional subscription credits. +func (o GetSubscriptionPromotionOutput) Amount() pulumi.Float64Output { + return o.ApplyT(func(v GetSubscriptionPromotion) float64 { return v.Amount }).(pulumi.Float64Output) +} + +// Currency unit associated with the promotion. +func (o GetSubscriptionPromotionOutput) CurrencyUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) string { return v.CurrencyUnit }).(pulumi.StringOutput) +} + +// Specifies how long the promotion related to the subscription, if any, is valid in duration units. +func (o GetSubscriptionPromotionOutput) Duration() pulumi.IntOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) int { return v.Duration }).(pulumi.IntOutput) +} + +// Unit for the duration. +func (o GetSubscriptionPromotionOutput) DurationUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) string { return v.DurationUnit }).(pulumi.StringOutput) +} + +// Speficies whether or not the customer intends to pay after the promotion has expired. +func (o GetSubscriptionPromotionOutput) IsIntentToPay() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) bool { return v.IsIntentToPay }).(pulumi.BoolOutput) +} + +// If a subscription is present, indicates the current status of the subscription promotion. +func (o GetSubscriptionPromotionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) string { return v.Status }).(pulumi.StringOutput) +} + +// Date and time when the promotion ends. +func (o GetSubscriptionPromotionOutput) TimeExpired() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) string { return v.TimeExpired }).(pulumi.StringOutput) +} + +// Date and time when the promotion starts. +func (o GetSubscriptionPromotionOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionPromotion) string { return v.TimeStarted }).(pulumi.StringOutput) +} + +type GetSubscriptionPromotionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionPromotionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionPromotion)(nil)).Elem() +} + +func (o GetSubscriptionPromotionArrayOutput) ToGetSubscriptionPromotionArrayOutput() GetSubscriptionPromotionArrayOutput { + return o +} + +func (o GetSubscriptionPromotionArrayOutput) ToGetSubscriptionPromotionArrayOutputWithContext(ctx context.Context) GetSubscriptionPromotionArrayOutput { + return o +} + +func (o GetSubscriptionPromotionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionPromotionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionPromotion { + return vs[0].([]GetSubscriptionPromotion)[vs[1].(int)] + }).(GetSubscriptionPromotionOutput) +} + +type GetSubscriptionSkus struct { + // Description of the stock units. + Description string `pulumi:"description"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId string `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance bool `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent bool `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription string `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName string `pulumi:"metricName"` + // Quantity of the stock units. + Quantity int `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku string `pulumi:"sku"` + // Subscription start time. + StartDate string `pulumi:"startDate"` +} + +// GetSubscriptionSkusInput is an input type that accepts GetSubscriptionSkusArgs and GetSubscriptionSkusOutput values. +// You can construct a concrete instance of `GetSubscriptionSkusInput` via: +// +// GetSubscriptionSkusArgs{...} +type GetSubscriptionSkusInput interface { + pulumi.Input + + ToGetSubscriptionSkusOutput() GetSubscriptionSkusOutput + ToGetSubscriptionSkusOutputWithContext(context.Context) GetSubscriptionSkusOutput +} + +type GetSubscriptionSkusArgs struct { + // Description of the stock units. + Description pulumi.StringInput `pulumi:"description"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId pulumi.StringInput `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance pulumi.BoolInput `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent pulumi.BoolInput `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription pulumi.StringInput `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName pulumi.StringInput `pulumi:"metricName"` + // Quantity of the stock units. + Quantity pulumi.IntInput `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku pulumi.StringInput `pulumi:"sku"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` +} + +func (GetSubscriptionSkusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionSkus)(nil)).Elem() +} + +func (i GetSubscriptionSkusArgs) ToGetSubscriptionSkusOutput() GetSubscriptionSkusOutput { + return i.ToGetSubscriptionSkusOutputWithContext(context.Background()) +} + +func (i GetSubscriptionSkusArgs) ToGetSubscriptionSkusOutputWithContext(ctx context.Context) GetSubscriptionSkusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionSkusOutput) +} + +// GetSubscriptionSkusArrayInput is an input type that accepts GetSubscriptionSkusArray and GetSubscriptionSkusArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionSkusArrayInput` via: +// +// GetSubscriptionSkusArray{ GetSubscriptionSkusArgs{...} } +type GetSubscriptionSkusArrayInput interface { + pulumi.Input + + ToGetSubscriptionSkusArrayOutput() GetSubscriptionSkusArrayOutput + ToGetSubscriptionSkusArrayOutputWithContext(context.Context) GetSubscriptionSkusArrayOutput +} + +type GetSubscriptionSkusArray []GetSubscriptionSkusInput + +func (GetSubscriptionSkusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionSkus)(nil)).Elem() +} + +func (i GetSubscriptionSkusArray) ToGetSubscriptionSkusArrayOutput() GetSubscriptionSkusArrayOutput { + return i.ToGetSubscriptionSkusArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionSkusArray) ToGetSubscriptionSkusArrayOutputWithContext(ctx context.Context) GetSubscriptionSkusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionSkusArrayOutput) +} + +type GetSubscriptionSkusOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionSkusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionSkus)(nil)).Elem() +} + +func (o GetSubscriptionSkusOutput) ToGetSubscriptionSkusOutput() GetSubscriptionSkusOutput { + return o +} + +func (o GetSubscriptionSkusOutput) ToGetSubscriptionSkusOutputWithContext(ctx context.Context) GetSubscriptionSkusOutput { + return o +} + +// Description of the stock units. +func (o GetSubscriptionSkusOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.Description }).(pulumi.StringOutput) +} + +// Date and time when the SKU ended. +func (o GetSubscriptionSkusOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.EndDate }).(pulumi.StringOutput) +} + +// Sales order line identifier. +func (o GetSubscriptionSkusOutput) GsiOrderLineId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.GsiOrderLineId }).(pulumi.StringOutput) +} + +// Specifies if an additional test instance can be provisioned by the SaaS application. +func (o GetSubscriptionSkusOutput) IsAdditionalInstance() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionSkus) bool { return v.IsAdditionalInstance }).(pulumi.BoolOutput) +} + +// Specifies if the SKU is considered as a parent or child. +func (o GetSubscriptionSkusOutput) IsBaseServiceComponent() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionSkus) bool { return v.IsBaseServiceComponent }).(pulumi.BoolOutput) +} + +// Description of the covered product belonging to this SKU. +func (o GetSubscriptionSkusOutput) LicensePartDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.LicensePartDescription }).(pulumi.StringOutput) +} + +// Base metric for billing the service. +func (o GetSubscriptionSkusOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.MetricName }).(pulumi.StringOutput) +} + +// Quantity of the stock units. +func (o GetSubscriptionSkusOutput) Quantity() pulumi.IntOutput { + return o.ApplyT(func(v GetSubscriptionSkus) int { return v.Quantity }).(pulumi.IntOutput) +} + +// Stock Keeping Unit (SKU) ID. +func (o GetSubscriptionSkusOutput) Sku() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.Sku }).(pulumi.StringOutput) +} + +// Subscription start time. +func (o GetSubscriptionSkusOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionSkus) string { return v.StartDate }).(pulumi.StringOutput) +} + +type GetSubscriptionSkusArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionSkusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionSkus)(nil)).Elem() +} + +func (o GetSubscriptionSkusArrayOutput) ToGetSubscriptionSkusArrayOutput() GetSubscriptionSkusArrayOutput { + return o +} + +func (o GetSubscriptionSkusArrayOutput) ToGetSubscriptionSkusArrayOutputWithContext(ctx context.Context) GetSubscriptionSkusArrayOutput { + return o +} + +func (o GetSubscriptionSkusArrayOutput) Index(i pulumi.IntInput) GetSubscriptionSkusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionSkus { + return vs[0].([]GetSubscriptionSkus)[vs[1].(int)] + }).(GetSubscriptionSkusOutput) +} + +type GetSubscriptionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetSubscriptionsFilterInput is an input type that accepts GetSubscriptionsFilterArgs and GetSubscriptionsFilterOutput values. +// You can construct a concrete instance of `GetSubscriptionsFilterInput` via: +// +// GetSubscriptionsFilterArgs{...} +type GetSubscriptionsFilterInput interface { + pulumi.Input + + ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput + ToGetSubscriptionsFilterOutputWithContext(context.Context) GetSubscriptionsFilterOutput +} + +type GetSubscriptionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetSubscriptionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsFilter)(nil)).Elem() +} + +func (i GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput { + return i.ToGetSubscriptionsFilterOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutputWithContext(ctx context.Context) GetSubscriptionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsFilterOutput) +} + +// GetSubscriptionsFilterArrayInput is an input type that accepts GetSubscriptionsFilterArray and GetSubscriptionsFilterArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionsFilterArrayInput` via: +// +// GetSubscriptionsFilterArray{ GetSubscriptionsFilterArgs{...} } +type GetSubscriptionsFilterArrayInput interface { + pulumi.Input + + ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput + ToGetSubscriptionsFilterArrayOutputWithContext(context.Context) GetSubscriptionsFilterArrayOutput +} + +type GetSubscriptionsFilterArray []GetSubscriptionsFilterInput + +func (GetSubscriptionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsFilter)(nil)).Elem() +} + +func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput { + return i.ToGetSubscriptionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsFilterArrayOutput) +} + +type GetSubscriptionsFilterOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsFilter)(nil)).Elem() +} + +func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput { + return o +} + +func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutputWithContext(ctx context.Context) GetSubscriptionsFilterOutput { + return o +} + +func (o GetSubscriptionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSubscriptionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSubscriptionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetSubscriptionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSubscriptionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetSubscriptionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsFilter)(nil)).Elem() +} + +func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput { + return o +} + +func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput { + return o +} + +func (o GetSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionsFilter { + return vs[0].([]GetSubscriptionsFilter)[vs[1].(int)] + }).(GetSubscriptionsFilterOutput) +} + +type GetSubscriptionsSubscriptionCollection struct { + Items []GetSubscriptionsSubscriptionCollectionItem `pulumi:"items"` +} + +// GetSubscriptionsSubscriptionCollectionInput is an input type that accepts GetSubscriptionsSubscriptionCollectionArgs and GetSubscriptionsSubscriptionCollectionOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionInput` via: +// +// GetSubscriptionsSubscriptionCollectionArgs{...} +type GetSubscriptionsSubscriptionCollectionInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionOutput() GetSubscriptionsSubscriptionCollectionOutput + ToGetSubscriptionsSubscriptionCollectionOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionOutput +} + +type GetSubscriptionsSubscriptionCollectionArgs struct { + Items GetSubscriptionsSubscriptionCollectionItemArrayInput `pulumi:"items"` +} + +func (GetSubscriptionsSubscriptionCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollection)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionArgs) ToGetSubscriptionsSubscriptionCollectionOutput() GetSubscriptionsSubscriptionCollectionOutput { + return i.ToGetSubscriptionsSubscriptionCollectionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionArgs) ToGetSubscriptionsSubscriptionCollectionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionOutput) +} + +// GetSubscriptionsSubscriptionCollectionArrayInput is an input type that accepts GetSubscriptionsSubscriptionCollectionArray and GetSubscriptionsSubscriptionCollectionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionArrayInput` via: +// +// GetSubscriptionsSubscriptionCollectionArray{ GetSubscriptionsSubscriptionCollectionArgs{...} } +type GetSubscriptionsSubscriptionCollectionArrayInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionArrayOutput() GetSubscriptionsSubscriptionCollectionArrayOutput + ToGetSubscriptionsSubscriptionCollectionArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionArrayOutput +} + +type GetSubscriptionsSubscriptionCollectionArray []GetSubscriptionsSubscriptionCollectionInput + +func (GetSubscriptionsSubscriptionCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollection)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionArray) ToGetSubscriptionsSubscriptionCollectionArrayOutput() GetSubscriptionsSubscriptionCollectionArrayOutput { + return i.ToGetSubscriptionsSubscriptionCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionArray) ToGetSubscriptionsSubscriptionCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionArrayOutput) +} + +type GetSubscriptionsSubscriptionCollectionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollection)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionOutput) ToGetSubscriptionsSubscriptionCollectionOutput() GetSubscriptionsSubscriptionCollectionOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionOutput) ToGetSubscriptionsSubscriptionCollectionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionOutput) Items() GetSubscriptionsSubscriptionCollectionItemArrayOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollection) []GetSubscriptionsSubscriptionCollectionItem { + return v.Items + }).(GetSubscriptionsSubscriptionCollectionItemArrayOutput) +} + +type GetSubscriptionsSubscriptionCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollection)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionArrayOutput) ToGetSubscriptionsSubscriptionCollectionArrayOutput() GetSubscriptionsSubscriptionCollectionArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionArrayOutput) ToGetSubscriptionsSubscriptionCollectionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionsSubscriptionCollection { + return vs[0].([]GetSubscriptionsSubscriptionCollection)[vs[1].(int)] + }).(GetSubscriptionsSubscriptionCollectionOutput) +} + +type GetSubscriptionsSubscriptionCollectionItem struct { + // Classic subscription ID. + ClassicSubscriptionId string `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency string `pulumi:"cloudAmountCurrency"` + // The ID of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber string `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode string `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode string `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // The version of the subscription entity. + EntityVersion string `pulumi:"entityVersion"` + // 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + Id string `pulumi:"id"` + // Specifies whether or not the subscription is from classic systems. + IsClassicSubscription bool `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription bool `pulumi:"isGovernmentSubscription"` + // The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + PaymentModel string `pulumi:"paymentModel"` + // Specifies any program that is associated with the subscription. + ProgramType string `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions []GetSubscriptionsSubscriptionCollectionItemPromotion `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId string `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment string `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName string `pulumi:"serviceName"` + // List of SKUs linked to this subscription. + Skuses []GetSubscriptionsSubscriptionCollectionItemSkus `pulumi:"skuses"` + // Subscription start time. + StartDate string `pulumi:"startDate"` + // Lifecycle state of the subscription. + State string `pulumi:"state"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber string `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier string `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated string `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetSubscriptionsSubscriptionCollectionItemInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemArgs and GetSubscriptionsSubscriptionCollectionItemOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemArgs{...} +type GetSubscriptionsSubscriptionCollectionItemInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemOutput() GetSubscriptionsSubscriptionCollectionItemOutput + ToGetSubscriptionsSubscriptionCollectionItemOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemOutput +} + +type GetSubscriptionsSubscriptionCollectionItemArgs struct { + // Classic subscription ID. + ClassicSubscriptionId pulumi.StringInput `pulumi:"classicSubscriptionId"` + // The currency code for the customer associated with the subscription. + CloudAmountCurrency pulumi.StringInput `pulumi:"cloudAmountCurrency"` + // The ID of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Customer service identifier for the customer associated with the subscription. + CsiNumber pulumi.StringInput `pulumi:"csiNumber"` + // Currency code. For example USD, MXN. + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + // The country code for the customer associated with the subscription. + CustomerCountryCode pulumi.StringInput `pulumi:"customerCountryCode"` + // 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"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // The version of the subscription entity. + EntityVersion pulumi.StringInput `pulumi:"entityVersion"` + // 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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + Id pulumi.StringInput `pulumi:"id"` + // Specifies whether or not the subscription is from classic systems. + IsClassicSubscription pulumi.BoolInput `pulumi:"isClassicSubscription"` + // Specifies whether or not the subscription is a government subscription. + IsGovernmentSubscription pulumi.BoolInput `pulumi:"isGovernmentSubscription"` + // The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + PaymentModel pulumi.StringInput `pulumi:"paymentModel"` + // Specifies any program that is associated with the subscription. + ProgramType pulumi.StringInput `pulumi:"programType"` + // List of promotions related to the subscription. + Promotions GetSubscriptionsSubscriptionCollectionItemPromotionArrayInput `pulumi:"promotions"` + // Purchase entitlement ID associated with the subscription. + PurchaseEntitlementId pulumi.StringInput `pulumi:"purchaseEntitlementId"` + // Region for the subscription. + RegionAssignment pulumi.StringInput `pulumi:"regionAssignment"` + // The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // List of SKUs linked to this subscription. + Skuses GetSubscriptionsSubscriptionCollectionItemSkusArrayInput `pulumi:"skuses"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` + // Lifecycle state of the subscription. + State pulumi.StringInput `pulumi:"state"` + // Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + SubscriptionNumber pulumi.StringInput `pulumi:"subscriptionNumber"` + // Tier for the subscription, whether a free promotion subscription or a paid subscription. + SubscriptionTier pulumi.StringInput `pulumi:"subscriptionTier"` + // The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetSubscriptionsSubscriptionCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemArgs) ToGetSubscriptionsSubscriptionCollectionItemOutput() GetSubscriptionsSubscriptionCollectionItemOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemArgs) ToGetSubscriptionsSubscriptionCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemOutput) +} + +// GetSubscriptionsSubscriptionCollectionItemArrayInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemArray and GetSubscriptionsSubscriptionCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemArrayInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemArray{ GetSubscriptionsSubscriptionCollectionItemArgs{...} } +type GetSubscriptionsSubscriptionCollectionItemArrayInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemArrayOutput() GetSubscriptionsSubscriptionCollectionItemArrayOutput + ToGetSubscriptionsSubscriptionCollectionItemArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemArrayOutput +} + +type GetSubscriptionsSubscriptionCollectionItemArray []GetSubscriptionsSubscriptionCollectionItemInput + +func (GetSubscriptionsSubscriptionCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItem)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemArray) ToGetSubscriptionsSubscriptionCollectionItemArrayOutput() GetSubscriptionsSubscriptionCollectionItemArrayOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemArray) ToGetSubscriptionsSubscriptionCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemArrayOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemOutput) ToGetSubscriptionsSubscriptionCollectionItemOutput() GetSubscriptionsSubscriptionCollectionItemOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemOutput) ToGetSubscriptionsSubscriptionCollectionItemOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemOutput { + return o +} + +// Classic subscription ID. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) ClassicSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.ClassicSubscriptionId }).(pulumi.StringOutput) +} + +// The currency code for the customer associated with the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) CloudAmountCurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.CloudAmountCurrency }).(pulumi.StringOutput) +} + +// The ID of the compartment in which to list resources. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Customer service identifier for the customer associated with the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) CsiNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.CsiNumber }).(pulumi.StringOutput) +} + +// Currency code. For example USD, MXN. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +// The country code for the customer associated with the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) CustomerCountryCode() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.CustomerCountryCode }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetSubscriptionsSubscriptionCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// Date and time when the SKU ended. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.EndDate }).(pulumi.StringOutput) +} + +// The version of the subscription entity. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) EntityVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.EntityVersion }).(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 GetSubscriptionsSubscriptionCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Specifies whether or not the subscription is from classic systems. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) IsClassicSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) bool { return v.IsClassicSubscription }).(pulumi.BoolOutput) +} + +// Specifies whether or not the subscription is a government subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) IsGovernmentSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) bool { return v.IsGovernmentSubscription }).(pulumi.BoolOutput) +} + +// The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) PaymentModel() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.PaymentModel }).(pulumi.StringOutput) +} + +// Specifies any program that is associated with the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) ProgramType() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.ProgramType }).(pulumi.StringOutput) +} + +// List of promotions related to the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) Promotions() GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) []GetSubscriptionsSubscriptionCollectionItemPromotion { + return v.Promotions + }).(GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) +} + +// Purchase entitlement ID associated with the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) PurchaseEntitlementId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.PurchaseEntitlementId }).(pulumi.StringOutput) +} + +// Region for the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) RegionAssignment() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.RegionAssignment }).(pulumi.StringOutput) +} + +// The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// List of SKUs linked to this subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) Skuses() GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) []GetSubscriptionsSubscriptionCollectionItemSkus { + return v.Skuses + }).(GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) +} + +// Subscription start time. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.StartDate }).(pulumi.StringOutput) +} + +// Lifecycle state of the subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Unique Oracle Cloud Subscriptions identifier that is immutable on creation. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) SubscriptionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.SubscriptionNumber }).(pulumi.StringOutput) +} + +// Tier for the subscription, whether a free promotion subscription or a paid subscription. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) SubscriptionTier() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.SubscriptionTier }).(pulumi.StringOutput) +} + +// The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. +func (o GetSubscriptionsSubscriptionCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItem)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemArrayOutput() GetSubscriptionsSubscriptionCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionsSubscriptionCollectionItem { + return vs[0].([]GetSubscriptionsSubscriptionCollectionItem)[vs[1].(int)] + }).(GetSubscriptionsSubscriptionCollectionItemOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemPromotion struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount float64 `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit string `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration int `pulumi:"duration"` + // Unit for the duration. + DurationUnit string `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay bool `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status string `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired string `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted string `pulumi:"timeStarted"` +} + +// GetSubscriptionsSubscriptionCollectionItemPromotionInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemPromotionArgs and GetSubscriptionsSubscriptionCollectionItemPromotionOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemPromotionInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemPromotionArgs{...} +type GetSubscriptionsSubscriptionCollectionItemPromotionInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemPromotionOutput() GetSubscriptionsSubscriptionCollectionItemPromotionOutput + ToGetSubscriptionsSubscriptionCollectionItemPromotionOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionOutput +} + +type GetSubscriptionsSubscriptionCollectionItemPromotionArgs struct { + // If a subscription is present, indicates the total amount of promotional subscription credits. + Amount pulumi.Float64Input `pulumi:"amount"` + // Currency unit associated with the promotion. + CurrencyUnit pulumi.StringInput `pulumi:"currencyUnit"` + // Specifies how long the promotion related to the subscription, if any, is valid in duration units. + Duration pulumi.IntInput `pulumi:"duration"` + // Unit for the duration. + DurationUnit pulumi.StringInput `pulumi:"durationUnit"` + // Speficies whether or not the customer intends to pay after the promotion has expired. + IsIntentToPay pulumi.BoolInput `pulumi:"isIntentToPay"` + // If a subscription is present, indicates the current status of the subscription promotion. + Status pulumi.StringInput `pulumi:"status"` + // Date and time when the promotion ends. + TimeExpired pulumi.StringInput `pulumi:"timeExpired"` + // Date and time when the promotion starts. + TimeStarted pulumi.StringInput `pulumi:"timeStarted"` +} + +func (GetSubscriptionsSubscriptionCollectionItemPromotionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemPromotionArgs) ToGetSubscriptionsSubscriptionCollectionItemPromotionOutput() GetSubscriptionsSubscriptionCollectionItemPromotionOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemPromotionOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemPromotionArgs) ToGetSubscriptionsSubscriptionCollectionItemPromotionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemPromotionOutput) +} + +// GetSubscriptionsSubscriptionCollectionItemPromotionArrayInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemPromotionArray and GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemPromotionArrayInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemPromotionArray{ GetSubscriptionsSubscriptionCollectionItemPromotionArgs{...} } +type GetSubscriptionsSubscriptionCollectionItemPromotionArrayInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput() GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput + ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput +} + +type GetSubscriptionsSubscriptionCollectionItemPromotionArray []GetSubscriptionsSubscriptionCollectionItemPromotionInput + +func (GetSubscriptionsSubscriptionCollectionItemPromotionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemPromotionArray) ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput() GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemPromotionArray) ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemPromotionOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemPromotionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) ToGetSubscriptionsSubscriptionCollectionItemPromotionOutput() GetSubscriptionsSubscriptionCollectionItemPromotionOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) ToGetSubscriptionsSubscriptionCollectionItemPromotionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionOutput { + return o +} + +// If a subscription is present, indicates the total amount of promotional subscription credits. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) Amount() pulumi.Float64Output { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) float64 { return v.Amount }).(pulumi.Float64Output) +} + +// Currency unit associated with the promotion. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) CurrencyUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) string { return v.CurrencyUnit }).(pulumi.StringOutput) +} + +// Specifies how long the promotion related to the subscription, if any, is valid in duration units. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) Duration() pulumi.IntOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) int { return v.Duration }).(pulumi.IntOutput) +} + +// Unit for the duration. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) DurationUnit() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) string { return v.DurationUnit }).(pulumi.StringOutput) +} + +// Speficies whether or not the customer intends to pay after the promotion has expired. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) IsIntentToPay() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) bool { return v.IsIntentToPay }).(pulumi.BoolOutput) +} + +// If a subscription is present, indicates the current status of the subscription promotion. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) string { return v.Status }).(pulumi.StringOutput) +} + +// Date and time when the promotion ends. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) TimeExpired() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) string { return v.TimeExpired }).(pulumi.StringOutput) +} + +// Date and time when the promotion starts. +func (o GetSubscriptionsSubscriptionCollectionItemPromotionOutput) TimeStarted() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemPromotion) string { return v.TimeStarted }).(pulumi.StringOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItemPromotion)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput() GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemPromotionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionCollectionItemPromotionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionsSubscriptionCollectionItemPromotion { + return vs[0].([]GetSubscriptionsSubscriptionCollectionItemPromotion)[vs[1].(int)] + }).(GetSubscriptionsSubscriptionCollectionItemPromotionOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemSkus struct { + // Description of the stock units. + Description string `pulumi:"description"` + // Date and time when the SKU ended. + EndDate string `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId string `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance bool `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent bool `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription string `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName string `pulumi:"metricName"` + // Quantity of the stock units. + Quantity int `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku string `pulumi:"sku"` + // Subscription start time. + StartDate string `pulumi:"startDate"` +} + +// GetSubscriptionsSubscriptionCollectionItemSkusInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemSkusArgs and GetSubscriptionsSubscriptionCollectionItemSkusOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemSkusInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemSkusArgs{...} +type GetSubscriptionsSubscriptionCollectionItemSkusInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemSkusOutput() GetSubscriptionsSubscriptionCollectionItemSkusOutput + ToGetSubscriptionsSubscriptionCollectionItemSkusOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemSkusOutput +} + +type GetSubscriptionsSubscriptionCollectionItemSkusArgs struct { + // Description of the stock units. + Description pulumi.StringInput `pulumi:"description"` + // Date and time when the SKU ended. + EndDate pulumi.StringInput `pulumi:"endDate"` + // Sales order line identifier. + GsiOrderLineId pulumi.StringInput `pulumi:"gsiOrderLineId"` + // Specifies if an additional test instance can be provisioned by the SaaS application. + IsAdditionalInstance pulumi.BoolInput `pulumi:"isAdditionalInstance"` + // Specifies if the SKU is considered as a parent or child. + IsBaseServiceComponent pulumi.BoolInput `pulumi:"isBaseServiceComponent"` + // Description of the covered product belonging to this SKU. + LicensePartDescription pulumi.StringInput `pulumi:"licensePartDescription"` + // Base metric for billing the service. + MetricName pulumi.StringInput `pulumi:"metricName"` + // Quantity of the stock units. + Quantity pulumi.IntInput `pulumi:"quantity"` + // Stock Keeping Unit (SKU) ID. + Sku pulumi.StringInput `pulumi:"sku"` + // Subscription start time. + StartDate pulumi.StringInput `pulumi:"startDate"` +} + +func (GetSubscriptionsSubscriptionCollectionItemSkusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemSkusArgs) ToGetSubscriptionsSubscriptionCollectionItemSkusOutput() GetSubscriptionsSubscriptionCollectionItemSkusOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemSkusOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemSkusArgs) ToGetSubscriptionsSubscriptionCollectionItemSkusOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemSkusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemSkusOutput) +} + +// GetSubscriptionsSubscriptionCollectionItemSkusArrayInput is an input type that accepts GetSubscriptionsSubscriptionCollectionItemSkusArray and GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput values. +// You can construct a concrete instance of `GetSubscriptionsSubscriptionCollectionItemSkusArrayInput` via: +// +// GetSubscriptionsSubscriptionCollectionItemSkusArray{ GetSubscriptionsSubscriptionCollectionItemSkusArgs{...} } +type GetSubscriptionsSubscriptionCollectionItemSkusArrayInput interface { + pulumi.Input + + ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutput() GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput + ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput +} + +type GetSubscriptionsSubscriptionCollectionItemSkusArray []GetSubscriptionsSubscriptionCollectionItemSkusInput + +func (GetSubscriptionsSubscriptionCollectionItemSkusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (i GetSubscriptionsSubscriptionCollectionItemSkusArray) ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutput() GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput { + return i.ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutputWithContext(context.Background()) +} + +func (i GetSubscriptionsSubscriptionCollectionItemSkusArray) ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemSkusOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemSkusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) ToGetSubscriptionsSubscriptionCollectionItemSkusOutput() GetSubscriptionsSubscriptionCollectionItemSkusOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) ToGetSubscriptionsSubscriptionCollectionItemSkusOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemSkusOutput { + return o +} + +// Description of the stock units. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.Description }).(pulumi.StringOutput) +} + +// Date and time when the SKU ended. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.EndDate }).(pulumi.StringOutput) +} + +// Sales order line identifier. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) GsiOrderLineId() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.GsiOrderLineId }).(pulumi.StringOutput) +} + +// Specifies if an additional test instance can be provisioned by the SaaS application. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) IsAdditionalInstance() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) bool { return v.IsAdditionalInstance }).(pulumi.BoolOutput) +} + +// Specifies if the SKU is considered as a parent or child. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) IsBaseServiceComponent() pulumi.BoolOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) bool { return v.IsBaseServiceComponent }).(pulumi.BoolOutput) +} + +// Description of the covered product belonging to this SKU. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) LicensePartDescription() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.LicensePartDescription }).(pulumi.StringOutput) +} + +// Base metric for billing the service. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) MetricName() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.MetricName }).(pulumi.StringOutput) +} + +// Quantity of the stock units. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) Quantity() pulumi.IntOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) int { return v.Quantity }).(pulumi.IntOutput) +} + +// Stock Keeping Unit (SKU) ID. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) Sku() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.Sku }).(pulumi.StringOutput) +} + +// Subscription start time. +func (o GetSubscriptionsSubscriptionCollectionItemSkusOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v GetSubscriptionsSubscriptionCollectionItemSkus) string { return v.StartDate }).(pulumi.StringOutput) +} + +type GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput struct{ *pulumi.OutputState } + +func (GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSubscriptionsSubscriptionCollectionItemSkus)(nil)).Elem() +} + +func (o GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutput() GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) ToGetSubscriptionsSubscriptionCollectionItemSkusArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput { + return o +} + +func (o GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionCollectionItemSkusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubscriptionsSubscriptionCollectionItemSkus { + return vs[0].([]GetSubscriptionsSubscriptionCollectionItemSkus)[vs[1].(int)] + }).(GetSubscriptionsSubscriptionCollectionItemSkusOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsFilterInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionLineItemsFilterArrayInput)(nil)).Elem(), GetAssignedSubscriptionLineItemsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionPromotionInput)(nil)).Elem(), GetAssignedSubscriptionPromotionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionPromotionArrayInput)(nil)).Elem(), GetAssignedSubscriptionPromotionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionSkusInput)(nil)).Elem(), GetAssignedSubscriptionSkusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionSkusArrayInput)(nil)).Elem(), GetAssignedSubscriptionSkusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayInput)(nil)).Elem(), GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsFilterInput)(nil)).Elem(), GetAssignedSubscriptionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAssignedSubscriptionsFilterArrayInput)(nil)).Elem(), GetAssignedSubscriptionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionInput)(nil)).Elem(), GetDomainGovernancesDomainGovernanceCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionArrayInput)(nil)).Elem(), GetDomainGovernancesDomainGovernanceCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionItemInput)(nil)).Elem(), GetDomainGovernancesDomainGovernanceCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesDomainGovernanceCollectionItemArrayInput)(nil)).Elem(), GetDomainGovernancesDomainGovernanceCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesFilterInput)(nil)).Elem(), GetDomainGovernancesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainGovernancesFilterArrayInput)(nil)).Elem(), GetDomainGovernancesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainCollectionInput)(nil)).Elem(), GetDomainsDomainCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainCollectionArrayInput)(nil)).Elem(), GetDomainsDomainCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainCollectionItemInput)(nil)).Elem(), GetDomainsDomainCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsDomainCollectionItemArrayInput)(nil)).Elem(), GetDomainsDomainCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsFilterInput)(nil)).Elem(), GetDomainsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDomainsFilterArrayInput)(nil)).Elem(), GetDomainsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksFilterInput)(nil)).Elem(), GetLinksFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksFilterArrayInput)(nil)).Elem(), GetLinksFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksLinkCollectionInput)(nil)).Elem(), GetLinksLinkCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksLinkCollectionArrayInput)(nil)).Elem(), GetLinksLinkCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksLinkCollectionItemInput)(nil)).Elem(), GetLinksLinkCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLinksLinkCollectionItemArrayInput)(nil)).Elem(), GetLinksLinkCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesFilterInput)(nil)).Elem(), GetOrganizationTenanciesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesFilterArrayInput)(nil)).Elem(), GetOrganizationTenanciesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionInput)(nil)).Elem(), GetOrganizationTenanciesOrganizationTenancyCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionArrayInput)(nil)).Elem(), GetOrganizationTenanciesOrganizationTenancyCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionItemInput)(nil)).Elem(), GetOrganizationTenanciesOrganizationTenancyCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayInput)(nil)).Elem(), GetOrganizationTenanciesOrganizationTenancyCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsFilterInput)(nil)).Elem(), GetOrganizationsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsFilterArrayInput)(nil)).Elem(), GetOrganizationsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsOrganizationCollectionInput)(nil)).Elem(), GetOrganizationsOrganizationCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsOrganizationCollectionArrayInput)(nil)).Elem(), GetOrganizationsOrganizationCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsOrganizationCollectionItemInput)(nil)).Elem(), GetOrganizationsOrganizationCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrganizationsOrganizationCollectionItemArrayInput)(nil)).Elem(), GetOrganizationsOrganizationCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsFilterInput)(nil)).Elem(), GetRecipientInvitationsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsFilterArrayInput)(nil)).Elem(), GetRecipientInvitationsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionInput)(nil)).Elem(), GetRecipientInvitationsRecipientInvitationCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionArrayInput)(nil)).Elem(), GetRecipientInvitationsRecipientInvitationCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionItemInput)(nil)).Elem(), GetRecipientInvitationsRecipientInvitationCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRecipientInvitationsRecipientInvitationCollectionItemArrayInput)(nil)).Elem(), GetRecipientInvitationsRecipientInvitationCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsFilterInput)(nil)).Elem(), GetSenderInvitationsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsFilterArrayInput)(nil)).Elem(), GetSenderInvitationsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionInput)(nil)).Elem(), GetSenderInvitationsSenderInvitationCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionArrayInput)(nil)).Elem(), GetSenderInvitationsSenderInvitationCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionItemInput)(nil)).Elem(), GetSenderInvitationsSenderInvitationCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSenderInvitationsSenderInvitationCollectionItemArrayInput)(nil)).Elem(), GetSenderInvitationsSenderInvitationCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionInput)(nil)).Elem(), GetSubscriptionAvailableRegionsAvailableRegionCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayInput)(nil)).Elem(), GetSubscriptionAvailableRegionsAvailableRegionCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionItemInput)(nil)).Elem(), GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayInput)(nil)).Elem(), GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsFilterInput)(nil)).Elem(), GetSubscriptionAvailableRegionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionAvailableRegionsFilterArrayInput)(nil)).Elem(), GetSubscriptionAvailableRegionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsFilterInput)(nil)).Elem(), GetSubscriptionLineItemsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsFilterArrayInput)(nil)).Elem(), GetSubscriptionLineItemsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionInput)(nil)).Elem(), GetSubscriptionLineItemsSubscriptionLineItemCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayInput)(nil)).Elem(), GetSubscriptionLineItemsSubscriptionLineItemCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionItemInput)(nil)).Elem(), GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayInput)(nil)).Elem(), GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsFilterInput)(nil)).Elem(), GetSubscriptionMappingsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsFilterArrayInput)(nil)).Elem(), GetSubscriptionMappingsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionInput)(nil)).Elem(), GetSubscriptionMappingsSubscriptionMappingCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionArrayInput)(nil)).Elem(), GetSubscriptionMappingsSubscriptionMappingCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionItemInput)(nil)).Elem(), GetSubscriptionMappingsSubscriptionMappingCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayInput)(nil)).Elem(), GetSubscriptionMappingsSubscriptionMappingCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionPromotionInput)(nil)).Elem(), GetSubscriptionPromotionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionPromotionArrayInput)(nil)).Elem(), GetSubscriptionPromotionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionSkusInput)(nil)).Elem(), GetSubscriptionSkusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionSkusArrayInput)(nil)).Elem(), GetSubscriptionSkusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsFilterInput)(nil)).Elem(), GetSubscriptionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsFilterArrayInput)(nil)).Elem(), GetSubscriptionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionArrayInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemArrayInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemPromotionInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemPromotionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemPromotionArrayInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemPromotionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemSkusInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemSkusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubscriptionsSubscriptionCollectionItemSkusArrayInput)(nil)).Elem(), GetSubscriptionsSubscriptionCollectionItemSkusArray{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsFilterOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionLineItemsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionPromotionOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionPromotionArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionSkusOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionSkusArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArrayOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsFilterOutput{}) + pulumi.RegisterOutputType(GetAssignedSubscriptionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesDomainGovernanceCollectionOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesDomainGovernanceCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesDomainGovernanceCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesDomainGovernanceCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesFilterOutput{}) + pulumi.RegisterOutputType(GetDomainGovernancesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainCollectionOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDomainsDomainCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDomainsFilterOutput{}) + pulumi.RegisterOutputType(GetDomainsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetLinksFilterOutput{}) + pulumi.RegisterOutputType(GetLinksFilterArrayOutput{}) + pulumi.RegisterOutputType(GetLinksLinkCollectionOutput{}) + pulumi.RegisterOutputType(GetLinksLinkCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetLinksLinkCollectionItemOutput{}) + pulumi.RegisterOutputType(GetLinksLinkCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesFilterOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesOrganizationTenancyCollectionOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesOrganizationTenancyCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesOrganizationTenancyCollectionItemOutput{}) + pulumi.RegisterOutputType(GetOrganizationTenanciesOrganizationTenancyCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationsFilterOutput{}) + pulumi.RegisterOutputType(GetOrganizationsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationsOrganizationCollectionOutput{}) + pulumi.RegisterOutputType(GetOrganizationsOrganizationCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetOrganizationsOrganizationCollectionItemOutput{}) + pulumi.RegisterOutputType(GetOrganizationsOrganizationCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsFilterOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsRecipientInvitationCollectionOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsRecipientInvitationCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsRecipientInvitationCollectionItemOutput{}) + pulumi.RegisterOutputType(GetRecipientInvitationsRecipientInvitationCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsFilterOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsSenderInvitationCollectionOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsSenderInvitationCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsSenderInvitationCollectionItemOutput{}) + pulumi.RegisterOutputType(GetSenderInvitationsSenderInvitationCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsAvailableRegionCollectionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsAvailableRegionCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsFilterOutput{}) + pulumi.RegisterOutputType(GetSubscriptionAvailableRegionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsFilterOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsSubscriptionLineItemCollectionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsSubscriptionLineItemCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemOutput{}) + pulumi.RegisterOutputType(GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsFilterOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsSubscriptionMappingCollectionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsSubscriptionMappingCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsSubscriptionMappingCollectionItemOutput{}) + pulumi.RegisterOutputType(GetSubscriptionMappingsSubscriptionMappingCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionPromotionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionPromotionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionSkusOutput{}) + pulumi.RegisterOutputType(GetSubscriptionSkusArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsFilterOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemPromotionOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemPromotionArrayOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemSkusOutput{}) + pulumi.RegisterOutputType(GetSubscriptionsSubscriptionCollectionItemSkusArrayOutput{}) +} diff --git a/sdk/go/oci/tenantmanagercontrolplane/subscriptionMapping.go b/sdk/go/oci/tenantmanagercontrolplane/subscriptionMapping.go new file mode 100644 index 0000000000..6fff358407 --- /dev/null +++ b/sdk/go/oci/tenantmanagercontrolplane/subscriptionMapping.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 tenantmanagercontrolplane + +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 Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. +// +// Assign the tenancy record identified by the compartment ID to the given subscription ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tenantmanagercontrolplane.NewSubscriptionMapping(ctx, "test_subscription_mapping", &tenantmanagercontrolplane.SubscriptionMappingArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// SubscriptionId: pulumi.Any(testSubscription.Id), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// SubscriptionMappings can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" +// ``` +type SubscriptionMapping struct { + pulumi.CustomResourceState + + // OCID of the compartment. Always a tenancy OCID. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned pulumi.BoolOutput `pulumi:"isExplicitlyAssigned"` + // Lifecycle state of the subscriptionMapping. + State pulumi.StringOutput `pulumi:"state"` + // OCID of Subscription. + // + // ** IMPORTANT ** + // 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"` + // Date-time when subscription mapping was created. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // Date-time when subscription mapping was terminated. + TimeTerminated pulumi.StringOutput `pulumi:"timeTerminated"` + // Date-time when subscription mapping was updated. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewSubscriptionMapping registers a new resource with the given unique name, arguments, and options. +func NewSubscriptionMapping(ctx *pulumi.Context, + name string, args *SubscriptionMappingArgs, opts ...pulumi.ResourceOption) (*SubscriptionMapping, 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.SubscriptionId == nil { + return nil, errors.New("invalid value for required argument 'SubscriptionId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource SubscriptionMapping + err := ctx.RegisterResource("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSubscriptionMapping gets an existing SubscriptionMapping 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 GetSubscriptionMapping(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SubscriptionMappingState, opts ...pulumi.ResourceOption) (*SubscriptionMapping, error) { + var resource SubscriptionMapping + err := ctx.ReadResource("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SubscriptionMapping resources. +type subscriptionMappingState struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId *string `pulumi:"compartmentId"` + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned *bool `pulumi:"isExplicitlyAssigned"` + // Lifecycle state of the subscriptionMapping. + State *string `pulumi:"state"` + // OCID of Subscription. + // + // ** IMPORTANT ** + // 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"` + // Date-time when subscription mapping was created. + TimeCreated *string `pulumi:"timeCreated"` + // Date-time when subscription mapping was terminated. + TimeTerminated *string `pulumi:"timeTerminated"` + // Date-time when subscription mapping was updated. + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type SubscriptionMappingState struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId pulumi.StringPtrInput + // Denotes if the subscription is explicity assigned to the root compartment or tenancy. + IsExplicitlyAssigned pulumi.BoolPtrInput + // Lifecycle state of the subscriptionMapping. + State pulumi.StringPtrInput + // OCID of Subscription. + // + // ** IMPORTANT ** + // 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 + // Date-time when subscription mapping was created. + TimeCreated pulumi.StringPtrInput + // Date-time when subscription mapping was terminated. + TimeTerminated pulumi.StringPtrInput + // Date-time when subscription mapping was updated. + TimeUpdated pulumi.StringPtrInput +} + +func (SubscriptionMappingState) ElementType() reflect.Type { + return reflect.TypeOf((*subscriptionMappingState)(nil)).Elem() +} + +type subscriptionMappingArgs struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId string `pulumi:"compartmentId"` + // OCID of Subscription. + // + // ** IMPORTANT ** + // 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 SubscriptionMapping resource. +type SubscriptionMappingArgs struct { + // OCID of the compartment. Always a tenancy OCID. + CompartmentId pulumi.StringInput + // OCID of Subscription. + // + // ** IMPORTANT ** + // 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.StringInput +} + +func (SubscriptionMappingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*subscriptionMappingArgs)(nil)).Elem() +} + +type SubscriptionMappingInput interface { + pulumi.Input + + ToSubscriptionMappingOutput() SubscriptionMappingOutput + ToSubscriptionMappingOutputWithContext(ctx context.Context) SubscriptionMappingOutput +} + +func (*SubscriptionMapping) ElementType() reflect.Type { + return reflect.TypeOf((**SubscriptionMapping)(nil)).Elem() +} + +func (i *SubscriptionMapping) ToSubscriptionMappingOutput() SubscriptionMappingOutput { + return i.ToSubscriptionMappingOutputWithContext(context.Background()) +} + +func (i *SubscriptionMapping) ToSubscriptionMappingOutputWithContext(ctx context.Context) SubscriptionMappingOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubscriptionMappingOutput) +} + +// SubscriptionMappingArrayInput is an input type that accepts SubscriptionMappingArray and SubscriptionMappingArrayOutput values. +// You can construct a concrete instance of `SubscriptionMappingArrayInput` via: +// +// SubscriptionMappingArray{ SubscriptionMappingArgs{...} } +type SubscriptionMappingArrayInput interface { + pulumi.Input + + ToSubscriptionMappingArrayOutput() SubscriptionMappingArrayOutput + ToSubscriptionMappingArrayOutputWithContext(context.Context) SubscriptionMappingArrayOutput +} + +type SubscriptionMappingArray []SubscriptionMappingInput + +func (SubscriptionMappingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubscriptionMapping)(nil)).Elem() +} + +func (i SubscriptionMappingArray) ToSubscriptionMappingArrayOutput() SubscriptionMappingArrayOutput { + return i.ToSubscriptionMappingArrayOutputWithContext(context.Background()) +} + +func (i SubscriptionMappingArray) ToSubscriptionMappingArrayOutputWithContext(ctx context.Context) SubscriptionMappingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubscriptionMappingArrayOutput) +} + +// SubscriptionMappingMapInput is an input type that accepts SubscriptionMappingMap and SubscriptionMappingMapOutput values. +// You can construct a concrete instance of `SubscriptionMappingMapInput` via: +// +// SubscriptionMappingMap{ "key": SubscriptionMappingArgs{...} } +type SubscriptionMappingMapInput interface { + pulumi.Input + + ToSubscriptionMappingMapOutput() SubscriptionMappingMapOutput + ToSubscriptionMappingMapOutputWithContext(context.Context) SubscriptionMappingMapOutput +} + +type SubscriptionMappingMap map[string]SubscriptionMappingInput + +func (SubscriptionMappingMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubscriptionMapping)(nil)).Elem() +} + +func (i SubscriptionMappingMap) ToSubscriptionMappingMapOutput() SubscriptionMappingMapOutput { + return i.ToSubscriptionMappingMapOutputWithContext(context.Background()) +} + +func (i SubscriptionMappingMap) ToSubscriptionMappingMapOutputWithContext(ctx context.Context) SubscriptionMappingMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubscriptionMappingMapOutput) +} + +type SubscriptionMappingOutput struct{ *pulumi.OutputState } + +func (SubscriptionMappingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubscriptionMapping)(nil)).Elem() +} + +func (o SubscriptionMappingOutput) ToSubscriptionMappingOutput() SubscriptionMappingOutput { + return o +} + +func (o SubscriptionMappingOutput) ToSubscriptionMappingOutputWithContext(ctx context.Context) SubscriptionMappingOutput { + return o +} + +// OCID of the compartment. Always a tenancy OCID. +func (o SubscriptionMappingOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Denotes if the subscription is explicity assigned to the root compartment or tenancy. +func (o SubscriptionMappingOutput) IsExplicitlyAssigned() pulumi.BoolOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.BoolOutput { return v.IsExplicitlyAssigned }).(pulumi.BoolOutput) +} + +// Lifecycle state of the subscriptionMapping. +func (o SubscriptionMappingOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// OCID of Subscription. +// +// ** IMPORTANT ** +// 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 SubscriptionMappingOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was created. +func (o SubscriptionMappingOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was terminated. +func (o SubscriptionMappingOutput) TimeTerminated() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.TimeTerminated }).(pulumi.StringOutput) +} + +// Date-time when subscription mapping was updated. +func (o SubscriptionMappingOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *SubscriptionMapping) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type SubscriptionMappingArrayOutput struct{ *pulumi.OutputState } + +func (SubscriptionMappingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubscriptionMapping)(nil)).Elem() +} + +func (o SubscriptionMappingArrayOutput) ToSubscriptionMappingArrayOutput() SubscriptionMappingArrayOutput { + return o +} + +func (o SubscriptionMappingArrayOutput) ToSubscriptionMappingArrayOutputWithContext(ctx context.Context) SubscriptionMappingArrayOutput { + return o +} + +func (o SubscriptionMappingArrayOutput) Index(i pulumi.IntInput) SubscriptionMappingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SubscriptionMapping { + return vs[0].([]*SubscriptionMapping)[vs[1].(int)] + }).(SubscriptionMappingOutput) +} + +type SubscriptionMappingMapOutput struct{ *pulumi.OutputState } + +func (SubscriptionMappingMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubscriptionMapping)(nil)).Elem() +} + +func (o SubscriptionMappingMapOutput) ToSubscriptionMappingMapOutput() SubscriptionMappingMapOutput { + return o +} + +func (o SubscriptionMappingMapOutput) ToSubscriptionMappingMapOutputWithContext(ctx context.Context) SubscriptionMappingMapOutput { + return o +} + +func (o SubscriptionMappingMapOutput) MapIndex(k pulumi.StringInput) SubscriptionMappingOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SubscriptionMapping { + return vs[0].(map[string]*SubscriptionMapping)[vs[1].(string)] + }).(SubscriptionMappingOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMappingInput)(nil)).Elem(), &SubscriptionMapping{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMappingArrayInput)(nil)).Elem(), SubscriptionMappingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMappingMapInput)(nil)).Elem(), SubscriptionMappingMap{}) + pulumi.RegisterOutputType(SubscriptionMappingOutput{}) + pulumi.RegisterOutputType(SubscriptionMappingArrayOutput{}) + pulumi.RegisterOutputType(SubscriptionMappingMapOutput{}) +} diff --git a/sdk/go/oci/vault/getSecret.go b/sdk/go/oci/vault/getSecret.go index dcf5f84713..6f318cd4bd 100644 --- a/sdk/go/oci/vault/getSecret.go +++ b/sdk/go/oci/vault/getSecret.go @@ -65,11 +65,14 @@ type LookupSecretResult 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 brief description of the secret. Avoid entering confidential information. - Description string `pulumi:"description"` + Description string `pulumi:"description"` + EnableAutoGeneration bool `pulumi:"enableAutoGeneration"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 secret. Id string `pulumi:"id"` + // The value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled bool `pulumi:"isAutoGenerationEnabled"` // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId string `pulumi:"keyId"` // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -85,7 +88,9 @@ type LookupSecretResult struct { // Additional information about the status of the secret rotation RotationStatus string `pulumi:"rotationStatus"` SecretContents []GetSecretSecretContent `pulumi:"secretContents"` - SecretId string `pulumi:"secretId"` + // Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContexts []GetSecretSecretGenerationContext `pulumi:"secretGenerationContexts"` + SecretId string `pulumi:"secretId"` // The user-friendly name of the secret. Avoid entering confidential information. SecretName string `pulumi:"secretName"` // A list of rules that control how the secret is used and managed. @@ -156,6 +161,10 @@ func (o LookupSecretResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretResult) string { return v.Description }).(pulumi.StringOutput) } +func (o LookupSecretResultOutput) EnableAutoGeneration() pulumi.BoolOutput { + return o.ApplyT(func(v LookupSecretResult) bool { return v.EnableAutoGeneration }).(pulumi.BoolOutput) +} + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 LookupSecretResultOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v LookupSecretResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) @@ -166,6 +175,11 @@ func (o LookupSecretResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretResult) string { return v.Id }).(pulumi.StringOutput) } +// The value of this flag determines whether or not secret content will be generated automatically. +func (o LookupSecretResultOutput) IsAutoGenerationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupSecretResult) bool { return v.IsAutoGenerationEnabled }).(pulumi.BoolOutput) +} + // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. func (o LookupSecretResultOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretResult) string { return v.KeyId }).(pulumi.StringOutput) @@ -205,6 +219,11 @@ func (o LookupSecretResultOutput) SecretContents() GetSecretSecretContentArrayOu return o.ApplyT(func(v LookupSecretResult) []GetSecretSecretContent { return v.SecretContents }).(GetSecretSecretContentArrayOutput) } +// Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. +func (o LookupSecretResultOutput) SecretGenerationContexts() GetSecretSecretGenerationContextArrayOutput { + return o.ApplyT(func(v LookupSecretResult) []GetSecretSecretGenerationContext { return v.SecretGenerationContexts }).(GetSecretSecretGenerationContextArrayOutput) +} + func (o LookupSecretResultOutput) SecretId() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretResult) string { return v.SecretId }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/vault/getSecretVersion.go b/sdk/go/oci/vault/getSecretVersion.go deleted file mode 100644 index b52aa6617b..0000000000 --- a/sdk/go/oci/vault/getSecretVersion.go +++ /dev/null @@ -1,172 +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 vault - -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 Secret Version resource in Oracle Cloud Infrastructure Vault service. -// -// Gets information about the specified version of a secret. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/vault" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := vault.GetSecretVersion(ctx, &vault.GetSecretVersionArgs{ -// SecretId: testSecret.Id, -// SecretVersionNumber: secretVersionSecretVersionNumber, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSecretVersion(ctx *pulumi.Context, args *GetSecretVersionArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSecretVersionResult - err := ctx.Invoke("oci:Vault/getSecretVersion:getSecretVersion", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSecretVersion. -type GetSecretVersionArgs struct { - // The OCID of the secret. - SecretId string `pulumi:"secretId"` - // The version number of the secret. - SecretVersionNumber string `pulumi:"secretVersionNumber"` -} - -// A collection of values returned by getSecretVersion. -type GetSecretVersionResult struct { - // The content type of the secret version's secret contents. - ContentType string `pulumi:"contentType"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The name of the secret version. A name is unique across versions of a secret. - Name string `pulumi:"name"` - // The OCID of the secret. - SecretId string `pulumi:"secretId"` - SecretVersionNumber string `pulumi:"secretVersionNumber"` - // A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - Stages []string `pulumi:"stages"` - // A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeCreated string `pulumi:"timeCreated"` - // An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfCurrentVersionExpiry string `pulumi:"timeOfCurrentVersionExpiry"` - // An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfDeletion string `pulumi:"timeOfDeletion"` - // The version number of the secret. - VersionNumber string `pulumi:"versionNumber"` -} - -func GetSecretVersionOutput(ctx *pulumi.Context, args GetSecretVersionOutputArgs, opts ...pulumi.InvokeOption) GetSecretVersionResultOutput { - return pulumi.ToOutputWithContext(ctx.Context(), args). - ApplyT(func(v interface{}) (GetSecretVersionResultOutput, error) { - args := v.(GetSecretVersionArgs) - options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} - return ctx.InvokeOutput("oci:Vault/getSecretVersion:getSecretVersion", args, GetSecretVersionResultOutput{}, options).(GetSecretVersionResultOutput), nil - }).(GetSecretVersionResultOutput) -} - -// A collection of arguments for invoking getSecretVersion. -type GetSecretVersionOutputArgs struct { - // The OCID of the secret. - SecretId pulumi.StringInput `pulumi:"secretId"` - // The version number of the secret. - SecretVersionNumber pulumi.StringInput `pulumi:"secretVersionNumber"` -} - -func (GetSecretVersionOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecretVersionArgs)(nil)).Elem() -} - -// A collection of values returned by getSecretVersion. -type GetSecretVersionResultOutput struct{ *pulumi.OutputState } - -func (GetSecretVersionResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecretVersionResult)(nil)).Elem() -} - -func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutput() GetSecretVersionResultOutput { - return o -} - -func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext(ctx context.Context) GetSecretVersionResultOutput { - return o -} - -// The content type of the secret version's secret contents. -func (o GetSecretVersionResultOutput) ContentType() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.ContentType }).(pulumi.StringOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSecretVersionResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The name of the secret version. A name is unique across versions of a secret. -func (o GetSecretVersionResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.Name }).(pulumi.StringOutput) -} - -// The OCID of the secret. -func (o GetSecretVersionResultOutput) SecretId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.SecretId }).(pulumi.StringOutput) -} - -func (o GetSecretVersionResultOutput) SecretVersionNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.SecretVersionNumber }).(pulumi.StringOutput) -} - -// A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. -func (o GetSecretVersionResultOutput) Stages() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecretVersionResult) []string { return v.Stages }).(pulumi.StringArrayOutput) -} - -// A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` -func (o GetSecretVersionResultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` -func (o GetSecretVersionResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.TimeOfCurrentVersionExpiry }).(pulumi.StringOutput) -} - -// An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` -func (o GetSecretVersionResultOutput) TimeOfDeletion() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.TimeOfDeletion }).(pulumi.StringOutput) -} - -// The version number of the secret. -func (o GetSecretVersionResultOutput) VersionNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetSecretVersionResult) string { return v.VersionNumber }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSecretVersionResultOutput{}) -} diff --git a/sdk/go/oci/vault/getSecretVersionSdkV2.go b/sdk/go/oci/vault/getSecretVersionSdkV2.go new file mode 100644 index 0000000000..3334f75951 --- /dev/null +++ b/sdk/go/oci/vault/getSecretVersionSdkV2.go @@ -0,0 +1,127 @@ +// 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 vault + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetSecretVersionSdkV2(ctx *pulumi.Context, args *GetSecretVersionSdkV2Args, opts ...pulumi.InvokeOption) (*GetSecretVersionSdkV2Result, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSecretVersionSdkV2Result + err := ctx.Invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSecretVersionSdkV2. +type GetSecretVersionSdkV2Args struct { + SecretId string `pulumi:"secretId"` + SecretVersionNumber string `pulumi:"secretVersionNumber"` +} + +// A collection of values returned by getSecretVersionSdkV2. +type GetSecretVersionSdkV2Result struct { + ContentType string `pulumi:"contentType"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + IsContentAutoGenerated bool `pulumi:"isContentAutoGenerated"` + Name string `pulumi:"name"` + SecretId string `pulumi:"secretId"` + SecretVersionNumber string `pulumi:"secretVersionNumber"` + Stages []string `pulumi:"stages"` + TimeCreated string `pulumi:"timeCreated"` + TimeOfCurrentVersionExpiry string `pulumi:"timeOfCurrentVersionExpiry"` + TimeOfDeletion string `pulumi:"timeOfDeletion"` + VersionNumber string `pulumi:"versionNumber"` +} + +func GetSecretVersionSdkV2Output(ctx *pulumi.Context, args GetSecretVersionSdkV2OutputArgs, opts ...pulumi.InvokeOption) GetSecretVersionSdkV2ResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSecretVersionSdkV2ResultOutput, error) { + args := v.(GetSecretVersionSdkV2Args) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", args, GetSecretVersionSdkV2ResultOutput{}, options).(GetSecretVersionSdkV2ResultOutput), nil + }).(GetSecretVersionSdkV2ResultOutput) +} + +// A collection of arguments for invoking getSecretVersionSdkV2. +type GetSecretVersionSdkV2OutputArgs struct { + SecretId pulumi.StringInput `pulumi:"secretId"` + SecretVersionNumber pulumi.StringInput `pulumi:"secretVersionNumber"` +} + +func (GetSecretVersionSdkV2OutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretVersionSdkV2Args)(nil)).Elem() +} + +// A collection of values returned by getSecretVersionSdkV2. +type GetSecretVersionSdkV2ResultOutput struct{ *pulumi.OutputState } + +func (GetSecretVersionSdkV2ResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretVersionSdkV2Result)(nil)).Elem() +} + +func (o GetSecretVersionSdkV2ResultOutput) ToGetSecretVersionSdkV2ResultOutput() GetSecretVersionSdkV2ResultOutput { + return o +} + +func (o GetSecretVersionSdkV2ResultOutput) ToGetSecretVersionSdkV2ResultOutputWithContext(ctx context.Context) GetSecretVersionSdkV2ResultOutput { + return o +} + +func (o GetSecretVersionSdkV2ResultOutput) ContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.ContentType }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSecretVersionSdkV2ResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) IsContentAutoGenerated() pulumi.BoolOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) bool { return v.IsContentAutoGenerated }).(pulumi.BoolOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) SecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.SecretId }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) SecretVersionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.SecretVersionNumber }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) Stages() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) []string { return v.Stages }).(pulumi.StringArrayOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.TimeOfCurrentVersionExpiry }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) TimeOfDeletion() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +} + +func (o GetSecretVersionSdkV2ResultOutput) VersionNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretVersionSdkV2Result) string { return v.VersionNumber }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSecretVersionSdkV2ResultOutput{}) +} diff --git a/sdk/go/oci/vault/pulumiTypes.go b/sdk/go/oci/vault/pulumiTypes.go index 9cdd7ffa5c..2675d53727 100644 --- a/sdk/go/oci/vault/pulumiTypes.go +++ b/sdk/go/oci/vault/pulumiTypes.go @@ -557,6 +557,200 @@ func (o SecretSecretContentPtrOutput) Stage() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type SecretSecretGenerationContext struct { + // (Updatable) Name of random bytes generation template for generating random byte type secret. + GenerationTemplate string `pulumi:"generationTemplate"` + // (Updatable) Name of the predefined secret generation type. + GenerationType string `pulumi:"generationType"` + // (Updatable) Length of the passphrase to be generated + PassphraseLength *int `pulumi:"passphraseLength"` + // (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate *string `pulumi:"secretTemplate"` +} + +// SecretSecretGenerationContextInput is an input type that accepts SecretSecretGenerationContextArgs and SecretSecretGenerationContextOutput values. +// You can construct a concrete instance of `SecretSecretGenerationContextInput` via: +// +// SecretSecretGenerationContextArgs{...} +type SecretSecretGenerationContextInput interface { + pulumi.Input + + ToSecretSecretGenerationContextOutput() SecretSecretGenerationContextOutput + ToSecretSecretGenerationContextOutputWithContext(context.Context) SecretSecretGenerationContextOutput +} + +type SecretSecretGenerationContextArgs struct { + // (Updatable) Name of random bytes generation template for generating random byte type secret. + GenerationTemplate pulumi.StringInput `pulumi:"generationTemplate"` + // (Updatable) Name of the predefined secret generation type. + GenerationType pulumi.StringInput `pulumi:"generationType"` + // (Updatable) Length of the passphrase to be generated + PassphraseLength pulumi.IntPtrInput `pulumi:"passphraseLength"` + // (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate pulumi.StringPtrInput `pulumi:"secretTemplate"` +} + +func (SecretSecretGenerationContextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretSecretGenerationContext)(nil)).Elem() +} + +func (i SecretSecretGenerationContextArgs) ToSecretSecretGenerationContextOutput() SecretSecretGenerationContextOutput { + return i.ToSecretSecretGenerationContextOutputWithContext(context.Background()) +} + +func (i SecretSecretGenerationContextArgs) ToSecretSecretGenerationContextOutputWithContext(ctx context.Context) SecretSecretGenerationContextOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretSecretGenerationContextOutput) +} + +func (i SecretSecretGenerationContextArgs) ToSecretSecretGenerationContextPtrOutput() SecretSecretGenerationContextPtrOutput { + return i.ToSecretSecretGenerationContextPtrOutputWithContext(context.Background()) +} + +func (i SecretSecretGenerationContextArgs) ToSecretSecretGenerationContextPtrOutputWithContext(ctx context.Context) SecretSecretGenerationContextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretSecretGenerationContextOutput).ToSecretSecretGenerationContextPtrOutputWithContext(ctx) +} + +// SecretSecretGenerationContextPtrInput is an input type that accepts SecretSecretGenerationContextArgs, SecretSecretGenerationContextPtr and SecretSecretGenerationContextPtrOutput values. +// You can construct a concrete instance of `SecretSecretGenerationContextPtrInput` via: +// +// SecretSecretGenerationContextArgs{...} +// +// or: +// +// nil +type SecretSecretGenerationContextPtrInput interface { + pulumi.Input + + ToSecretSecretGenerationContextPtrOutput() SecretSecretGenerationContextPtrOutput + ToSecretSecretGenerationContextPtrOutputWithContext(context.Context) SecretSecretGenerationContextPtrOutput +} + +type secretSecretGenerationContextPtrType SecretSecretGenerationContextArgs + +func SecretSecretGenerationContextPtr(v *SecretSecretGenerationContextArgs) SecretSecretGenerationContextPtrInput { + return (*secretSecretGenerationContextPtrType)(v) +} + +func (*secretSecretGenerationContextPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretSecretGenerationContext)(nil)).Elem() +} + +func (i *secretSecretGenerationContextPtrType) ToSecretSecretGenerationContextPtrOutput() SecretSecretGenerationContextPtrOutput { + return i.ToSecretSecretGenerationContextPtrOutputWithContext(context.Background()) +} + +func (i *secretSecretGenerationContextPtrType) ToSecretSecretGenerationContextPtrOutputWithContext(ctx context.Context) SecretSecretGenerationContextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretSecretGenerationContextPtrOutput) +} + +type SecretSecretGenerationContextOutput struct{ *pulumi.OutputState } + +func (SecretSecretGenerationContextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretSecretGenerationContext)(nil)).Elem() +} + +func (o SecretSecretGenerationContextOutput) ToSecretSecretGenerationContextOutput() SecretSecretGenerationContextOutput { + return o +} + +func (o SecretSecretGenerationContextOutput) ToSecretSecretGenerationContextOutputWithContext(ctx context.Context) SecretSecretGenerationContextOutput { + return o +} + +func (o SecretSecretGenerationContextOutput) ToSecretSecretGenerationContextPtrOutput() SecretSecretGenerationContextPtrOutput { + return o.ToSecretSecretGenerationContextPtrOutputWithContext(context.Background()) +} + +func (o SecretSecretGenerationContextOutput) ToSecretSecretGenerationContextPtrOutputWithContext(ctx context.Context) SecretSecretGenerationContextPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretSecretGenerationContext) *SecretSecretGenerationContext { + return &v + }).(SecretSecretGenerationContextPtrOutput) +} + +// (Updatable) Name of random bytes generation template for generating random byte type secret. +func (o SecretSecretGenerationContextOutput) GenerationTemplate() pulumi.StringOutput { + return o.ApplyT(func(v SecretSecretGenerationContext) string { return v.GenerationTemplate }).(pulumi.StringOutput) +} + +// (Updatable) Name of the predefined secret generation type. +func (o SecretSecretGenerationContextOutput) GenerationType() pulumi.StringOutput { + return o.ApplyT(func(v SecretSecretGenerationContext) string { return v.GenerationType }).(pulumi.StringOutput) +} + +// (Updatable) Length of the passphrase to be generated +func (o SecretSecretGenerationContextOutput) PassphraseLength() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecretSecretGenerationContext) *int { return v.PassphraseLength }).(pulumi.IntPtrOutput) +} + +// (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. +func (o SecretSecretGenerationContextOutput) SecretTemplate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretSecretGenerationContext) *string { return v.SecretTemplate }).(pulumi.StringPtrOutput) +} + +type SecretSecretGenerationContextPtrOutput struct{ *pulumi.OutputState } + +func (SecretSecretGenerationContextPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretSecretGenerationContext)(nil)).Elem() +} + +func (o SecretSecretGenerationContextPtrOutput) ToSecretSecretGenerationContextPtrOutput() SecretSecretGenerationContextPtrOutput { + return o +} + +func (o SecretSecretGenerationContextPtrOutput) ToSecretSecretGenerationContextPtrOutputWithContext(ctx context.Context) SecretSecretGenerationContextPtrOutput { + return o +} + +func (o SecretSecretGenerationContextPtrOutput) Elem() SecretSecretGenerationContextOutput { + return o.ApplyT(func(v *SecretSecretGenerationContext) SecretSecretGenerationContext { + if v != nil { + return *v + } + var ret SecretSecretGenerationContext + return ret + }).(SecretSecretGenerationContextOutput) +} + +// (Updatable) Name of random bytes generation template for generating random byte type secret. +func (o SecretSecretGenerationContextPtrOutput) GenerationTemplate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretSecretGenerationContext) *string { + if v == nil { + return nil + } + return &v.GenerationTemplate + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Name of the predefined secret generation type. +func (o SecretSecretGenerationContextPtrOutput) GenerationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretSecretGenerationContext) *string { + if v == nil { + return nil + } + return &v.GenerationType + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Length of the passphrase to be generated +func (o SecretSecretGenerationContextPtrOutput) PassphraseLength() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecretSecretGenerationContext) *int { + if v == nil { + return nil + } + return v.PassphraseLength + }).(pulumi.IntPtrOutput) +} + +// (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. +func (o SecretSecretGenerationContextPtrOutput) SecretTemplate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretSecretGenerationContext) *string { + if v == nil { + return nil + } + return v.SecretTemplate + }).(pulumi.StringPtrOutput) +} + type SecretSecretRule struct { // (Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. IsEnforcedOnDeletedSecretVersions *bool `pulumi:"isEnforcedOnDeletedSecretVersions"` @@ -1034,6 +1228,130 @@ func (o GetSecretSecretContentArrayOutput) Index(i pulumi.IntInput) GetSecretSec }).(GetSecretSecretContentOutput) } +type GetSecretSecretGenerationContext struct { + // Name of random bytes generation template for generating random byte type secret. + GenerationTemplate string `pulumi:"generationTemplate"` + // Name of the predefined secret generation type. + GenerationType string `pulumi:"generationType"` + // Length of the passphrase to be generated + PassphraseLength int `pulumi:"passphraseLength"` + // SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate string `pulumi:"secretTemplate"` +} + +// GetSecretSecretGenerationContextInput is an input type that accepts GetSecretSecretGenerationContextArgs and GetSecretSecretGenerationContextOutput values. +// You can construct a concrete instance of `GetSecretSecretGenerationContextInput` via: +// +// GetSecretSecretGenerationContextArgs{...} +type GetSecretSecretGenerationContextInput interface { + pulumi.Input + + ToGetSecretSecretGenerationContextOutput() GetSecretSecretGenerationContextOutput + ToGetSecretSecretGenerationContextOutputWithContext(context.Context) GetSecretSecretGenerationContextOutput +} + +type GetSecretSecretGenerationContextArgs struct { + // Name of random bytes generation template for generating random byte type secret. + GenerationTemplate pulumi.StringInput `pulumi:"generationTemplate"` + // Name of the predefined secret generation type. + GenerationType pulumi.StringInput `pulumi:"generationType"` + // Length of the passphrase to be generated + PassphraseLength pulumi.IntInput `pulumi:"passphraseLength"` + // SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate pulumi.StringInput `pulumi:"secretTemplate"` +} + +func (GetSecretSecretGenerationContextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretSecretGenerationContext)(nil)).Elem() +} + +func (i GetSecretSecretGenerationContextArgs) ToGetSecretSecretGenerationContextOutput() GetSecretSecretGenerationContextOutput { + return i.ToGetSecretSecretGenerationContextOutputWithContext(context.Background()) +} + +func (i GetSecretSecretGenerationContextArgs) ToGetSecretSecretGenerationContextOutputWithContext(ctx context.Context) GetSecretSecretGenerationContextOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecretSecretGenerationContextOutput) +} + +// GetSecretSecretGenerationContextArrayInput is an input type that accepts GetSecretSecretGenerationContextArray and GetSecretSecretGenerationContextArrayOutput values. +// You can construct a concrete instance of `GetSecretSecretGenerationContextArrayInput` via: +// +// GetSecretSecretGenerationContextArray{ GetSecretSecretGenerationContextArgs{...} } +type GetSecretSecretGenerationContextArrayInput interface { + pulumi.Input + + ToGetSecretSecretGenerationContextArrayOutput() GetSecretSecretGenerationContextArrayOutput + ToGetSecretSecretGenerationContextArrayOutputWithContext(context.Context) GetSecretSecretGenerationContextArrayOutput +} + +type GetSecretSecretGenerationContextArray []GetSecretSecretGenerationContextInput + +func (GetSecretSecretGenerationContextArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecretSecretGenerationContext)(nil)).Elem() +} + +func (i GetSecretSecretGenerationContextArray) ToGetSecretSecretGenerationContextArrayOutput() GetSecretSecretGenerationContextArrayOutput { + return i.ToGetSecretSecretGenerationContextArrayOutputWithContext(context.Background()) +} + +func (i GetSecretSecretGenerationContextArray) ToGetSecretSecretGenerationContextArrayOutputWithContext(ctx context.Context) GetSecretSecretGenerationContextArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecretSecretGenerationContextArrayOutput) +} + +type GetSecretSecretGenerationContextOutput struct{ *pulumi.OutputState } + +func (GetSecretSecretGenerationContextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretSecretGenerationContext)(nil)).Elem() +} + +func (o GetSecretSecretGenerationContextOutput) ToGetSecretSecretGenerationContextOutput() GetSecretSecretGenerationContextOutput { + return o +} + +func (o GetSecretSecretGenerationContextOutput) ToGetSecretSecretGenerationContextOutputWithContext(ctx context.Context) GetSecretSecretGenerationContextOutput { + return o +} + +// Name of random bytes generation template for generating random byte type secret. +func (o GetSecretSecretGenerationContextOutput) GenerationTemplate() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretSecretGenerationContext) string { return v.GenerationTemplate }).(pulumi.StringOutput) +} + +// Name of the predefined secret generation type. +func (o GetSecretSecretGenerationContextOutput) GenerationType() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretSecretGenerationContext) string { return v.GenerationType }).(pulumi.StringOutput) +} + +// Length of the passphrase to be generated +func (o GetSecretSecretGenerationContextOutput) PassphraseLength() pulumi.IntOutput { + return o.ApplyT(func(v GetSecretSecretGenerationContext) int { return v.PassphraseLength }).(pulumi.IntOutput) +} + +// SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. +func (o GetSecretSecretGenerationContextOutput) SecretTemplate() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretSecretGenerationContext) string { return v.SecretTemplate }).(pulumi.StringOutput) +} + +type GetSecretSecretGenerationContextArrayOutput struct{ *pulumi.OutputState } + +func (GetSecretSecretGenerationContextArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecretSecretGenerationContext)(nil)).Elem() +} + +func (o GetSecretSecretGenerationContextArrayOutput) ToGetSecretSecretGenerationContextArrayOutput() GetSecretSecretGenerationContextArrayOutput { + return o +} + +func (o GetSecretSecretGenerationContextArrayOutput) ToGetSecretSecretGenerationContextArrayOutputWithContext(ctx context.Context) GetSecretSecretGenerationContextArrayOutput { + return o +} + +func (o GetSecretSecretGenerationContextArrayOutput) Index(i pulumi.IntInput) GetSecretSecretGenerationContextOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecretSecretGenerationContext { + return vs[0].([]GetSecretSecretGenerationContext)[vs[1].(int)] + }).(GetSecretSecretGenerationContextOutput) +} + type GetSecretSecretRule struct { // A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. IsEnforcedOnDeletedSecretVersions bool `pulumi:"isEnforcedOnDeletedSecretVersions"` @@ -1284,11 +1602,14 @@ type GetSecretsSecret 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 brief description of the secret. Avoid entering confidential information. - Description string `pulumi:"description"` + Description string `pulumi:"description"` + EnableAutoGeneration bool `pulumi:"enableAutoGeneration"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 secret. Id string `pulumi:"id"` + // The value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled bool `pulumi:"isAutoGenerationEnabled"` // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId string `pulumi:"keyId"` // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -1304,6 +1625,8 @@ type GetSecretsSecret struct { // Additional information about the status of the secret rotation RotationStatus string `pulumi:"rotationStatus"` SecretContents []GetSecretsSecretSecretContent `pulumi:"secretContents"` + // Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContexts []GetSecretsSecretSecretGenerationContext `pulumi:"secretGenerationContexts"` // The user-friendly name of the secret. Avoid entering confidential information. SecretName string `pulumi:"secretName"` // A list of rules that control how the secret is used and managed. @@ -1339,11 +1662,14 @@ type GetSecretsSecretArgs 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 brief description of the secret. Avoid entering confidential information. - Description pulumi.StringInput `pulumi:"description"` + Description pulumi.StringInput `pulumi:"description"` + EnableAutoGeneration pulumi.BoolInput `pulumi:"enableAutoGeneration"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 secret. Id pulumi.StringInput `pulumi:"id"` + // The value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled pulumi.BoolInput `pulumi:"isAutoGenerationEnabled"` // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId pulumi.StringInput `pulumi:"keyId"` // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -1359,6 +1685,8 @@ type GetSecretsSecretArgs struct { // Additional information about the status of the secret rotation RotationStatus pulumi.StringInput `pulumi:"rotationStatus"` SecretContents GetSecretsSecretSecretContentArrayInput `pulumi:"secretContents"` + // Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContexts GetSecretsSecretSecretGenerationContextArrayInput `pulumi:"secretGenerationContexts"` // The user-friendly name of the secret. Avoid entering confidential information. SecretName pulumi.StringInput `pulumi:"secretName"` // A list of rules that control how the secret is used and managed. @@ -1446,6 +1774,10 @@ func (o GetSecretsSecretOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsSecret) string { return v.Description }).(pulumi.StringOutput) } +func (o GetSecretsSecretOutput) EnableAutoGeneration() pulumi.BoolOutput { + return o.ApplyT(func(v GetSecretsSecret) bool { return v.EnableAutoGeneration }).(pulumi.BoolOutput) +} + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 GetSecretsSecretOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v GetSecretsSecret) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) @@ -1456,6 +1788,11 @@ func (o GetSecretsSecretOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsSecret) string { return v.Id }).(pulumi.StringOutput) } +// The value of this flag determines whether or not secret content will be generated automatically. +func (o GetSecretsSecretOutput) IsAutoGenerationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetSecretsSecret) bool { return v.IsAutoGenerationEnabled }).(pulumi.BoolOutput) +} + // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. func (o GetSecretsSecretOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsSecret) string { return v.KeyId }).(pulumi.StringOutput) @@ -1495,6 +1832,11 @@ func (o GetSecretsSecretOutput) SecretContents() GetSecretsSecretSecretContentAr return o.ApplyT(func(v GetSecretsSecret) []GetSecretsSecretSecretContent { return v.SecretContents }).(GetSecretsSecretSecretContentArrayOutput) } +// Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. +func (o GetSecretsSecretOutput) SecretGenerationContexts() GetSecretsSecretSecretGenerationContextArrayOutput { + return o.ApplyT(func(v GetSecretsSecret) []GetSecretsSecretSecretGenerationContext { return v.SecretGenerationContexts }).(GetSecretsSecretSecretGenerationContextArrayOutput) +} + // The user-friendly name of the secret. Avoid entering confidential information. func (o GetSecretsSecretOutput) SecretName() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsSecret) string { return v.SecretName }).(pulumi.StringOutput) @@ -1897,6 +2239,130 @@ func (o GetSecretsSecretSecretContentArrayOutput) Index(i pulumi.IntInput) GetSe }).(GetSecretsSecretSecretContentOutput) } +type GetSecretsSecretSecretGenerationContext struct { + // Name of random bytes generation template for generating random byte type secret. + GenerationTemplate string `pulumi:"generationTemplate"` + // Name of the predefined secret generation type. + GenerationType string `pulumi:"generationType"` + // Length of the passphrase to be generated + PassphraseLength int `pulumi:"passphraseLength"` + // SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate string `pulumi:"secretTemplate"` +} + +// GetSecretsSecretSecretGenerationContextInput is an input type that accepts GetSecretsSecretSecretGenerationContextArgs and GetSecretsSecretSecretGenerationContextOutput values. +// You can construct a concrete instance of `GetSecretsSecretSecretGenerationContextInput` via: +// +// GetSecretsSecretSecretGenerationContextArgs{...} +type GetSecretsSecretSecretGenerationContextInput interface { + pulumi.Input + + ToGetSecretsSecretSecretGenerationContextOutput() GetSecretsSecretSecretGenerationContextOutput + ToGetSecretsSecretSecretGenerationContextOutputWithContext(context.Context) GetSecretsSecretSecretGenerationContextOutput +} + +type GetSecretsSecretSecretGenerationContextArgs struct { + // Name of random bytes generation template for generating random byte type secret. + GenerationTemplate pulumi.StringInput `pulumi:"generationTemplate"` + // Name of the predefined secret generation type. + GenerationType pulumi.StringInput `pulumi:"generationType"` + // Length of the passphrase to be generated + PassphraseLength pulumi.IntInput `pulumi:"passphraseLength"` + // SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + SecretTemplate pulumi.StringInput `pulumi:"secretTemplate"` +} + +func (GetSecretsSecretSecretGenerationContextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretsSecretSecretGenerationContext)(nil)).Elem() +} + +func (i GetSecretsSecretSecretGenerationContextArgs) ToGetSecretsSecretSecretGenerationContextOutput() GetSecretsSecretSecretGenerationContextOutput { + return i.ToGetSecretsSecretSecretGenerationContextOutputWithContext(context.Background()) +} + +func (i GetSecretsSecretSecretGenerationContextArgs) ToGetSecretsSecretSecretGenerationContextOutputWithContext(ctx context.Context) GetSecretsSecretSecretGenerationContextOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecretsSecretSecretGenerationContextOutput) +} + +// GetSecretsSecretSecretGenerationContextArrayInput is an input type that accepts GetSecretsSecretSecretGenerationContextArray and GetSecretsSecretSecretGenerationContextArrayOutput values. +// You can construct a concrete instance of `GetSecretsSecretSecretGenerationContextArrayInput` via: +// +// GetSecretsSecretSecretGenerationContextArray{ GetSecretsSecretSecretGenerationContextArgs{...} } +type GetSecretsSecretSecretGenerationContextArrayInput interface { + pulumi.Input + + ToGetSecretsSecretSecretGenerationContextArrayOutput() GetSecretsSecretSecretGenerationContextArrayOutput + ToGetSecretsSecretSecretGenerationContextArrayOutputWithContext(context.Context) GetSecretsSecretSecretGenerationContextArrayOutput +} + +type GetSecretsSecretSecretGenerationContextArray []GetSecretsSecretSecretGenerationContextInput + +func (GetSecretsSecretSecretGenerationContextArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecretsSecretSecretGenerationContext)(nil)).Elem() +} + +func (i GetSecretsSecretSecretGenerationContextArray) ToGetSecretsSecretSecretGenerationContextArrayOutput() GetSecretsSecretSecretGenerationContextArrayOutput { + return i.ToGetSecretsSecretSecretGenerationContextArrayOutputWithContext(context.Background()) +} + +func (i GetSecretsSecretSecretGenerationContextArray) ToGetSecretsSecretSecretGenerationContextArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretGenerationContextArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSecretsSecretSecretGenerationContextArrayOutput) +} + +type GetSecretsSecretSecretGenerationContextOutput struct{ *pulumi.OutputState } + +func (GetSecretsSecretSecretGenerationContextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecretsSecretSecretGenerationContext)(nil)).Elem() +} + +func (o GetSecretsSecretSecretGenerationContextOutput) ToGetSecretsSecretSecretGenerationContextOutput() GetSecretsSecretSecretGenerationContextOutput { + return o +} + +func (o GetSecretsSecretSecretGenerationContextOutput) ToGetSecretsSecretSecretGenerationContextOutputWithContext(ctx context.Context) GetSecretsSecretSecretGenerationContextOutput { + return o +} + +// Name of random bytes generation template for generating random byte type secret. +func (o GetSecretsSecretSecretGenerationContextOutput) GenerationTemplate() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretsSecretSecretGenerationContext) string { return v.GenerationTemplate }).(pulumi.StringOutput) +} + +// Name of the predefined secret generation type. +func (o GetSecretsSecretSecretGenerationContextOutput) GenerationType() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretsSecretSecretGenerationContext) string { return v.GenerationType }).(pulumi.StringOutput) +} + +// Length of the passphrase to be generated +func (o GetSecretsSecretSecretGenerationContextOutput) PassphraseLength() pulumi.IntOutput { + return o.ApplyT(func(v GetSecretsSecretSecretGenerationContext) int { return v.PassphraseLength }).(pulumi.IntOutput) +} + +// SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. +func (o GetSecretsSecretSecretGenerationContextOutput) SecretTemplate() pulumi.StringOutput { + return o.ApplyT(func(v GetSecretsSecretSecretGenerationContext) string { return v.SecretTemplate }).(pulumi.StringOutput) +} + +type GetSecretsSecretSecretGenerationContextArrayOutput struct{ *pulumi.OutputState } + +func (GetSecretsSecretSecretGenerationContextArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSecretsSecretSecretGenerationContext)(nil)).Elem() +} + +func (o GetSecretsSecretSecretGenerationContextArrayOutput) ToGetSecretsSecretSecretGenerationContextArrayOutput() GetSecretsSecretSecretGenerationContextArrayOutput { + return o +} + +func (o GetSecretsSecretSecretGenerationContextArrayOutput) ToGetSecretsSecretSecretGenerationContextArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretGenerationContextArrayOutput { + return o +} + +func (o GetSecretsSecretSecretGenerationContextArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretSecretGenerationContextOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecretsSecretSecretGenerationContext { + return vs[0].([]GetSecretsSecretSecretGenerationContext)[vs[1].(int)] + }).(GetSecretsSecretSecretGenerationContextOutput) +} + type GetSecretsSecretSecretRule struct { // A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. IsEnforcedOnDeletedSecretVersions bool `pulumi:"isEnforcedOnDeletedSecretVersions"` @@ -2037,6 +2503,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SecretRotationConfigTargetSystemDetailsPtrInput)(nil)).Elem(), SecretRotationConfigTargetSystemDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretContentInput)(nil)).Elem(), SecretSecretContentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretContentPtrInput)(nil)).Elem(), SecretSecretContentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretGenerationContextInput)(nil)).Elem(), SecretSecretGenerationContextArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretGenerationContextPtrInput)(nil)).Elem(), SecretSecretGenerationContextArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretRuleInput)(nil)).Elem(), SecretSecretRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretSecretRuleArrayInput)(nil)).Elem(), SecretSecretRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretRotationConfigInput)(nil)).Elem(), GetSecretRotationConfigArgs{}) @@ -2045,6 +2513,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetSecretRotationConfigTargetSystemDetailArrayInput)(nil)).Elem(), GetSecretRotationConfigTargetSystemDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretContentInput)(nil)).Elem(), GetSecretSecretContentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretContentArrayInput)(nil)).Elem(), GetSecretSecretContentArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretGenerationContextInput)(nil)).Elem(), GetSecretSecretGenerationContextArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretGenerationContextArrayInput)(nil)).Elem(), GetSecretSecretGenerationContextArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretRuleInput)(nil)).Elem(), GetSecretSecretRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretSecretRuleArrayInput)(nil)).Elem(), GetSecretSecretRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsFilterInput)(nil)).Elem(), GetSecretsFilterArgs{}) @@ -2057,6 +2527,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretRotationConfigTargetSystemDetailArrayInput)(nil)).Elem(), GetSecretsSecretRotationConfigTargetSystemDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretContentInput)(nil)).Elem(), GetSecretsSecretSecretContentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretContentArrayInput)(nil)).Elem(), GetSecretsSecretSecretContentArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretGenerationContextInput)(nil)).Elem(), GetSecretsSecretSecretGenerationContextArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretGenerationContextArrayInput)(nil)).Elem(), GetSecretsSecretSecretGenerationContextArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretRuleInput)(nil)).Elem(), GetSecretsSecretSecretRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecretsSecretSecretRuleArrayInput)(nil)).Elem(), GetSecretsSecretSecretRuleArray{}) pulumi.RegisterOutputType(SecretRotationConfigOutput{}) @@ -2065,6 +2537,8 @@ func init() { pulumi.RegisterOutputType(SecretRotationConfigTargetSystemDetailsPtrOutput{}) pulumi.RegisterOutputType(SecretSecretContentOutput{}) pulumi.RegisterOutputType(SecretSecretContentPtrOutput{}) + pulumi.RegisterOutputType(SecretSecretGenerationContextOutput{}) + pulumi.RegisterOutputType(SecretSecretGenerationContextPtrOutput{}) pulumi.RegisterOutputType(SecretSecretRuleOutput{}) pulumi.RegisterOutputType(SecretSecretRuleArrayOutput{}) pulumi.RegisterOutputType(GetSecretRotationConfigOutput{}) @@ -2073,6 +2547,8 @@ func init() { pulumi.RegisterOutputType(GetSecretRotationConfigTargetSystemDetailArrayOutput{}) pulumi.RegisterOutputType(GetSecretSecretContentOutput{}) pulumi.RegisterOutputType(GetSecretSecretContentArrayOutput{}) + pulumi.RegisterOutputType(GetSecretSecretGenerationContextOutput{}) + pulumi.RegisterOutputType(GetSecretSecretGenerationContextArrayOutput{}) pulumi.RegisterOutputType(GetSecretSecretRuleOutput{}) pulumi.RegisterOutputType(GetSecretSecretRuleArrayOutput{}) pulumi.RegisterOutputType(GetSecretsFilterOutput{}) @@ -2085,6 +2561,8 @@ func init() { pulumi.RegisterOutputType(GetSecretsSecretRotationConfigTargetSystemDetailArrayOutput{}) pulumi.RegisterOutputType(GetSecretsSecretSecretContentOutput{}) pulumi.RegisterOutputType(GetSecretsSecretSecretContentArrayOutput{}) + pulumi.RegisterOutputType(GetSecretsSecretSecretGenerationContextOutput{}) + pulumi.RegisterOutputType(GetSecretsSecretSecretGenerationContextArrayOutput{}) pulumi.RegisterOutputType(GetSecretsSecretSecretRuleOutput{}) pulumi.RegisterOutputType(GetSecretsSecretSecretRuleArrayOutput{}) } diff --git a/sdk/go/oci/vault/secret.go b/sdk/go/oci/vault/secret.go index 0437a623c7..cc32ee4d66 100644 --- a/sdk/go/oci/vault/secret.go +++ b/sdk/go/oci/vault/secret.go @@ -34,8 +34,12 @@ type Secret struct { DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // (Updatable) A brief description of the secret. Avoid entering confidential information. Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + EnableAutoGeneration pulumi.BoolPtrOutput `pulumi:"enableAutoGeneration"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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"` + // The value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled pulumi.BoolOutput `pulumi:"isAutoGenerationEnabled"` // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId pulumi.StringOutput `pulumi:"keyId"` // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -52,6 +56,8 @@ type Secret struct { RotationStatus pulumi.StringOutput `pulumi:"rotationStatus"` // (Updatable) The content of the secret and metadata to help identify it. SecretContent SecretSecretContentOutput `pulumi:"secretContent"` + // (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContext SecretSecretGenerationContextOutput `pulumi:"secretGenerationContext"` // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. SecretName pulumi.StringOutput `pulumi:"secretName"` // (Updatable) A list of rules to control how the secret is used and managed. @@ -121,8 +127,12 @@ type secretState struct { DefinedTags map[string]string `pulumi:"definedTags"` // (Updatable) A brief description of the secret. Avoid entering confidential information. Description *string `pulumi:"description"` + // (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + EnableAutoGeneration *bool `pulumi:"enableAutoGeneration"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled *bool `pulumi:"isAutoGenerationEnabled"` // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId *string `pulumi:"keyId"` // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -139,6 +149,8 @@ type secretState struct { RotationStatus *string `pulumi:"rotationStatus"` // (Updatable) The content of the secret and metadata to help identify it. SecretContent *SecretSecretContent `pulumi:"secretContent"` + // (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContext *SecretSecretGenerationContext `pulumi:"secretGenerationContext"` // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. SecretName *string `pulumi:"secretName"` // (Updatable) A list of rules to control how the secret is used and managed. @@ -167,8 +179,12 @@ type SecretState struct { DefinedTags pulumi.StringMapInput // (Updatable) A brief description of the secret. Avoid entering confidential information. Description pulumi.StringPtrInput + // (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + EnableAutoGeneration pulumi.BoolPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 value of this flag determines whether or not secret content will be generated automatically. + IsAutoGenerationEnabled pulumi.BoolPtrInput // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. KeyId pulumi.StringPtrInput // A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -185,6 +201,8 @@ type SecretState struct { RotationStatus pulumi.StringPtrInput // (Updatable) The content of the secret and metadata to help identify it. SecretContent SecretSecretContentPtrInput + // (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContext SecretSecretGenerationContextPtrInput // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. SecretName pulumi.StringPtrInput // (Updatable) A list of rules to control how the secret is used and managed. @@ -215,6 +233,8 @@ type secretArgs struct { DefinedTags map[string]string `pulumi:"definedTags"` // (Updatable) A brief description of the secret. Avoid entering confidential information. Description *string `pulumi:"description"` + // (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + EnableAutoGeneration *bool `pulumi:"enableAutoGeneration"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. @@ -225,6 +245,8 @@ type secretArgs struct { RotationConfig *SecretRotationConfig `pulumi:"rotationConfig"` // (Updatable) The content of the secret and metadata to help identify it. SecretContent *SecretSecretContent `pulumi:"secretContent"` + // (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContext *SecretSecretGenerationContext `pulumi:"secretGenerationContext"` // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. SecretName string `pulumi:"secretName"` // (Updatable) A list of rules to control how the secret is used and managed. @@ -244,6 +266,8 @@ type SecretArgs struct { DefinedTags pulumi.StringMapInput // (Updatable) A brief description of the secret. Avoid entering confidential information. Description pulumi.StringPtrInput + // (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + EnableAutoGeneration pulumi.BoolPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. @@ -254,6 +278,8 @@ type SecretArgs struct { RotationConfig SecretRotationConfigPtrInput // (Updatable) The content of the secret and metadata to help identify it. SecretContent SecretSecretContentPtrInput + // (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + SecretGenerationContext SecretSecretGenerationContextPtrInput // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. SecretName pulumi.StringInput // (Updatable) A list of rules to control how the secret is used and managed. @@ -372,11 +398,21 @@ func (o SecretOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } +// (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. +func (o SecretOutput) EnableAutoGeneration() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Secret) pulumi.BoolPtrOutput { return v.EnableAutoGeneration }).(pulumi.BoolPtrOutput) +} + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined 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 SecretOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *Secret) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) } +// The value of this flag determines whether or not secret content will be generated automatically. +func (o SecretOutput) IsAutoGenerationEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *Secret) pulumi.BoolOutput { return v.IsAutoGenerationEnabled }).(pulumi.BoolOutput) +} + // The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. func (o SecretOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.KeyId }).(pulumi.StringOutput) @@ -417,6 +453,11 @@ func (o SecretOutput) SecretContent() SecretSecretContentOutput { return o.ApplyT(func(v *Secret) SecretSecretContentOutput { return v.SecretContent }).(SecretSecretContentOutput) } +// (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. +func (o SecretOutput) SecretGenerationContext() SecretSecretGenerationContextOutput { + return o.ApplyT(func(v *Secret) SecretSecretGenerationContextOutput { return v.SecretGenerationContext }).(SecretSecretGenerationContextOutput) +} + // A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. func (o SecretOutput) SecretName() pulumi.StringOutput { return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.SecretName }).(pulumi.StringOutput) diff --git a/sdk/java/src/main/java/com/pulumi/oci/Config.java b/sdk/java/src/main/java/com/pulumi/oci/Config.java index 625810561a..3a34292b1a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Config.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Config.java @@ -102,6 +102,9 @@ public Optional retryDurationSeconds() { public Optional tenancyOcid() { return Codegen.stringProp("tenancyOcid").config(config).get(); } + public Optional testTimeMaintenanceRebootDue() { + return Codegen.stringProp("testTimeMaintenanceRebootDue").config(config).get(); + } /** * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if * auth is set to 'ApiKey', ignored otherwise. diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/Cluster.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/Cluster.java index 4a64007b1d..bd8384fef3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/Cluster.java @@ -93,6 +93,7 @@ * .admissionControllerOptions(ClusterOptionsAdmissionControllerOptionsArgs.builder() * .isPodSecurityPolicyEnabled(clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled) * .build()) + * .ipFamilies(clusterOptionsIpFamilies) * .kubernetesNetworkConfig(ClusterOptionsKubernetesNetworkConfigArgs.builder() * .podsCidr(clusterOptionsKubernetesNetworkConfigPodsCidr) * .servicesCidr(clusterOptionsKubernetesNetworkConfigServicesCidr) diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterEndpointArgs.java index 05b04c275f..9c453d3ae3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterEndpointArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterEndpointArgs.java @@ -15,6 +15,21 @@ public final class ClusterEndpointArgs extends com.pulumi.resources.ResourceArgs public static final ClusterEndpointArgs Empty = new ClusterEndpointArgs(); + /** + * The IPv6 networking Kubernetes API server endpoint. + * + */ + @Import(name="ipv6endpoint") + private @Nullable Output ipv6endpoint; + + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + public Optional> ipv6endpoint() { + return Optional.ofNullable(this.ipv6endpoint); + } + /** * The non-native networking Kubernetes API server endpoint. * @@ -78,6 +93,7 @@ public Optional> vcnHostnameEndpoint() { private ClusterEndpointArgs() {} private ClusterEndpointArgs(ClusterEndpointArgs $) { + this.ipv6endpoint = $.ipv6endpoint; this.kubernetes = $.kubernetes; this.privateEndpoint = $.privateEndpoint; this.publicEndpoint = $.publicEndpoint; @@ -102,6 +118,27 @@ public Builder(ClusterEndpointArgs defaults) { $ = new ClusterEndpointArgs(Objects.requireNonNull(defaults)); } + /** + * @param ipv6endpoint The IPv6 networking Kubernetes API server endpoint. + * + * @return builder + * + */ + public Builder ipv6endpoint(@Nullable Output ipv6endpoint) { + $.ipv6endpoint = ipv6endpoint; + return this; + } + + /** + * @param ipv6endpoint The IPv6 networking Kubernetes API server endpoint. + * + * @return builder + * + */ + public Builder ipv6endpoint(String ipv6endpoint) { + return ipv6endpoint(Output.of(ipv6endpoint)); + } + /** * @param kubernetes The non-native networking Kubernetes API server endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterOptionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterOptionsArgs.java index 632ac25481..100ae3445f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterOptionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/inputs/ClusterOptionsArgs.java @@ -53,6 +53,21 @@ public Optional> admissionC return Optional.ofNullable(this.admissionControllerOptions); } + /** + * IP family to use for single stack or define the order of IP families for dual-stack + * + */ + @Import(name="ipFamilies") + private @Nullable Output> ipFamilies; + + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + public Optional>> ipFamilies() { + return Optional.ofNullable(this.ipFamilies); + } + /** * Network configuration for Kubernetes. * @@ -148,6 +163,7 @@ private ClusterOptionsArgs() {} private ClusterOptionsArgs(ClusterOptionsArgs $) { this.addOns = $.addOns; this.admissionControllerOptions = $.admissionControllerOptions; + this.ipFamilies = $.ipFamilies; this.kubernetesNetworkConfig = $.kubernetesNetworkConfig; this.openIdConnectDiscovery = $.openIdConnectDiscovery; this.openIdConnectTokenAuthenticationConfig = $.openIdConnectTokenAuthenticationConfig; @@ -216,6 +232,37 @@ public Builder admissionControllerOptions(ClusterOptionsAdmissionControllerOptio return admissionControllerOptions(Output.of(admissionControllerOptions)); } + /** + * @param ipFamilies IP family to use for single stack or define the order of IP families for dual-stack + * + * @return builder + * + */ + public Builder ipFamilies(@Nullable Output> ipFamilies) { + $.ipFamilies = ipFamilies; + return this; + } + + /** + * @param ipFamilies IP family to use for single stack or define the order of IP families for dual-stack + * + * @return builder + * + */ + public Builder ipFamilies(List ipFamilies) { + return ipFamilies(Output.of(ipFamilies)); + } + + /** + * @param ipFamilies IP family to use for single stack or define the order of IP families for dual-stack + * + * @return builder + * + */ + public Builder ipFamilies(String... ipFamilies) { + return ipFamilies(List.of(ipFamilies)); + } + /** * @param kubernetesNetworkConfig Network configuration for Kubernetes. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterEndpoint.java index 37732ebdfb..296b4ad1ba 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterEndpoint.java @@ -11,6 +11,11 @@ @CustomType public final class ClusterEndpoint { + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + private @Nullable String ipv6endpoint; /** * @return The non-native networking Kubernetes API server endpoint. * @@ -33,6 +38,13 @@ public final class ClusterEndpoint { private @Nullable String vcnHostnameEndpoint; private ClusterEndpoint() {} + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + public Optional ipv6endpoint() { + return Optional.ofNullable(this.ipv6endpoint); + } /** * @return The non-native networking Kubernetes API server endpoint. * @@ -71,6 +83,7 @@ public static Builder builder(ClusterEndpoint defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String ipv6endpoint; private @Nullable String kubernetes; private @Nullable String privateEndpoint; private @Nullable String publicEndpoint; @@ -78,12 +91,19 @@ public static final class Builder { public Builder() {} public Builder(ClusterEndpoint defaults) { Objects.requireNonNull(defaults); + this.ipv6endpoint = defaults.ipv6endpoint; this.kubernetes = defaults.kubernetes; this.privateEndpoint = defaults.privateEndpoint; this.publicEndpoint = defaults.publicEndpoint; this.vcnHostnameEndpoint = defaults.vcnHostnameEndpoint; } + @CustomType.Setter + public Builder ipv6endpoint(@Nullable String ipv6endpoint) { + + this.ipv6endpoint = ipv6endpoint; + return this; + } @CustomType.Setter public Builder kubernetes(@Nullable String kubernetes) { @@ -110,6 +130,7 @@ public Builder vcnHostnameEndpoint(@Nullable String vcnHostnameEndpoint) { } public ClusterEndpoint build() { final var _resultValue = new ClusterEndpoint(); + _resultValue.ipv6endpoint = ipv6endpoint; _resultValue.kubernetes = kubernetes; _resultValue.privateEndpoint = privateEndpoint; _resultValue.publicEndpoint = publicEndpoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterOptions.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterOptions.java index a6ad714ce1..15024d1e76 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterOptions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/ClusterOptions.java @@ -29,6 +29,11 @@ public final class ClusterOptions { * */ private @Nullable ClusterOptionsAdmissionControllerOptions admissionControllerOptions; + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + private @Nullable List ipFamilies; /** * @return Network configuration for Kubernetes. * @@ -75,6 +80,13 @@ public Optional addOns() { public Optional admissionControllerOptions() { return Optional.ofNullable(this.admissionControllerOptions); } + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + public List ipFamilies() { + return this.ipFamilies == null ? List.of() : this.ipFamilies; + } /** * @return Network configuration for Kubernetes. * @@ -129,6 +141,7 @@ public static Builder builder(ClusterOptions defaults) { public static final class Builder { private @Nullable ClusterOptionsAddOns addOns; private @Nullable ClusterOptionsAdmissionControllerOptions admissionControllerOptions; + private @Nullable List ipFamilies; private @Nullable ClusterOptionsKubernetesNetworkConfig kubernetesNetworkConfig; private @Nullable ClusterOptionsOpenIdConnectDiscovery openIdConnectDiscovery; private @Nullable ClusterOptionsOpenIdConnectTokenAuthenticationConfig openIdConnectTokenAuthenticationConfig; @@ -140,6 +153,7 @@ public Builder(ClusterOptions defaults) { Objects.requireNonNull(defaults); this.addOns = defaults.addOns; this.admissionControllerOptions = defaults.admissionControllerOptions; + this.ipFamilies = defaults.ipFamilies; this.kubernetesNetworkConfig = defaults.kubernetesNetworkConfig; this.openIdConnectDiscovery = defaults.openIdConnectDiscovery; this.openIdConnectTokenAuthenticationConfig = defaults.openIdConnectTokenAuthenticationConfig; @@ -161,6 +175,15 @@ public Builder admissionControllerOptions(@Nullable ClusterOptionsAdmissionContr return this; } @CustomType.Setter + public Builder ipFamilies(@Nullable List ipFamilies) { + + this.ipFamilies = ipFamilies; + return this; + } + public Builder ipFamilies(String... ipFamilies) { + return ipFamilies(List.of(ipFamilies)); + } + @CustomType.Setter public Builder kubernetesNetworkConfig(@Nullable ClusterOptionsKubernetesNetworkConfig kubernetesNetworkConfig) { this.kubernetesNetworkConfig = kubernetesNetworkConfig; @@ -203,6 +226,7 @@ public ClusterOptions build() { final var _resultValue = new ClusterOptions(); _resultValue.addOns = addOns; _resultValue.admissionControllerOptions = admissionControllerOptions; + _resultValue.ipFamilies = ipFamilies; _resultValue.kubernetesNetworkConfig = kubernetesNetworkConfig; _resultValue.openIdConnectDiscovery = openIdConnectDiscovery; _resultValue.openIdConnectTokenAuthenticationConfig = openIdConnectTokenAuthenticationConfig; diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterEndpoint.java index 91cb8a4e1c..717ef3b229 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterEndpoint.java @@ -10,6 +10,11 @@ @CustomType public final class GetClusterEndpoint { + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + private String ipv6endpoint; /** * @return The non-native networking Kubernetes API server endpoint. * @@ -32,6 +37,13 @@ public final class GetClusterEndpoint { private String vcnHostnameEndpoint; private GetClusterEndpoint() {} + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + public String ipv6endpoint() { + return this.ipv6endpoint; + } /** * @return The non-native networking Kubernetes API server endpoint. * @@ -70,6 +82,7 @@ public static Builder builder(GetClusterEndpoint defaults) { } @CustomType.Builder public static final class Builder { + private String ipv6endpoint; private String kubernetes; private String privateEndpoint; private String publicEndpoint; @@ -77,12 +90,21 @@ public static final class Builder { public Builder() {} public Builder(GetClusterEndpoint defaults) { Objects.requireNonNull(defaults); + this.ipv6endpoint = defaults.ipv6endpoint; this.kubernetes = defaults.kubernetes; this.privateEndpoint = defaults.privateEndpoint; this.publicEndpoint = defaults.publicEndpoint; this.vcnHostnameEndpoint = defaults.vcnHostnameEndpoint; } + @CustomType.Setter + public Builder ipv6endpoint(String ipv6endpoint) { + if (ipv6endpoint == null) { + throw new MissingRequiredPropertyException("GetClusterEndpoint", "ipv6endpoint"); + } + this.ipv6endpoint = ipv6endpoint; + return this; + } @CustomType.Setter public Builder kubernetes(String kubernetes) { if (kubernetes == null) { @@ -117,6 +139,7 @@ public Builder vcnHostnameEndpoint(String vcnHostnameEndpoint) { } public GetClusterEndpoint build() { final var _resultValue = new GetClusterEndpoint(); + _resultValue.ipv6endpoint = ipv6endpoint; _resultValue.kubernetes = kubernetes; _resultValue.privateEndpoint = privateEndpoint; _resultValue.publicEndpoint = publicEndpoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterOption.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterOption.java index 5c81c4472b..ef6ff2f051 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterOption.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClusterOption.java @@ -28,6 +28,11 @@ public final class GetClusterOption { * */ private List admissionControllerOptions; + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + private List ipFamilies; /** * @return Network configuration for Kubernetes. * @@ -66,6 +71,13 @@ public List addOns() { public List admissionControllerOptions() { return this.admissionControllerOptions; } + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + public List ipFamilies() { + return this.ipFamilies; + } /** * @return Network configuration for Kubernetes. * @@ -112,6 +124,7 @@ public static Builder builder(GetClusterOption defaults) { public static final class Builder { private List addOns; private List admissionControllerOptions; + private List ipFamilies; private List kubernetesNetworkConfigs; private List openIdConnectDiscoveries; private List openIdConnectTokenAuthenticationConfigs; @@ -123,6 +136,7 @@ public Builder(GetClusterOption defaults) { Objects.requireNonNull(defaults); this.addOns = defaults.addOns; this.admissionControllerOptions = defaults.admissionControllerOptions; + this.ipFamilies = defaults.ipFamilies; this.kubernetesNetworkConfigs = defaults.kubernetesNetworkConfigs; this.openIdConnectDiscoveries = defaults.openIdConnectDiscoveries; this.openIdConnectTokenAuthenticationConfigs = defaults.openIdConnectTokenAuthenticationConfigs; @@ -154,6 +168,17 @@ public Builder admissionControllerOptions(GetClusterOptionAdmissionControllerOpt return admissionControllerOptions(List.of(admissionControllerOptions)); } @CustomType.Setter + public Builder ipFamilies(List ipFamilies) { + if (ipFamilies == null) { + throw new MissingRequiredPropertyException("GetClusterOption", "ipFamilies"); + } + this.ipFamilies = ipFamilies; + return this; + } + public Builder ipFamilies(String... ipFamilies) { + return ipFamilies(List.of(ipFamilies)); + } + @CustomType.Setter public Builder kubernetesNetworkConfigs(List kubernetesNetworkConfigs) { if (kubernetesNetworkConfigs == null) { throw new MissingRequiredPropertyException("GetClusterOption", "kubernetesNetworkConfigs"); @@ -223,6 +248,7 @@ public GetClusterOption build() { final var _resultValue = new GetClusterOption(); _resultValue.addOns = addOns; _resultValue.admissionControllerOptions = admissionControllerOptions; + _resultValue.ipFamilies = ipFamilies; _resultValue.kubernetesNetworkConfigs = kubernetesNetworkConfigs; _resultValue.openIdConnectDiscoveries = openIdConnectDiscoveries; _resultValue.openIdConnectTokenAuthenticationConfigs = openIdConnectTokenAuthenticationConfigs; diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterEndpoint.java index 5ee4ebdb44..ec5642bc28 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterEndpoint.java @@ -10,6 +10,11 @@ @CustomType public final class GetClustersClusterEndpoint { + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + private String ipv6endpoint; /** * @return The non-native networking Kubernetes API server endpoint. * @@ -32,6 +37,13 @@ public final class GetClustersClusterEndpoint { private String vcnHostnameEndpoint; private GetClustersClusterEndpoint() {} + /** + * @return The IPv6 networking Kubernetes API server endpoint. + * + */ + public String ipv6endpoint() { + return this.ipv6endpoint; + } /** * @return The non-native networking Kubernetes API server endpoint. * @@ -70,6 +82,7 @@ public static Builder builder(GetClustersClusterEndpoint defaults) { } @CustomType.Builder public static final class Builder { + private String ipv6endpoint; private String kubernetes; private String privateEndpoint; private String publicEndpoint; @@ -77,12 +90,21 @@ public static final class Builder { public Builder() {} public Builder(GetClustersClusterEndpoint defaults) { Objects.requireNonNull(defaults); + this.ipv6endpoint = defaults.ipv6endpoint; this.kubernetes = defaults.kubernetes; this.privateEndpoint = defaults.privateEndpoint; this.publicEndpoint = defaults.publicEndpoint; this.vcnHostnameEndpoint = defaults.vcnHostnameEndpoint; } + @CustomType.Setter + public Builder ipv6endpoint(String ipv6endpoint) { + if (ipv6endpoint == null) { + throw new MissingRequiredPropertyException("GetClustersClusterEndpoint", "ipv6endpoint"); + } + this.ipv6endpoint = ipv6endpoint; + return this; + } @CustomType.Setter public Builder kubernetes(String kubernetes) { if (kubernetes == null) { @@ -117,6 +139,7 @@ public Builder vcnHostnameEndpoint(String vcnHostnameEndpoint) { } public GetClustersClusterEndpoint build() { final var _resultValue = new GetClustersClusterEndpoint(); + _resultValue.ipv6endpoint = ipv6endpoint; _resultValue.kubernetes = kubernetes; _resultValue.privateEndpoint = privateEndpoint; _resultValue.publicEndpoint = publicEndpoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterOption.java b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterOption.java index e75adc2620..bde505bc54 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterOption.java +++ b/sdk/java/src/main/java/com/pulumi/oci/ContainerEngine/outputs/GetClustersClusterOption.java @@ -28,6 +28,11 @@ public final class GetClustersClusterOption { * */ private List admissionControllerOptions; + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + private List ipFamilies; /** * @return Network configuration for Kubernetes. * @@ -74,6 +79,13 @@ public List addOns() { public List admissionControllerOptions() { return this.admissionControllerOptions; } + /** + * @return IP family to use for single stack or define the order of IP families for dual-stack + * + */ + public List ipFamilies() { + return this.ipFamilies; + } /** * @return Network configuration for Kubernetes. * @@ -128,6 +140,7 @@ public static Builder builder(GetClustersClusterOption defaults) { public static final class Builder { private List addOns; private List admissionControllerOptions; + private List ipFamilies; private List kubernetesNetworkConfigs; private List openIdConnectDiscoveries; private List openIdConnectTokenAuthenticationConfigs; @@ -139,6 +152,7 @@ public Builder(GetClustersClusterOption defaults) { Objects.requireNonNull(defaults); this.addOns = defaults.addOns; this.admissionControllerOptions = defaults.admissionControllerOptions; + this.ipFamilies = defaults.ipFamilies; this.kubernetesNetworkConfigs = defaults.kubernetesNetworkConfigs; this.openIdConnectDiscoveries = defaults.openIdConnectDiscoveries; this.openIdConnectTokenAuthenticationConfigs = defaults.openIdConnectTokenAuthenticationConfigs; @@ -170,6 +184,17 @@ public Builder admissionControllerOptions(GetClustersClusterOptionAdmissionContr return admissionControllerOptions(List.of(admissionControllerOptions)); } @CustomType.Setter + public Builder ipFamilies(List ipFamilies) { + if (ipFamilies == null) { + throw new MissingRequiredPropertyException("GetClustersClusterOption", "ipFamilies"); + } + this.ipFamilies = ipFamilies; + return this; + } + public Builder ipFamilies(String... ipFamilies) { + return ipFamilies(List.of(ipFamilies)); + } + @CustomType.Setter public Builder kubernetesNetworkConfigs(List kubernetesNetworkConfigs) { if (kubernetesNetworkConfigs == null) { throw new MissingRequiredPropertyException("GetClustersClusterOption", "kubernetesNetworkConfigs"); @@ -239,6 +264,7 @@ public GetClustersClusterOption build() { final var _resultValue = new GetClustersClusterOption(); _resultValue.addOns = addOns; _resultValue.admissionControllerOptions = admissionControllerOptions; + _resultValue.ipFamilies = ipFamilies; _resultValue.kubernetesNetworkConfigs = kubernetesNetworkConfigs; _resultValue.openIdConnectDiscoveries = openIdConnectDiscoveries; _resultValue.openIdConnectTokenAuthenticationConfigs = openIdConnectTokenAuthenticationConfigs; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousContainerDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousContainerDatabase.java index d43b49f822..3aa531fbfc 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousContainerDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousContainerDatabase.java @@ -9,11 +9,14 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.Database.AutonomousContainerDatabaseArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseState; +import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseAssociatedBackupConfigurationDetail; import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseBackupConfig; +import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseBackupDestinationPropertiesList; import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseKeyHistoryEntry; import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseMaintenanceWindow; import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseMaintenanceWindowDetails; import com.pulumi.oci.Database.outputs.AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig; +import com.pulumi.oci.Database.outputs.AutonomousContainerDatabaseRecoveryApplianceDetail; import com.pulumi.oci.Utilities; import java.lang.Boolean; import java.lang.Double; @@ -147,6 +150,20 @@ */ @ResourceType(type="oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase") public class AutonomousContainerDatabase extends com.pulumi.resources.CustomResource { + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + @Export(name="associatedBackupConfigurationDetails", refs={List.class,AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.class}, tree="[0,1]") + private Output> associatedBackupConfigurationDetails; + + /** + * @return A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + public Output> associatedBackupConfigurationDetails() { + return this.associatedBackupConfigurationDetails; + } /** * **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. * @@ -217,6 +234,20 @@ public Output availableCpus() { public Output backupConfig() { return this.backupConfig; } + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + @Export(name="backupDestinationPropertiesLists", refs={List.class,AutonomousContainerDatabaseBackupDestinationPropertiesList.class}, tree="[0,1]") + private Output> backupDestinationPropertiesLists; + + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + public Output> backupDestinationPropertiesLists() { + return this.backupDestinationPropertiesLists; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. * @@ -783,6 +814,7 @@ public Output> provisionableCpuses() { } /** * The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * */ @Export(name="provisionedCpus", refs={Double.class}, tree="[0]") @@ -790,6 +822,7 @@ public Output> provisionableCpuses() { /** * @return The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * */ public Output provisionedCpus() { @@ -799,6 +832,7 @@ public Output provisionedCpus() { * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * */ @Export(name="reclaimableCpus", refs={Double.class}, tree="[0]") @@ -808,11 +842,26 @@ public Output provisionedCpus() { * @return For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * */ public Output reclaimableCpus() { return this.reclaimableCpus; } + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + @Export(name="recoveryApplianceDetails", refs={List.class,AutonomousContainerDatabaseRecoveryApplianceDetail.class}, tree="[0,1]") + private Output> recoveryApplianceDetails; + + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + public Output> recoveryApplianceDetails() { + return this.recoveryApplianceDetails; + } /** * The number of CPUs reserved in an Autonomous Container Database. * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. 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 d563eb3af3..e855ae7639 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 @@ -274,6 +274,7 @@ public Output byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ @@ -285,14 +286,30 @@ public Output byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ public Output characterSet() { return this.characterSet; } + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + @Export(name="cloneTableSpaceLists", refs={List.class,Integer.class}, tree="[0,1]") + private Output> cloneTableSpaceLists; + + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + public Output> cloneTableSpaceLists() { + return this.cloneTableSpaceLists; + } /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -302,6 +319,7 @@ public Output characterSet() { /** * @return The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -1164,28 +1182,28 @@ public Output localAdgAutoFailoverMaxDataLossLimit() { return this.localAdgAutoFailoverMaxDataLossLimit; } /** - * Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * 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. * */ @Export(name="localDisasterRecoveryType", refs={String.class}, tree="[0]") private Output localDisasterRecoveryType; /** - * @return Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * @return 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. * */ public Output localDisasterRecoveryType() { return this.localDisasterRecoveryType; } /** - * Autonomous Data Guard local (same region) standby database details. + * Autonomous Data Guard standby database details. * */ @Export(name="localStandbyDbs", refs={List.class,AutonomousDatabaseLocalStandbyDb.class}, tree="[0,1]") private Output> localStandbyDbs; /** - * @return Autonomous Data Guard local (same region) standby database details. + * @return Autonomous Data Guard standby database details. * */ public Output> localStandbyDbs() { @@ -1205,6 +1223,20 @@ public Output> localStandbyDbs() { public Output> longTermBackupSchedules() { return this.longTermBackupSchedules; } + /** + * The component chosen for maintenance. + * + */ + @Export(name="maintenanceTargetComponent", refs={String.class}, tree="[0]") + private Output maintenanceTargetComponent; + + /** + * @return The component chosen for maintenance. + * + */ + public Output maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java index d732b8dac2..22b5c88657 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java @@ -174,6 +174,7 @@ public Optional> byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ @@ -185,6 +186,7 @@ public Optional> byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ @@ -192,8 +194,24 @@ public Optional> characterSet() { return Optional.ofNullable(this.characterSet); } + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + @Import(name="cloneTableSpaceLists") + private @Nullable Output> cloneTableSpaceLists; + + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + public Optional>> cloneTableSpaceLists() { + return Optional.ofNullable(this.cloneTableSpaceLists); + } + /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -203,6 +221,7 @@ public Optional> characterSet() { /** * @return The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -1462,6 +1481,7 @@ private AutonomousDatabaseArgs(AutonomousDatabaseArgs $) { this.backupRetentionPeriodInDays = $.backupRetentionPeriodInDays; this.byolComputeCountLimit = $.byolComputeCountLimit; this.characterSet = $.characterSet; + this.cloneTableSpaceLists = $.cloneTableSpaceLists; this.cloneType = $.cloneType; this.compartmentId = $.compartmentId; this.computeCount = $.computeCount; @@ -1759,6 +1779,7 @@ public Builder byolComputeCountLimit(Double byolComputeCountLimit) { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * * @return builder @@ -1774,6 +1795,7 @@ public Builder characterSet(@Nullable Output characterSet) { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * * @return builder @@ -1783,8 +1805,40 @@ public Builder characterSet(String characterSet) { return characterSet(Output.of(characterSet)); } + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(@Nullable Output> cloneTableSpaceLists) { + $.cloneTableSpaceLists = cloneTableSpaceLists; + return this; + } + + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(List cloneTableSpaceLists) { + return cloneTableSpaceLists(Output.of(cloneTableSpaceLists)); + } + + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(Integer... cloneTableSpaceLists) { + return cloneTableSpaceLists(List.of(cloneTableSpaceLists)); + } + /** * @param cloneType The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -1798,6 +1852,7 @@ public Builder cloneType(@Nullable Output cloneType) { /** * @param cloneType The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/BackupDestination.java b/sdk/java/src/main/java/com/pulumi/oci/Database/BackupDestination.java index f73159713b..fe438c0f1d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/BackupDestination.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/BackupDestination.java @@ -12,6 +12,7 @@ import com.pulumi.oci.Database.outputs.BackupDestinationAssociatedDatabase; import com.pulumi.oci.Database.outputs.BackupDestinationMountTypeDetails; import com.pulumi.oci.Utilities; +import java.lang.Integer; import java.lang.String; import java.util.List; import java.util.Map; @@ -269,6 +270,20 @@ public Output> nfsServers() { public Output state() { return this.state; } + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + @Export(name="timeAtWhichStorageDetailsAreUpdated", refs={String.class}, tree="[0]") + private Output timeAtWhichStorageDetailsAreUpdated; + + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + public Output timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } /** * The date and time the backup destination was created. * @@ -283,6 +298,20 @@ public Output state() { public Output timeCreated() { return this.timeCreated; } + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + @Export(name="totalStorageSizeInGbs", refs={Integer.class}, tree="[0]") + private Output totalStorageSizeInGbs; + + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + public Output totalStorageSizeInGbs() { + return this.totalStorageSizeInGbs; + } /** * Type of the backup destination. * @@ -297,6 +326,20 @@ public Output timeCreated() { public Output type() { return this.type; } + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + @Export(name="utilizedStorageSizeInGbs", refs={Integer.class}, tree="[0]") + private Output utilizedStorageSizeInGbs; + + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + public Output utilizedStorageSizeInGbs() { + return this.utilizedStorageSizeInGbs; + } /** * (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * 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 a52dfdc61f..139f06de4a 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 @@ -92,6 +92,7 @@ * .peerSidPrefix(dataGuardAssociationPeerSidPrefix) * .peerVmClusterId(testVmCluster.id()) * .privateIp(dataGuardAssociationPrivateIp) + * .privateIpV6(dataGuardAssociationPrivateIpV6) * .shape(dataGuardAssociationShape) * .storageVolumePerformanceMode(dataGuardAssociationStorageVolumePerformanceMode) * .subnetId(testSubnet.id()) @@ -639,6 +640,20 @@ public Output peerVmClusterId() { public Output> privateIp() { return Codegen.optional(this.privateIp); } + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + @Export(name="privateIpV6", refs={String.class}, tree="[0]") + private Output privateIpV6; + + /** + * @return The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + public Output privateIpV6() { + return this.privateIpV6; + } /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * 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 f7945c3b51..0962467c21 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 @@ -495,6 +495,21 @@ public Optional> privateIp() { return Optional.ofNullable(this.privateIp); } + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + @Import(name="privateIpV6") + private @Nullable Output privateIpV6; + + /** + * @return The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + public Optional> privateIpV6() { + return Optional.ofNullable(this.privateIpV6); + } + /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -646,6 +661,7 @@ private DataGuardAssociationArgs(DataGuardAssociationArgs $) { this.peerSidPrefix = $.peerSidPrefix; this.peerVmClusterId = $.peerVmClusterId; this.privateIp = $.privateIp; + this.privateIpV6 = $.privateIpV6; this.protectionMode = $.protectionMode; this.shape = $.shape; this.storageVolumePerformanceMode = $.storageVolumePerformanceMode; @@ -1357,6 +1373,27 @@ public Builder privateIp(String privateIp) { return privateIp(Output.of(privateIp)); } + /** + * @param privateIpV6 The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(@Nullable Output privateIpV6) { + $.privateIpV6 = privateIpV6; + return this; + } + + /** + * @param privateIpV6 The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(String privateIpV6) { + return privateIpV6(Output.of(privateIpV6)); + } + /** * @param protectionMode (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * 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 1a4c1e7619..31b355ab29 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 @@ -5701,19 +5701,6 @@ 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. * * Gets a list of Autonomous Databases based on the query parameters specified. @@ -5770,19 +5757,6 @@ 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. * * Gets a list of Autonomous Databases based on the query parameters specified. @@ -5839,19 +5813,6 @@ 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. * * Gets a list of Autonomous Databases based on the query parameters specified. @@ -5908,19 +5869,6 @@ 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. * * Gets a list of Autonomous Databases based on the query parameters specified. @@ -5977,19 +5925,6 @@ 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. * * Gets a list of Autonomous Databases based on the query parameters specified. @@ -27253,6 +27188,7 @@ public static CompletableFuture getMaintenanceRunPlain( * final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder() * .compartmentId(compartmentId) * .availabilityDomain(maintenanceRunAvailabilityDomain) + * .isLocalAdg(maintenanceRunIsLocalAdg) * .maintenanceSubtype(maintenanceRunMaintenanceSubtype) * .maintenanceType(maintenanceRunMaintenanceType) * .state(maintenanceRunState) @@ -27303,6 +27239,7 @@ public static Output getMaintenanceRuns(GetMaintenance * final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder() * .compartmentId(compartmentId) * .availabilityDomain(maintenanceRunAvailabilityDomain) + * .isLocalAdg(maintenanceRunIsLocalAdg) * .maintenanceSubtype(maintenanceRunMaintenanceSubtype) * .maintenanceType(maintenanceRunMaintenanceType) * .state(maintenanceRunState) @@ -27353,6 +27290,7 @@ public static CompletableFuture getMaintenanceRunsPlai * final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder() * .compartmentId(compartmentId) * .availabilityDomain(maintenanceRunAvailabilityDomain) + * .isLocalAdg(maintenanceRunIsLocalAdg) * .maintenanceSubtype(maintenanceRunMaintenanceSubtype) * .maintenanceType(maintenanceRunMaintenanceType) * .state(maintenanceRunState) @@ -27403,6 +27341,7 @@ public static Output getMaintenanceRuns(GetMaintenance * final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder() * .compartmentId(compartmentId) * .availabilityDomain(maintenanceRunAvailabilityDomain) + * .isLocalAdg(maintenanceRunIsLocalAdg) * .maintenanceSubtype(maintenanceRunMaintenanceSubtype) * .maintenanceType(maintenanceRunMaintenanceType) * .state(maintenanceRunState) @@ -27453,6 +27392,7 @@ public static Output getMaintenanceRuns(GetMaintenance * final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder() * .compartmentId(compartmentId) * .availabilityDomain(maintenanceRunAvailabilityDomain) + * .isLocalAdg(maintenanceRunIsLocalAdg) * .maintenanceSubtype(maintenanceRunMaintenanceSubtype) * .maintenanceType(maintenanceRunMaintenanceType) * .state(maintenanceRunState) diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystem.java b/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystem.java index 83a6f8612d..3a26fbe1b0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystem.java @@ -642,6 +642,20 @@ public Output pointInTimeDataDiskCloneTimestamp() { public Output privateIp() { return this.privateIp; } + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + @Export(name="privateIpV6", refs={String.class}, tree="[0]") + private Output privateIpV6; + + /** + * @return A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + public Output privateIpV6() { + return this.privateIpV6; + } /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -685,19 +699,33 @@ public Output scanDnsRecordId() { return this.scanDnsRecordId; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ @Export(name="scanIpIds", refs={List.class,String.class}, tree="[0,1]") private Output> scanIpIds; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ public Output> scanIpIds() { return this.scanIpIds; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + @Export(name="scanIpv6ids", refs={List.class,String.class}, tree="[0,1]") + private Output> scanIpv6ids; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + public Output> scanIpv6ids() { + return this.scanIpv6ids; + } /** * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` * @@ -893,19 +921,33 @@ public Output version() { return this.version; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ @Export(name="vipIds", refs={List.class,String.class}, tree="[0,1]") private Output> vipIds; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ public Output> vipIds() { return this.vipIds; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + @Export(name="vipv6ids", refs={List.class,String.class}, tree="[0,1]") + private Output> vipv6ids; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + public Output> vipv6ids() { + return this.vipv6ids; + } /** * The OCID of the zone the DB system is associated with. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystemArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystemArgs.java index 91d0a15064..41efe0f707 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystemArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/DbSystemArgs.java @@ -472,6 +472,21 @@ public Optional> privateIp() { return Optional.ofNullable(this.privateIp); } + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + @Import(name="privateIpV6") + private @Nullable Output privateIpV6; + + /** + * @return A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + public Optional> privateIpV6() { + return Optional.ofNullable(this.privateIpV6); + } + /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -677,6 +692,7 @@ private DbSystemArgs(DbSystemArgs $) { this.nodeCount = $.nodeCount; this.nsgIds = $.nsgIds; this.privateIp = $.privateIp; + this.privateIpV6 = $.privateIpV6; this.recoStorageSizeInGb = $.recoStorageSizeInGb; this.securityAttributes = $.securityAttributes; this.shape = $.shape; @@ -1350,6 +1366,27 @@ public Builder privateIp(String privateIp) { return privateIp(Output.of(privateIp)); } + /** + * @param privateIpV6 A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(@Nullable Output privateIpV6) { + $.privateIpV6 = privateIpV6; + return this; + } + + /** + * @param privateIpV6 A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(String privateIpV6) { + return privateIpV6(Output.of(privateIpV6)); + } + /** * @param recoStorageSizeInGb The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.java new file mode 100644 index 0000000000..2d447b6f0a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs.java @@ -0,0 +1,428 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs Empty = new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs(); + + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + @Import(name="backupDestinationAttachHistories") + private @Nullable Output> backupDestinationAttachHistories; + + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public Optional>> backupDestinationAttachHistories() { + return Optional.ofNullable(this.backupDestinationAttachHistories); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + @Import(name="dbrsPolicyId") + private @Nullable Output dbrsPolicyId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + public Optional> dbrsPolicyId() { + return Optional.ofNullable(this.dbrsPolicyId); + } + + /** + * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Proxy URL to connect to object store. + * + */ + @Import(name="internetProxy") + private @Nullable Output internetProxy; + + /** + * @return Proxy URL to connect to object store. + * + */ + public Optional> internetProxy() { + return Optional.ofNullable(this.internetProxy); + } + + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + @Import(name="recoveryWindowInDays") + private @Nullable Output recoveryWindowInDays; + + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Optional> recoveryWindowInDays() { + return Optional.ofNullable(this.recoveryWindowInDays); + } + + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + @Import(name="spaceUtilizedInGbs") + private @Nullable Output spaceUtilizedInGbs; + + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Optional> spaceUtilizedInGbs() { + return Optional.ofNullable(this.spaceUtilizedInGbs); + } + + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + @Import(name="timeAtWhichStorageDetailsAreUpdated") + private @Nullable Output timeAtWhichStorageDetailsAreUpdated; + + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public Optional> timeAtWhichStorageDetailsAreUpdated() { + return Optional.ofNullable(this.timeAtWhichStorageDetailsAreUpdated); + } + + /** + * Type of the database backup destination. + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return Type of the database backup destination. + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + @Import(name="vpcPassword") + private @Nullable Output vpcPassword; + + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + public Optional> vpcPassword() { + return Optional.ofNullable(this.vpcPassword); + } + + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + @Import(name="vpcUser") + private @Nullable Output vpcUser; + + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + public Optional> vpcUser() { + return Optional.ofNullable(this.vpcUser); + } + + private AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs() {} + + private AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs $) { + this.backupDestinationAttachHistories = $.backupDestinationAttachHistories; + this.dbrsPolicyId = $.dbrsPolicyId; + this.id = $.id; + this.internetProxy = $.internetProxy; + this.recoveryWindowInDays = $.recoveryWindowInDays; + this.spaceUtilizedInGbs = $.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = $.timeAtWhichStorageDetailsAreUpdated; + this.type = $.type; + this.vpcPassword = $.vpcPassword; + this.vpcUser = $.vpcUser; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs $; + + public Builder() { + $ = new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs(); + } + + public Builder(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs defaults) { + $ = new AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(@Nullable Output> backupDestinationAttachHistories) { + $.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + return backupDestinationAttachHistories(Output.of(backupDestinationAttachHistories)); + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + + /** + * @param dbrsPolicyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + * @return builder + * + */ + public Builder dbrsPolicyId(@Nullable Output dbrsPolicyId) { + $.dbrsPolicyId = dbrsPolicyId; + return this; + } + + /** + * @param dbrsPolicyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + * @return builder + * + */ + public Builder dbrsPolicyId(String dbrsPolicyId) { + return dbrsPolicyId(Output.of(dbrsPolicyId)); + } + + /** + * @param 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. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param 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. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param internetProxy Proxy URL to connect to object store. + * + * @return builder + * + */ + public Builder internetProxy(@Nullable Output internetProxy) { + $.internetProxy = internetProxy; + return this; + } + + /** + * @param internetProxy Proxy URL to connect to object store. + * + * @return builder + * + */ + public Builder internetProxy(String internetProxy) { + return internetProxy(Output.of(internetProxy)); + } + + /** + * @param recoveryWindowInDays Number of days between the current and earliest point of recoverability covered by automatic backups. + * + * @return builder + * + */ + public Builder recoveryWindowInDays(@Nullable Output recoveryWindowInDays) { + $.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + + /** + * @param recoveryWindowInDays Number of days between the current and earliest point of recoverability covered by automatic backups. + * + * @return builder + * + */ + public Builder recoveryWindowInDays(Integer recoveryWindowInDays) { + return recoveryWindowInDays(Output.of(recoveryWindowInDays)); + } + + /** + * @param spaceUtilizedInGbs The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder spaceUtilizedInGbs(@Nullable Output spaceUtilizedInGbs) { + $.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + + /** + * @param spaceUtilizedInGbs The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + return spaceUtilizedInGbs(Output.of(spaceUtilizedInGbs)); + } + + /** + * @param timeAtWhichStorageDetailsAreUpdated The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(@Nullable Output timeAtWhichStorageDetailsAreUpdated) { + $.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + + /** + * @param timeAtWhichStorageDetailsAreUpdated The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + return timeAtWhichStorageDetailsAreUpdated(Output.of(timeAtWhichStorageDetailsAreUpdated)); + } + + /** + * @param type Type of the database backup destination. + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type Type of the database backup destination. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param vpcPassword For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + * @return builder + * + */ + public Builder vpcPassword(@Nullable Output vpcPassword) { + $.vpcPassword = vpcPassword; + return this; + } + + /** + * @param vpcPassword For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + * @return builder + * + */ + public Builder vpcPassword(String vpcPassword) { + return vpcPassword(Output.of(vpcPassword)); + } + + /** + * @param vpcUser For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + * @return builder + * + */ + public Builder vpcUser(@Nullable Output vpcUser) { + $.vpcUser = vpcUser; + return this; + } + + /** + * @param vpcUser For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + * @return builder + * + */ + public Builder vpcUser(String vpcUser) { + return vpcUser(Output.of(vpcUser)); + } + + public AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.java new file mode 100644 index 0000000000..c6e6ffaa9b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseBackupDestinationPropertiesListArgs.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousContainerDatabaseBackupDestinationPropertiesListArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousContainerDatabaseBackupDestinationPropertiesListArgs Empty = new AutonomousContainerDatabaseBackupDestinationPropertiesListArgs(); + + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + @Import(name="backupDestinationAttachHistories") + private @Nullable Output> backupDestinationAttachHistories; + + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public Optional>> backupDestinationAttachHistories() { + return Optional.ofNullable(this.backupDestinationAttachHistories); + } + + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + @Import(name="spaceUtilizedInGbs") + private @Nullable Output spaceUtilizedInGbs; + + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Optional> spaceUtilizedInGbs() { + return Optional.ofNullable(this.spaceUtilizedInGbs); + } + + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + @Import(name="timeAtWhichStorageDetailsAreUpdated") + private @Nullable Output timeAtWhichStorageDetailsAreUpdated; + + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public Optional> timeAtWhichStorageDetailsAreUpdated() { + return Optional.ofNullable(this.timeAtWhichStorageDetailsAreUpdated); + } + + private AutonomousContainerDatabaseBackupDestinationPropertiesListArgs() {} + + private AutonomousContainerDatabaseBackupDestinationPropertiesListArgs(AutonomousContainerDatabaseBackupDestinationPropertiesListArgs $) { + this.backupDestinationAttachHistories = $.backupDestinationAttachHistories; + this.spaceUtilizedInGbs = $.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = $.timeAtWhichStorageDetailsAreUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousContainerDatabaseBackupDestinationPropertiesListArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousContainerDatabaseBackupDestinationPropertiesListArgs $; + + public Builder() { + $ = new AutonomousContainerDatabaseBackupDestinationPropertiesListArgs(); + } + + public Builder(AutonomousContainerDatabaseBackupDestinationPropertiesListArgs defaults) { + $ = new AutonomousContainerDatabaseBackupDestinationPropertiesListArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(@Nullable Output> backupDestinationAttachHistories) { + $.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + return backupDestinationAttachHistories(Output.of(backupDestinationAttachHistories)); + } + + /** + * @param backupDestinationAttachHistories The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + * @return builder + * + */ + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + + /** + * @param spaceUtilizedInGbs The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder spaceUtilizedInGbs(@Nullable Output spaceUtilizedInGbs) { + $.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + + /** + * @param spaceUtilizedInGbs The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + return spaceUtilizedInGbs(Output.of(spaceUtilizedInGbs)); + } + + /** + * @param timeAtWhichStorageDetailsAreUpdated The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(@Nullable Output timeAtWhichStorageDetailsAreUpdated) { + $.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + + /** + * @param timeAtWhichStorageDetailsAreUpdated The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + return timeAtWhichStorageDetailsAreUpdated(Output.of(timeAtWhichStorageDetailsAreUpdated)); + } + + public AutonomousContainerDatabaseBackupDestinationPropertiesListArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.java new file mode 100644 index 0000000000..ed3db36a2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseRecoveryApplianceDetailArgs.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.Database.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 AutonomousContainerDatabaseRecoveryApplianceDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousContainerDatabaseRecoveryApplianceDetailArgs Empty = new AutonomousContainerDatabaseRecoveryApplianceDetailArgs(); + + /** + * The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + */ + @Import(name="allocatedStorageSizeInGbs") + private @Nullable Output allocatedStorageSizeInGbs; + + /** + * @return The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + */ + public Optional> allocatedStorageSizeInGbs() { + return Optional.ofNullable(this.allocatedStorageSizeInGbs); + } + + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + @Import(name="recoveryWindowInDays") + private @Nullable Output recoveryWindowInDays; + + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Optional> recoveryWindowInDays() { + return Optional.ofNullable(this.recoveryWindowInDays); + } + + /** + * The time when the recovery appliance details are updated. + * === + * + */ + @Import(name="timeRecoveryApplianceDetailsUpdated") + private @Nullable Output timeRecoveryApplianceDetailsUpdated; + + /** + * @return The time when the recovery appliance details are updated. + * === + * + */ + public Optional> timeRecoveryApplianceDetailsUpdated() { + return Optional.ofNullable(this.timeRecoveryApplianceDetailsUpdated); + } + + private AutonomousContainerDatabaseRecoveryApplianceDetailArgs() {} + + private AutonomousContainerDatabaseRecoveryApplianceDetailArgs(AutonomousContainerDatabaseRecoveryApplianceDetailArgs $) { + this.allocatedStorageSizeInGbs = $.allocatedStorageSizeInGbs; + this.recoveryWindowInDays = $.recoveryWindowInDays; + this.timeRecoveryApplianceDetailsUpdated = $.timeRecoveryApplianceDetailsUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousContainerDatabaseRecoveryApplianceDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousContainerDatabaseRecoveryApplianceDetailArgs $; + + public Builder() { + $ = new AutonomousContainerDatabaseRecoveryApplianceDetailArgs(); + } + + public Builder(AutonomousContainerDatabaseRecoveryApplianceDetailArgs defaults) { + $ = new AutonomousContainerDatabaseRecoveryApplianceDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param allocatedStorageSizeInGbs The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder allocatedStorageSizeInGbs(@Nullable Output allocatedStorageSizeInGbs) { + $.allocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + return this; + } + + /** + * @param allocatedStorageSizeInGbs The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder allocatedStorageSizeInGbs(Integer allocatedStorageSizeInGbs) { + return allocatedStorageSizeInGbs(Output.of(allocatedStorageSizeInGbs)); + } + + /** + * @param recoveryWindowInDays Number of days between the current and earliest point of recoverability covered by automatic backups. + * + * @return builder + * + */ + public Builder recoveryWindowInDays(@Nullable Output recoveryWindowInDays) { + $.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + + /** + * @param recoveryWindowInDays Number of days between the current and earliest point of recoverability covered by automatic backups. + * + * @return builder + * + */ + public Builder recoveryWindowInDays(Integer recoveryWindowInDays) { + return recoveryWindowInDays(Output.of(recoveryWindowInDays)); + } + + /** + * @param timeRecoveryApplianceDetailsUpdated The time when the recovery appliance details are updated. + * === + * + * @return builder + * + */ + public Builder timeRecoveryApplianceDetailsUpdated(@Nullable Output timeRecoveryApplianceDetailsUpdated) { + $.timeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + return this; + } + + /** + * @param timeRecoveryApplianceDetailsUpdated The time when the recovery appliance details are updated. + * === + * + * @return builder + * + */ + public Builder timeRecoveryApplianceDetailsUpdated(String timeRecoveryApplianceDetailsUpdated) { + return timeRecoveryApplianceDetailsUpdated(Output.of(timeRecoveryApplianceDetailsUpdated)); + } + + public AutonomousContainerDatabaseRecoveryApplianceDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseState.java index 31d0d6a91e..44f7c3f06b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousContainerDatabaseState.java @@ -5,11 +5,14 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseBackupConfigArgs; +import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseBackupDestinationPropertiesListArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseKeyHistoryEntryArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseMaintenanceWindowArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseMaintenanceWindowDetailsArgs; import com.pulumi.oci.Database.inputs.AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs; +import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseRecoveryApplianceDetailArgs; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -25,6 +28,21 @@ public final class AutonomousContainerDatabaseState extends com.pulumi.resources public static final AutonomousContainerDatabaseState Empty = new AutonomousContainerDatabaseState(); + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + @Import(name="associatedBackupConfigurationDetails") + private @Nullable Output> associatedBackupConfigurationDetails; + + /** + * @return A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + public Optional>> associatedBackupConfigurationDetails() { + return Optional.ofNullable(this.associatedBackupConfigurationDetails); + } + /** * **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. * @@ -100,6 +118,21 @@ public Optional> backupConfi return Optional.ofNullable(this.backupConfig); } + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + @Import(name="backupDestinationPropertiesLists") + private @Nullable Output> backupDestinationPropertiesLists; + + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + public Optional>> backupDestinationPropertiesLists() { + return Optional.ofNullable(this.backupDestinationPropertiesLists); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. * @@ -708,6 +741,7 @@ public Optional>> provisionableCpuses() { /** * The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * */ @Import(name="provisionedCpus") @@ -715,6 +749,7 @@ public Optional>> provisionableCpuses() { /** * @return The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * */ public Optional> provisionedCpus() { @@ -725,6 +760,7 @@ public Optional> provisionedCpus() { * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * */ @Import(name="reclaimableCpus") @@ -734,12 +770,28 @@ public Optional> provisionedCpus() { * @return For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * */ public Optional> reclaimableCpus() { return Optional.ofNullable(this.reclaimableCpus); } + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + @Import(name="recoveryApplianceDetails") + private @Nullable Output> recoveryApplianceDetails; + + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + public Optional>> recoveryApplianceDetails() { + return Optional.ofNullable(this.recoveryApplianceDetails); + } + /** * The number of CPUs reserved in an Autonomous Container Database. * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. @@ -948,11 +1000,13 @@ public Optional> vmFailoverReservation() { private AutonomousContainerDatabaseState() {} private AutonomousContainerDatabaseState(AutonomousContainerDatabaseState $) { + this.associatedBackupConfigurationDetails = $.associatedBackupConfigurationDetails; this.autonomousExadataInfrastructureId = $.autonomousExadataInfrastructureId; this.autonomousVmClusterId = $.autonomousVmClusterId; this.availabilityDomain = $.availabilityDomain; this.availableCpus = $.availableCpus; this.backupConfig = $.backupConfig; + this.backupDestinationPropertiesLists = $.backupDestinationPropertiesLists; this.cloudAutonomousVmClusterId = $.cloudAutonomousVmClusterId; this.compartmentId = $.compartmentId; this.computeModel = $.computeModel; @@ -997,6 +1051,7 @@ private AutonomousContainerDatabaseState(AutonomousContainerDatabaseState $) { this.provisionableCpuses = $.provisionableCpuses; this.provisionedCpus = $.provisionedCpus; this.reclaimableCpus = $.reclaimableCpus; + this.recoveryApplianceDetails = $.recoveryApplianceDetails; this.reservedCpus = $.reservedCpus; this.role = $.role; this.rotateKeyTrigger = $.rotateKeyTrigger; @@ -1030,6 +1085,37 @@ public Builder(AutonomousContainerDatabaseState defaults) { $ = new AutonomousContainerDatabaseState(Objects.requireNonNull(defaults)); } + /** + * @param associatedBackupConfigurationDetails A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + * @return builder + * + */ + public Builder associatedBackupConfigurationDetails(@Nullable Output> associatedBackupConfigurationDetails) { + $.associatedBackupConfigurationDetails = associatedBackupConfigurationDetails; + return this; + } + + /** + * @param associatedBackupConfigurationDetails A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + * @return builder + * + */ + public Builder associatedBackupConfigurationDetails(List associatedBackupConfigurationDetails) { + return associatedBackupConfigurationDetails(Output.of(associatedBackupConfigurationDetails)); + } + + /** + * @param associatedBackupConfigurationDetails A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + * @return builder + * + */ + public Builder associatedBackupConfigurationDetails(AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs... associatedBackupConfigurationDetails) { + return associatedBackupConfigurationDetails(List.of(associatedBackupConfigurationDetails)); + } + /** * @param autonomousExadataInfrastructureId **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. * @@ -1135,6 +1221,37 @@ public Builder backupConfig(AutonomousContainerDatabaseBackupConfigArgs backupCo return backupConfig(Output.of(backupConfig)); } + /** + * @param backupDestinationPropertiesLists This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + * @return builder + * + */ + public Builder backupDestinationPropertiesLists(@Nullable Output> backupDestinationPropertiesLists) { + $.backupDestinationPropertiesLists = backupDestinationPropertiesLists; + return this; + } + + /** + * @param backupDestinationPropertiesLists This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + * @return builder + * + */ + public Builder backupDestinationPropertiesLists(List backupDestinationPropertiesLists) { + return backupDestinationPropertiesLists(Output.of(backupDestinationPropertiesLists)); + } + + /** + * @param backupDestinationPropertiesLists This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + * @return builder + * + */ + public Builder backupDestinationPropertiesLists(AutonomousContainerDatabaseBackupDestinationPropertiesListArgs... backupDestinationPropertiesLists) { + return backupDestinationPropertiesLists(List.of(backupDestinationPropertiesLists)); + } + /** * @param cloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. * @@ -2023,6 +2140,7 @@ public Builder provisionableCpuses(Double... provisionableCpuses) { /** * @param provisionedCpus The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * * @return builder * @@ -2034,6 +2152,7 @@ public Builder provisionedCpus(@Nullable Output provisionedCpus) { /** * @param provisionedCpus The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours * * @return builder * @@ -2046,6 +2165,7 @@ public Builder provisionedCpus(Double provisionedCpus) { * @param reclaimableCpus For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * * @return builder * @@ -2059,6 +2179,7 @@ public Builder reclaimableCpus(@Nullable Output reclaimableCpus) { * @param reclaimableCpus For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * > > > > > > > theirs * * @return builder * @@ -2067,6 +2188,37 @@ public Builder reclaimableCpus(Double reclaimableCpus) { return reclaimableCpus(Output.of(reclaimableCpus)); } + /** + * @param recoveryApplianceDetails Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + * @return builder + * + */ + public Builder recoveryApplianceDetails(@Nullable Output> recoveryApplianceDetails) { + $.recoveryApplianceDetails = recoveryApplianceDetails; + return this; + } + + /** + * @param recoveryApplianceDetails Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + * @return builder + * + */ + public Builder recoveryApplianceDetails(List recoveryApplianceDetails) { + return recoveryApplianceDetails(Output.of(recoveryApplianceDetails)); + } + + /** + * @param recoveryApplianceDetails Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + * @return builder + * + */ + public Builder recoveryApplianceDetails(AutonomousContainerDatabaseRecoveryApplianceDetailArgs... recoveryApplianceDetails) { + return recoveryApplianceDetails(List.of(recoveryApplianceDetails)); + } + /** * @param reservedCpus The number of CPUs reserved in an Autonomous Container Database. * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. 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 632448c191..6f2403f363 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 @@ -61,6 +61,21 @@ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * The component chosen for maintenance. + * + */ + @Import(name="maintenanceTargetComponent") + private @Nullable Output maintenanceTargetComponent; + + /** + * @return The component chosen for maintenance. + * + */ + public Optional> maintenanceTargetComponent() { + return Optional.ofNullable(this.maintenanceTargetComponent); + } + /** * The current state of the Autonomous Database. * @@ -106,15 +121,48 @@ public Optional> timeDisasterRecoveryRoleChanged() { return Optional.ofNullable(this.timeDisasterRecoveryRoleChanged); } + /** + * The date and time when maintenance will begin. + * + */ + @Import(name="timeMaintenanceBegin") + private @Nullable Output timeMaintenanceBegin; + + /** + * @return The date and time when maintenance will begin. + * + */ + public Optional> timeMaintenanceBegin() { + return Optional.ofNullable(this.timeMaintenanceBegin); + } + + /** + * The date and time when maintenance will end. + * + */ + @Import(name="timeMaintenanceEnd") + private @Nullable Output timeMaintenanceEnd; + + /** + * @return The date and time when maintenance will end. + * + */ + public Optional> timeMaintenanceEnd() { + return Optional.ofNullable(this.timeMaintenanceEnd); + } + private AutonomousDatabaseLocalStandbyDbArgs() {} private AutonomousDatabaseLocalStandbyDbArgs(AutonomousDatabaseLocalStandbyDbArgs $) { this.availabilityDomain = $.availabilityDomain; this.lagTimeInSeconds = $.lagTimeInSeconds; this.lifecycleDetails = $.lifecycleDetails; + this.maintenanceTargetComponent = $.maintenanceTargetComponent; this.state = $.state; this.timeDataGuardRoleChanged = $.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = $.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = $.timeMaintenanceBegin; + this.timeMaintenanceEnd = $.timeMaintenanceEnd; } public static Builder builder() { @@ -198,6 +246,27 @@ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(@Nullable Output maintenanceTargetComponent) { + $.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + return maintenanceTargetComponent(Output.of(maintenanceTargetComponent)); + } + /** * @param state The current state of the Autonomous Database. * @@ -261,6 +330,48 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh return timeDisasterRecoveryRoleChanged(Output.of(timeDisasterRecoveryRoleChanged)); } + /** + * @param timeMaintenanceBegin The date and time when maintenance will begin. + * + * @return builder + * + */ + public Builder timeMaintenanceBegin(@Nullable Output timeMaintenanceBegin) { + $.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + + /** + * @param timeMaintenanceBegin The date and time when maintenance will begin. + * + * @return builder + * + */ + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + return timeMaintenanceBegin(Output.of(timeMaintenanceBegin)); + } + + /** + * @param timeMaintenanceEnd The date and time when maintenance will end. + * + * @return builder + * + */ + public Builder timeMaintenanceEnd(@Nullable Output timeMaintenanceEnd) { + $.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } + + /** + * @param timeMaintenanceEnd The date and time when maintenance will end. + * + * @return builder + * + */ + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + return timeMaintenanceEnd(Output.of(timeMaintenanceEnd)); + } + public AutonomousDatabaseLocalStandbyDbArgs build() { return $; } 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 8415a8b9f0..b6c97f6a40 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 @@ -61,6 +61,21 @@ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * The component chosen for maintenance. + * + */ + @Import(name="maintenanceTargetComponent") + private @Nullable Output maintenanceTargetComponent; + + /** + * @return The component chosen for maintenance. + * + */ + public Optional> maintenanceTargetComponent() { + return Optional.ofNullable(this.maintenanceTargetComponent); + } + /** * The current state of the Autonomous Database. * @@ -106,15 +121,48 @@ public Optional> timeDisasterRecoveryRoleChanged() { return Optional.ofNullable(this.timeDisasterRecoveryRoleChanged); } + /** + * The date and time when maintenance will begin. + * + */ + @Import(name="timeMaintenanceBegin") + private @Nullable Output timeMaintenanceBegin; + + /** + * @return The date and time when maintenance will begin. + * + */ + public Optional> timeMaintenanceBegin() { + return Optional.ofNullable(this.timeMaintenanceBegin); + } + + /** + * The date and time when maintenance will end. + * + */ + @Import(name="timeMaintenanceEnd") + private @Nullable Output timeMaintenanceEnd; + + /** + * @return The date and time when maintenance will end. + * + */ + public Optional> timeMaintenanceEnd() { + return Optional.ofNullable(this.timeMaintenanceEnd); + } + private AutonomousDatabaseStandbyDbArgs() {} private AutonomousDatabaseStandbyDbArgs(AutonomousDatabaseStandbyDbArgs $) { this.availabilityDomain = $.availabilityDomain; this.lagTimeInSeconds = $.lagTimeInSeconds; this.lifecycleDetails = $.lifecycleDetails; + this.maintenanceTargetComponent = $.maintenanceTargetComponent; this.state = $.state; this.timeDataGuardRoleChanged = $.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = $.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = $.timeMaintenanceBegin; + this.timeMaintenanceEnd = $.timeMaintenanceEnd; } public static Builder builder() { @@ -198,6 +246,27 @@ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(@Nullable Output maintenanceTargetComponent) { + $.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + return maintenanceTargetComponent(Output.of(maintenanceTargetComponent)); + } + /** * @param state The current state of the Autonomous Database. * @@ -261,6 +330,48 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh return timeDisasterRecoveryRoleChanged(Output.of(timeDisasterRecoveryRoleChanged)); } + /** + * @param timeMaintenanceBegin The date and time when maintenance will begin. + * + * @return builder + * + */ + public Builder timeMaintenanceBegin(@Nullable Output timeMaintenanceBegin) { + $.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + + /** + * @param timeMaintenanceBegin The date and time when maintenance will begin. + * + * @return builder + * + */ + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + return timeMaintenanceBegin(Output.of(timeMaintenanceBegin)); + } + + /** + * @param timeMaintenanceEnd The date and time when maintenance will end. + * + * @return builder + * + */ + public Builder timeMaintenanceEnd(@Nullable Output timeMaintenanceEnd) { + $.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } + + /** + * @param timeMaintenanceEnd The date and time when maintenance will end. + * + * @return builder + * + */ + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + return timeMaintenanceEnd(Output.of(timeMaintenanceEnd)); + } + public AutonomousDatabaseStandbyDbArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java index 2830b7039d..f9349db7f8 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 @@ -273,6 +273,7 @@ public Optional> byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ @@ -284,6 +285,7 @@ public Optional> byolComputeCountLimit() { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * */ @@ -291,8 +293,24 @@ public Optional> characterSet() { return Optional.ofNullable(this.characterSet); } + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + @Import(name="cloneTableSpaceLists") + private @Nullable Output> cloneTableSpaceLists; + + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + */ + public Optional>> cloneTableSpaceLists() { + return Optional.ofNullable(this.cloneTableSpaceLists); + } + /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -302,6 +320,7 @@ public Optional> characterSet() { /** * @return The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -1226,14 +1245,14 @@ public Optional> localAdgAutoFailoverMaxDataLossLimit() { } /** - * Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * 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. * */ @Import(name="localDisasterRecoveryType") private @Nullable Output localDisasterRecoveryType; /** - * @return Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * @return 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. * */ public Optional> localDisasterRecoveryType() { @@ -1241,14 +1260,14 @@ public Optional> localDisasterRecoveryType() { } /** - * Autonomous Data Guard local (same region) standby database details. + * Autonomous Data Guard standby database details. * */ @Import(name="localStandbyDbs") private @Nullable Output> localStandbyDbs; /** - * @return Autonomous Data Guard local (same region) standby database details. + * @return Autonomous Data Guard standby database details. * */ public Optional>> localStandbyDbs() { @@ -1270,6 +1289,21 @@ public Optional>> long return Optional.ofNullable(this.longTermBackupSchedules); } + /** + * The component chosen for maintenance. + * + */ + @Import(name="maintenanceTargetComponent") + private @Nullable Output maintenanceTargetComponent; + + /** + * @return The component chosen for maintenance. + * + */ + public Optional> maintenanceTargetComponent() { + return Optional.ofNullable(this.maintenanceTargetComponent); + } + /** * (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -2361,6 +2395,7 @@ private AutonomousDatabaseState(AutonomousDatabaseState $) { this.backupRetentionPeriodInDays = $.backupRetentionPeriodInDays; this.byolComputeCountLimit = $.byolComputeCountLimit; this.characterSet = $.characterSet; + this.cloneTableSpaceLists = $.cloneTableSpaceLists; this.cloneType = $.cloneType; this.clusterPlacementGroupId = $.clusterPlacementGroupId; this.compartmentId = $.compartmentId; @@ -2422,6 +2457,7 @@ private AutonomousDatabaseState(AutonomousDatabaseState $) { this.localDisasterRecoveryType = $.localDisasterRecoveryType; this.localStandbyDbs = $.localStandbyDbs; this.longTermBackupSchedules = $.longTermBackupSchedules; + this.maintenanceTargetComponent = $.maintenanceTargetComponent; this.maxCpuCoreCount = $.maxCpuCoreCount; this.memoryPerOracleComputeUnitInGbs = $.memoryPerOracleComputeUnitInGbs; this.ncharacterSet = $.ncharacterSet; @@ -2868,6 +2904,7 @@ public Builder byolComputeCountLimit(Double byolComputeCountLimit) { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * * @return builder @@ -2883,6 +2920,7 @@ public Builder characterSet(@Nullable Output characterSet) { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS * * @return builder @@ -2892,8 +2930,40 @@ public Builder characterSet(String characterSet) { return characterSet(Output.of(characterSet)); } + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(@Nullable Output> cloneTableSpaceLists) { + $.cloneTableSpaceLists = cloneTableSpaceLists; + return this; + } + + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(List cloneTableSpaceLists) { + return cloneTableSpaceLists(Output.of(cloneTableSpaceLists)); + } + + /** + * @param cloneTableSpaceLists A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * + * @return builder + * + */ + public Builder cloneTableSpaceLists(Integer... cloneTableSpaceLists) { + return cloneTableSpaceLists(List.of(cloneTableSpaceLists)); + } + /** * @param cloneType The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -2907,6 +2977,7 @@ public Builder cloneType(@Nullable Output cloneType) { /** * @param cloneType The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * > > > > > > > theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. * @@ -4237,7 +4308,7 @@ public Builder localAdgAutoFailoverMaxDataLossLimit(Integer localAdgAutoFailover } /** - * @param localDisasterRecoveryType Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * @param localDisasterRecoveryType 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. * * @return builder * @@ -4248,7 +4319,7 @@ public Builder localDisasterRecoveryType(@Nullable Output localDisasterR } /** - * @param localDisasterRecoveryType Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * @param localDisasterRecoveryType 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. * * @return builder * @@ -4258,7 +4329,7 @@ public Builder localDisasterRecoveryType(String localDisasterRecoveryType) { } /** - * @param localStandbyDbs Autonomous Data Guard local (same region) standby database details. + * @param localStandbyDbs Autonomous Data Guard standby database details. * * @return builder * @@ -4269,7 +4340,7 @@ public Builder localStandbyDbs(@Nullable Output localS } /** - * @param localStandbyDbs Autonomous Data Guard local (same region) standby database details. + * @param localStandbyDbs Autonomous Data Guard standby database details. * * @return builder * @@ -4319,6 +4390,27 @@ public Builder longTermBackupSchedules(AutonomousDatabaseLongTermBackupScheduleA return longTermBackupSchedules(List.of(longTermBackupSchedules)); } + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(@Nullable Output maintenanceTargetComponent) { + $.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + + /** + * @param maintenanceTargetComponent The component chosen for maintenance. + * + * @return builder + * + */ + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + return maintenanceTargetComponent(Output.of(maintenanceTargetComponent)); + } + /** * @param maxCpuCoreCount (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/BackupDestinationState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/BackupDestinationState.java index 9b04fbe77c..8d665766f6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/BackupDestinationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/BackupDestinationState.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.Database.inputs.BackupDestinationAssociatedDatabaseArgs; import com.pulumi.oci.Database.inputs.BackupDestinationMountTypeDetailsArgs; +import java.lang.Integer; import java.lang.String; import java.util.List; import java.util.Map; @@ -222,6 +223,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + @Import(name="timeAtWhichStorageDetailsAreUpdated") + private @Nullable Output timeAtWhichStorageDetailsAreUpdated; + + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + public Optional> timeAtWhichStorageDetailsAreUpdated() { + return Optional.ofNullable(this.timeAtWhichStorageDetailsAreUpdated); + } + /** * The date and time the backup destination was created. * @@ -237,6 +253,21 @@ public Optional> timeCreated() { return Optional.ofNullable(this.timeCreated); } + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + @Import(name="totalStorageSizeInGbs") + private @Nullable Output totalStorageSizeInGbs; + + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + public Optional> totalStorageSizeInGbs() { + return Optional.ofNullable(this.totalStorageSizeInGbs); + } + /** * Type of the backup destination. * @@ -252,6 +283,21 @@ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + @Import(name="utilizedStorageSizeInGbs") + private @Nullable Output utilizedStorageSizeInGbs; + + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + public Optional> utilizedStorageSizeInGbs() { + return Optional.ofNullable(this.utilizedStorageSizeInGbs); + } + /** * (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -289,8 +335,11 @@ private BackupDestinationState(BackupDestinationState $) { this.nfsServerExport = $.nfsServerExport; this.nfsServers = $.nfsServers; this.state = $.state; + this.timeAtWhichStorageDetailsAreUpdated = $.timeAtWhichStorageDetailsAreUpdated; this.timeCreated = $.timeCreated; + this.totalStorageSizeInGbs = $.totalStorageSizeInGbs; this.type = $.type; + this.utilizedStorageSizeInGbs = $.utilizedStorageSizeInGbs; this.vpcUsers = $.vpcUsers; } @@ -613,6 +662,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param timeAtWhichStorageDetailsAreUpdated The time when the total storage size and the utilized storage size of the backup destination are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(@Nullable Output timeAtWhichStorageDetailsAreUpdated) { + $.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + + /** + * @param timeAtWhichStorageDetailsAreUpdated The time when the total storage size and the utilized storage size of the backup destination are updated. + * + * @return builder + * + */ + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + return timeAtWhichStorageDetailsAreUpdated(Output.of(timeAtWhichStorageDetailsAreUpdated)); + } + /** * @param timeCreated The date and time the backup destination was created. * @@ -634,6 +704,27 @@ public Builder timeCreated(String timeCreated) { return timeCreated(Output.of(timeCreated)); } + /** + * @param totalStorageSizeInGbs The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder totalStorageSizeInGbs(@Nullable Output totalStorageSizeInGbs) { + $.totalStorageSizeInGbs = totalStorageSizeInGbs; + return this; + } + + /** + * @param totalStorageSizeInGbs The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + * @return builder + * + */ + public Builder totalStorageSizeInGbs(Integer totalStorageSizeInGbs) { + return totalStorageSizeInGbs(Output.of(totalStorageSizeInGbs)); + } + /** * @param type Type of the backup destination. * @@ -655,6 +746,27 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param utilizedStorageSizeInGbs The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + * @return builder + * + */ + public Builder utilizedStorageSizeInGbs(@Nullable Output utilizedStorageSizeInGbs) { + $.utilizedStorageSizeInGbs = utilizedStorageSizeInGbs; + return this; + } + + /** + * @param utilizedStorageSizeInGbs The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + * @return builder + * + */ + public Builder utilizedStorageSizeInGbs(Integer utilizedStorageSizeInGbs) { + return utilizedStorageSizeInGbs(Output.of(utilizedStorageSizeInGbs)); + } + /** * @param vpcUsers (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * 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 d2b26f6b7e..be776887c1 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 @@ -584,6 +584,21 @@ public Optional> privateIp() { return Optional.ofNullable(this.privateIp); } + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + @Import(name="privateIpV6") + private @Nullable Output privateIpV6; + + /** + * @return The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + */ + public Optional> privateIpV6() { + return Optional.ofNullable(this.privateIpV6); + } + /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -786,6 +801,7 @@ private DataGuardAssociationState(DataGuardAssociationState $) { this.peerSidPrefix = $.peerSidPrefix; this.peerVmClusterId = $.peerVmClusterId; this.privateIp = $.privateIp; + this.privateIpV6 = $.privateIpV6; this.protectionMode = $.protectionMode; this.role = $.role; this.shape = $.shape; @@ -1626,6 +1642,27 @@ public Builder privateIp(String privateIp) { return privateIp(Output.of(privateIp)); } + /** + * @param privateIpV6 The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(@Nullable Output privateIpV6) { + $.privateIpV6 = privateIpV6; + return this; + } + + /** + * @param privateIpV6 The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(String privateIpV6) { + return privateIpV6(Output.of(privateIpV6)); + } + /** * @param protectionMode (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DbSystemState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DbSystemState.java index 5732b8896a..df1b296295 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DbSystemState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DbSystemState.java @@ -623,6 +623,21 @@ public Optional> privateIp() { return Optional.ofNullable(this.privateIp); } + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + @Import(name="privateIpV6") + private @Nullable Output privateIpV6; + + /** + * @return A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + */ + public Optional> privateIpV6() { + return Optional.ofNullable(this.privateIpV6); + } + /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -669,20 +684,35 @@ public Optional> scanDnsRecordId() { } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ @Import(name="scanIpIds") private @Nullable Output> scanIpIds; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ public Optional>> scanIpIds() { return Optional.ofNullable(this.scanIpIds); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + @Import(name="scanIpv6ids") + private @Nullable Output> scanIpv6ids; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + public Optional>> scanIpv6ids() { + return Optional.ofNullable(this.scanIpv6ids); + } + /** * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` * @@ -890,20 +920,35 @@ public Optional> version() { } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ @Import(name="vipIds") private @Nullable Output> vipIds; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ public Optional>> vipIds() { return Optional.ofNullable(this.vipIds); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + @Import(name="vipv6ids") + private @Nullable Output> vipv6ids; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + public Optional>> vipv6ids() { + return Optional.ofNullable(this.vipv6ids); + } + /** * The OCID of the zone the DB system is associated with. * @@ -958,10 +1003,12 @@ private DbSystemState(DbSystemState $) { this.osVersion = $.osVersion; this.pointInTimeDataDiskCloneTimestamp = $.pointInTimeDataDiskCloneTimestamp; this.privateIp = $.privateIp; + this.privateIpV6 = $.privateIpV6; this.recoStorageSizeInGb = $.recoStorageSizeInGb; this.scanDnsName = $.scanDnsName; this.scanDnsRecordId = $.scanDnsRecordId; this.scanIpIds = $.scanIpIds; + this.scanIpv6ids = $.scanIpv6ids; this.securityAttributes = $.securityAttributes; this.shape = $.shape; this.source = $.source; @@ -975,6 +1022,7 @@ private DbSystemState(DbSystemState $) { this.timeZone = $.timeZone; this.version = $.version; this.vipIds = $.vipIds; + this.vipv6ids = $.vipv6ids; this.zoneId = $.zoneId; } @@ -1869,6 +1917,27 @@ public Builder privateIp(String privateIp) { return privateIp(Output.of(privateIp)); } + /** + * @param privateIpV6 A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(@Nullable Output privateIpV6) { + $.privateIpV6 = privateIpV6; + return this; + } + + /** + * @param privateIpV6 A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + * + * @return builder + * + */ + public Builder privateIpV6(String privateIpV6) { + return privateIpV6(Output.of(privateIpV6)); + } + /** * @param recoStorageSizeInGb The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -1933,7 +2002,7 @@ public Builder scanDnsRecordId(String scanDnsRecordId) { } /** - * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * * @return builder * @@ -1944,7 +2013,7 @@ public Builder scanIpIds(@Nullable Output> scanIpIds) { } /** - * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * * @return builder * @@ -1954,7 +2023,7 @@ public Builder scanIpIds(List scanIpIds) { } /** - * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @param scanIpIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * * @return builder * @@ -1963,6 +2032,37 @@ public Builder scanIpIds(String... scanIpIds) { return scanIpIds(List.of(scanIpIds)); } + /** + * @param scanIpv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + * @return builder + * + */ + public Builder scanIpv6ids(@Nullable Output> scanIpv6ids) { + $.scanIpv6ids = scanIpv6ids; + return this; + } + + /** + * @param scanIpv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + * @return builder + * + */ + public Builder scanIpv6ids(List scanIpv6ids) { + return scanIpv6ids(Output.of(scanIpv6ids)); + } + + /** + * @param scanIpv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + * @return builder + * + */ + public Builder scanIpv6ids(String... scanIpv6ids) { + return scanIpv6ids(List.of(scanIpv6ids)); + } + /** * @param securityAttributes (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` * @@ -2252,7 +2352,7 @@ public Builder version(String version) { } /** - * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * * @return builder * @@ -2263,7 +2363,7 @@ public Builder vipIds(@Nullable Output> vipIds) { } /** - * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * * @return builder * @@ -2273,7 +2373,7 @@ public Builder vipIds(List vipIds) { } /** - * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @param vipIds The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * * @return builder * @@ -2282,6 +2382,37 @@ public Builder vipIds(String... vipIds) { return vipIds(List.of(vipIds)); } + /** + * @param vipv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + * @return builder + * + */ + public Builder vipv6ids(@Nullable Output> vipv6ids) { + $.vipv6ids = vipv6ids; + return this; + } + + /** + * @param vipv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + * @return builder + * + */ + public Builder vipv6ids(List vipv6ids) { + return vipv6ids(Output.of(vipv6ids)); + } + + /** + * @param vipv6ids The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + * @return builder + * + */ + public Builder vipv6ids(String... vipv6ids) { + return vipv6ids(List.of(vipv6ids)); + } + /** * @param zoneId The OCID of the zone the DB system is associated with. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsArgs.java index 95ec88983b..3c1fdc5837 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Database.inputs.GetMaintenanceRunsFilterArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -55,6 +56,21 @@ public Optional>> filters() { return Optional.ofNullable(this.filters); } + /** + * A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + */ + @Import(name="isLocalAdg") + private @Nullable Output isLocalAdg; + + /** + * @return A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + */ + public Optional> isLocalAdg() { + return Optional.ofNullable(this.isLocalAdg); + } + /** * The sub-type of the maintenance run. * @@ -136,6 +152,7 @@ private GetMaintenanceRunsArgs(GetMaintenanceRunsArgs $) { this.availabilityDomain = $.availabilityDomain; this.compartmentId = $.compartmentId; this.filters = $.filters; + this.isLocalAdg = $.isLocalAdg; this.maintenanceSubtype = $.maintenanceSubtype; this.maintenanceType = $.maintenanceType; this.state = $.state; @@ -216,6 +233,27 @@ public Builder filters(GetMaintenanceRunsFilterArgs... filters) { return filters(List.of(filters)); } + /** + * @param isLocalAdg A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + * @return builder + * + */ + public Builder isLocalAdg(@Nullable Output isLocalAdg) { + $.isLocalAdg = isLocalAdg; + return this; + } + + /** + * @param isLocalAdg A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + * @return builder + * + */ + public Builder isLocalAdg(Boolean isLocalAdg) { + return isLocalAdg(Output.of(isLocalAdg)); + } + /** * @param maintenanceSubtype The sub-type of the maintenance run. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsPlainArgs.java index d4e6d1bb41..0bce47278e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetMaintenanceRunsPlainArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Database.inputs.GetMaintenanceRunsFilter; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -54,6 +55,21 @@ public Optional> filters() { return Optional.ofNullable(this.filters); } + /** + * A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + */ + @Import(name="isLocalAdg") + private @Nullable Boolean isLocalAdg; + + /** + * @return A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + */ + public Optional isLocalAdg() { + return Optional.ofNullable(this.isLocalAdg); + } + /** * The sub-type of the maintenance run. * @@ -135,6 +151,7 @@ private GetMaintenanceRunsPlainArgs(GetMaintenanceRunsPlainArgs $) { this.availabilityDomain = $.availabilityDomain; this.compartmentId = $.compartmentId; this.filters = $.filters; + this.isLocalAdg = $.isLocalAdg; this.maintenanceSubtype = $.maintenanceSubtype; this.maintenanceType = $.maintenanceType; this.state = $.state; @@ -191,6 +208,17 @@ public Builder filters(GetMaintenanceRunsFilter... filters) { return filters(List.of(filters)); } + /** + * @param isLocalAdg A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + * + * @return builder + * + */ + public Builder isLocalAdg(@Nullable Boolean isLocalAdg) { + $.isLocalAdg = isLocalAdg; + return this; + } + /** * @param maintenanceSubtype The sub-type of the maintenance run. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java new file mode 100644 index 0000000000..b54fdde54b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java @@ -0,0 +1,251 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + private @Nullable List backupDestinationAttachHistories; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + private @Nullable String dbrsPolicyId; + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + private @Nullable String id; + /** + * @return Proxy URL to connect to object store. + * + */ + private @Nullable String internetProxy; + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + private @Nullable Integer recoveryWindowInDays; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private @Nullable Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private @Nullable String timeAtWhichStorageDetailsAreUpdated; + /** + * @return Type of the database backup destination. + * + */ + private @Nullable String type; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + private @Nullable String vpcPassword; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + private @Nullable String vpcUser; + + private AutonomousContainerDatabaseAssociatedBackupConfigurationDetail() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories == null ? List.of() : this.backupDestinationAttachHistories; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + public Optional dbrsPolicyId() { + return Optional.ofNullable(this.dbrsPolicyId); + } + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Proxy URL to connect to object store. + * + */ + public Optional internetProxy() { + return Optional.ofNullable(this.internetProxy); + } + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Optional recoveryWindowInDays() { + return Optional.ofNullable(this.recoveryWindowInDays); + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Optional spaceUtilizedInGbs() { + return Optional.ofNullable(this.spaceUtilizedInGbs); + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public Optional timeAtWhichStorageDetailsAreUpdated() { + return Optional.ofNullable(this.timeAtWhichStorageDetailsAreUpdated); + } + /** + * @return Type of the database backup destination. + * + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + public Optional vpcPassword() { + return Optional.ofNullable(this.vpcPassword); + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + public Optional vpcUser() { + return Optional.ofNullable(this.vpcUser); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List backupDestinationAttachHistories; + private @Nullable String dbrsPolicyId; + private @Nullable String id; + private @Nullable String internetProxy; + private @Nullable Integer recoveryWindowInDays; + private @Nullable Integer spaceUtilizedInGbs; + private @Nullable String timeAtWhichStorageDetailsAreUpdated; + private @Nullable String type; + private @Nullable String vpcPassword; + private @Nullable String vpcUser; + public Builder() {} + public Builder(AutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.dbrsPolicyId = defaults.dbrsPolicyId; + this.id = defaults.id; + this.internetProxy = defaults.internetProxy; + this.recoveryWindowInDays = defaults.recoveryWindowInDays; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + this.type = defaults.type; + this.vpcPassword = defaults.vpcPassword; + this.vpcUser = defaults.vpcUser; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(@Nullable List backupDestinationAttachHistories) { + + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder dbrsPolicyId(@Nullable String dbrsPolicyId) { + + this.dbrsPolicyId = dbrsPolicyId; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder internetProxy(@Nullable String internetProxy) { + + this.internetProxy = internetProxy; + return this; + } + @CustomType.Setter + public Builder recoveryWindowInDays(@Nullable Integer recoveryWindowInDays) { + + this.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(@Nullable Integer spaceUtilizedInGbs) { + + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(@Nullable String timeAtWhichStorageDetailsAreUpdated) { + + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + + this.type = type; + return this; + } + @CustomType.Setter + public Builder vpcPassword(@Nullable String vpcPassword) { + + this.vpcPassword = vpcPassword; + return this; + } + @CustomType.Setter + public Builder vpcUser(@Nullable String vpcUser) { + + this.vpcUser = vpcUser; + return this; + } + public AutonomousContainerDatabaseAssociatedBackupConfigurationDetail build() { + final var _resultValue = new AutonomousContainerDatabaseAssociatedBackupConfigurationDetail(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.dbrsPolicyId = dbrsPolicyId; + _resultValue.id = id; + _resultValue.internetProxy = internetProxy; + _resultValue.recoveryWindowInDays = recoveryWindowInDays; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + _resultValue.type = type; + _resultValue.vpcPassword = vpcPassword; + _resultValue.vpcUser = vpcUser; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.java new file mode 100644 index 0000000000..70f9abfacd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseBackupDestinationPropertiesList.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.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + private @Nullable List backupDestinationAttachHistories; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private @Nullable Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private @Nullable String timeAtWhichStorageDetailsAreUpdated; + + private AutonomousContainerDatabaseBackupDestinationPropertiesList() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories == null ? List.of() : this.backupDestinationAttachHistories; + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Optional spaceUtilizedInGbs() { + return Optional.ofNullable(this.spaceUtilizedInGbs); + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public Optional timeAtWhichStorageDetailsAreUpdated() { + return Optional.ofNullable(this.timeAtWhichStorageDetailsAreUpdated); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List backupDestinationAttachHistories; + private @Nullable Integer spaceUtilizedInGbs; + private @Nullable String timeAtWhichStorageDetailsAreUpdated; + public Builder() {} + public Builder(AutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(@Nullable List backupDestinationAttachHistories) { + + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(@Nullable Integer spaceUtilizedInGbs) { + + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(@Nullable String timeAtWhichStorageDetailsAreUpdated) { + + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + public AutonomousContainerDatabaseBackupDestinationPropertiesList build() { + final var _resultValue = new AutonomousContainerDatabaseBackupDestinationPropertiesList(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.java new file mode 100644 index 0000000000..dc17ec1f7b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousContainerDatabaseRecoveryApplianceDetail.java @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.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 AutonomousContainerDatabaseRecoveryApplianceDetail { + /** + * @return The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + */ + private @Nullable Integer allocatedStorageSizeInGbs; + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + private @Nullable Integer recoveryWindowInDays; + /** + * @return The time when the recovery appliance details are updated. + * === + * + */ + private @Nullable String timeRecoveryApplianceDetailsUpdated; + + private AutonomousContainerDatabaseRecoveryApplianceDetail() {} + /** + * @return The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + * + */ + public Optional allocatedStorageSizeInGbs() { + return Optional.ofNullable(this.allocatedStorageSizeInGbs); + } + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Optional recoveryWindowInDays() { + return Optional.ofNullable(this.recoveryWindowInDays); + } + /** + * @return The time when the recovery appliance details are updated. + * === + * + */ + public Optional timeRecoveryApplianceDetailsUpdated() { + return Optional.ofNullable(this.timeRecoveryApplianceDetailsUpdated); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousContainerDatabaseRecoveryApplianceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer allocatedStorageSizeInGbs; + private @Nullable Integer recoveryWindowInDays; + private @Nullable String timeRecoveryApplianceDetailsUpdated; + public Builder() {} + public Builder(AutonomousContainerDatabaseRecoveryApplianceDetail defaults) { + Objects.requireNonNull(defaults); + this.allocatedStorageSizeInGbs = defaults.allocatedStorageSizeInGbs; + this.recoveryWindowInDays = defaults.recoveryWindowInDays; + this.timeRecoveryApplianceDetailsUpdated = defaults.timeRecoveryApplianceDetailsUpdated; + } + + @CustomType.Setter + public Builder allocatedStorageSizeInGbs(@Nullable Integer allocatedStorageSizeInGbs) { + + this.allocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + return this; + } + @CustomType.Setter + public Builder recoveryWindowInDays(@Nullable Integer recoveryWindowInDays) { + + this.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + @CustomType.Setter + public Builder timeRecoveryApplianceDetailsUpdated(@Nullable String timeRecoveryApplianceDetailsUpdated) { + + this.timeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + return this; + } + public AutonomousContainerDatabaseRecoveryApplianceDetail build() { + final var _resultValue = new AutonomousContainerDatabaseRecoveryApplianceDetail(); + _resultValue.allocatedStorageSizeInGbs = allocatedStorageSizeInGbs; + _resultValue.recoveryWindowInDays = recoveryWindowInDays; + _resultValue.timeRecoveryApplianceDetailsUpdated = timeRecoveryApplianceDetailsUpdated; + return _resultValue; + } + } +} 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 f89640e13c..886ca48b5d 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 @@ -27,6 +27,11 @@ public final class AutonomousDatabaseLocalStandbyDb { * */ private @Nullable String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private @Nullable String maintenanceTargetComponent; /** * @return The current state of the Autonomous Database. * @@ -42,6 +47,16 @@ public final class AutonomousDatabaseLocalStandbyDb { * */ private @Nullable String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private @Nullable String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private @Nullable String timeMaintenanceEnd; private AutonomousDatabaseLocalStandbyDb() {} /** @@ -65,6 +80,13 @@ public Optional lagTimeInSeconds() { public Optional lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * @return The component chosen for maintenance. + * + */ + public Optional maintenanceTargetComponent() { + return Optional.ofNullable(this.maintenanceTargetComponent); + } /** * @return The current state of the Autonomous Database. * @@ -86,6 +108,20 @@ public Optional timeDataGuardRoleChanged() { public Optional timeDisasterRecoveryRoleChanged() { return Optional.ofNullable(this.timeDisasterRecoveryRoleChanged); } + /** + * @return The date and time when maintenance will begin. + * + */ + public Optional timeMaintenanceBegin() { + return Optional.ofNullable(this.timeMaintenanceBegin); + } + /** + * @return The date and time when maintenance will end. + * + */ + public Optional timeMaintenanceEnd() { + return Optional.ofNullable(this.timeMaintenanceEnd); + } public static Builder builder() { return new Builder(); @@ -99,18 +135,24 @@ public static final class Builder { private @Nullable String availabilityDomain; private @Nullable Integer lagTimeInSeconds; private @Nullable String lifecycleDetails; + private @Nullable String maintenanceTargetComponent; private @Nullable String state; private @Nullable String timeDataGuardRoleChanged; private @Nullable String timeDisasterRecoveryRoleChanged; + private @Nullable String timeMaintenanceBegin; + private @Nullable String timeMaintenanceEnd; public Builder() {} public Builder(AutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -132,6 +174,12 @@ public Builder lifecycleDetails(@Nullable String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(@Nullable String maintenanceTargetComponent) { + + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(@Nullable String state) { this.state = state; @@ -149,14 +197,29 @@ public Builder timeDisasterRecoveryRoleChanged(@Nullable String timeDisasterReco this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(@Nullable String timeMaintenanceBegin) { + + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(@Nullable String timeMaintenanceEnd) { + + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public AutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new AutonomousDatabaseLocalStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } 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 1ac521629e..b2a4d3f606 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 @@ -27,6 +27,11 @@ public final class AutonomousDatabaseStandbyDb { * */ private @Nullable String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private @Nullable String maintenanceTargetComponent; /** * @return The current state of the Autonomous Database. * @@ -42,6 +47,16 @@ public final class AutonomousDatabaseStandbyDb { * */ private @Nullable String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private @Nullable String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private @Nullable String timeMaintenanceEnd; private AutonomousDatabaseStandbyDb() {} /** @@ -65,6 +80,13 @@ public Optional lagTimeInSeconds() { public Optional lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * @return The component chosen for maintenance. + * + */ + public Optional maintenanceTargetComponent() { + return Optional.ofNullable(this.maintenanceTargetComponent); + } /** * @return The current state of the Autonomous Database. * @@ -86,6 +108,20 @@ public Optional timeDataGuardRoleChanged() { public Optional timeDisasterRecoveryRoleChanged() { return Optional.ofNullable(this.timeDisasterRecoveryRoleChanged); } + /** + * @return The date and time when maintenance will begin. + * + */ + public Optional timeMaintenanceBegin() { + return Optional.ofNullable(this.timeMaintenanceBegin); + } + /** + * @return The date and time when maintenance will end. + * + */ + public Optional timeMaintenanceEnd() { + return Optional.ofNullable(this.timeMaintenanceEnd); + } public static Builder builder() { return new Builder(); @@ -99,18 +135,24 @@ public static final class Builder { private @Nullable String availabilityDomain; private @Nullable Integer lagTimeInSeconds; private @Nullable String lifecycleDetails; + private @Nullable String maintenanceTargetComponent; private @Nullable String state; private @Nullable String timeDataGuardRoleChanged; private @Nullable String timeDisasterRecoveryRoleChanged; + private @Nullable String timeMaintenanceBegin; + private @Nullable String timeMaintenanceEnd; public Builder() {} public Builder(AutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -132,6 +174,12 @@ public Builder lifecycleDetails(@Nullable String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(@Nullable String maintenanceTargetComponent) { + + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(@Nullable String state) { this.state = state; @@ -149,14 +197,29 @@ public Builder timeDisasterRecoveryRoleChanged(@Nullable String timeDisasterReco this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(@Nullable String timeMaintenanceBegin) { + + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(@Nullable String timeMaintenanceEnd) { + + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public AutonomousDatabaseStandbyDb build() { final var _resultValue = new AutonomousDatabaseStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java new file mode 100644 index 0000000000..ed7ca54151 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java @@ -0,0 +1,270 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + private List backupDestinationAttachHistories; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + private String dbrsPolicyId; + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + private String id; + /** + * @return Proxy URL to connect to object store. + * + */ + private String internetProxy; + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + private Integer recoveryWindowInDays; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; + /** + * @return Type of the database backup destination. + * + */ + private String type; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + private String vpcPassword; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + private String vpcUser; + + private GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + public String dbrsPolicyId() { + return this.dbrsPolicyId; + } + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + public String id() { + return this.id; + } + /** + * @return Proxy URL to connect to object store. + * + */ + public String internetProxy() { + return this.internetProxy; + } + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Integer recoveryWindowInDays() { + return this.recoveryWindowInDays; + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Integer spaceUtilizedInGbs() { + return this.spaceUtilizedInGbs; + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } + /** + * @return Type of the database backup destination. + * + */ + public String type() { + return this.type; + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + public String vpcPassword() { + return this.vpcPassword; + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + public String vpcUser() { + return this.vpcUser; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List backupDestinationAttachHistories; + private String dbrsPolicyId; + private String id; + private String internetProxy; + private Integer recoveryWindowInDays; + private Integer spaceUtilizedInGbs; + private String timeAtWhichStorageDetailsAreUpdated; + private String type; + private String vpcPassword; + private String vpcUser; + public Builder() {} + public Builder(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.dbrsPolicyId = defaults.dbrsPolicyId; + this.id = defaults.id; + this.internetProxy = defaults.internetProxy; + this.recoveryWindowInDays = defaults.recoveryWindowInDays; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + this.type = defaults.type; + this.vpcPassword = defaults.vpcPassword; + this.vpcUser = defaults.vpcUser; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + if (backupDestinationAttachHistories == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "backupDestinationAttachHistories"); + } + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder dbrsPolicyId(String dbrsPolicyId) { + if (dbrsPolicyId == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "dbrsPolicyId"); + } + this.dbrsPolicyId = dbrsPolicyId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder internetProxy(String internetProxy) { + if (internetProxy == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "internetProxy"); + } + this.internetProxy = internetProxy; + return this; + } + @CustomType.Setter + public Builder recoveryWindowInDays(Integer recoveryWindowInDays) { + if (recoveryWindowInDays == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "recoveryWindowInDays"); + } + this.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + if (spaceUtilizedInGbs == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "spaceUtilizedInGbs"); + } + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder vpcPassword(String vpcPassword) { + if (vpcPassword == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "vpcPassword"); + } + this.vpcPassword = vpcPassword; + return this; + } + @CustomType.Setter + public Builder vpcUser(String vpcUser) { + if (vpcUser == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "vpcUser"); + } + this.vpcUser = vpcUser; + return this; + } + public GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail build() { + final var _resultValue = new GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.dbrsPolicyId = dbrsPolicyId; + _resultValue.id = id; + _resultValue.internetProxy = internetProxy; + _resultValue.recoveryWindowInDays = recoveryWindowInDays; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + _resultValue.type = type; + _resultValue.vpcPassword = vpcPassword; + _resultValue.vpcUser = vpcUser; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupConfig.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupConfig.java index 64857fbc5b..7ff85c57c5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupConfig.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupConfig.java @@ -18,7 +18,7 @@ public final class GetAutonomousContainerDatabaseBackupConfig { */ private List backupDestinationDetails; /** - * @return Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. * */ private Integer recoveryWindowInDays; @@ -32,7 +32,7 @@ public List b return this.backupDestinationDetails; } /** - * @return Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. * */ public Integer recoveryWindowInDays() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesList.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesList.java new file mode 100644 index 0000000000..969c64943c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabaseBackupDestinationPropertiesList.java @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + private List backupDestinationAttachHistories; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; + + private GetAutonomousContainerDatabaseBackupDestinationPropertiesList() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories; + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Integer spaceUtilizedInGbs() { + return this.spaceUtilizedInGbs; + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List backupDestinationAttachHistories; + private Integer spaceUtilizedInGbs; + private String timeAtWhichStorageDetailsAreUpdated; + public Builder() {} + public Builder(GetAutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + if (backupDestinationAttachHistories == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseBackupDestinationPropertiesList", "backupDestinationAttachHistories"); + } + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + if (spaceUtilizedInGbs == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseBackupDestinationPropertiesList", "spaceUtilizedInGbs"); + } + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseBackupDestinationPropertiesList", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + public GetAutonomousContainerDatabaseBackupDestinationPropertiesList build() { + final var _resultValue = new GetAutonomousContainerDatabaseBackupDestinationPropertiesList(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java index 0ec1b238fd..5bc749db6a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java @@ -18,7 +18,7 @@ public final class GetAutonomousContainerDatabasePeerAutonomousContainerDatabase */ private List backupDestinationDetails; /** - * @return Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. * */ private Integer recoveryWindowInDays; @@ -32,7 +32,7 @@ public List associatedBackupConfigurationDetails; private String autonomousContainerDatabaseId; /** * @return **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`. @@ -46,6 +54,11 @@ public final class GetAutonomousContainerDatabaseResult { * */ private List backupConfigs; + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + private List backupDestinationPropertiesLists; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. * @@ -219,6 +232,11 @@ public final class GetAutonomousContainerDatabaseResult { * */ private Double reclaimableCpus; + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + private List recoveryApplianceDetails; /** * @return The number of CPUs reserved in an Autonomous Container Database. * @@ -282,6 +300,13 @@ public final class GetAutonomousContainerDatabaseResult { private Integer vmFailoverReservation; private GetAutonomousContainerDatabaseResult() {} + /** + * @return A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + public List associatedBackupConfigurationDetails() { + return this.associatedBackupConfigurationDetails; + } public String autonomousContainerDatabaseId() { return this.autonomousContainerDatabaseId; } @@ -320,6 +345,13 @@ public Double availableCpus() { public List backupConfigs() { return this.backupConfigs; } + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + public List backupDestinationPropertiesLists() { + return this.backupDestinationPropertiesLists; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. * @@ -583,6 +615,13 @@ public Double provisionedCpus() { public Double reclaimableCpus() { return this.reclaimableCpus; } + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + public List recoveryApplianceDetails() { + return this.recoveryApplianceDetails; + } /** * @return The number of CPUs reserved in an Autonomous Container Database. * @@ -680,12 +719,14 @@ public static Builder builder(GetAutonomousContainerDatabaseResult defaults) { } @CustomType.Builder public static final class Builder { + private List associatedBackupConfigurationDetails; private String autonomousContainerDatabaseId; private String autonomousExadataInfrastructureId; private String autonomousVmClusterId; private String availabilityDomain; private Double availableCpus; private List backupConfigs; + private List backupDestinationPropertiesLists; private String cloudAutonomousVmClusterId; private String compartmentId; private String computeModel; @@ -731,6 +772,7 @@ public static final class Builder { private List provisionableCpuses; private Double provisionedCpus; private Double reclaimableCpus; + private List recoveryApplianceDetails; private Double reservedCpus; private String role; private Boolean rotateKeyTrigger; @@ -747,12 +789,14 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousContainerDatabaseResult defaults) { Objects.requireNonNull(defaults); + this.associatedBackupConfigurationDetails = defaults.associatedBackupConfigurationDetails; this.autonomousContainerDatabaseId = defaults.autonomousContainerDatabaseId; this.autonomousExadataInfrastructureId = defaults.autonomousExadataInfrastructureId; this.autonomousVmClusterId = defaults.autonomousVmClusterId; this.availabilityDomain = defaults.availabilityDomain; this.availableCpus = defaults.availableCpus; this.backupConfigs = defaults.backupConfigs; + this.backupDestinationPropertiesLists = defaults.backupDestinationPropertiesLists; this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; this.compartmentId = defaults.compartmentId; this.computeModel = defaults.computeModel; @@ -798,6 +842,7 @@ public Builder(GetAutonomousContainerDatabaseResult defaults) { this.provisionableCpuses = defaults.provisionableCpuses; this.provisionedCpus = defaults.provisionedCpus; this.reclaimableCpus = defaults.reclaimableCpus; + this.recoveryApplianceDetails = defaults.recoveryApplianceDetails; this.reservedCpus = defaults.reservedCpus; this.role = defaults.role; this.rotateKeyTrigger = defaults.rotateKeyTrigger; @@ -813,6 +858,17 @@ public Builder(GetAutonomousContainerDatabaseResult defaults) { this.vmFailoverReservation = defaults.vmFailoverReservation; } + @CustomType.Setter + public Builder associatedBackupConfigurationDetails(List associatedBackupConfigurationDetails) { + if (associatedBackupConfigurationDetails == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseResult", "associatedBackupConfigurationDetails"); + } + this.associatedBackupConfigurationDetails = associatedBackupConfigurationDetails; + return this; + } + public Builder associatedBackupConfigurationDetails(GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail... associatedBackupConfigurationDetails) { + return associatedBackupConfigurationDetails(List.of(associatedBackupConfigurationDetails)); + } @CustomType.Setter public Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId) { if (autonomousContainerDatabaseId == null) { @@ -865,6 +921,17 @@ public Builder backupConfigs(GetAutonomousContainerDatabaseBackupConfig... backu return backupConfigs(List.of(backupConfigs)); } @CustomType.Setter + public Builder backupDestinationPropertiesLists(List backupDestinationPropertiesLists) { + if (backupDestinationPropertiesLists == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseResult", "backupDestinationPropertiesLists"); + } + this.backupDestinationPropertiesLists = backupDestinationPropertiesLists; + return this; + } + public Builder backupDestinationPropertiesLists(GetAutonomousContainerDatabaseBackupDestinationPropertiesList... backupDestinationPropertiesLists) { + return backupDestinationPropertiesLists(List.of(backupDestinationPropertiesLists)); + } + @CustomType.Setter public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { if (cloudAutonomousVmClusterId == null) { throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseResult", "cloudAutonomousVmClusterId"); @@ -1243,6 +1310,17 @@ public Builder reclaimableCpus(Double reclaimableCpus) { return this; } @CustomType.Setter + public Builder recoveryApplianceDetails(List recoveryApplianceDetails) { + if (recoveryApplianceDetails == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseResult", "recoveryApplianceDetails"); + } + this.recoveryApplianceDetails = recoveryApplianceDetails; + return this; + } + public Builder recoveryApplianceDetails(GetAutonomousContainerDatabaseRecoveryApplianceDetail... recoveryApplianceDetails) { + return recoveryApplianceDetails(List.of(recoveryApplianceDetails)); + } + @CustomType.Setter public Builder reservedCpus(Double reservedCpus) { if (reservedCpus == null) { throw new MissingRequiredPropertyException("GetAutonomousContainerDatabaseResult", "reservedCpus"); @@ -1348,12 +1426,14 @@ public Builder vmFailoverReservation(Integer vmFailoverReservation) { } public GetAutonomousContainerDatabaseResult build() { final var _resultValue = new GetAutonomousContainerDatabaseResult(); + _resultValue.associatedBackupConfigurationDetails = associatedBackupConfigurationDetails; _resultValue.autonomousContainerDatabaseId = autonomousContainerDatabaseId; _resultValue.autonomousExadataInfrastructureId = autonomousExadataInfrastructureId; _resultValue.autonomousVmClusterId = autonomousVmClusterId; _resultValue.availabilityDomain = availabilityDomain; _resultValue.availableCpus = availableCpus; _resultValue.backupConfigs = backupConfigs; + _resultValue.backupDestinationPropertiesLists = backupDestinationPropertiesLists; _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; _resultValue.compartmentId = compartmentId; _resultValue.computeModel = computeModel; @@ -1399,6 +1479,7 @@ public GetAutonomousContainerDatabaseResult build() { _resultValue.provisionableCpuses = provisionableCpuses; _resultValue.provisionedCpus = provisionedCpus; _resultValue.reclaimableCpus = reclaimableCpus; + _resultValue.recoveryApplianceDetails = recoveryApplianceDetails; _resultValue.reservedCpus = reservedCpus; _resultValue.role = role; _resultValue.rotateKeyTrigger = rotateKeyTrigger; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabase.java index e97952dcc1..f96e747d44 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabase.java @@ -5,11 +5,14 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail; import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig; +import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList; import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntry; import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindow; import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetail; import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig; +import com.pulumi.oci.Database.outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail; import java.lang.Boolean; import java.lang.Double; import java.lang.Integer; @@ -20,6 +23,11 @@ @CustomType public final class GetAutonomousContainerDatabasesAutonomousContainerDatabase { + /** + * @return A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + private List associatedBackupConfigurationDetails; /** * @return The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -45,6 +53,11 @@ public final class GetAutonomousContainerDatabasesAutonomousContainerDatabase { * */ private List backupConfigs; + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + private List backupDestinationPropertiesLists; /** * @return The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -214,6 +227,11 @@ public final class GetAutonomousContainerDatabasesAutonomousContainerDatabase { * */ private Double reclaimableCpus; + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + private List recoveryApplianceDetails; /** * @return The number of CPUs reserved in an Autonomous Container Database. * @@ -277,6 +295,13 @@ public final class GetAutonomousContainerDatabasesAutonomousContainerDatabase { private Integer vmFailoverReservation; private GetAutonomousContainerDatabasesAutonomousContainerDatabase() {} + /** + * @return A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + * + */ + public List associatedBackupConfigurationDetails() { + return this.associatedBackupConfigurationDetails; + } /** * @return The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -312,6 +337,13 @@ public Double availableCpus() { public List backupConfigs() { return this.backupConfigs; } + /** + * @return This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + * + */ + public List backupDestinationPropertiesLists() { + return this.backupDestinationPropertiesLists; + } /** * @return The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -571,6 +603,13 @@ public Double provisionedCpus() { public Double reclaimableCpus() { return this.reclaimableCpus; } + /** + * @return Information about the recovery appliance configuration associated with the Autonomous Container Database. + * + */ + public List recoveryApplianceDetails() { + return this.recoveryApplianceDetails; + } /** * @return The number of CPUs reserved in an Autonomous Container Database. * @@ -668,11 +707,13 @@ public static Builder builder(GetAutonomousContainerDatabasesAutonomousContainer } @CustomType.Builder public static final class Builder { + private List associatedBackupConfigurationDetails; private String autonomousExadataInfrastructureId; private String autonomousVmClusterId; private String availabilityDomain; private Double availableCpus; private List backupConfigs; + private List backupDestinationPropertiesLists; private String cloudAutonomousVmClusterId; private String compartmentId; private String computeModel; @@ -718,6 +759,7 @@ public static final class Builder { private List provisionableCpuses; private Double provisionedCpus; private Double reclaimableCpus; + private List recoveryApplianceDetails; private Double reservedCpus; private String role; private Boolean rotateKeyTrigger; @@ -734,11 +776,13 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousContainerDatabasesAutonomousContainerDatabase defaults) { Objects.requireNonNull(defaults); + this.associatedBackupConfigurationDetails = defaults.associatedBackupConfigurationDetails; this.autonomousExadataInfrastructureId = defaults.autonomousExadataInfrastructureId; this.autonomousVmClusterId = defaults.autonomousVmClusterId; this.availabilityDomain = defaults.availabilityDomain; this.availableCpus = defaults.availableCpus; this.backupConfigs = defaults.backupConfigs; + this.backupDestinationPropertiesLists = defaults.backupDestinationPropertiesLists; this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; this.compartmentId = defaults.compartmentId; this.computeModel = defaults.computeModel; @@ -784,6 +828,7 @@ public Builder(GetAutonomousContainerDatabasesAutonomousContainerDatabase defaul this.provisionableCpuses = defaults.provisionableCpuses; this.provisionedCpus = defaults.provisionedCpus; this.reclaimableCpus = defaults.reclaimableCpus; + this.recoveryApplianceDetails = defaults.recoveryApplianceDetails; this.reservedCpus = defaults.reservedCpus; this.role = defaults.role; this.rotateKeyTrigger = defaults.rotateKeyTrigger; @@ -799,6 +844,17 @@ public Builder(GetAutonomousContainerDatabasesAutonomousContainerDatabase defaul this.vmFailoverReservation = defaults.vmFailoverReservation; } + @CustomType.Setter + public Builder associatedBackupConfigurationDetails(List associatedBackupConfigurationDetails) { + if (associatedBackupConfigurationDetails == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabase", "associatedBackupConfigurationDetails"); + } + this.associatedBackupConfigurationDetails = associatedBackupConfigurationDetails; + return this; + } + public Builder associatedBackupConfigurationDetails(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail... associatedBackupConfigurationDetails) { + return associatedBackupConfigurationDetails(List.of(associatedBackupConfigurationDetails)); + } @CustomType.Setter public Builder autonomousExadataInfrastructureId(String autonomousExadataInfrastructureId) { if (autonomousExadataInfrastructureId == null) { @@ -843,6 +899,17 @@ public Builder backupConfigs(GetAutonomousContainerDatabasesAutonomousContainerD return backupConfigs(List.of(backupConfigs)); } @CustomType.Setter + public Builder backupDestinationPropertiesLists(List backupDestinationPropertiesLists) { + if (backupDestinationPropertiesLists == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabase", "backupDestinationPropertiesLists"); + } + this.backupDestinationPropertiesLists = backupDestinationPropertiesLists; + return this; + } + public Builder backupDestinationPropertiesLists(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList... backupDestinationPropertiesLists) { + return backupDestinationPropertiesLists(List.of(backupDestinationPropertiesLists)); + } + @CustomType.Setter public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { if (cloudAutonomousVmClusterId == null) { throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabase", "cloudAutonomousVmClusterId"); @@ -1221,6 +1288,17 @@ public Builder reclaimableCpus(Double reclaimableCpus) { return this; } @CustomType.Setter + public Builder recoveryApplianceDetails(List recoveryApplianceDetails) { + if (recoveryApplianceDetails == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabase", "recoveryApplianceDetails"); + } + this.recoveryApplianceDetails = recoveryApplianceDetails; + return this; + } + public Builder recoveryApplianceDetails(GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail... recoveryApplianceDetails) { + return recoveryApplianceDetails(List.of(recoveryApplianceDetails)); + } + @CustomType.Setter public Builder reservedCpus(Double reservedCpus) { if (reservedCpus == null) { throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabase", "reservedCpus"); @@ -1326,11 +1404,13 @@ public Builder vmFailoverReservation(Integer vmFailoverReservation) { } public GetAutonomousContainerDatabasesAutonomousContainerDatabase build() { final var _resultValue = new GetAutonomousContainerDatabasesAutonomousContainerDatabase(); + _resultValue.associatedBackupConfigurationDetails = associatedBackupConfigurationDetails; _resultValue.autonomousExadataInfrastructureId = autonomousExadataInfrastructureId; _resultValue.autonomousVmClusterId = autonomousVmClusterId; _resultValue.availabilityDomain = availabilityDomain; _resultValue.availableCpus = availableCpus; _resultValue.backupConfigs = backupConfigs; + _resultValue.backupDestinationPropertiesLists = backupDestinationPropertiesLists; _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; _resultValue.compartmentId = compartmentId; _resultValue.computeModel = computeModel; @@ -1376,6 +1456,7 @@ public GetAutonomousContainerDatabasesAutonomousContainerDatabase build() { _resultValue.provisionableCpuses = provisionableCpuses; _resultValue.provisionedCpus = provisionedCpus; _resultValue.reclaimableCpus = reclaimableCpus; + _resultValue.recoveryApplianceDetails = recoveryApplianceDetails; _resultValue.reservedCpus = reservedCpus; _resultValue.role = role; _resultValue.rotateKeyTrigger = rotateKeyTrigger; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java new file mode 100644 index 0000000000..f70d7c32c6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail.java @@ -0,0 +1,270 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + private List backupDestinationAttachHistories; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + private String dbrsPolicyId; + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + private String id; + /** + * @return Proxy URL to connect to object store. + * + */ + private String internetProxy; + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + private Integer recoveryWindowInDays; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; + /** + * @return Type of the database backup destination. + * + */ + private String type; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + private String vpcPassword; + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + private String vpcUser; + + private GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + * + */ + public String dbrsPolicyId() { + return this.dbrsPolicyId; + } + /** + * @return The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + * + */ + public String id() { + return this.id; + } + /** + * @return Proxy URL to connect to object store. + * + */ + public String internetProxy() { + return this.internetProxy; + } + /** + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. + * + */ + public Integer recoveryWindowInDays() { + return this.recoveryWindowInDays; + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Integer spaceUtilizedInGbs() { + return this.spaceUtilizedInGbs; + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } + /** + * @return Type of the database backup destination. + * + */ + public String type() { + return this.type; + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + * + */ + public String vpcPassword() { + return this.vpcPassword; + } + /** + * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + * + */ + public String vpcUser() { + return this.vpcUser; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List backupDestinationAttachHistories; + private String dbrsPolicyId; + private String id; + private String internetProxy; + private Integer recoveryWindowInDays; + private Integer spaceUtilizedInGbs; + private String timeAtWhichStorageDetailsAreUpdated; + private String type; + private String vpcPassword; + private String vpcUser; + public Builder() {} + public Builder(GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.dbrsPolicyId = defaults.dbrsPolicyId; + this.id = defaults.id; + this.internetProxy = defaults.internetProxy; + this.recoveryWindowInDays = defaults.recoveryWindowInDays; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + this.type = defaults.type; + this.vpcPassword = defaults.vpcPassword; + this.vpcUser = defaults.vpcUser; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + if (backupDestinationAttachHistories == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "backupDestinationAttachHistories"); + } + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder dbrsPolicyId(String dbrsPolicyId) { + if (dbrsPolicyId == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "dbrsPolicyId"); + } + this.dbrsPolicyId = dbrsPolicyId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder internetProxy(String internetProxy) { + if (internetProxy == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "internetProxy"); + } + this.internetProxy = internetProxy; + return this; + } + @CustomType.Setter + public Builder recoveryWindowInDays(Integer recoveryWindowInDays) { + if (recoveryWindowInDays == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "recoveryWindowInDays"); + } + this.recoveryWindowInDays = recoveryWindowInDays; + return this; + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + if (spaceUtilizedInGbs == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "spaceUtilizedInGbs"); + } + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder vpcPassword(String vpcPassword) { + if (vpcPassword == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "vpcPassword"); + } + this.vpcPassword = vpcPassword; + return this; + } + @CustomType.Setter + public Builder vpcUser(String vpcUser) { + if (vpcUser == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail", "vpcUser"); + } + this.vpcUser = vpcUser; + return this; + } + public GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail build() { + final var _resultValue = new GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.dbrsPolicyId = dbrsPolicyId; + _resultValue.id = id; + _resultValue.internetProxy = internetProxy; + _resultValue.recoveryWindowInDays = recoveryWindowInDays; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + _resultValue.type = type; + _resultValue.vpcPassword = vpcPassword; + _resultValue.vpcUser = vpcUser; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig.java index 9de5c8b751..a56fc74f8f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig.java @@ -18,7 +18,7 @@ public final class GetAutonomousContainerDatabasesAutonomousContainerDatabaseBac */ private List backupDestinationDetails; /** - * @return Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. * */ private Integer recoveryWindowInDays; @@ -32,7 +32,7 @@ public List backupDestinationAttachHistories; + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + private Integer spaceUtilizedInGbs; + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; + + private GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList() {} + /** + * @return The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + * + */ + public List backupDestinationAttachHistories() { + return this.backupDestinationAttachHistories; + } + /** + * @return The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + * + */ + public Integer spaceUtilizedInGbs() { + return this.spaceUtilizedInGbs; + } + /** + * @return The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List backupDestinationAttachHistories; + private Integer spaceUtilizedInGbs; + private String timeAtWhichStorageDetailsAreUpdated; + public Builder() {} + public Builder(GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList defaults) { + Objects.requireNonNull(defaults); + this.backupDestinationAttachHistories = defaults.backupDestinationAttachHistories; + this.spaceUtilizedInGbs = defaults.spaceUtilizedInGbs; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; + } + + @CustomType.Setter + public Builder backupDestinationAttachHistories(List backupDestinationAttachHistories) { + if (backupDestinationAttachHistories == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList", "backupDestinationAttachHistories"); + } + this.backupDestinationAttachHistories = backupDestinationAttachHistories; + return this; + } + public Builder backupDestinationAttachHistories(String... backupDestinationAttachHistories) { + return backupDestinationAttachHistories(List.of(backupDestinationAttachHistories)); + } + @CustomType.Setter + public Builder spaceUtilizedInGbs(Integer spaceUtilizedInGbs) { + if (spaceUtilizedInGbs == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList", "spaceUtilizedInGbs"); + } + this.spaceUtilizedInGbs = spaceUtilizedInGbs; + return this; + } + @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + public GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList build() { + final var _resultValue = new GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList(); + _resultValue.backupDestinationAttachHistories = backupDestinationAttachHistories; + _resultValue.spaceUtilizedInGbs = spaceUtilizedInGbs; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java index e94627c456..07877e7f27 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig.java @@ -18,7 +18,7 @@ public final class GetAutonomousContainerDatabasesAutonomousContainerDatabasePee */ private List backupDestinationDetails; /** - * @return Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * @return Number of days between the current and earliest point of recoverability covered by automatic backups. * */ private Integer recoveryWindowInDays; @@ -32,7 +32,7 @@ public List cloneTableSpaceLists; private String cloneType; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -408,6 +416,11 @@ public final class GetAutonomousDatabaseResult { * */ private List longTermBackupSchedules; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -810,6 +823,16 @@ public Double byolComputeCountLimit() { public String characterSet() { return this.characterSet; } + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * === + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * > > > > > > > theirs + * + */ + public List cloneTableSpaceLists() { + return this.cloneTableSpaceLists; + } public String cloneType() { return this.cloneType; } @@ -1242,6 +1265,13 @@ public List localStandbyDbs() { public List longTermBackupSchedules() { return this.longTermBackupSchedules; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -1700,6 +1730,7 @@ public static final class Builder { private Integer backupRetentionPeriodInDays; private Double byolComputeCountLimit; private String characterSet; + private List cloneTableSpaceLists; private String cloneType; private String clusterPlacementGroupId; private String compartmentId; @@ -1762,6 +1793,7 @@ public static final class Builder { private String localDisasterRecoveryType; private List localStandbyDbs; private List longTermBackupSchedules; + private String maintenanceTargetComponent; private Integer maxCpuCoreCount; private Integer memoryPerOracleComputeUnitInGbs; private String ncharacterSet; @@ -1849,6 +1881,7 @@ public Builder(GetAutonomousDatabaseResult defaults) { this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; this.byolComputeCountLimit = defaults.byolComputeCountLimit; this.characterSet = defaults.characterSet; + this.cloneTableSpaceLists = defaults.cloneTableSpaceLists; this.cloneType = defaults.cloneType; this.clusterPlacementGroupId = defaults.clusterPlacementGroupId; this.compartmentId = defaults.compartmentId; @@ -1911,6 +1944,7 @@ public Builder(GetAutonomousDatabaseResult defaults) { this.localDisasterRecoveryType = defaults.localDisasterRecoveryType; this.localStandbyDbs = defaults.localStandbyDbs; this.longTermBackupSchedules = defaults.longTermBackupSchedules; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.maxCpuCoreCount = defaults.maxCpuCoreCount; this.memoryPerOracleComputeUnitInGbs = defaults.memoryPerOracleComputeUnitInGbs; this.ncharacterSet = defaults.ncharacterSet; @@ -2126,6 +2160,17 @@ public Builder characterSet(String characterSet) { return this; } @CustomType.Setter + public Builder cloneTableSpaceLists(List cloneTableSpaceLists) { + if (cloneTableSpaceLists == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "cloneTableSpaceLists"); + } + this.cloneTableSpaceLists = cloneTableSpaceLists; + return this; + } + public Builder cloneTableSpaceLists(Integer... cloneTableSpaceLists) { + return cloneTableSpaceLists(List.of(cloneTableSpaceLists)); + } + @CustomType.Setter public Builder cloneType(String cloneType) { if (cloneType == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "cloneType"); @@ -2649,6 +2694,14 @@ public Builder longTermBackupSchedules(GetAutonomousDatabaseLongTermBackupSchedu return longTermBackupSchedules(List.of(longTermBackupSchedules)); } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder maxCpuCoreCount(Integer maxCpuCoreCount) { if (maxCpuCoreCount == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "maxCpuCoreCount"); @@ -3236,6 +3289,7 @@ public GetAutonomousDatabaseResult build() { _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; _resultValue.byolComputeCountLimit = byolComputeCountLimit; _resultValue.characterSet = characterSet; + _resultValue.cloneTableSpaceLists = cloneTableSpaceLists; _resultValue.cloneType = cloneType; _resultValue.clusterPlacementGroupId = clusterPlacementGroupId; _resultValue.compartmentId = compartmentId; @@ -3298,6 +3352,7 @@ public GetAutonomousDatabaseResult build() { _resultValue.localDisasterRecoveryType = localDisasterRecoveryType; _resultValue.localStandbyDbs = localStandbyDbs; _resultValue.longTermBackupSchedules = longTermBackupSchedules; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.maxCpuCoreCount = maxCpuCoreCount; _resultValue.memoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; _resultValue.ncharacterSet = ncharacterSet; 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 6465bab5a3..c448dc19be 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 @@ -26,6 +26,11 @@ public final class GetAutonomousDatabaseStandbyDb { * */ private String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return The current state of the Autonomous Database. * @@ -41,6 +46,16 @@ public final class GetAutonomousDatabaseStandbyDb { * */ private String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private String timeMaintenanceEnd; private GetAutonomousDatabaseStandbyDb() {} /** @@ -64,6 +79,13 @@ public Integer lagTimeInSeconds() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return The current state of the Autonomous Database. * @@ -85,6 +107,20 @@ public String timeDataGuardRoleChanged() { public String timeDisasterRecoveryRoleChanged() { return this.timeDisasterRecoveryRoleChanged; } + /** + * @return The date and time when maintenance will begin. + * + */ + public String timeMaintenanceBegin() { + return this.timeMaintenanceBegin; + } + /** + * @return The date and time when maintenance will end. + * + */ + public String timeMaintenanceEnd() { + return this.timeMaintenanceEnd; + } public static Builder builder() { return new Builder(); @@ -98,18 +134,24 @@ public static final class Builder { private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; + private String maintenanceTargetComponent; private String state; private String timeDataGuardRoleChanged; private String timeDisasterRecoveryRoleChanged; + private String timeMaintenanceBegin; + private String timeMaintenanceEnd; public Builder() {} public Builder(GetAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -137,6 +179,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseStandbyDb", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabaseStandbyDb", "state"); @@ -160,14 +210,33 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + if (timeMaintenanceBegin == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseStandbyDb", "timeMaintenanceBegin"); + } + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + if (timeMaintenanceEnd == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseStandbyDb", "timeMaintenanceEnd"); + } + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public GetAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabaseStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } 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 3f243945dd..bfaa36752f 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 @@ -100,6 +100,14 @@ public final class GetAutonomousDatabasesAutonomousDatabase { * */ private String characterSet; + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * === + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * > > > > > > > theirs + * + */ + private List cloneTableSpaceLists; private String cloneType; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -401,6 +409,11 @@ public final class GetAutonomousDatabasesAutonomousDatabase { * */ private List longTermBackupSchedules; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -803,6 +816,16 @@ public Double byolComputeCountLimit() { public String characterSet() { return this.characterSet; } + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * === + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * > > > > > > > theirs + * + */ + public List cloneTableSpaceLists() { + return this.cloneTableSpaceLists; + } public String cloneType() { return this.cloneType; } @@ -1228,6 +1251,13 @@ public List localStandby public List longTermBackupSchedules() { return this.longTermBackupSchedules; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -1686,6 +1716,7 @@ public static final class Builder { private Integer backupRetentionPeriodInDays; private Double byolComputeCountLimit; private String characterSet; + private List cloneTableSpaceLists; private String cloneType; private String clusterPlacementGroupId; private String compartmentId; @@ -1748,6 +1779,7 @@ public static final class Builder { private String localDisasterRecoveryType; private List localStandbyDbs; private List longTermBackupSchedules; + private String maintenanceTargetComponent; private Integer maxCpuCoreCount; private Integer memoryPerOracleComputeUnitInGbs; private String ncharacterSet; @@ -1835,6 +1867,7 @@ public Builder(GetAutonomousDatabasesAutonomousDatabase defaults) { this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; this.byolComputeCountLimit = defaults.byolComputeCountLimit; this.characterSet = defaults.characterSet; + this.cloneTableSpaceLists = defaults.cloneTableSpaceLists; this.cloneType = defaults.cloneType; this.clusterPlacementGroupId = defaults.clusterPlacementGroupId; this.compartmentId = defaults.compartmentId; @@ -1897,6 +1930,7 @@ public Builder(GetAutonomousDatabasesAutonomousDatabase defaults) { this.localDisasterRecoveryType = defaults.localDisasterRecoveryType; this.localStandbyDbs = defaults.localStandbyDbs; this.longTermBackupSchedules = defaults.longTermBackupSchedules; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.maxCpuCoreCount = defaults.maxCpuCoreCount; this.memoryPerOracleComputeUnitInGbs = defaults.memoryPerOracleComputeUnitInGbs; this.ncharacterSet = defaults.ncharacterSet; @@ -2112,6 +2146,17 @@ public Builder characterSet(String characterSet) { return this; } @CustomType.Setter + public Builder cloneTableSpaceLists(List cloneTableSpaceLists) { + if (cloneTableSpaceLists == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "cloneTableSpaceLists"); + } + this.cloneTableSpaceLists = cloneTableSpaceLists; + return this; + } + public Builder cloneTableSpaceLists(Integer... cloneTableSpaceLists) { + return cloneTableSpaceLists(List.of(cloneTableSpaceLists)); + } + @CustomType.Setter public Builder cloneType(String cloneType) { if (cloneType == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "cloneType"); @@ -2635,6 +2680,14 @@ public Builder longTermBackupSchedules(GetAutonomousDatabasesAutonomousDatabaseL return longTermBackupSchedules(List.of(longTermBackupSchedules)); } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder maxCpuCoreCount(Integer maxCpuCoreCount) { if (maxCpuCoreCount == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "maxCpuCoreCount"); @@ -3222,6 +3275,7 @@ public GetAutonomousDatabasesAutonomousDatabase build() { _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; _resultValue.byolComputeCountLimit = byolComputeCountLimit; _resultValue.characterSet = characterSet; + _resultValue.cloneTableSpaceLists = cloneTableSpaceLists; _resultValue.cloneType = cloneType; _resultValue.clusterPlacementGroupId = clusterPlacementGroupId; _resultValue.compartmentId = compartmentId; @@ -3284,6 +3338,7 @@ public GetAutonomousDatabasesAutonomousDatabase build() { _resultValue.localDisasterRecoveryType = localDisasterRecoveryType; _resultValue.localStandbyDbs = localStandbyDbs; _resultValue.longTermBackupSchedules = longTermBackupSchedules; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.maxCpuCoreCount = maxCpuCoreCount; _resultValue.memoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; _resultValue.ncharacterSet = ncharacterSet; 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 c9fddad59c..36584455ea 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 @@ -26,6 +26,11 @@ public final class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { * */ private String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -41,6 +46,16 @@ public final class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { * */ private String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private String timeMaintenanceEnd; private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb() {} /** @@ -64,6 +79,13 @@ public Integer lagTimeInSeconds() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -85,6 +107,20 @@ public String timeDataGuardRoleChanged() { public String timeDisasterRecoveryRoleChanged() { return this.timeDisasterRecoveryRoleChanged; } + /** + * @return The date and time when maintenance will begin. + * + */ + public String timeMaintenanceBegin() { + return this.timeMaintenanceBegin; + } + /** + * @return The date and time when maintenance will end. + * + */ + public String timeMaintenanceEnd() { + return this.timeMaintenanceEnd; + } public static Builder builder() { return new Builder(); @@ -98,18 +134,24 @@ public static final class Builder { private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; + private String maintenanceTargetComponent; private String state; private String timeDataGuardRoleChanged; private String timeDisasterRecoveryRoleChanged; + private String timeMaintenanceBegin; + private String timeMaintenanceEnd; public Builder() {} public Builder(GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -137,6 +179,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb", "state"); @@ -160,14 +210,33 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + if (timeMaintenanceBegin == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb", "timeMaintenanceBegin"); + } + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + if (timeMaintenanceEnd == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb", "timeMaintenanceEnd"); + } + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } 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 67d5289d68..63be623039 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 @@ -26,6 +26,11 @@ public final class GetAutonomousDatabasesAutonomousDatabaseStandbyDb { * */ private String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -41,6 +46,16 @@ public final class GetAutonomousDatabasesAutonomousDatabaseStandbyDb { * */ private String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private String timeMaintenanceEnd; private GetAutonomousDatabasesAutonomousDatabaseStandbyDb() {} /** @@ -64,6 +79,13 @@ public Integer lagTimeInSeconds() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -85,6 +107,20 @@ public String timeDataGuardRoleChanged() { public String timeDisasterRecoveryRoleChanged() { return this.timeDisasterRecoveryRoleChanged; } + /** + * @return The date and time when maintenance will begin. + * + */ + public String timeMaintenanceBegin() { + return this.timeMaintenanceBegin; + } + /** + * @return The date and time when maintenance will end. + * + */ + public String timeMaintenanceEnd() { + return this.timeMaintenanceEnd; + } public static Builder builder() { return new Builder(); @@ -98,18 +134,24 @@ public static final class Builder { private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; + private String maintenanceTargetComponent; private String state; private String timeDataGuardRoleChanged; private String timeDisasterRecoveryRoleChanged; + private String timeMaintenanceBegin; + private String timeMaintenanceEnd; public Builder() {} public Builder(GetAutonomousDatabasesAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -137,6 +179,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseStandbyDb", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseStandbyDb", "state"); @@ -160,14 +210,33 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + if (timeMaintenanceBegin == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseStandbyDb", "timeMaintenanceBegin"); + } + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + if (timeMaintenanceEnd == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseStandbyDb", "timeMaintenanceEnd"); + } + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public GetAutonomousDatabasesAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesAutonomousDatabaseStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } 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 54142f83f1..3adc3127bd 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 @@ -93,6 +93,14 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { * */ private String characterSet; + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * === + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * > > > > > > > theirs + * + */ + private List cloneTableSpaceLists; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. * @@ -372,6 +380,11 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { * */ private List longTermBackupSchedules; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -734,6 +747,16 @@ public Double byolComputeCountLimit() { public String characterSet() { return this.characterSet; } + /** + * @return A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * === + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * > > > > > > > theirs + * + */ + public List cloneTableSpaceLists() { + return this.cloneTableSpaceLists; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. * @@ -1123,6 +1146,13 @@ public List localS public List longTermBackupSchedules() { return this.longTermBackupSchedules; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. * @@ -1525,6 +1555,7 @@ public static final class Builder { private Integer backupRetentionPeriodInDays; private Double byolComputeCountLimit; private String characterSet; + private List cloneTableSpaceLists; private String clusterPlacementGroupId; private String compartmentId; private Double computeCount; @@ -1580,6 +1611,7 @@ public static final class Builder { private String localDisasterRecoveryType; private List localStandbyDbs; private List longTermBackupSchedules; + private String maintenanceTargetComponent; private Integer maxCpuCoreCount; private Integer memoryPerOracleComputeUnitInGbs; private String ncharacterSet; @@ -1651,6 +1683,7 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabase defaults) { this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; this.byolComputeCountLimit = defaults.byolComputeCountLimit; this.characterSet = defaults.characterSet; + this.cloneTableSpaceLists = defaults.cloneTableSpaceLists; this.clusterPlacementGroupId = defaults.clusterPlacementGroupId; this.compartmentId = defaults.compartmentId; this.computeCount = defaults.computeCount; @@ -1706,6 +1739,7 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabase defaults) { this.localDisasterRecoveryType = defaults.localDisasterRecoveryType; this.localStandbyDbs = defaults.localStandbyDbs; this.longTermBackupSchedules = defaults.longTermBackupSchedules; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.maxCpuCoreCount = defaults.maxCpuCoreCount; this.memoryPerOracleComputeUnitInGbs = defaults.memoryPerOracleComputeUnitInGbs; this.ncharacterSet = defaults.ncharacterSet; @@ -1884,6 +1918,17 @@ public Builder characterSet(String characterSet) { return this; } @CustomType.Setter + public Builder cloneTableSpaceLists(List cloneTableSpaceLists) { + if (cloneTableSpaceLists == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "cloneTableSpaceLists"); + } + this.cloneTableSpaceLists = cloneTableSpaceLists; + return this; + } + public Builder cloneTableSpaceLists(Integer... cloneTableSpaceLists) { + return cloneTableSpaceLists(List.of(cloneTableSpaceLists)); + } + @CustomType.Setter public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { if (clusterPlacementGroupId == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "clusterPlacementGroupId"); @@ -2351,6 +2396,14 @@ public Builder longTermBackupSchedules(GetAutonomousDatabasesClonesAutonomousDat return longTermBackupSchedules(List.of(longTermBackupSchedules)); } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder maxCpuCoreCount(Integer maxCpuCoreCount) { if (maxCpuCoreCount == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "maxCpuCoreCount"); @@ -2831,6 +2884,7 @@ public GetAutonomousDatabasesClonesAutonomousDatabase build() { _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; _resultValue.byolComputeCountLimit = byolComputeCountLimit; _resultValue.characterSet = characterSet; + _resultValue.cloneTableSpaceLists = cloneTableSpaceLists; _resultValue.clusterPlacementGroupId = clusterPlacementGroupId; _resultValue.compartmentId = compartmentId; _resultValue.computeCount = computeCount; @@ -2886,6 +2940,7 @@ public GetAutonomousDatabasesClonesAutonomousDatabase build() { _resultValue.localDisasterRecoveryType = localDisasterRecoveryType; _resultValue.localStandbyDbs = localStandbyDbs; _resultValue.longTermBackupSchedules = longTermBackupSchedules; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.maxCpuCoreCount = maxCpuCoreCount; _resultValue.memoryPerOracleComputeUnitInGbs = memoryPerOracleComputeUnitInGbs; _resultValue.ncharacterSet = ncharacterSet; 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 ee0d5d2955..3ef2e77392 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 @@ -22,6 +22,11 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb * */ private String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -37,6 +42,16 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb * */ private String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private String timeMaintenanceEnd; private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb() {} public String availabilityDomain() { @@ -56,6 +71,13 @@ public Integer lagTimeInSeconds() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -77,6 +99,20 @@ public String timeDataGuardRoleChanged() { public String timeDisasterRecoveryRoleChanged() { return this.timeDisasterRecoveryRoleChanged; } + /** + * @return The date and time when maintenance will begin. + * + */ + public String timeMaintenanceBegin() { + return this.timeMaintenanceBegin; + } + /** + * @return The date and time when maintenance will end. + * + */ + public String timeMaintenanceEnd() { + return this.timeMaintenanceEnd; + } public static Builder builder() { return new Builder(); @@ -90,18 +126,24 @@ public static final class Builder { private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; + private String maintenanceTargetComponent; private String state; private String timeDataGuardRoleChanged; private String timeDisasterRecoveryRoleChanged; + private String timeMaintenanceBegin; + private String timeMaintenanceEnd; public Builder() {} public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -129,6 +171,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb", "state"); @@ -152,14 +202,33 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + if (timeMaintenanceBegin == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb", "timeMaintenanceBegin"); + } + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + if (timeMaintenanceEnd == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb", "timeMaintenanceEnd"); + } + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } 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 487a4c7f9f..56df63ac51 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 @@ -22,6 +22,11 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { * */ private String lifecycleDetails; + /** + * @return The component chosen for maintenance. + * + */ + private String maintenanceTargetComponent; /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -37,6 +42,16 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { * */ private String timeDisasterRecoveryRoleChanged; + /** + * @return The date and time when maintenance will begin. + * + */ + private String timeMaintenanceBegin; + /** + * @return The date and time when maintenance will end. + * + */ + private String timeMaintenanceEnd; private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb() {} public String availabilityDomain() { @@ -56,6 +71,13 @@ public Integer lagTimeInSeconds() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return The component chosen for maintenance. + * + */ + public String maintenanceTargetComponent() { + return this.maintenanceTargetComponent; + } /** * @return A filter to return only resources that match the given lifecycle state exactly. * @@ -77,6 +99,20 @@ public String timeDataGuardRoleChanged() { public String timeDisasterRecoveryRoleChanged() { return this.timeDisasterRecoveryRoleChanged; } + /** + * @return The date and time when maintenance will begin. + * + */ + public String timeMaintenanceBegin() { + return this.timeMaintenanceBegin; + } + /** + * @return The date and time when maintenance will end. + * + */ + public String timeMaintenanceEnd() { + return this.timeMaintenanceEnd; + } public static Builder builder() { return new Builder(); @@ -90,18 +126,24 @@ public static final class Builder { private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; + private String maintenanceTargetComponent; private String state; private String timeDataGuardRoleChanged; private String timeDisasterRecoveryRoleChanged; + private String timeMaintenanceBegin; + private String timeMaintenanceEnd; public Builder() {} public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; + this.maintenanceTargetComponent = defaults.maintenanceTargetComponent; this.state = defaults.state; this.timeDataGuardRoleChanged = defaults.timeDataGuardRoleChanged; this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; + this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; + this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; } @CustomType.Setter @@ -129,6 +171,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder maintenanceTargetComponent(String maintenanceTargetComponent) { + if (maintenanceTargetComponent == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb", "maintenanceTargetComponent"); + } + this.maintenanceTargetComponent = maintenanceTargetComponent; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb", "state"); @@ -152,14 +202,33 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh this.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; return this; } + @CustomType.Setter + public Builder timeMaintenanceBegin(String timeMaintenanceBegin) { + if (timeMaintenanceBegin == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb", "timeMaintenanceBegin"); + } + this.timeMaintenanceBegin = timeMaintenanceBegin; + return this; + } + @CustomType.Setter + public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { + if (timeMaintenanceEnd == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb", "timeMaintenanceEnd"); + } + this.timeMaintenanceEnd = timeMaintenanceEnd; + return this; + } public GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb(); _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.maintenanceTargetComponent = maintenanceTargetComponent; _resultValue.state = state; _resultValue.timeDataGuardRoleChanged = timeDataGuardRoleChanged; _resultValue.timeDisasterRecoveryRoleChanged = timeDisasterRecoveryRoleChanged; + _resultValue.timeMaintenanceBegin = timeMaintenanceBegin; + _resultValue.timeMaintenanceEnd = timeMaintenanceEnd; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationResult.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationResult.java index 15d0dccf86..ccfe4a3487 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationResult.java @@ -7,6 +7,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Database.outputs.GetBackupDestinationAssociatedDatabase; import com.pulumi.oci.Database.outputs.GetBackupDestinationMountTypeDetail; +import java.lang.Integer; import java.lang.String; import java.util.List; import java.util.Map; @@ -85,16 +86,31 @@ public final class GetBackupDestinationResult { * */ private String state; + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; /** * @return The date and time the backup destination was created. * */ private String timeCreated; + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + private Integer totalStorageSizeInGbs; /** * @return Type of the backup destination. * */ private String type; + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + private Integer utilizedStorageSizeInGbs; /** * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -203,6 +219,13 @@ public List nfsServers() { public String state() { return this.state; } + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } /** * @return The date and time the backup destination was created. * @@ -210,6 +233,13 @@ public String state() { public String timeCreated() { return this.timeCreated; } + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + public Integer totalStorageSizeInGbs() { + return this.totalStorageSizeInGbs; + } /** * @return Type of the backup destination. * @@ -217,6 +247,13 @@ public String timeCreated() { public String type() { return this.type; } + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + public Integer utilizedStorageSizeInGbs() { + return this.utilizedStorageSizeInGbs; + } /** * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -249,8 +286,11 @@ public static final class Builder { private String nfsServerExport; private List nfsServers; private String state; + private String timeAtWhichStorageDetailsAreUpdated; private String timeCreated; + private Integer totalStorageSizeInGbs; private String type; + private Integer utilizedStorageSizeInGbs; private List vpcUsers; public Builder() {} public Builder(GetBackupDestinationResult defaults) { @@ -270,8 +310,11 @@ public Builder(GetBackupDestinationResult defaults) { this.nfsServerExport = defaults.nfsServerExport; this.nfsServers = defaults.nfsServers; this.state = defaults.state; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; this.timeCreated = defaults.timeCreated; + this.totalStorageSizeInGbs = defaults.totalStorageSizeInGbs; this.type = defaults.type; + this.utilizedStorageSizeInGbs = defaults.utilizedStorageSizeInGbs; this.vpcUsers = defaults.vpcUsers; } @@ -405,6 +448,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationResult", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetBackupDestinationResult", "timeCreated"); @@ -413,6 +464,14 @@ public Builder timeCreated(String timeCreated) { return this; } @CustomType.Setter + public Builder totalStorageSizeInGbs(Integer totalStorageSizeInGbs) { + if (totalStorageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationResult", "totalStorageSizeInGbs"); + } + this.totalStorageSizeInGbs = totalStorageSizeInGbs; + return this; + } + @CustomType.Setter public Builder type(String type) { if (type == null) { throw new MissingRequiredPropertyException("GetBackupDestinationResult", "type"); @@ -421,6 +480,14 @@ public Builder type(String type) { return this; } @CustomType.Setter + public Builder utilizedStorageSizeInGbs(Integer utilizedStorageSizeInGbs) { + if (utilizedStorageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationResult", "utilizedStorageSizeInGbs"); + } + this.utilizedStorageSizeInGbs = utilizedStorageSizeInGbs; + return this; + } + @CustomType.Setter public Builder vpcUsers(List vpcUsers) { if (vpcUsers == null) { throw new MissingRequiredPropertyException("GetBackupDestinationResult", "vpcUsers"); @@ -448,8 +515,11 @@ public GetBackupDestinationResult build() { _resultValue.nfsServerExport = nfsServerExport; _resultValue.nfsServers = nfsServers; _resultValue.state = state; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; _resultValue.timeCreated = timeCreated; + _resultValue.totalStorageSizeInGbs = totalStorageSizeInGbs; _resultValue.type = type; + _resultValue.utilizedStorageSizeInGbs = utilizedStorageSizeInGbs; _resultValue.vpcUsers = vpcUsers; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationsBackupDestination.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationsBackupDestination.java index e7e06014fb..920b898f4b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationsBackupDestination.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetBackupDestinationsBackupDestination.java @@ -7,6 +7,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Database.outputs.GetBackupDestinationsBackupDestinationAssociatedDatabase; import com.pulumi.oci.Database.outputs.GetBackupDestinationsBackupDestinationMountTypeDetail; +import java.lang.Integer; import java.lang.String; import java.util.List; import java.util.Map; @@ -84,16 +85,31 @@ public final class GetBackupDestinationsBackupDestination { * */ private String state; + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + private String timeAtWhichStorageDetailsAreUpdated; /** * @return The date and time the backup destination was created. * */ private String timeCreated; + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + private Integer totalStorageSizeInGbs; /** * @return A filter to return only resources that match the given type of the Backup Destination. * */ private String type; + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + private Integer utilizedStorageSizeInGbs; /** * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -199,6 +215,13 @@ public List nfsServers() { public String state() { return this.state; } + /** + * @return The time when the total storage size and the utilized storage size of the backup destination are updated. + * + */ + public String timeAtWhichStorageDetailsAreUpdated() { + return this.timeAtWhichStorageDetailsAreUpdated; + } /** * @return The date and time the backup destination was created. * @@ -206,6 +229,13 @@ public String state() { public String timeCreated() { return this.timeCreated; } + /** + * @return The total storage size of the backup destination in GBs, rounded to the nearest integer. + * + */ + public Integer totalStorageSizeInGbs() { + return this.totalStorageSizeInGbs; + } /** * @return A filter to return only resources that match the given type of the Backup Destination. * @@ -213,6 +243,13 @@ public String timeCreated() { public String type() { return this.type; } + /** + * @return The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + * + */ + public Integer utilizedStorageSizeInGbs() { + return this.utilizedStorageSizeInGbs; + } /** * @return For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -244,8 +281,11 @@ public static final class Builder { private String nfsServerExport; private List nfsServers; private String state; + private String timeAtWhichStorageDetailsAreUpdated; private String timeCreated; + private Integer totalStorageSizeInGbs; private String type; + private Integer utilizedStorageSizeInGbs; private List vpcUsers; public Builder() {} public Builder(GetBackupDestinationsBackupDestination defaults) { @@ -264,8 +304,11 @@ public Builder(GetBackupDestinationsBackupDestination defaults) { this.nfsServerExport = defaults.nfsServerExport; this.nfsServers = defaults.nfsServers; this.state = defaults.state; + this.timeAtWhichStorageDetailsAreUpdated = defaults.timeAtWhichStorageDetailsAreUpdated; this.timeCreated = defaults.timeCreated; + this.totalStorageSizeInGbs = defaults.totalStorageSizeInGbs; this.type = defaults.type; + this.utilizedStorageSizeInGbs = defaults.utilizedStorageSizeInGbs; this.vpcUsers = defaults.vpcUsers; } @@ -391,6 +434,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder timeAtWhichStorageDetailsAreUpdated(String timeAtWhichStorageDetailsAreUpdated) { + if (timeAtWhichStorageDetailsAreUpdated == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "timeAtWhichStorageDetailsAreUpdated"); + } + this.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "timeCreated"); @@ -399,6 +450,14 @@ public Builder timeCreated(String timeCreated) { return this; } @CustomType.Setter + public Builder totalStorageSizeInGbs(Integer totalStorageSizeInGbs) { + if (totalStorageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "totalStorageSizeInGbs"); + } + this.totalStorageSizeInGbs = totalStorageSizeInGbs; + return this; + } + @CustomType.Setter public Builder type(String type) { if (type == null) { throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "type"); @@ -407,6 +466,14 @@ public Builder type(String type) { return this; } @CustomType.Setter + public Builder utilizedStorageSizeInGbs(Integer utilizedStorageSizeInGbs) { + if (utilizedStorageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "utilizedStorageSizeInGbs"); + } + this.utilizedStorageSizeInGbs = utilizedStorageSizeInGbs; + return this; + } + @CustomType.Setter public Builder vpcUsers(List vpcUsers) { if (vpcUsers == null) { throw new MissingRequiredPropertyException("GetBackupDestinationsBackupDestination", "vpcUsers"); @@ -433,8 +500,11 @@ public GetBackupDestinationsBackupDestination build() { _resultValue.nfsServerExport = nfsServerExport; _resultValue.nfsServers = nfsServers; _resultValue.state = state; + _resultValue.timeAtWhichStorageDetailsAreUpdated = timeAtWhichStorageDetailsAreUpdated; _resultValue.timeCreated = timeCreated; + _resultValue.totalStorageSizeInGbs = totalStorageSizeInGbs; _resultValue.type = type; + _resultValue.utilizedStorageSizeInGbs = utilizedStorageSizeInGbs; _resultValue.vpcUsers = vpcUsers; return _resultValue; } 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 cc107f9dae..e995028c29 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 @@ -97,6 +97,7 @@ public final class GetDataGuardAssociationResult { private String peerSidPrefix; private String peerVmClusterId; private String privateIp; + private String privateIpV6; /** * @return The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -286,6 +287,9 @@ public String peerVmClusterId() { public String privateIp() { return this.privateIp; } + public String privateIpV6() { + return this.privateIpV6; + } /** * @return The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -381,6 +385,7 @@ public static final class Builder { private String peerSidPrefix; private String peerVmClusterId; private String privateIp; + private String privateIpV6; private String protectionMode; private String role; private String shape; @@ -431,6 +436,7 @@ public Builder(GetDataGuardAssociationResult defaults) { this.peerSidPrefix = defaults.peerSidPrefix; this.peerVmClusterId = defaults.peerVmClusterId; this.privateIp = defaults.privateIp; + this.privateIpV6 = defaults.privateIpV6; this.protectionMode = defaults.protectionMode; this.role = defaults.role; this.shape = defaults.shape; @@ -759,6 +765,14 @@ public Builder privateIp(String privateIp) { return this; } @CustomType.Setter + public Builder privateIpV6(String privateIpV6) { + if (privateIpV6 == null) { + throw new MissingRequiredPropertyException("GetDataGuardAssociationResult", "privateIpV6"); + } + this.privateIpV6 = privateIpV6; + return this; + } + @CustomType.Setter public Builder protectionMode(String protectionMode) { if (protectionMode == null) { throw new MissingRequiredPropertyException("GetDataGuardAssociationResult", "protectionMode"); @@ -870,6 +884,7 @@ public GetDataGuardAssociationResult build() { _resultValue.peerSidPrefix = peerSidPrefix; _resultValue.peerVmClusterId = peerVmClusterId; _resultValue.privateIp = privateIp; + _resultValue.privateIpV6 = privateIpV6; _resultValue.protectionMode = protectionMode; _resultValue.role = role; _resultValue.shape = shape; 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 475d68efed..f554fededb 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 @@ -96,6 +96,7 @@ public final class GetDataGuardAssociationsDataGuardAssociation { private String peerSidPrefix; private String peerVmClusterId; private String privateIp; + private String privateIpV6; /** * @return The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -282,6 +283,9 @@ public String peerVmClusterId() { public String privateIp() { return this.privateIp; } + public String privateIpV6() { + return this.privateIpV6; + } /** * @return The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -376,6 +380,7 @@ public static final class Builder { private String peerSidPrefix; private String peerVmClusterId; private String privateIp; + private String privateIpV6; private String protectionMode; private String role; private String shape; @@ -425,6 +430,7 @@ public Builder(GetDataGuardAssociationsDataGuardAssociation defaults) { this.peerSidPrefix = defaults.peerSidPrefix; this.peerVmClusterId = defaults.peerVmClusterId; this.privateIp = defaults.privateIp; + this.privateIpV6 = defaults.privateIpV6; this.protectionMode = defaults.protectionMode; this.role = defaults.role; this.shape = defaults.shape; @@ -745,6 +751,14 @@ public Builder privateIp(String privateIp) { return this; } @CustomType.Setter + public Builder privateIpV6(String privateIpV6) { + if (privateIpV6 == null) { + throw new MissingRequiredPropertyException("GetDataGuardAssociationsDataGuardAssociation", "privateIpV6"); + } + this.privateIpV6 = privateIpV6; + return this; + } + @CustomType.Setter public Builder protectionMode(String protectionMode) { if (protectionMode == null) { throw new MissingRequiredPropertyException("GetDataGuardAssociationsDataGuardAssociation", "protectionMode"); @@ -855,6 +869,7 @@ public GetDataGuardAssociationsDataGuardAssociation build() { _resultValue.peerSidPrefix = peerSidPrefix; _resultValue.peerVmClusterId = peerVmClusterId; _resultValue.privateIp = privateIp; + _resultValue.privateIpV6 = privateIpV6; _resultValue.protectionMode = protectionMode; _resultValue.role = role; _resultValue.shape = shape; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDbSystemsDbSystem.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDbSystemsDbSystem.java index 6cf3d87c82..6cd736b5dc 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDbSystemsDbSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDbSystemsDbSystem.java @@ -186,6 +186,7 @@ public final class GetDbSystemsDbSystem { */ private String pointInTimeDataDiskCloneTimestamp; private String privateIp; + private String privateIpV6; /** * @return The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -202,10 +203,15 @@ public final class GetDbSystemsDbSystem { */ private String scanDnsRecordId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ private List scanIpIds; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + private List scanIpv6ids; /** * @return Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` * @@ -265,10 +271,15 @@ public final class GetDbSystemsDbSystem { */ private String version; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ private List vipIds; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + private List vipv6ids; /** * @return The OCID of the zone the DB system is associated with. * @@ -516,6 +527,9 @@ public String pointInTimeDataDiskCloneTimestamp() { public String privateIp() { return this.privateIp; } + public String privateIpV6() { + return this.privateIpV6; + } /** * @return The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. * @@ -538,12 +552,19 @@ public String scanDnsRecordId() { return this.scanDnsRecordId; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. * */ public List scanIpIds() { return this.scanIpIds; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * + */ + public List scanIpv6ids() { + return this.scanIpv6ids; + } /** * @return Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` * @@ -627,12 +648,19 @@ public String version() { return this.version; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. * */ public List vipIds() { return this.vipIds; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * + */ + public List vipv6ids() { + return this.vipv6ids; + } /** * @return The OCID of the zone the DB system is associated with. * @@ -687,10 +715,12 @@ public static final class Builder { private String osVersion; private String pointInTimeDataDiskCloneTimestamp; private String privateIp; + private String privateIpV6; private Integer recoStorageSizeInGb; private String scanDnsName; private String scanDnsRecordId; private List scanIpIds; + private List scanIpv6ids; private Map securityAttributes; private String shape; private String source; @@ -704,6 +734,7 @@ public static final class Builder { private String timeZone; private String version; private List vipIds; + private List vipv6ids; private String zoneId; public Builder() {} public Builder(GetDbSystemsDbSystem defaults) { @@ -745,10 +776,12 @@ public Builder(GetDbSystemsDbSystem defaults) { this.osVersion = defaults.osVersion; this.pointInTimeDataDiskCloneTimestamp = defaults.pointInTimeDataDiskCloneTimestamp; this.privateIp = defaults.privateIp; + this.privateIpV6 = defaults.privateIpV6; this.recoStorageSizeInGb = defaults.recoStorageSizeInGb; this.scanDnsName = defaults.scanDnsName; this.scanDnsRecordId = defaults.scanDnsRecordId; this.scanIpIds = defaults.scanIpIds; + this.scanIpv6ids = defaults.scanIpv6ids; this.securityAttributes = defaults.securityAttributes; this.shape = defaults.shape; this.source = defaults.source; @@ -762,6 +795,7 @@ public Builder(GetDbSystemsDbSystem defaults) { this.timeZone = defaults.timeZone; this.version = defaults.version; this.vipIds = defaults.vipIds; + this.vipv6ids = defaults.vipv6ids; this.zoneId = defaults.zoneId; } @@ -1089,6 +1123,14 @@ public Builder privateIp(String privateIp) { return this; } @CustomType.Setter + public Builder privateIpV6(String privateIpV6) { + if (privateIpV6 == null) { + throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "privateIpV6"); + } + this.privateIpV6 = privateIpV6; + return this; + } + @CustomType.Setter public Builder recoStorageSizeInGb(Integer recoStorageSizeInGb) { if (recoStorageSizeInGb == null) { throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "recoStorageSizeInGb"); @@ -1124,6 +1166,17 @@ public Builder scanIpIds(String... scanIpIds) { return scanIpIds(List.of(scanIpIds)); } @CustomType.Setter + public Builder scanIpv6ids(List scanIpv6ids) { + if (scanIpv6ids == null) { + throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "scanIpv6ids"); + } + this.scanIpv6ids = scanIpv6ids; + return this; + } + public Builder scanIpv6ids(String... scanIpv6ids) { + return scanIpv6ids(List.of(scanIpv6ids)); + } + @CustomType.Setter public Builder securityAttributes(Map securityAttributes) { if (securityAttributes == null) { throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "securityAttributes"); @@ -1234,6 +1287,17 @@ public Builder vipIds(String... vipIds) { return vipIds(List.of(vipIds)); } @CustomType.Setter + public Builder vipv6ids(List vipv6ids) { + if (vipv6ids == null) { + throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "vipv6ids"); + } + this.vipv6ids = vipv6ids; + return this; + } + public Builder vipv6ids(String... vipv6ids) { + return vipv6ids(List.of(vipv6ids)); + } + @CustomType.Setter public Builder zoneId(String zoneId) { if (zoneId == null) { throw new MissingRequiredPropertyException("GetDbSystemsDbSystem", "zoneId"); @@ -1280,10 +1344,12 @@ public GetDbSystemsDbSystem build() { _resultValue.osVersion = osVersion; _resultValue.pointInTimeDataDiskCloneTimestamp = pointInTimeDataDiskCloneTimestamp; _resultValue.privateIp = privateIp; + _resultValue.privateIpV6 = privateIpV6; _resultValue.recoStorageSizeInGb = recoStorageSizeInGb; _resultValue.scanDnsName = scanDnsName; _resultValue.scanDnsRecordId = scanDnsRecordId; _resultValue.scanIpIds = scanIpIds; + _resultValue.scanIpv6ids = scanIpv6ids; _resultValue.securityAttributes = securityAttributes; _resultValue.shape = shape; _resultValue.source = source; @@ -1297,6 +1363,7 @@ public GetDbSystemsDbSystem build() { _resultValue.timeZone = timeZone; _resultValue.version = version; _resultValue.vipIds = vipIds; + _resultValue.vipv6ids = vipv6ids; _resultValue.zoneId = zoneId; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetMaintenanceRunsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetMaintenanceRunsResult.java index e9f94dbd0e..b66f5a17ed 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetMaintenanceRunsResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetMaintenanceRunsResult.java @@ -7,6 +7,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Database.outputs.GetMaintenanceRunsFilter; import com.pulumi.oci.Database.outputs.GetMaintenanceRunsMaintenanceRun; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -27,6 +28,7 @@ public final class GetMaintenanceRunsResult { * */ private String id; + private @Nullable Boolean isLocalAdg; /** * @return The list of maintenance_runs. * @@ -79,6 +81,9 @@ public List filters() { public String id() { return this.id; } + public Optional isLocalAdg() { + return Optional.ofNullable(this.isLocalAdg); + } /** * @return The list of maintenance_runs. * @@ -135,6 +140,7 @@ public static final class Builder { private String compartmentId; private @Nullable List filters; private String id; + private @Nullable Boolean isLocalAdg; private List maintenanceRuns; private @Nullable String maintenanceSubtype; private @Nullable String maintenanceType; @@ -148,6 +154,7 @@ public Builder(GetMaintenanceRunsResult defaults) { this.compartmentId = defaults.compartmentId; this.filters = defaults.filters; this.id = defaults.id; + this.isLocalAdg = defaults.isLocalAdg; this.maintenanceRuns = defaults.maintenanceRuns; this.maintenanceSubtype = defaults.maintenanceSubtype; this.maintenanceType = defaults.maintenanceType; @@ -188,6 +195,12 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder isLocalAdg(@Nullable Boolean isLocalAdg) { + + this.isLocalAdg = isLocalAdg; + return this; + } + @CustomType.Setter public Builder maintenanceRuns(List maintenanceRuns) { if (maintenanceRuns == null) { throw new MissingRequiredPropertyException("GetMaintenanceRunsResult", "maintenanceRuns"); @@ -234,6 +247,7 @@ public GetMaintenanceRunsResult build() { _resultValue.compartmentId = compartmentId; _resultValue.filters = filters; _resultValue.id = id; + _resultValue.isLocalAdg = isLocalAdg; _resultValue.maintenanceRuns = maintenanceRuns; _resultValue.maintenanceSubtype = maintenanceSubtype; _resultValue.maintenanceType = maintenanceType; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java index 67cdb9b6dd..9ea517b47e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java @@ -410,6 +410,20 @@ public Output sourceSnapshotId() { public Output state() { return this.state; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FilesystemSnapshotPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FilesystemSnapshotPolicy.java index b59a7cd2f3..b41304a1db 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FilesystemSnapshotPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FilesystemSnapshotPolicy.java @@ -239,6 +239,20 @@ public Output> schedules() { public Output state() { return this.state; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * 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 90d388b07e..dac3fcdb2b 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 @@ -451,6 +451,20 @@ public Output state() { public Output subnetId() { return this.subnetId; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * 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` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/OutboundConnector.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/OutboundConnector.java index e401e3709e..1d4046d561 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/OutboundConnector.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/OutboundConnector.java @@ -289,6 +289,20 @@ public Output passwordSecretVersion() { public Output state() { return this.state; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Replication.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Replication.java index 2f854d1fa7..7b101e47b8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Replication.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Replication.java @@ -323,6 +323,20 @@ public Output sourceId() { public Output state() { return this.state; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Snapshot.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Snapshot.java index 6704a6965f..1c9ce07603 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Snapshot.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/Snapshot.java @@ -288,6 +288,20 @@ public Output snapshotType() { public Output state() { return this.state; } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Output> systemTags() { + return this.systemTags; + } /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FileSystemState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FileSystemState.java index 133d9445ea..fb3b058fde 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FileSystemState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FileSystemState.java @@ -338,6 +338,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -377,6 +392,7 @@ private FileSystemState(FileSystemState $) { this.sourceDetails = $.sourceDetails; this.sourceSnapshotId = $.sourceSnapshotId; this.state = $.state; + this.systemTags = $.systemTags; this.timeCreated = $.timeCreated; } @@ -857,6 +873,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @param timeCreated The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FilesystemSnapshotPolicyState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FilesystemSnapshotPolicyState.java index 04b6021089..d68abf43dc 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FilesystemSnapshotPolicyState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/FilesystemSnapshotPolicyState.java @@ -172,6 +172,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -200,6 +215,7 @@ private FilesystemSnapshotPolicyState(FilesystemSnapshotPolicyState $) { this.policyPrefix = $.policyPrefix; this.schedules = $.schedules; this.state = $.state; + this.systemTags = $.systemTags; this.timeCreated = $.timeCreated; } @@ -451,6 +467,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @param timeCreated The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * 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 d8c19c7eea..d61a8d909a 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 @@ -354,6 +354,21 @@ public Optional> subnetId() { return Optional.ofNullable(this.subnetId); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * 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` * @@ -408,6 +423,7 @@ private MountTargetState(MountTargetState $) { this.reservedStorageCapacity = $.reservedStorageCapacity; this.state = $.state; this.subnetId = $.subnetId; + this.systemTags = $.systemTags; this.timeBillingCycleEnd = $.timeBillingCycleEnd; this.timeCreated = $.timeCreated; } @@ -919,6 +935,27 @@ public Builder subnetId(String subnetId) { return subnetId(Output.of(subnetId)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @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` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/OutboundConnectorState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/OutboundConnectorState.java index 44b8565e78..3e213707c3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/OutboundConnectorState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/OutboundConnectorState.java @@ -214,6 +214,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -245,6 +260,7 @@ private OutboundConnectorState(OutboundConnectorState $) { this.passwordSecretId = $.passwordSecretId; this.passwordSecretVersion = $.passwordSecretVersion; this.state = $.state; + this.systemTags = $.systemTags; this.timeCreated = $.timeCreated; } @@ -553,6 +569,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @param timeCreated The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/ReplicationState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/ReplicationState.java index 709a7e5820..33117be16d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/ReplicationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/ReplicationState.java @@ -251,6 +251,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -306,6 +321,7 @@ private ReplicationState(ReplicationState $) { this.replicationTargetId = $.replicationTargetId; this.sourceId = $.sourceId; this.state = $.state; + this.systemTags = $.systemTags; this.targetId = $.targetId; this.timeCreated = $.timeCreated; } @@ -662,6 +678,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @param targetId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/SnapshotState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/SnapshotState.java index d59ef765f2..dda96b91ea 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/SnapshotState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/SnapshotState.java @@ -241,6 +241,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -273,6 +288,7 @@ private SnapshotState(SnapshotState $) { this.snapshotTime = $.snapshotTime; this.snapshotType = $.snapshotType; this.state = $.state; + this.systemTags = $.systemTags; this.timeCreated = $.timeCreated; } @@ -606,6 +622,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + /** * @param timeCreated The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFileSystemsFileSystem.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFileSystemsFileSystem.java index 007ae366bb..1848d31522 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFileSystemsFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFileSystemsFileSystem.java @@ -118,6 +118,11 @@ public final class GetFileSystemsFileSystem { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -271,6 +276,13 @@ public String sourceSnapshotId() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -310,6 +322,7 @@ public static final class Builder { private List sourceDetails; private String sourceSnapshotId; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetFileSystemsFileSystem defaults) { @@ -336,6 +349,7 @@ public Builder(GetFileSystemsFileSystem defaults) { this.sourceDetails = defaults.sourceDetails; this.sourceSnapshotId = defaults.sourceSnapshotId; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -522,6 +536,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetFileSystemsFileSystem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetFileSystemsFileSystem", "timeCreated"); @@ -553,6 +575,7 @@ public GetFileSystemsFileSystem build() { _resultValue.sourceDetails = sourceDetails; _resultValue.sourceSnapshotId = sourceSnapshotId; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy.java index 3888054a5f..4329a6658f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy.java @@ -66,6 +66,11 @@ public final class GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -146,6 +151,13 @@ public List sched public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -174,6 +186,7 @@ public static final class Builder { private String policyPrefix; private List schedules; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy defaults) { @@ -189,6 +202,7 @@ public Builder(GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy defaults) { this.policyPrefix = defaults.policyPrefix; this.schedules = defaults.schedules; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -287,6 +301,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy", "timeCreated"); @@ -307,6 +329,7 @@ public GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy build() { _resultValue.policyPrefix = policyPrefix; _resultValue.schedules = schedules; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPolicyResult.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPolicyResult.java index 8ea1ec8c26..bb59c8216a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetFilesystemSnapshotPolicyResult.java @@ -67,6 +67,11 @@ public final class GetFilesystemSnapshotPolicyResult { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -150,6 +155,13 @@ public List schedules() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -179,6 +191,7 @@ public static final class Builder { private String policyPrefix; private List schedules; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetFilesystemSnapshotPolicyResult defaults) { @@ -195,6 +208,7 @@ public Builder(GetFilesystemSnapshotPolicyResult defaults) { this.policyPrefix = defaults.policyPrefix; this.schedules = defaults.schedules; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -301,6 +315,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetFilesystemSnapshotPolicyResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetFilesystemSnapshotPolicyResult", "timeCreated"); @@ -322,6 +344,7 @@ public GetFilesystemSnapshotPolicyResult build() { _resultValue.policyPrefix = policyPrefix; _resultValue.schedules = schedules; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } 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 f8964c675e..881d3dbc1f 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 @@ -114,6 +114,11 @@ public final class GetMountTargetsMountTarget { * */ private String subnetId; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @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` * @@ -268,6 +273,13 @@ public String state() { public String subnetId() { return this.subnetId; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @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` * @@ -314,6 +326,7 @@ public static final class Builder { private String reservedStorageCapacity; private String state; private String subnetId; + private Map systemTags; private String timeBillingCycleEnd; private String timeCreated; public Builder() {} @@ -341,6 +354,7 @@ public Builder(GetMountTargetsMountTarget defaults) { this.reservedStorageCapacity = defaults.reservedStorageCapacity; this.state = defaults.state; this.subnetId = defaults.subnetId; + this.systemTags = defaults.systemTags; this.timeBillingCycleEnd = defaults.timeBillingCycleEnd; this.timeCreated = defaults.timeCreated; } @@ -537,6 +551,14 @@ public Builder subnetId(String subnetId) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeBillingCycleEnd(String timeBillingCycleEnd) { if (timeBillingCycleEnd == null) { throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "timeBillingCycleEnd"); @@ -576,6 +598,7 @@ public GetMountTargetsMountTarget build() { _resultValue.reservedStorageCapacity = reservedStorageCapacity; _resultValue.state = state; _resultValue.subnetId = subnetId; + _resultValue.systemTags = systemTags; _resultValue.timeBillingCycleEnd = timeBillingCycleEnd; _resultValue.timeCreated = timeCreated; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorResult.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorResult.java index 30eaf27e3a..45ead69d0a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorResult.java @@ -83,6 +83,11 @@ public final class GetOutboundConnectorResult { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -187,6 +192,13 @@ public Integer passwordSecretVersion() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -219,6 +231,7 @@ public static final class Builder { private String passwordSecretId; private Integer passwordSecretVersion; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetOutboundConnectorResult defaults) { @@ -238,6 +251,7 @@ public Builder(GetOutboundConnectorResult defaults) { this.passwordSecretId = defaults.passwordSecretId; this.passwordSecretVersion = defaults.passwordSecretVersion; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -368,6 +382,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetOutboundConnectorResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetOutboundConnectorResult", "timeCreated"); @@ -392,6 +414,7 @@ public GetOutboundConnectorResult build() { _resultValue.passwordSecretId = passwordSecretId; _resultValue.passwordSecretVersion = passwordSecretVersion; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorsOutboundConnector.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorsOutboundConnector.java index e9da5acaa5..29452f2a0b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorsOutboundConnector.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetOutboundConnectorsOutboundConnector.java @@ -82,6 +82,11 @@ public final class GetOutboundConnectorsOutboundConnector { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -183,6 +188,13 @@ public Integer passwordSecretVersion() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -214,6 +226,7 @@ public static final class Builder { private String passwordSecretId; private Integer passwordSecretVersion; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetOutboundConnectorsOutboundConnector defaults) { @@ -232,6 +245,7 @@ public Builder(GetOutboundConnectorsOutboundConnector defaults) { this.passwordSecretId = defaults.passwordSecretId; this.passwordSecretVersion = defaults.passwordSecretVersion; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -354,6 +368,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetOutboundConnectorsOutboundConnector", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetOutboundConnectorsOutboundConnector", "timeCreated"); @@ -377,6 +399,7 @@ public GetOutboundConnectorsOutboundConnector build() { _resultValue.passwordSecretId = passwordSecretId; _resultValue.passwordSecretVersion = passwordSecretVersion; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationResult.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationResult.java index 60e8037ea0..c139ad2b17 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationResult.java @@ -96,6 +96,11 @@ public final class GetReplicationResult { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -226,6 +231,13 @@ public String sourceId() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -268,6 +280,7 @@ public static final class Builder { private String replicationTargetId; private String sourceId; private String state; + private Map systemTags; private String targetId; private String timeCreated; public Builder() {} @@ -291,6 +304,7 @@ public Builder(GetReplicationResult defaults) { this.replicationTargetId = defaults.replicationTargetId; this.sourceId = defaults.sourceId; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.targetId = defaults.targetId; this.timeCreated = defaults.timeCreated; } @@ -443,6 +457,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetReplicationResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder targetId(String targetId) { if (targetId == null) { throw new MissingRequiredPropertyException("GetReplicationResult", "targetId"); @@ -478,6 +500,7 @@ public GetReplicationResult build() { _resultValue.replicationTargetId = replicationTargetId; _resultValue.sourceId = sourceId; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.targetId = targetId; _resultValue.timeCreated = timeCreated; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetResult.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetResult.java index aaa1154bb0..617b4d5dd3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetResult.java @@ -82,6 +82,11 @@ public final class GetReplicationTargetResult { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. * @@ -195,6 +200,13 @@ public String sourceId() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. * @@ -234,6 +246,7 @@ public static final class Builder { private String replicationTargetId; private String sourceId; private String state; + private Map systemTags; private String targetId; private String timeCreated; public Builder() {} @@ -254,6 +267,7 @@ public Builder(GetReplicationTargetResult defaults) { this.replicationTargetId = defaults.replicationTargetId; this.sourceId = defaults.sourceId; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.targetId = defaults.targetId; this.timeCreated = defaults.timeCreated; } @@ -379,6 +393,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetReplicationTargetResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder targetId(String targetId) { if (targetId == null) { throw new MissingRequiredPropertyException("GetReplicationTargetResult", "targetId"); @@ -411,6 +433,7 @@ public GetReplicationTargetResult build() { _resultValue.replicationTargetId = replicationTargetId; _resultValue.sourceId = sourceId; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.targetId = targetId; _resultValue.timeCreated = timeCreated; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetsReplicationTarget.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetsReplicationTarget.java index 5acef4d4d1..df70d274b8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetsReplicationTarget.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationTargetsReplicationTarget.java @@ -81,6 +81,11 @@ public final class GetReplicationTargetsReplicationTarget { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. * @@ -191,6 +196,13 @@ public String sourceId() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. * @@ -229,6 +241,7 @@ public static final class Builder { private String replicationId; private String sourceId; private String state; + private Map systemTags; private String targetId; private String timeCreated; public Builder() {} @@ -248,6 +261,7 @@ public Builder(GetReplicationTargetsReplicationTarget defaults) { this.replicationId = defaults.replicationId; this.sourceId = defaults.sourceId; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.targetId = defaults.targetId; this.timeCreated = defaults.timeCreated; } @@ -365,6 +379,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetReplicationTargetsReplicationTarget", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder targetId(String targetId) { if (targetId == null) { throw new MissingRequiredPropertyException("GetReplicationTargetsReplicationTarget", "targetId"); @@ -396,6 +418,7 @@ public GetReplicationTargetsReplicationTarget build() { _resultValue.replicationId = replicationId; _resultValue.sourceId = sourceId; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.targetId = targetId; _resultValue.timeCreated = timeCreated; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationsReplication.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationsReplication.java index 3d3cb4a771..d4db8a98dc 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationsReplication.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetReplicationsReplication.java @@ -95,6 +95,11 @@ public final class GetReplicationsReplication { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -222,6 +227,13 @@ public String sourceId() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -263,6 +275,7 @@ public static final class Builder { private String replicationTargetId; private String sourceId; private String state; + private Map systemTags; private String targetId; private String timeCreated; public Builder() {} @@ -285,6 +298,7 @@ public Builder(GetReplicationsReplication defaults) { this.replicationTargetId = defaults.replicationTargetId; this.sourceId = defaults.sourceId; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.targetId = defaults.targetId; this.timeCreated = defaults.timeCreated; } @@ -429,6 +443,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetReplicationsReplication", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder targetId(String targetId) { if (targetId == null) { throw new MissingRequiredPropertyException("GetReplicationsReplication", "targetId"); @@ -463,6 +485,7 @@ public GetReplicationsReplication build() { _resultValue.replicationTargetId = replicationTargetId; _resultValue.sourceId = sourceId; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.targetId = targetId; _resultValue.timeCreated = timeCreated; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotResult.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotResult.java index 50e137ca2c..b6cea2e9a3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotResult.java @@ -89,6 +89,11 @@ public final class GetSnapshotResult { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -203,6 +208,13 @@ public String snapshotType() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -236,6 +248,7 @@ public static final class Builder { private String snapshotTime; private String snapshotType; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetSnapshotResult defaults) { @@ -256,6 +269,7 @@ public Builder(GetSnapshotResult defaults) { this.snapshotTime = defaults.snapshotTime; this.snapshotType = defaults.snapshotType; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -391,6 +405,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSnapshotResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetSnapshotResult", "timeCreated"); @@ -416,6 +438,7 @@ public GetSnapshotResult build() { _resultValue.snapshotTime = snapshotTime; _resultValue.snapshotType = snapshotType; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotsSnapshot.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotsSnapshot.java index e0e6b1ba73..88ebdafde1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotsSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetSnapshotsSnapshot.java @@ -88,6 +88,11 @@ public final class GetSnapshotsSnapshot { * */ private String state; + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + private Map systemTags; /** * @return The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -199,6 +204,13 @@ public String snapshotType() { public String state() { return this.state; } + /** + * @return System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` * @@ -231,6 +243,7 @@ public static final class Builder { private String snapshotTime; private String snapshotType; private String state; + private Map systemTags; private String timeCreated; public Builder() {} public Builder(GetSnapshotsSnapshot defaults) { @@ -250,6 +263,7 @@ public Builder(GetSnapshotsSnapshot defaults) { this.snapshotTime = defaults.snapshotTime; this.snapshotType = defaults.snapshotType; this.state = defaults.state; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; } @@ -377,6 +391,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSnapshotsSnapshot", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetSnapshotsSnapshot", "timeCreated"); @@ -401,6 +423,7 @@ public GetSnapshotsSnapshot build() { _resultValue.snapshotTime = snapshotTime; _resultValue.snapshotType = snapshotType; _resultValue.state = state; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Connection.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Connection.java index 2b4c413fcc..1c158a8aed 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Connection.java @@ -134,6 +134,7 @@ * .serviceAccountKeyFileSecretId(testSecret.id()) * .sessionMode(connectionSessionMode) * .shouldUseJndi(connectionShouldUseJndi) + * .shouldUseResourcePrincipal(connectionShouldUseResourcePrincipal) * .shouldValidateServerCertificate(connectionShouldValidateServerCertificate) * .sslCa(connectionSslCa) * .sslCert(connectionSslCert) @@ -148,9 +149,16 @@ * .sslKeySecretId(testSecret.id()) * .sslMode(connectionSslMode) * .sslServerCertificate(connectionSslServerCertificate) + * .storageCredentialName(connectionStorageCredentialName) * .streamPoolId(testStreamPool.id()) * .subnetId(testSubnet.id()) * .tenancyId(testTenancy.id()) + * .tenantId(testTenant.id()) + * .tlsCaFile(connectionTlsCaFile) + * .tlsCertificateKeyFile(connectionTlsCertificateKeyFile) + * .tlsCertificateKeyFilePassword(connectionTlsCertificateKeyFilePassword) + * .tlsCertificateKeyFilePasswordSecretId(testSecret.id()) + * .tlsCertificateKeyFileSecretId(testSecret.id()) * .trustStore(connectionTrustStore) * .trustStorePassword(connectionTrustStorePassword) * .trustStorePasswordSecretId(testSecret.id()) @@ -196,14 +204,14 @@ public Output accessKeyId() { return this.accessKeyId; } /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ @Export(name="accountKey", refs={String.class}, tree="[0]") private Output accountKey; /** - * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ public Output> accountKey() { @@ -322,28 +330,28 @@ public Output clientId() { return this.clientId; } /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ @Export(name="clientSecret", refs={String.class}, tree="[0]") private Output clientSecret; /** - * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ public Output> clientSecret() { return Codegen.optional(this.clientSecret); } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ @Export(name="clientSecretSecretId", refs={String.class}, tree="[0]") private Output clientSecretSecretId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ public Output> clientSecretSecretId() { @@ -406,14 +414,14 @@ public Output connectionType() { return this.connectionType; } /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ @Export(name="connectionUrl", refs={String.class}, tree="[0]") private Output connectionUrl; /** - * @return (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @return (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ public Output connectionUrl() { @@ -560,14 +568,14 @@ public Output doesUseSecretIds() { return this.doesUseSecretIds; } /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ @Export(name="endpoint", refs={String.class}, tree="[0]") private Output endpoint; /** - * @return (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @return (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ public Output endpoint() { @@ -680,14 +688,14 @@ public Output jndiProviderUrl() { return this.jndiProviderUrl; } /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ @Export(name="jndiSecurityCredentials", refs={String.class}, tree="[0]") private Output jndiSecurityCredentials; /** - * @return (Updatable) The password associated to the principal. + * @return (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ public Output> jndiSecurityCredentials() { @@ -736,28 +744,28 @@ public Output keyId() { return this.keyId; } /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ @Export(name="keyStore", refs={String.class}, tree="[0]") private Output keyStore; /** - * @return (Updatable) The base64 encoded content of the KeyStore file. + * @return (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ public Output> keyStore() { return Codegen.optional(this.keyStore); } /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Export(name="keyStorePassword", refs={String.class}, tree="[0]") private Output keyStorePassword; /** - * @return (Updatable) The KeyStore password. + * @return (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Output> keyStorePassword() { @@ -834,14 +842,14 @@ public Output> nsgIds() { return this.nsgIds; } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Export(name="password", refs={String.class}, tree="[0]") private Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Output> password() { @@ -894,14 +902,14 @@ public Output privateIp() { return this.privateIp; } /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ @Export(name="privateKeyFile", refs={String.class}, tree="[0]") private Output privateKeyFile; /** - * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ public Output> privateKeyFile() { @@ -922,14 +930,14 @@ public Output> privateKeyFileSecretId() { return Codegen.optional(this.privateKeyFileSecretId); } /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ @Export(name="privateKeyPassphrase", refs={String.class}, tree="[0]") private Output privateKeyPassphrase; /** - * @return (Updatable) Password if the private key file is encrypted. + * @return (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ public Output> privateKeyPassphrase() { @@ -992,14 +1000,14 @@ public Output redisClusterId() { return this.redisClusterId; } /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ @Export(name="region", refs={String.class}, tree="[0]") private Output region; /** - * @return (Updatable) The name of the region. e.g.: us-ashburn-1 + * @return (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ public Output region() { @@ -1020,14 +1028,14 @@ public Output routingMethod() { return this.routingMethod; } /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ @Export(name="sasToken", refs={String.class}, tree="[0]") private Output sasToken; /** - * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ public Output> sasToken() { @@ -1048,14 +1056,14 @@ public Output> sasTokenSecretId() { return Codegen.optional(this.sasTokenSecretId); } /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ @Export(name="secretAccessKey", refs={String.class}, tree="[0]") private Output secretAccessKey; /** - * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ public Output> secretAccessKey() { @@ -1104,14 +1112,14 @@ public Output servers() { return this.servers; } /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ @Export(name="serviceAccountKeyFile", refs={String.class}, tree="[0]") private Output serviceAccountKeyFile; /** - * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ public Output> serviceAccountKeyFile() { @@ -1159,6 +1167,20 @@ public Output sessionMode() { public Output shouldUseJndi() { return this.shouldUseJndi; } + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + @Export(name="shouldUseResourcePrincipal", refs={Boolean.class}, tree="[0]") + private Output shouldUseResourcePrincipal; + + /** + * @return (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + public Output shouldUseResourcePrincipal() { + return this.shouldUseResourcePrincipal; + } /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. * @@ -1202,14 +1224,14 @@ public Output sslCert() { return this.sslCert; } /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ @Export(name="sslClientKeystash", refs={String.class}, tree="[0]") private Output sslClientKeystash; /** - * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ public Output> sslClientKeystash() { @@ -1230,14 +1252,14 @@ public Output> sslClientKeystashSecretId() { return Codegen.optional(this.sslClientKeystashSecretId); } /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ @Export(name="sslClientKeystoredb", refs={String.class}, tree="[0]") private Output sslClientKeystoredb; /** - * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ public Output> sslClientKeystoredb() { @@ -1272,28 +1294,28 @@ public Output sslCrl() { return this.sslCrl; } /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ @Export(name="sslKey", refs={String.class}, tree="[0]") private Output sslKey; /** - * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ public Output> sslKey() { return Codegen.optional(this.sslKey); } /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ @Export(name="sslKeyPassword", refs={String.class}, tree="[0]") private Output sslKeyPassword; /** - * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ public Output> sslKeyPassword() { @@ -1371,6 +1393,20 @@ public Output sslServerCertificate() { public Output state() { return this.state; } + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + @Export(name="storageCredentialName", refs={String.class}, tree="[0]") + private Output storageCredentialName; + + /** + * @return (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + public Output storageCredentialName() { + return this.storageCredentialName; + } /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -1441,6 +1477,20 @@ public Output technologyType() { public Output tenancyId() { return this.tenancyId; } + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + @Export(name="tenantId", refs={String.class}, tree="[0]") + private Output tenantId; + + /** + * @return (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + public Output tenantId() { + return this.tenantId; + } /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -1469,6 +1519,78 @@ public Output timeCreated() { public Output timeUpdated() { return this.timeUpdated; } + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + @Export(name="tlsCaFile", refs={String.class}, tree="[0]") + private Output tlsCaFile; + + /** + * @return (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + public Output tlsCaFile() { + return this.tlsCaFile; + } + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + @Export(name="tlsCertificateKeyFile", refs={String.class}, tree="[0]") + private Output tlsCertificateKeyFile; + + /** + * @return (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + public Output tlsCertificateKeyFile() { + return this.tlsCertificateKeyFile; + } + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + @Export(name="tlsCertificateKeyFilePassword", refs={String.class}, tree="[0]") + private Output tlsCertificateKeyFilePassword; + + /** + * @return (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + public Output tlsCertificateKeyFilePassword() { + return this.tlsCertificateKeyFilePassword; + } + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + @Export(name="tlsCertificateKeyFilePasswordSecretId", refs={String.class}, tree="[0]") + private Output tlsCertificateKeyFilePasswordSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + public Output tlsCertificateKeyFilePasswordSecretId() { + return this.tlsCertificateKeyFilePasswordSecretId; + } + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + @Export(name="tlsCertificateKeyFileSecretId", refs={String.class}, tree="[0]") + private Output tlsCertificateKeyFileSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + public Output tlsCertificateKeyFileSecretId() { + return this.tlsCertificateKeyFileSecretId; + } /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -1490,28 +1612,28 @@ public Output> triggerRefresh() { return Codegen.optional(this.triggerRefresh); } /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ @Export(name="trustStore", refs={String.class}, tree="[0]") private Output trustStore; /** - * @return (Updatable) The base64 encoded content of the TrustStore file. + * @return (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ public Output> trustStore() { return Codegen.optional(this.trustStore); } /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Export(name="trustStorePassword", refs={String.class}, tree="[0]") private Output trustStorePassword; /** - * @return (Updatable) The TrustStore password. + * @return (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Output> trustStorePassword() { @@ -1560,14 +1682,14 @@ public Output url() { return this.url; } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ @Export(name="userId", refs={String.class}, tree="[0]") private Output userId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ public Output userId() { @@ -1602,14 +1724,14 @@ public Output vaultId() { return this.vaultId; } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ @Export(name="wallet", refs={String.class}, tree="[0]") private Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ public Output> wallet() { @@ -1685,6 +1807,8 @@ private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@N "sslClientKeystoredb", "sslKey", "sslKeyPassword", + "tlsCertificateKeyFilePassword", + "tlsCertificateKeyFilePasswordSecretId", "trustStore", "trustStorePassword", "wallet" diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/ConnectionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/ConnectionArgs.java index 4ed98f8af8..82591ab6ec 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/ConnectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/ConnectionArgs.java @@ -39,14 +39,14 @@ public Optional> accessKeyId() { } /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="accountKey") private @Nullable Output accountKey; /** - * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ public Optional> accountKey() { @@ -174,14 +174,14 @@ public Optional> clientId() { } /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ @Import(name="clientSecret") private @Nullable Output clientSecret; /** - * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ public Optional> clientSecret() { @@ -189,14 +189,14 @@ public Optional> clientSecret() { } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ @Import(name="clientSecretSecretId") private @Nullable Output clientSecretSecretId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ public Optional> clientSecretSecretId() { @@ -264,14 +264,14 @@ public Output connectionType() { } /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ @Import(name="connectionUrl") private @Nullable Output connectionUrl; /** - * @return (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @return (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ public Optional> connectionUrl() { @@ -429,14 +429,14 @@ public Optional> doesUseSecretIds() { } /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ @Import(name="endpoint") private @Nullable Output endpoint; /** - * @return (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @return (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ public Optional> endpoint() { @@ -543,14 +543,14 @@ public Optional> jndiProviderUrl() { } /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ @Import(name="jndiSecurityCredentials") private @Nullable Output jndiSecurityCredentials; /** - * @return (Updatable) The password associated to the principal. + * @return (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ public Optional> jndiSecurityCredentials() { @@ -603,14 +603,14 @@ public Optional> keyId() { } /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ @Import(name="keyStore") private @Nullable Output keyStore; /** - * @return (Updatable) The base64 encoded content of the KeyStore file. + * @return (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ public Optional> keyStore() { @@ -618,14 +618,14 @@ public Optional> keyStore() { } /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="keyStorePassword") private @Nullable Output keyStorePassword; /** - * @return (Updatable) The KeyStore password. + * @return (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> keyStorePassword() { @@ -693,14 +693,14 @@ public Optional>> nsgIds() { } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Import(name="password") private @Nullable Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Optional> password() { @@ -757,14 +757,14 @@ public Optional> privateIp() { } /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ @Import(name="privateKeyFile") private @Nullable Output privateKeyFile; /** - * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ public Optional> privateKeyFile() { @@ -787,14 +787,14 @@ public Optional> privateKeyFileSecretId() { } /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ @Import(name="privateKeyPassphrase") private @Nullable Output privateKeyPassphrase; /** - * @return (Updatable) Password if the private key file is encrypted. + * @return (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ public Optional> privateKeyPassphrase() { @@ -862,14 +862,14 @@ public Optional> redisClusterId() { } /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ @Import(name="region") private @Nullable Output region; /** - * @return (Updatable) The name of the region. e.g.: us-ashburn-1 + * @return (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ public Optional> region() { @@ -892,14 +892,14 @@ public Optional> routingMethod() { } /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ @Import(name="sasToken") private @Nullable Output sasToken; /** - * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ public Optional> sasToken() { @@ -922,14 +922,14 @@ public Optional> sasTokenSecretId() { } /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="secretAccessKey") private @Nullable Output secretAccessKey; /** - * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ public Optional> secretAccessKey() { @@ -982,14 +982,14 @@ public Optional> servers() { } /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ @Import(name="serviceAccountKeyFile") private @Nullable Output serviceAccountKeyFile; /** - * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ public Optional> serviceAccountKeyFile() { @@ -1041,6 +1041,21 @@ public Optional> shouldUseJndi() { return Optional.ofNullable(this.shouldUseJndi); } + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + @Import(name="shouldUseResourcePrincipal") + private @Nullable Output shouldUseResourcePrincipal; + + /** + * @return (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + public Optional> shouldUseResourcePrincipal() { + return Optional.ofNullable(this.shouldUseResourcePrincipal); + } + /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. * @@ -1087,14 +1102,14 @@ public Optional> sslCert() { } /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslClientKeystash") private @Nullable Output sslClientKeystash; /** - * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ public Optional> sslClientKeystash() { @@ -1117,14 +1132,14 @@ public Optional> sslClientKeystashSecretId() { } /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslClientKeystoredb") private @Nullable Output sslClientKeystoredb; /** - * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ public Optional> sslClientKeystoredb() { @@ -1162,14 +1177,14 @@ public Optional> sslCrl() { } /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="sslKey") private @Nullable Output sslKey; /** - * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ public Optional> sslKey() { @@ -1177,14 +1192,14 @@ public Optional> sslKey() { } /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslKeyPassword") private @Nullable Output sslKeyPassword; /** - * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> sslKeyPassword() { @@ -1253,6 +1268,21 @@ public Optional> sslServerCertificate() { return Optional.ofNullable(this.sslServerCertificate); } + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + @Import(name="storageCredentialName") + private @Nullable Output storageCredentialName; + + /** + * @return (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + public Optional> storageCredentialName() { + return Optional.ofNullable(this.storageCredentialName); + } + /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -1313,6 +1343,98 @@ public Optional> tenancyId() { return Optional.ofNullable(this.tenancyId); } + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + @Import(name="tenantId") + private @Nullable Output tenantId; + + /** + * @return (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + public Optional> tenantId() { + return Optional.ofNullable(this.tenantId); + } + + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + @Import(name="tlsCaFile") + private @Nullable Output tlsCaFile; + + /** + * @return (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + public Optional> tlsCaFile() { + return Optional.ofNullable(this.tlsCaFile); + } + + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + @Import(name="tlsCertificateKeyFile") + private @Nullable Output tlsCertificateKeyFile; + + /** + * @return (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + public Optional> tlsCertificateKeyFile() { + return Optional.ofNullable(this.tlsCertificateKeyFile); + } + + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + @Import(name="tlsCertificateKeyFilePassword") + private @Nullable Output tlsCertificateKeyFilePassword; + + /** + * @return (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + public Optional> tlsCertificateKeyFilePassword() { + return Optional.ofNullable(this.tlsCertificateKeyFilePassword); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + @Import(name="tlsCertificateKeyFilePasswordSecretId") + private @Nullable Output tlsCertificateKeyFilePasswordSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + public Optional> tlsCertificateKeyFilePasswordSecretId() { + return Optional.ofNullable(this.tlsCertificateKeyFilePasswordSecretId); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + @Import(name="tlsCertificateKeyFileSecretId") + private @Nullable Output tlsCertificateKeyFileSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + public Optional> tlsCertificateKeyFileSecretId() { + return Optional.ofNullable(this.tlsCertificateKeyFileSecretId); + } + /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -1335,14 +1457,14 @@ public Optional> triggerRefresh() { } /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ @Import(name="trustStore") private @Nullable Output trustStore; /** - * @return (Updatable) The base64 encoded content of the TrustStore file. + * @return (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ public Optional> trustStore() { @@ -1350,14 +1472,14 @@ public Optional> trustStore() { } /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="trustStorePassword") private @Nullable Output trustStorePassword; /** - * @return (Updatable) The TrustStore password. + * @return (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> trustStorePassword() { @@ -1410,14 +1532,14 @@ public Optional> url() { } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ @Import(name="userId") private @Nullable Output userId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ public Optional> userId() { @@ -1455,14 +1577,14 @@ public Optional> vaultId() { } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ @Import(name="wallet") private @Nullable Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ public Optional> wallet() { @@ -1555,6 +1677,7 @@ private ConnectionArgs(ConnectionArgs $) { this.serviceAccountKeyFileSecretId = $.serviceAccountKeyFileSecretId; this.sessionMode = $.sessionMode; this.shouldUseJndi = $.shouldUseJndi; + this.shouldUseResourcePrincipal = $.shouldUseResourcePrincipal; this.shouldValidateServerCertificate = $.shouldValidateServerCertificate; this.sslCa = $.sslCa; this.sslCert = $.sslCert; @@ -1569,10 +1692,17 @@ private ConnectionArgs(ConnectionArgs $) { this.sslKeySecretId = $.sslKeySecretId; this.sslMode = $.sslMode; this.sslServerCertificate = $.sslServerCertificate; + this.storageCredentialName = $.storageCredentialName; this.streamPoolId = $.streamPoolId; this.subnetId = $.subnetId; this.technologyType = $.technologyType; this.tenancyId = $.tenancyId; + this.tenantId = $.tenantId; + this.tlsCaFile = $.tlsCaFile; + this.tlsCertificateKeyFile = $.tlsCertificateKeyFile; + this.tlsCertificateKeyFilePassword = $.tlsCertificateKeyFilePassword; + this.tlsCertificateKeyFilePasswordSecretId = $.tlsCertificateKeyFilePasswordSecretId; + this.tlsCertificateKeyFileSecretId = $.tlsCertificateKeyFileSecretId; this.triggerRefresh = $.triggerRefresh; this.trustStore = $.trustStore; this.trustStorePassword = $.trustStorePassword; @@ -1626,7 +1756,7 @@ public Builder accessKeyId(String accessKeyId) { } /** - * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1637,7 +1767,7 @@ public Builder accountKey(@Nullable Output accountKey) { } /** - * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1835,7 +1965,7 @@ public Builder clientId(String clientId) { } /** - * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1846,7 +1976,7 @@ public Builder clientSecret(@Nullable Output clientSecret) { } /** - * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1856,7 +1986,7 @@ public Builder clientSecret(String clientSecret) { } /** - * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * * @return builder * @@ -1867,7 +1997,7 @@ public Builder clientSecretSecretId(@Nullable Output clientSecretSecretI } /** - * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * * @return builder * @@ -1961,7 +2091,7 @@ public Builder connectionType(String connectionType) { } /** - * @param connectionUrl (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @param connectionUrl (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * * @return builder * @@ -1972,7 +2102,7 @@ public Builder connectionUrl(@Nullable Output connectionUrl) { } /** - * @param connectionUrl (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @param connectionUrl (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * * @return builder * @@ -2192,7 +2322,7 @@ public Builder doesUseSecretIds(Boolean doesUseSecretIds) { } /** - * @param endpoint (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @param endpoint (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * * @return builder * @@ -2203,7 +2333,7 @@ public Builder endpoint(@Nullable Output endpoint) { } /** - * @param endpoint (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @param endpoint (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * * @return builder * @@ -2350,7 +2480,7 @@ public Builder jndiProviderUrl(String jndiProviderUrl) { } /** - * @param jndiSecurityCredentials (Updatable) The password associated to the principal. + * @param jndiSecurityCredentials (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2361,7 +2491,7 @@ public Builder jndiSecurityCredentials(@Nullable Output jndiSecurityCred } /** - * @param jndiSecurityCredentials (Updatable) The password associated to the principal. + * @param jndiSecurityCredentials (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2434,7 +2564,7 @@ public Builder keyId(String keyId) { } /** - * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. + * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2445,7 +2575,7 @@ public Builder keyStore(@Nullable Output keyStore) { } /** - * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. + * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2455,7 +2585,7 @@ public Builder keyStore(String keyStore) { } /** - * @param keyStorePassword (Updatable) The KeyStore password. + * @param keyStorePassword (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2466,7 +2596,7 @@ public Builder keyStorePassword(@Nullable Output keyStorePassword) { } /** - * @param keyStorePassword (Updatable) The KeyStore password. + * @param keyStorePassword (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2580,7 +2710,7 @@ public Builder nsgIds(String... nsgIds) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2591,7 +2721,7 @@ public Builder password(@Nullable Output password) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2668,7 +2798,7 @@ public Builder privateIp(String privateIp) { } /** - * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2679,7 +2809,7 @@ public Builder privateKeyFile(@Nullable Output privateKeyFile) { } /** - * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2710,7 +2840,7 @@ public Builder privateKeyFileSecretId(String privateKeyFileSecretId) { } /** - * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. + * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2721,7 +2851,7 @@ public Builder privateKeyPassphrase(@Nullable Output privateKeyPassphras } /** - * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. + * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2815,7 +2945,7 @@ public Builder redisClusterId(String redisClusterId) { } /** - * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 + * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * * @return builder * @@ -2826,7 +2956,7 @@ public Builder region(@Nullable Output region) { } /** - * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 + * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * * @return builder * @@ -2857,7 +2987,7 @@ public Builder routingMethod(String routingMethod) { } /** - * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2868,7 +2998,7 @@ public Builder sasToken(@Nullable Output sasToken) { } /** - * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2899,7 +3029,7 @@ public Builder sasTokenSecretId(String sasTokenSecretId) { } /** - * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2910,7 +3040,7 @@ public Builder secretAccessKey(@Nullable Output secretAccessKey) { } /** - * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2983,7 +3113,7 @@ public Builder servers(String servers) { } /** - * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2994,7 +3124,7 @@ public Builder serviceAccountKeyFile(@Nullable Output serviceAccountKeyF } /** - * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3066,6 +3196,27 @@ public Builder shouldUseJndi(Boolean shouldUseJndi) { return shouldUseJndi(Output.of(shouldUseJndi)); } + /** + * @param shouldUseResourcePrincipal (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + * @return builder + * + */ + public Builder shouldUseResourcePrincipal(@Nullable Output shouldUseResourcePrincipal) { + $.shouldUseResourcePrincipal = shouldUseResourcePrincipal; + return this; + } + + /** + * @param shouldUseResourcePrincipal (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + * @return builder + * + */ + public Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal) { + return shouldUseResourcePrincipal(Output.of(shouldUseResourcePrincipal)); + } + /** * @param shouldValidateServerCertificate (Updatable) If set to true, the driver validates the certificate that is sent by the database server. * @@ -3130,7 +3281,7 @@ public Builder sslCert(String sslCert) { } /** - * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3141,7 +3292,7 @@ public Builder sslClientKeystash(@Nullable Output sslClientKeystash) { } /** - * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3172,7 +3323,7 @@ public Builder sslClientKeystashSecretId(String sslClientKeystashSecretId) { } /** - * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3183,7 +3334,7 @@ public Builder sslClientKeystoredb(@Nullable Output sslClientKeystoredb) } /** - * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3235,7 +3386,7 @@ public Builder sslCrl(String sslCrl) { } /** - * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3246,7 +3397,7 @@ public Builder sslKey(@Nullable Output sslKey) { } /** - * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3256,7 +3407,7 @@ public Builder sslKey(String sslKey) { } /** - * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3267,7 +3418,7 @@ public Builder sslKeyPassword(@Nullable Output sslKeyPassword) { } /** - * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3362,6 +3513,27 @@ public Builder sslServerCertificate(String sslServerCertificate) { return sslServerCertificate(Output.of(sslServerCertificate)); } + /** + * @param storageCredentialName (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + * @return builder + * + */ + public Builder storageCredentialName(@Nullable Output storageCredentialName) { + $.storageCredentialName = storageCredentialName; + return this; + } + + /** + * @param storageCredentialName (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + * @return builder + * + */ + public Builder storageCredentialName(String storageCredentialName) { + return storageCredentialName(Output.of(storageCredentialName)); + } + /** * @param streamPoolId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -3446,6 +3618,134 @@ public Builder tenancyId(String tenancyId) { return tenancyId(Output.of(tenancyId)); } + /** + * @param tenantId (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + * @return builder + * + */ + public Builder tenantId(@Nullable Output tenantId) { + $.tenantId = tenantId; + return this; + } + + /** + * @param tenantId (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + * @return builder + * + */ + public Builder tenantId(String tenantId) { + return tenantId(Output.of(tenantId)); + } + + /** + * @param tlsCaFile (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + * @return builder + * + */ + public Builder tlsCaFile(@Nullable Output tlsCaFile) { + $.tlsCaFile = tlsCaFile; + return this; + } + + /** + * @param tlsCaFile (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + * @return builder + * + */ + public Builder tlsCaFile(String tlsCaFile) { + return tlsCaFile(Output.of(tlsCaFile)); + } + + /** + * @param tlsCertificateKeyFile (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFile(@Nullable Output tlsCertificateKeyFile) { + $.tlsCertificateKeyFile = tlsCertificateKeyFile; + return this; + } + + /** + * @param tlsCertificateKeyFile (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFile(String tlsCertificateKeyFile) { + return tlsCertificateKeyFile(Output.of(tlsCertificateKeyFile)); + } + + /** + * @param tlsCertificateKeyFilePassword (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePassword(@Nullable Output tlsCertificateKeyFilePassword) { + $.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + return this; + } + + /** + * @param tlsCertificateKeyFilePassword (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) { + return tlsCertificateKeyFilePassword(Output.of(tlsCertificateKeyFilePassword)); + } + + /** + * @param tlsCertificateKeyFilePasswordSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePasswordSecretId(@Nullable Output tlsCertificateKeyFilePasswordSecretId) { + $.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + return this; + } + + /** + * @param tlsCertificateKeyFilePasswordSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePasswordSecretId(String tlsCertificateKeyFilePasswordSecretId) { + return tlsCertificateKeyFilePasswordSecretId(Output.of(tlsCertificateKeyFilePasswordSecretId)); + } + + /** + * @param tlsCertificateKeyFileSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFileSecretId(@Nullable Output tlsCertificateKeyFileSecretId) { + $.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; + return this; + } + + /** + * @param tlsCertificateKeyFileSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretId) { + return tlsCertificateKeyFileSecretId(Output.of(tlsCertificateKeyFileSecretId)); + } + /** * @param triggerRefresh (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -3474,7 +3774,7 @@ public Builder triggerRefresh(Boolean triggerRefresh) { } /** - * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. + * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3485,7 +3785,7 @@ public Builder trustStore(@Nullable Output trustStore) { } /** - * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. + * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3495,7 +3795,7 @@ public Builder trustStore(String trustStore) { } /** - * @param trustStorePassword (Updatable) The TrustStore password. + * @param trustStorePassword (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3506,7 +3806,7 @@ public Builder trustStorePassword(@Nullable Output trustStorePassword) { } /** - * @param trustStorePassword (Updatable) The TrustStore password. + * @param trustStorePassword (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3579,7 +3879,7 @@ public Builder url(String url) { } /** - * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * * @return builder * @@ -3590,7 +3890,7 @@ public Builder userId(@Nullable Output userId) { } /** - * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * * @return builder * @@ -3642,7 +3942,7 @@ public Builder vaultId(String vaultId) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3653,7 +3953,7 @@ public Builder wallet(@Nullable Output wallet) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistration.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistration.java index 90b2385c7a..c8e9e45efb 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistration.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistration.java @@ -253,14 +253,14 @@ public Output lifecycleDetails() { return this.lifecycleDetails; } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Export(name="password", refs={String.class}, tree="[0]") private Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Output password() { @@ -421,7 +421,7 @@ public Output vaultId() { return this.vaultId; } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -431,7 +431,7 @@ public Output vaultId() { private Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * 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/GoldenGate/DatabaseRegistrationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistrationArgs.java index 7fa11f06e9..5d59ec1b27 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistrationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DatabaseRegistrationArgs.java @@ -183,14 +183,14 @@ public Optional> keyId() { } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Import(name="password", required=true) private Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Output password() { @@ -273,7 +273,7 @@ public Optional> vaultId() { } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -283,7 +283,7 @@ public Optional> vaultId() { private @Nullable Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -566,7 +566,7 @@ public Builder keyId(String keyId) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -577,7 +577,7 @@ public Builder password(Output password) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -692,7 +692,7 @@ public Builder vaultId(String vaultId) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -706,7 +706,7 @@ public Builder wallet(@Nullable Output wallet) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * 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/GoldenGate/inputs/ConnectionState.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/ConnectionState.java index b9a6c923ca..10ebc90dad 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/ConnectionState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/ConnectionState.java @@ -39,14 +39,14 @@ public Optional> accessKeyId() { } /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="accountKey") private @Nullable Output accountKey; /** - * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @return (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * */ public Optional> accountKey() { @@ -174,14 +174,14 @@ public Optional> clientId() { } /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ @Import(name="clientSecret") private @Nullable Output clientSecret; /** - * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @return (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * */ public Optional> clientSecret() { @@ -189,14 +189,14 @@ public Optional> clientSecret() { } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ @Import(name="clientSecretSecretId") private @Nullable Output clientSecretSecretId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * */ public Optional> clientSecretSecretId() { @@ -264,14 +264,14 @@ public Optional> connectionType() { } /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ @Import(name="connectionUrl") private @Nullable Output connectionUrl; /** - * @return (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @return (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ public Optional> connectionUrl() { @@ -429,14 +429,14 @@ public Optional> doesUseSecretIds() { } /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ @Import(name="endpoint") private @Nullable Output endpoint; /** - * @return (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @return (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ public Optional> endpoint() { @@ -558,14 +558,14 @@ public Optional> jndiProviderUrl() { } /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ @Import(name="jndiSecurityCredentials") private @Nullable Output jndiSecurityCredentials; /** - * @return (Updatable) The password associated to the principal. + * @return (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * */ public Optional> jndiSecurityCredentials() { @@ -618,14 +618,14 @@ public Optional> keyId() { } /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ @Import(name="keyStore") private @Nullable Output keyStore; /** - * @return (Updatable) The base64 encoded content of the KeyStore file. + * @return (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * */ public Optional> keyStore() { @@ -633,14 +633,14 @@ public Optional> keyStore() { } /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="keyStorePassword") private @Nullable Output keyStorePassword; /** - * @return (Updatable) The KeyStore password. + * @return (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> keyStorePassword() { @@ -723,14 +723,14 @@ public Optional>> nsgIds() { } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Import(name="password") private @Nullable Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Optional> password() { @@ -787,14 +787,14 @@ public Optional> privateIp() { } /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ @Import(name="privateKeyFile") private @Nullable Output privateKeyFile; /** - * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @return (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * */ public Optional> privateKeyFile() { @@ -817,14 +817,14 @@ public Optional> privateKeyFileSecretId() { } /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ @Import(name="privateKeyPassphrase") private @Nullable Output privateKeyPassphrase; /** - * @return (Updatable) Password if the private key file is encrypted. + * @return (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * */ public Optional> privateKeyPassphrase() { @@ -892,14 +892,14 @@ public Optional> redisClusterId() { } /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ @Import(name="region") private @Nullable Output region; /** - * @return (Updatable) The name of the region. e.g.: us-ashburn-1 + * @return (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ public Optional> region() { @@ -922,14 +922,14 @@ public Optional> routingMethod() { } /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ @Import(name="sasToken") private @Nullable Output sasToken; /** - * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @return (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * */ public Optional> sasToken() { @@ -952,14 +952,14 @@ public Optional> sasTokenSecretId() { } /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="secretAccessKey") private @Nullable Output secretAccessKey; /** - * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @return (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * */ public Optional> secretAccessKey() { @@ -1012,14 +1012,14 @@ public Optional> servers() { } /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ @Import(name="serviceAccountKeyFile") private @Nullable Output serviceAccountKeyFile; /** - * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @return (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * */ public Optional> serviceAccountKeyFile() { @@ -1071,6 +1071,21 @@ public Optional> shouldUseJndi() { return Optional.ofNullable(this.shouldUseJndi); } + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + @Import(name="shouldUseResourcePrincipal") + private @Nullable Output shouldUseResourcePrincipal; + + /** + * @return (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + */ + public Optional> shouldUseResourcePrincipal() { + return Optional.ofNullable(this.shouldUseResourcePrincipal); + } + /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. * @@ -1117,14 +1132,14 @@ public Optional> sslCert() { } /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslClientKeystash") private @Nullable Output sslClientKeystash; /** - * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @return (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * */ public Optional> sslClientKeystash() { @@ -1147,14 +1162,14 @@ public Optional> sslClientKeystashSecretId() { } /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslClientKeystoredb") private @Nullable Output sslClientKeystoredb; /** - * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @return (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * */ public Optional> sslClientKeystoredb() { @@ -1192,14 +1207,14 @@ public Optional> sslCrl() { } /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ @Import(name="sslKey") private @Nullable Output sslKey; /** - * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @return (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * */ public Optional> sslKey() { @@ -1207,14 +1222,14 @@ public Optional> sslKey() { } /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="sslKeyPassword") private @Nullable Output sslKeyPassword; /** - * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @return (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> sslKeyPassword() { @@ -1298,6 +1313,21 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + @Import(name="storageCredentialName") + private @Nullable Output storageCredentialName; + + /** + * @return (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + public Optional> storageCredentialName() { + return Optional.ofNullable(this.storageCredentialName); + } + /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -1373,6 +1403,21 @@ public Optional> tenancyId() { return Optional.ofNullable(this.tenancyId); } + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + @Import(name="tenantId") + private @Nullable Output tenantId; + + /** + * @return (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + public Optional> tenantId() { + return Optional.ofNullable(this.tenantId); + } + /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -1403,6 +1448,83 @@ public Optional> timeUpdated() { return Optional.ofNullable(this.timeUpdated); } + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + @Import(name="tlsCaFile") + private @Nullable Output tlsCaFile; + + /** + * @return (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + */ + public Optional> tlsCaFile() { + return Optional.ofNullable(this.tlsCaFile); + } + + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + @Import(name="tlsCertificateKeyFile") + private @Nullable Output tlsCertificateKeyFile; + + /** + * @return (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + */ + public Optional> tlsCertificateKeyFile() { + return Optional.ofNullable(this.tlsCertificateKeyFile); + } + + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + @Import(name="tlsCertificateKeyFilePassword") + private @Nullable Output tlsCertificateKeyFilePassword; + + /** + * @return (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + */ + public Optional> tlsCertificateKeyFilePassword() { + return Optional.ofNullable(this.tlsCertificateKeyFilePassword); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + @Import(name="tlsCertificateKeyFilePasswordSecretId") + private @Nullable Output tlsCertificateKeyFilePasswordSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + public Optional> tlsCertificateKeyFilePasswordSecretId() { + return Optional.ofNullable(this.tlsCertificateKeyFilePasswordSecretId); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + @Import(name="tlsCertificateKeyFileSecretId") + private @Nullable Output tlsCertificateKeyFileSecretId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + public Optional> tlsCertificateKeyFileSecretId() { + return Optional.ofNullable(this.tlsCertificateKeyFileSecretId); + } + /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -1425,14 +1547,14 @@ public Optional> triggerRefresh() { } /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ @Import(name="trustStore") private @Nullable Output trustStore; /** - * @return (Updatable) The base64 encoded content of the TrustStore file. + * @return (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * */ public Optional> trustStore() { @@ -1440,14 +1562,14 @@ public Optional> trustStore() { } /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ @Import(name="trustStorePassword") private @Nullable Output trustStorePassword; /** - * @return (Updatable) The TrustStore password. + * @return (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * */ public Optional> trustStorePassword() { @@ -1500,14 +1622,14 @@ public Optional> url() { } /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ @Import(name="userId") private @Nullable Output userId; /** - * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ public Optional> userId() { @@ -1545,14 +1667,14 @@ public Optional> vaultId() { } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ @Import(name="wallet") private @Nullable Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * */ public Optional> wallet() { @@ -1647,6 +1769,7 @@ private ConnectionState(ConnectionState $) { this.serviceAccountKeyFileSecretId = $.serviceAccountKeyFileSecretId; this.sessionMode = $.sessionMode; this.shouldUseJndi = $.shouldUseJndi; + this.shouldUseResourcePrincipal = $.shouldUseResourcePrincipal; this.shouldValidateServerCertificate = $.shouldValidateServerCertificate; this.sslCa = $.sslCa; this.sslCert = $.sslCert; @@ -1662,13 +1785,20 @@ private ConnectionState(ConnectionState $) { this.sslMode = $.sslMode; this.sslServerCertificate = $.sslServerCertificate; this.state = $.state; + this.storageCredentialName = $.storageCredentialName; this.streamPoolId = $.streamPoolId; this.subnetId = $.subnetId; this.systemTags = $.systemTags; this.technologyType = $.technologyType; this.tenancyId = $.tenancyId; + this.tenantId = $.tenantId; this.timeCreated = $.timeCreated; this.timeUpdated = $.timeUpdated; + this.tlsCaFile = $.tlsCaFile; + this.tlsCertificateKeyFile = $.tlsCertificateKeyFile; + this.tlsCertificateKeyFilePassword = $.tlsCertificateKeyFilePassword; + this.tlsCertificateKeyFilePasswordSecretId = $.tlsCertificateKeyFilePasswordSecretId; + this.tlsCertificateKeyFileSecretId = $.tlsCertificateKeyFileSecretId; this.triggerRefresh = $.triggerRefresh; this.trustStore = $.trustStore; this.trustStorePassword = $.trustStorePassword; @@ -1722,7 +1852,7 @@ public Builder accessKeyId(String accessKeyId) { } /** - * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1733,7 +1863,7 @@ public Builder accountKey(@Nullable Output accountKey) { } /** - * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * @param accountKey (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1931,7 +2061,7 @@ public Builder clientId(String clientId) { } /** - * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1942,7 +2072,7 @@ public Builder clientSecret(@Nullable Output clientSecret) { } /** - * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * @param clientSecret (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -1952,7 +2082,7 @@ public Builder clientSecret(String clientSecret) { } /** - * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * * @return builder * @@ -1963,7 +2093,7 @@ public Builder clientSecretSecretId(@Nullable Output clientSecretSecretI } /** - * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * @param clientSecretSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. * * @return builder * @@ -2057,7 +2187,7 @@ public Builder connectionType(String connectionType) { } /** - * @param connectionUrl (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @param connectionUrl (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * * @return builder * @@ -2068,7 +2198,7 @@ public Builder connectionUrl(@Nullable Output connectionUrl) { } /** - * @param connectionUrl (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' + * @param connectionUrl (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * * @return builder * @@ -2288,7 +2418,7 @@ public Builder doesUseSecretIds(Boolean doesUseSecretIds) { } /** - * @param endpoint (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @param endpoint (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * * @return builder * @@ -2299,7 +2429,7 @@ public Builder endpoint(@Nullable Output endpoint) { } /** - * @param endpoint (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @param endpoint (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * * @return builder * @@ -2477,7 +2607,7 @@ public Builder jndiProviderUrl(String jndiProviderUrl) { } /** - * @param jndiSecurityCredentials (Updatable) The password associated to the principal. + * @param jndiSecurityCredentials (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2488,7 +2618,7 @@ public Builder jndiSecurityCredentials(@Nullable Output jndiSecurityCred } /** - * @param jndiSecurityCredentials (Updatable) The password associated to the principal. + * @param jndiSecurityCredentials (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2561,7 +2691,7 @@ public Builder keyId(String keyId) { } /** - * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. + * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2572,7 +2702,7 @@ public Builder keyStore(@Nullable Output keyStore) { } /** - * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. + * @param keyStore (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2582,7 +2712,7 @@ public Builder keyStore(String keyStore) { } /** - * @param keyStorePassword (Updatable) The KeyStore password. + * @param keyStorePassword (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2593,7 +2723,7 @@ public Builder keyStorePassword(@Nullable Output keyStorePassword) { } /** - * @param keyStorePassword (Updatable) The KeyStore password. + * @param keyStorePassword (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2728,7 +2858,7 @@ public Builder nsgIds(String... nsgIds) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2739,7 +2869,7 @@ public Builder password(@Nullable Output password) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2816,7 +2946,7 @@ public Builder privateIp(String privateIp) { } /** - * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2827,7 +2957,7 @@ public Builder privateKeyFile(@Nullable Output privateKeyFile) { } /** - * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * @param privateKeyFile (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2858,7 +2988,7 @@ public Builder privateKeyFileSecretId(String privateKeyFileSecretId) { } /** - * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. + * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2869,7 +2999,7 @@ public Builder privateKeyPassphrase(@Nullable Output privateKeyPassphras } /** - * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. + * @param privateKeyPassphrase (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -2963,7 +3093,7 @@ public Builder redisClusterId(String redisClusterId) { } /** - * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 + * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * * @return builder * @@ -2974,7 +3104,7 @@ public Builder region(@Nullable Output region) { } /** - * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 + * @param region (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * * @return builder * @@ -3005,7 +3135,7 @@ public Builder routingMethod(String routingMethod) { } /** - * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3016,7 +3146,7 @@ public Builder sasToken(@Nullable Output sasToken) { } /** - * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * @param sasToken (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3047,7 +3177,7 @@ public Builder sasTokenSecretId(String sasTokenSecretId) { } /** - * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3058,7 +3188,7 @@ public Builder secretAccessKey(@Nullable Output secretAccessKey) { } /** - * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * @param secretAccessKey (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3131,7 +3261,7 @@ public Builder servers(String servers) { } /** - * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3142,7 +3272,7 @@ public Builder serviceAccountKeyFile(@Nullable Output serviceAccountKeyF } /** - * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * @param serviceAccountKeyFile (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3214,6 +3344,27 @@ public Builder shouldUseJndi(Boolean shouldUseJndi) { return shouldUseJndi(Output.of(shouldUseJndi)); } + /** + * @param shouldUseResourcePrincipal (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + * @return builder + * + */ + public Builder shouldUseResourcePrincipal(@Nullable Output shouldUseResourcePrincipal) { + $.shouldUseResourcePrincipal = shouldUseResourcePrincipal; + return this; + } + + /** + * @param shouldUseResourcePrincipal (Updatable) Indicates that the user intents to connect to the instance through resource principal. + * + * @return builder + * + */ + public Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal) { + return shouldUseResourcePrincipal(Output.of(shouldUseResourcePrincipal)); + } + /** * @param shouldValidateServerCertificate (Updatable) If set to true, the driver validates the certificate that is sent by the database server. * @@ -3278,7 +3429,7 @@ public Builder sslCert(String sslCert) { } /** - * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3289,7 +3440,7 @@ public Builder sslClientKeystash(@Nullable Output sslClientKeystash) { } /** - * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * @param sslClientKeystash (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3320,7 +3471,7 @@ public Builder sslClientKeystashSecretId(String sslClientKeystashSecretId) { } /** - * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3331,7 +3482,7 @@ public Builder sslClientKeystoredb(@Nullable Output sslClientKeystoredb) } /** - * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * @param sslClientKeystoredb (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3383,7 +3534,7 @@ public Builder sslCrl(String sslCrl) { } /** - * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3394,7 +3545,7 @@ public Builder sslKey(@Nullable Output sslKey) { } /** - * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * @param sslKey (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3404,7 +3555,7 @@ public Builder sslKey(String sslKey) { } /** - * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3415,7 +3566,7 @@ public Builder sslKeyPassword(@Nullable Output sslKeyPassword) { } /** - * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * @param sslKeyPassword (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3531,6 +3682,27 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param storageCredentialName (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + * @return builder + * + */ + public Builder storageCredentialName(@Nullable Output storageCredentialName) { + $.storageCredentialName = storageCredentialName; + return this; + } + + /** + * @param storageCredentialName (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + * @return builder + * + */ + public Builder storageCredentialName(String storageCredentialName) { + return storageCredentialName(Output.of(storageCredentialName)); + } + /** * @param streamPoolId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -3636,6 +3808,27 @@ public Builder tenancyId(String tenancyId) { return tenancyId(Output.of(tenancyId)); } + /** + * @param tenantId (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + * @return builder + * + */ + public Builder tenantId(@Nullable Output tenantId) { + $.tenantId = tenantId; + return this; + } + + /** + * @param tenantId (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + * @return builder + * + */ + public Builder tenantId(String tenantId) { + return tenantId(Output.of(tenantId)); + } + /** * @param timeCreated The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -3678,6 +3871,113 @@ public Builder timeUpdated(String timeUpdated) { return timeUpdated(Output.of(timeUpdated)); } + /** + * @param tlsCaFile (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + * @return builder + * + */ + public Builder tlsCaFile(@Nullable Output tlsCaFile) { + $.tlsCaFile = tlsCaFile; + return this; + } + + /** + * @param tlsCaFile (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + * + * @return builder + * + */ + public Builder tlsCaFile(String tlsCaFile) { + return tlsCaFile(Output.of(tlsCaFile)); + } + + /** + * @param tlsCertificateKeyFile (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFile(@Nullable Output tlsCertificateKeyFile) { + $.tlsCertificateKeyFile = tlsCertificateKeyFile; + return this; + } + + /** + * @param tlsCertificateKeyFile (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFile(String tlsCertificateKeyFile) { + return tlsCertificateKeyFile(Output.of(tlsCertificateKeyFile)); + } + + /** + * @param tlsCertificateKeyFilePassword (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePassword(@Nullable Output tlsCertificateKeyFilePassword) { + $.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + return this; + } + + /** + * @param tlsCertificateKeyFilePassword (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) { + return tlsCertificateKeyFilePassword(Output.of(tlsCertificateKeyFilePassword)); + } + + /** + * @param tlsCertificateKeyFilePasswordSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePasswordSecretId(@Nullable Output tlsCertificateKeyFilePasswordSecretId) { + $.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + return this; + } + + /** + * @param tlsCertificateKeyFilePasswordSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFilePasswordSecretId(String tlsCertificateKeyFilePasswordSecretId) { + return tlsCertificateKeyFilePasswordSecretId(Output.of(tlsCertificateKeyFilePasswordSecretId)); + } + + /** + * @param tlsCertificateKeyFileSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFileSecretId(@Nullable Output tlsCertificateKeyFileSecretId) { + $.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; + return this; + } + + /** + * @param tlsCertificateKeyFileSecretId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + * @return builder + * + */ + public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretId) { + return tlsCertificateKeyFileSecretId(Output.of(tlsCertificateKeyFileSecretId)); + } + /** * @param triggerRefresh (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -3706,7 +4006,7 @@ public Builder triggerRefresh(Boolean triggerRefresh) { } /** - * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. + * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3717,7 +4017,7 @@ public Builder trustStore(@Nullable Output trustStore) { } /** - * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. + * @param trustStore (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3727,7 +4027,7 @@ public Builder trustStore(String trustStore) { } /** - * @param trustStorePassword (Updatable) The TrustStore password. + * @param trustStorePassword (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3738,7 +4038,7 @@ public Builder trustStorePassword(@Nullable Output trustStorePassword) { } /** - * @param trustStorePassword (Updatable) The TrustStore password. + * @param trustStorePassword (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3811,7 +4111,7 @@ public Builder url(String url) { } /** - * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * * @return builder * @@ -3822,7 +4122,7 @@ public Builder userId(@Nullable Output userId) { } /** - * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * @param userId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * * @return builder * @@ -3874,7 +4174,7 @@ public Builder vaultId(String vaultId) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -3885,7 +4185,7 @@ public Builder wallet(@Nullable Output wallet) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DatabaseRegistrationState.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DatabaseRegistrationState.java index af8293a52c..73c5552aa2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DatabaseRegistrationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DatabaseRegistrationState.java @@ -197,14 +197,14 @@ public Optional> lifecycleDetails() { } /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ @Import(name="password") private @Nullable Output password; /** - * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @return (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * */ public Optional> password() { @@ -377,7 +377,7 @@ public Optional> vaultId() { } /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -387,7 +387,7 @@ public Optional> vaultId() { private @Nullable Output wallet; /** - * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @return (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -698,7 +698,7 @@ public Builder lifecycleDetails(String lifecycleDetails) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -709,7 +709,7 @@ public Builder password(@Nullable Output password) { } /** - * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * @param password (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. * * @return builder * @@ -950,7 +950,7 @@ public Builder vaultId(String vaultId) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -964,7 +964,7 @@ public Builder wallet(@Nullable Output wallet) { } /** - * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * @param wallet (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * ** IMPORTANT ** * 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/GoldenGate/outputs/GetConnectionResult.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionResult.java index 56f723db58..880cc1ba6e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionResult.java @@ -48,6 +48,9 @@ public final class GetConnectionResult { * @return Used authentication mechanism to be provided for the following connection types: * * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret * */ private String authenticationType; @@ -99,6 +102,7 @@ public final class GetConnectionResult { * @return * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ private String connectionUrl; @@ -148,6 +152,10 @@ public final class GetConnectionResult { * */ private Boolean doesUseSecretIds; + /** + * @return Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + * + */ private String endpoint; private String fingerprint; /** @@ -272,7 +280,7 @@ public final class GetConnectionResult { */ private String redisClusterId; /** - * @return The name of the region. e.g.: us-ashburn-1 + * @return The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ private String region; @@ -322,13 +330,18 @@ public final class GetConnectionResult { * */ private Boolean shouldUseJndi; + /** + * @return Indicates that the user intents to connect to the instance through resource principal. + * + */ + private Boolean shouldUseResourcePrincipal; /** * @return If set to true, the driver validates the certificate that is sent by the database server. * */ private Boolean shouldValidateServerCertificate; /** - * @return Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * @return Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). * */ private String sslCa; @@ -370,6 +383,11 @@ public final class GetConnectionResult { * */ private String state; + /** + * @return Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + private String storageCredentialName; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -395,6 +413,11 @@ public final class GetConnectionResult { * */ private String tenancyId; + /** + * @return Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + private String tenantId; /** * @return The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -405,6 +428,20 @@ public final class GetConnectionResult { * */ private String timeUpdated; + private String tlsCaFile; + private String tlsCertificateKeyFile; + private String tlsCertificateKeyFilePassword; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + private String tlsCertificateKeyFilePasswordSecretId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + private String tlsCertificateKeyFileSecretId; private Boolean triggerRefresh; private String trustStore; private String trustStorePassword; @@ -414,7 +451,7 @@ public final class GetConnectionResult { */ private String trustStorePasswordSecretId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. * */ private String trustStoreSecretId; @@ -424,12 +461,12 @@ public final class GetConnectionResult { */ private String url; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ private String userId; /** - * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. * */ private String username; @@ -488,6 +525,9 @@ public String authenticationMode() { * @return Used authentication mechanism to be provided for the following connection types: * * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret * */ public String authenticationType() { @@ -561,6 +601,7 @@ public String connectionType() { * @return * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ public String connectionUrl() { @@ -632,6 +673,10 @@ public String displayName() { public Boolean doesUseSecretIds() { return this.doesUseSecretIds; } + /** + * @return Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + * + */ public String endpoint() { return this.endpoint; } @@ -820,7 +865,7 @@ public String redisClusterId() { return this.redisClusterId; } /** - * @return The name of the region. e.g.: us-ashburn-1 + * @return The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ public String region() { @@ -894,6 +939,13 @@ public String sessionMode() { public Boolean shouldUseJndi() { return this.shouldUseJndi; } + /** + * @return Indicates that the user intents to connect to the instance through resource principal. + * + */ + public Boolean shouldUseResourcePrincipal() { + return this.shouldUseResourcePrincipal; + } /** * @return If set to true, the driver validates the certificate that is sent by the database server. * @@ -902,7 +954,7 @@ public Boolean shouldValidateServerCertificate() { return this.shouldValidateServerCertificate; } /** - * @return Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * @return Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). * */ public String sslCa() { @@ -972,6 +1024,13 @@ public String sslServerCertificate() { public String state() { return this.state; } + /** + * @return Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + public String storageCredentialName() { + return this.storageCredentialName; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -1007,6 +1066,13 @@ public String technologyType() { public String tenancyId() { return this.tenancyId; } + /** + * @return Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + public String tenantId() { + return this.tenantId; + } /** * @return The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -1021,6 +1087,30 @@ public String timeCreated() { public String timeUpdated() { return this.timeUpdated; } + public String tlsCaFile() { + return this.tlsCaFile; + } + public String tlsCertificateKeyFile() { + return this.tlsCertificateKeyFile; + } + public String tlsCertificateKeyFilePassword() { + return this.tlsCertificateKeyFilePassword; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + public String tlsCertificateKeyFilePasswordSecretId() { + return this.tlsCertificateKeyFilePasswordSecretId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + public String tlsCertificateKeyFileSecretId() { + return this.tlsCertificateKeyFileSecretId; + } public Boolean triggerRefresh() { return this.triggerRefresh; } @@ -1038,7 +1128,7 @@ public String trustStorePasswordSecretId() { return this.trustStorePasswordSecretId; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. * */ public String trustStoreSecretId() { @@ -1052,14 +1142,14 @@ public String url() { return this.url; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ public String userId() { return this.userId; } /** - * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. * */ public String username() { @@ -1164,6 +1254,7 @@ public static final class Builder { private String serviceAccountKeyFileSecretId; private String sessionMode; private Boolean shouldUseJndi; + private Boolean shouldUseResourcePrincipal; private Boolean shouldValidateServerCertificate; private String sslCa; private String sslCert; @@ -1179,13 +1270,20 @@ public static final class Builder { private String sslMode; private String sslServerCertificate; private String state; + private String storageCredentialName; private String streamPoolId; private String subnetId; private Map systemTags; private String technologyType; private String tenancyId; + private String tenantId; private String timeCreated; private String timeUpdated; + private String tlsCaFile; + private String tlsCertificateKeyFile; + private String tlsCertificateKeyFilePassword; + private String tlsCertificateKeyFilePasswordSecretId; + private String tlsCertificateKeyFileSecretId; private Boolean triggerRefresh; private String trustStore; private String trustStorePassword; @@ -1272,6 +1370,7 @@ public Builder(GetConnectionResult defaults) { this.serviceAccountKeyFileSecretId = defaults.serviceAccountKeyFileSecretId; this.sessionMode = defaults.sessionMode; this.shouldUseJndi = defaults.shouldUseJndi; + this.shouldUseResourcePrincipal = defaults.shouldUseResourcePrincipal; this.shouldValidateServerCertificate = defaults.shouldValidateServerCertificate; this.sslCa = defaults.sslCa; this.sslCert = defaults.sslCert; @@ -1287,13 +1386,20 @@ public Builder(GetConnectionResult defaults) { this.sslMode = defaults.sslMode; this.sslServerCertificate = defaults.sslServerCertificate; this.state = defaults.state; + this.storageCredentialName = defaults.storageCredentialName; this.streamPoolId = defaults.streamPoolId; this.subnetId = defaults.subnetId; this.systemTags = defaults.systemTags; this.technologyType = defaults.technologyType; this.tenancyId = defaults.tenancyId; + this.tenantId = defaults.tenantId; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; + this.tlsCaFile = defaults.tlsCaFile; + this.tlsCertificateKeyFile = defaults.tlsCertificateKeyFile; + this.tlsCertificateKeyFilePassword = defaults.tlsCertificateKeyFilePassword; + this.tlsCertificateKeyFilePasswordSecretId = defaults.tlsCertificateKeyFilePasswordSecretId; + this.tlsCertificateKeyFileSecretId = defaults.tlsCertificateKeyFileSecretId; this.triggerRefresh = defaults.triggerRefresh; this.trustStore = defaults.trustStore; this.trustStorePassword = defaults.trustStorePassword; @@ -1899,6 +2005,14 @@ public Builder shouldUseJndi(Boolean shouldUseJndi) { return this; } @CustomType.Setter + public Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal) { + if (shouldUseResourcePrincipal == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "shouldUseResourcePrincipal"); + } + this.shouldUseResourcePrincipal = shouldUseResourcePrincipal; + return this; + } + @CustomType.Setter public Builder shouldValidateServerCertificate(Boolean shouldValidateServerCertificate) { if (shouldValidateServerCertificate == null) { throw new MissingRequiredPropertyException("GetConnectionResult", "shouldValidateServerCertificate"); @@ -2019,6 +2133,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder storageCredentialName(String storageCredentialName) { + if (storageCredentialName == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "storageCredentialName"); + } + this.storageCredentialName = storageCredentialName; + return this; + } + @CustomType.Setter public Builder streamPoolId(String streamPoolId) { if (streamPoolId == null) { throw new MissingRequiredPropertyException("GetConnectionResult", "streamPoolId"); @@ -2059,6 +2181,14 @@ public Builder tenancyId(String tenancyId) { return this; } @CustomType.Setter + public Builder tenantId(String tenantId) { + if (tenantId == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tenantId"); + } + this.tenantId = tenantId; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetConnectionResult", "timeCreated"); @@ -2075,6 +2205,46 @@ public Builder timeUpdated(String timeUpdated) { return this; } @CustomType.Setter + public Builder tlsCaFile(String tlsCaFile) { + if (tlsCaFile == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tlsCaFile"); + } + this.tlsCaFile = tlsCaFile; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFile(String tlsCertificateKeyFile) { + if (tlsCertificateKeyFile == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tlsCertificateKeyFile"); + } + this.tlsCertificateKeyFile = tlsCertificateKeyFile; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) { + if (tlsCertificateKeyFilePassword == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tlsCertificateKeyFilePassword"); + } + this.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFilePasswordSecretId(String tlsCertificateKeyFilePasswordSecretId) { + if (tlsCertificateKeyFilePasswordSecretId == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tlsCertificateKeyFilePasswordSecretId"); + } + this.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretId) { + if (tlsCertificateKeyFileSecretId == null) { + throw new MissingRequiredPropertyException("GetConnectionResult", "tlsCertificateKeyFileSecretId"); + } + this.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; + return this; + } + @CustomType.Setter public Builder triggerRefresh(Boolean triggerRefresh) { if (triggerRefresh == null) { throw new MissingRequiredPropertyException("GetConnectionResult", "triggerRefresh"); @@ -2236,6 +2406,7 @@ public GetConnectionResult build() { _resultValue.serviceAccountKeyFileSecretId = serviceAccountKeyFileSecretId; _resultValue.sessionMode = sessionMode; _resultValue.shouldUseJndi = shouldUseJndi; + _resultValue.shouldUseResourcePrincipal = shouldUseResourcePrincipal; _resultValue.shouldValidateServerCertificate = shouldValidateServerCertificate; _resultValue.sslCa = sslCa; _resultValue.sslCert = sslCert; @@ -2251,13 +2422,20 @@ public GetConnectionResult build() { _resultValue.sslMode = sslMode; _resultValue.sslServerCertificate = sslServerCertificate; _resultValue.state = state; + _resultValue.storageCredentialName = storageCredentialName; _resultValue.streamPoolId = streamPoolId; _resultValue.subnetId = subnetId; _resultValue.systemTags = systemTags; _resultValue.technologyType = technologyType; _resultValue.tenancyId = tenancyId; + _resultValue.tenantId = tenantId; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; + _resultValue.tlsCaFile = tlsCaFile; + _resultValue.tlsCertificateKeyFile = tlsCertificateKeyFile; + _resultValue.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + _resultValue.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + _resultValue.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; _resultValue.triggerRefresh = triggerRefresh; _resultValue.trustStore = trustStore; _resultValue.trustStorePassword = trustStorePassword; diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionsConnectionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionsConnectionCollectionItem.java index bacc5ced35..a1e2c7aaba 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionsConnectionCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/outputs/GetConnectionsConnectionCollectionItem.java @@ -48,6 +48,9 @@ public final class GetConnectionsConnectionCollectionItem { * @return Used authentication mechanism to be provided for the following connection types: * * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret * */ private String authenticationType; @@ -98,6 +101,7 @@ public final class GetConnectionsConnectionCollectionItem { * @return * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ private String connectionUrl; @@ -148,7 +152,7 @@ public final class GetConnectionsConnectionCollectionItem { */ private Boolean doesUseSecretIds; /** - * @return Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @return Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ private String endpoint; @@ -275,7 +279,7 @@ public final class GetConnectionsConnectionCollectionItem { */ private String redisClusterId; /** - * @return The name of the region. e.g.: us-ashburn-1 + * @return The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ private String region; @@ -325,13 +329,18 @@ public final class GetConnectionsConnectionCollectionItem { * */ private Boolean shouldUseJndi; + /** + * @return Indicates that the user intents to connect to the instance through resource principal. + * + */ + private Boolean shouldUseResourcePrincipal; /** * @return If set to true, the driver validates the certificate that is sent by the database server. * */ private Boolean shouldValidateServerCertificate; /** - * @return Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * @return Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). * */ private String sslCa; @@ -373,6 +382,11 @@ public final class GetConnectionsConnectionCollectionItem { * */ private String state; + /** + * @return Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + private String storageCredentialName; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -398,6 +412,11 @@ public final class GetConnectionsConnectionCollectionItem { * */ private String tenancyId; + /** + * @return Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + private String tenantId; /** * @return The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -408,6 +427,20 @@ public final class GetConnectionsConnectionCollectionItem { * */ private String timeUpdated; + private String tlsCaFile; + private String tlsCertificateKeyFile; + private String tlsCertificateKeyFilePassword; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + private String tlsCertificateKeyFilePasswordSecretId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + private String tlsCertificateKeyFileSecretId; private Boolean triggerRefresh; private String trustStore; private String trustStorePassword; @@ -427,12 +460,12 @@ public final class GetConnectionsConnectionCollectionItem { */ private String url; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ private String userId; /** - * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. * */ private String username; @@ -491,6 +524,9 @@ public String authenticationMode() { * @return Used authentication mechanism to be provided for the following connection types: * * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret * */ public String authenticationType() { @@ -561,6 +597,7 @@ public String connectionType() { * @return * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' * */ public String connectionUrl() { @@ -633,7 +670,7 @@ public Boolean doesUseSecretIds() { return this.doesUseSecretIds; } /** - * @return Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * @return Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com * */ public String endpoint() { @@ -824,7 +861,7 @@ public String redisClusterId() { return this.redisClusterId; } /** - * @return The name of the region. e.g.: us-ashburn-1 + * @return The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. * */ public String region() { @@ -898,6 +935,13 @@ public String sessionMode() { public Boolean shouldUseJndi() { return this.shouldUseJndi; } + /** + * @return Indicates that the user intents to connect to the instance through resource principal. + * + */ + public Boolean shouldUseResourcePrincipal() { + return this.shouldUseResourcePrincipal; + } /** * @return If set to true, the driver validates the certificate that is sent by the database server. * @@ -906,7 +950,7 @@ public Boolean shouldValidateServerCertificate() { return this.shouldValidateServerCertificate; } /** - * @return Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * @return Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). * */ public String sslCa() { @@ -976,6 +1020,13 @@ public String sslServerCertificate() { public String state() { return this.state; } + /** + * @return Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + * + */ + public String storageCredentialName() { + return this.storageCredentialName; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. * @@ -1011,6 +1062,13 @@ public String technologyType() { public String tenancyId() { return this.tenancyId; } + /** + * @return Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + * + */ + public String tenantId() { + return this.tenantId; + } /** * @return The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. * @@ -1025,6 +1083,30 @@ public String timeCreated() { public String timeUpdated() { return this.timeUpdated; } + public String tlsCaFile() { + return this.tlsCaFile; + } + public String tlsCertificateKeyFile() { + return this.tlsCertificateKeyFile; + } + public String tlsCertificateKeyFilePassword() { + return this.tlsCertificateKeyFilePassword; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + * + */ + public String tlsCertificateKeyFilePasswordSecretId() { + return this.tlsCertificateKeyFilePasswordSecretId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + * + */ + public String tlsCertificateKeyFileSecretId() { + return this.tlsCertificateKeyFileSecretId; + } public Boolean triggerRefresh() { return this.triggerRefresh; } @@ -1056,14 +1138,14 @@ public String url() { return this.url; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. * */ public String userId() { return this.userId; } /** - * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * @return The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. * */ public String username() { @@ -1167,6 +1249,7 @@ public static final class Builder { private String serviceAccountKeyFileSecretId; private String sessionMode; private Boolean shouldUseJndi; + private Boolean shouldUseResourcePrincipal; private Boolean shouldValidateServerCertificate; private String sslCa; private String sslCert; @@ -1182,13 +1265,20 @@ public static final class Builder { private String sslMode; private String sslServerCertificate; private String state; + private String storageCredentialName; private String streamPoolId; private String subnetId; private Map systemTags; private String technologyType; private String tenancyId; + private String tenantId; private String timeCreated; private String timeUpdated; + private String tlsCaFile; + private String tlsCertificateKeyFile; + private String tlsCertificateKeyFilePassword; + private String tlsCertificateKeyFilePasswordSecretId; + private String tlsCertificateKeyFileSecretId; private Boolean triggerRefresh; private String trustStore; private String trustStorePassword; @@ -1274,6 +1364,7 @@ public Builder(GetConnectionsConnectionCollectionItem defaults) { this.serviceAccountKeyFileSecretId = defaults.serviceAccountKeyFileSecretId; this.sessionMode = defaults.sessionMode; this.shouldUseJndi = defaults.shouldUseJndi; + this.shouldUseResourcePrincipal = defaults.shouldUseResourcePrincipal; this.shouldValidateServerCertificate = defaults.shouldValidateServerCertificate; this.sslCa = defaults.sslCa; this.sslCert = defaults.sslCert; @@ -1289,13 +1380,20 @@ public Builder(GetConnectionsConnectionCollectionItem defaults) { this.sslMode = defaults.sslMode; this.sslServerCertificate = defaults.sslServerCertificate; this.state = defaults.state; + this.storageCredentialName = defaults.storageCredentialName; this.streamPoolId = defaults.streamPoolId; this.subnetId = defaults.subnetId; this.systemTags = defaults.systemTags; this.technologyType = defaults.technologyType; this.tenancyId = defaults.tenancyId; + this.tenantId = defaults.tenantId; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; + this.tlsCaFile = defaults.tlsCaFile; + this.tlsCertificateKeyFile = defaults.tlsCertificateKeyFile; + this.tlsCertificateKeyFilePassword = defaults.tlsCertificateKeyFilePassword; + this.tlsCertificateKeyFilePasswordSecretId = defaults.tlsCertificateKeyFilePasswordSecretId; + this.tlsCertificateKeyFileSecretId = defaults.tlsCertificateKeyFileSecretId; this.triggerRefresh = defaults.triggerRefresh; this.trustStore = defaults.trustStore; this.trustStorePassword = defaults.trustStorePassword; @@ -1893,6 +1991,14 @@ public Builder shouldUseJndi(Boolean shouldUseJndi) { return this; } @CustomType.Setter + public Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal) { + if (shouldUseResourcePrincipal == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "shouldUseResourcePrincipal"); + } + this.shouldUseResourcePrincipal = shouldUseResourcePrincipal; + return this; + } + @CustomType.Setter public Builder shouldValidateServerCertificate(Boolean shouldValidateServerCertificate) { if (shouldValidateServerCertificate == null) { throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "shouldValidateServerCertificate"); @@ -2013,6 +2119,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder storageCredentialName(String storageCredentialName) { + if (storageCredentialName == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "storageCredentialName"); + } + this.storageCredentialName = storageCredentialName; + return this; + } + @CustomType.Setter public Builder streamPoolId(String streamPoolId) { if (streamPoolId == null) { throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "streamPoolId"); @@ -2053,6 +2167,14 @@ public Builder tenancyId(String tenancyId) { return this; } @CustomType.Setter + public Builder tenantId(String tenantId) { + if (tenantId == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tenantId"); + } + this.tenantId = tenantId; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "timeCreated"); @@ -2069,6 +2191,46 @@ public Builder timeUpdated(String timeUpdated) { return this; } @CustomType.Setter + public Builder tlsCaFile(String tlsCaFile) { + if (tlsCaFile == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tlsCaFile"); + } + this.tlsCaFile = tlsCaFile; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFile(String tlsCertificateKeyFile) { + if (tlsCertificateKeyFile == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tlsCertificateKeyFile"); + } + this.tlsCertificateKeyFile = tlsCertificateKeyFile; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) { + if (tlsCertificateKeyFilePassword == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tlsCertificateKeyFilePassword"); + } + this.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFilePasswordSecretId(String tlsCertificateKeyFilePasswordSecretId) { + if (tlsCertificateKeyFilePasswordSecretId == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tlsCertificateKeyFilePasswordSecretId"); + } + this.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + return this; + } + @CustomType.Setter + public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretId) { + if (tlsCertificateKeyFileSecretId == null) { + throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "tlsCertificateKeyFileSecretId"); + } + this.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; + return this; + } + @CustomType.Setter public Builder triggerRefresh(Boolean triggerRefresh) { if (triggerRefresh == null) { throw new MissingRequiredPropertyException("GetConnectionsConnectionCollectionItem", "triggerRefresh"); @@ -2229,6 +2391,7 @@ public GetConnectionsConnectionCollectionItem build() { _resultValue.serviceAccountKeyFileSecretId = serviceAccountKeyFileSecretId; _resultValue.sessionMode = sessionMode; _resultValue.shouldUseJndi = shouldUseJndi; + _resultValue.shouldUseResourcePrincipal = shouldUseResourcePrincipal; _resultValue.shouldValidateServerCertificate = shouldValidateServerCertificate; _resultValue.sslCa = sslCa; _resultValue.sslCert = sslCert; @@ -2244,13 +2407,20 @@ public GetConnectionsConnectionCollectionItem build() { _resultValue.sslMode = sslMode; _resultValue.sslServerCertificate = sslServerCertificate; _resultValue.state = state; + _resultValue.storageCredentialName = storageCredentialName; _resultValue.streamPoolId = streamPoolId; _resultValue.subnetId = subnetId; _resultValue.systemTags = systemTags; _resultValue.technologyType = technologyType; _resultValue.tenancyId = tenancyId; + _resultValue.tenantId = tenantId; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; + _resultValue.tlsCaFile = tlsCaFile; + _resultValue.tlsCertificateKeyFile = tlsCertificateKeyFile; + _resultValue.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword; + _resultValue.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId; + _resultValue.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId; _resultValue.triggerRefresh = triggerRefresh; _resultValue.trustStore = trustStore; _resultValue.trustStorePassword = trustStorePassword; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/JmsFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/JmsFunctions.java index a7338cab6a..f50f84afb9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Jms/JmsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/JmsFunctions.java @@ -27,6 +27,10 @@ import com.pulumi.oci.Jms.inputs.GetFleetDrsFilePlainArgs; import com.pulumi.oci.Jms.inputs.GetFleetDrsFilesArgs; import com.pulumi.oci.Jms.inputs.GetFleetDrsFilesPlainArgs; +import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; +import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsPlainArgs; +import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; +import com.pulumi.oci.Jms.inputs.GetFleetErrorsPlainArgs; import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; import com.pulumi.oci.Jms.inputs.GetFleetExportSettingPlainArgs; import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; @@ -80,6 +84,10 @@ import com.pulumi.oci.Jms.inputs.GetJmsPluginsPlainArgs; import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs; import com.pulumi.oci.Jms.inputs.GetListJreUsagePlainArgs; +import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs; +import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsPlainArgs; +import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs; +import com.pulumi.oci.Jms.inputs.GetPluginErrorsPlainArgs; import com.pulumi.oci.Jms.inputs.GetSummarizeResourceInventoryArgs; import com.pulumi.oci.Jms.inputs.GetSummarizeResourceInventoryPlainArgs; import com.pulumi.oci.Jms.outputs.GetAgentInstallersResult; @@ -91,6 +99,8 @@ import com.pulumi.oci.Jms.outputs.GetFleetDiagnosesResult; import com.pulumi.oci.Jms.outputs.GetFleetDrsFileResult; import com.pulumi.oci.Jms.outputs.GetFleetDrsFilesResult; +import com.pulumi.oci.Jms.outputs.GetFleetErrorAnalyticsResult; +import com.pulumi.oci.Jms.outputs.GetFleetErrorsResult; import com.pulumi.oci.Jms.outputs.GetFleetExportSettingResult; import com.pulumi.oci.Jms.outputs.GetFleetExportStatusResult; import com.pulumi.oci.Jms.outputs.GetFleetJavaMigrationAnalysisResultResult; @@ -118,6 +128,8 @@ import com.pulumi.oci.Jms.outputs.GetJmsPluginResult; import com.pulumi.oci.Jms.outputs.GetJmsPluginsResult; import com.pulumi.oci.Jms.outputs.GetListJreUsageResult; +import com.pulumi.oci.Jms.outputs.GetPluginErrorAnalyticsResult; +import com.pulumi.oci.Jms.outputs.GetPluginErrorsResult; import com.pulumi.oci.Jms.outputs.GetSummarizeResourceInventoryResult; import com.pulumi.oci.Utilities; import java.util.concurrent.CompletableFuture; @@ -2600,9 +2612,9 @@ public static CompletableFuture getFleetDrsFilesPlain(Ge return Deployment.getInstance().invokeAsync("oci:Jms/getFleetDrsFiles:getFleetDrsFiles", TypeShape.of(GetFleetDrsFilesResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns export setting for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2615,7 +2627,7 @@ public static CompletableFuture getFleetDrsFilesPlain(Ge * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2629,8 +2641,9 @@ public static CompletableFuture getFleetDrsFilesPlain(Ge * } * * public static void stack(Context ctx) { - * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2640,13 +2653,13 @@ public static CompletableFuture getFleetDrsFilesPlain(Ge * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportSetting(GetFleetExportSettingArgs args) { - return getFleetExportSetting(args, InvokeOptions.Empty); + public static Output getFleetErrorAnalytics() { + return getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.Empty, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns export setting for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2659,7 +2672,7 @@ public static Output getFleetExportSetting(GetFleet * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2673,8 +2686,9 @@ public static Output getFleetExportSetting(GetFleet * } * * public static void stack(Context ctx) { - * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2684,13 +2698,13 @@ public static Output getFleetExportSetting(GetFleet * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetExportSettingPlain(GetFleetExportSettingPlainArgs args) { - return getFleetExportSettingPlain(args, InvokeOptions.Empty); + public static CompletableFuture getFleetErrorAnalyticsPlain() { + return getFleetErrorAnalyticsPlain(GetFleetErrorAnalyticsPlainArgs.Empty, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns export setting for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2703,7 +2717,7 @@ public static CompletableFuture getFleetExportSetti * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2717,8 +2731,9 @@ public static CompletableFuture getFleetExportSetti * } * * public static void stack(Context ctx) { - * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2728,13 +2743,13 @@ public static CompletableFuture getFleetExportSetti * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportSetting(GetFleetExportSettingArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); + public static Output getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs args) { + return getFleetErrorAnalytics(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns export setting for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2747,7 +2762,7 @@ public static Output getFleetExportSetting(GetFleet * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2761,8 +2776,9 @@ public static Output getFleetExportSetting(GetFleet * } * * public static void stack(Context ctx) { - * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2772,13 +2788,13 @@ public static Output getFleetExportSetting(GetFleet * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportSetting(GetFleetExportSettingArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetErrorAnalyticsPlain(GetFleetErrorAnalyticsPlainArgs args) { + return getFleetErrorAnalyticsPlain(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns export setting for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2791,7 +2807,7 @@ public static Output getFleetExportSetting(GetFleet * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2805,8 +2821,9 @@ public static Output getFleetExportSetting(GetFleet * } * * public static void stack(Context ctx) { - * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2816,13 +2833,13 @@ public static Output getFleetExportSetting(GetFleet * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetExportSettingPlain(GetFleetExportSettingPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); + public static Output getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", TypeShape.of(GetFleetErrorAnalyticsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns last export status for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2835,7 +2852,7 @@ public static CompletableFuture getFleetExportSetti * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2849,8 +2866,9 @@ public static CompletableFuture getFleetExportSetti * } * * public static void stack(Context ctx) { - * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2860,13 +2878,13 @@ public static CompletableFuture getFleetExportSetti * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportStatus(GetFleetExportStatusArgs args) { - return getFleetExportStatus(args, InvokeOptions.Empty); + public static Output getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", TypeShape.of(GetFleetErrorAnalyticsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. * - * Returns last export status for the specified fleet. + * Returns a high level summary of FleetErrors. * * ## Example Usage * @@ -2879,7 +2897,7 @@ public static Output getFleetExportStatus(GetFleetEx * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2893,8 +2911,9 @@ public static Output getFleetExportStatus(GetFleetEx * } * * public static void stack(Context ctx) { - * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() - * .fleetId(testFleet.id()) + * final var testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree) * .build()); * * } @@ -2904,13 +2923,13 @@ public static Output getFleetExportStatus(GetFleetEx * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetExportStatusPlain(GetFleetExportStatusPlainArgs args) { - return getFleetExportStatusPlain(args, InvokeOptions.Empty); + public static CompletableFuture getFleetErrorAnalyticsPlain(GetFleetErrorAnalyticsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", TypeShape.of(GetFleetErrorAnalyticsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Returns last export status for the specified fleet. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -2923,7 +2942,7 @@ public static CompletableFuture getFleetExportStatus * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2937,8 +2956,14 @@ public static CompletableFuture getFleetExportStatus * } * * public static void stack(Context ctx) { - * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -2948,13 +2973,13 @@ public static CompletableFuture getFleetExportStatus * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); + public static Output getFleetErrors() { + return getFleetErrors(GetFleetErrorsArgs.Empty, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Returns last export status for the specified fleet. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -2967,7 +2992,7 @@ public static Output getFleetExportStatus(GetFleetEx * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -2981,8 +3006,14 @@ public static Output getFleetExportStatus(GetFleetEx * } * * public static void stack(Context ctx) { - * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -2992,13 +3023,13 @@ public static Output getFleetExportStatus(GetFleetEx * <!--End PulumiCodeChooser --> * */ - public static Output getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetErrorsPlain() { + return getFleetErrorsPlain(GetFleetErrorsPlainArgs.Empty, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Returns last export status for the specified fleet. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -3011,7 +3042,7 @@ public static Output getFleetExportStatus(GetFleetEx * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3025,8 +3056,14 @@ public static Output getFleetExportStatus(GetFleetEx * } * * public static void stack(Context ctx) { - * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -3036,13 +3073,13 @@ public static Output getFleetExportStatus(GetFleetEx * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetExportStatusPlain(GetFleetExportStatusPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); + public static Output getFleetErrors(GetFleetErrorsArgs args) { + return getFleetErrors(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Retrieve Java Migration Analysis result. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -3055,7 +3092,7 @@ public static CompletableFuture getFleetExportStatus * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3069,9 +3106,14 @@ public static CompletableFuture getFleetExportStatus * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) - * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -3081,13 +3123,13 @@ public static CompletableFuture getFleetExportStatus * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args) { - return getFleetJavaMigrationAnalysisResult(args, InvokeOptions.Empty); + public static CompletableFuture getFleetErrorsPlain(GetFleetErrorsPlainArgs args) { + return getFleetErrorsPlain(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Retrieve Java Migration Analysis result. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -3100,7 +3142,7 @@ public static Output getFleetJavaMigr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3114,9 +3156,14 @@ public static Output getFleetJavaMigr * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) - * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -3126,13 +3173,13 @@ public static Output getFleetJavaMigr * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetJavaMigrationAnalysisResultPlain(GetFleetJavaMigrationAnalysisResultPlainArgs args) { - return getFleetJavaMigrationAnalysisResultPlain(args, InvokeOptions.Empty); + public static Output getFleetErrors(GetFleetErrorsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetErrors:getFleetErrors", TypeShape.of(GetFleetErrorsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Retrieve Java Migration Analysis result. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -3145,7 +3192,7 @@ public static CompletableFuture getFl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3159,9 +3206,14 @@ public static CompletableFuture getFl * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) - * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -3171,13 +3223,13 @@ public static CompletableFuture getFl * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static Output getFleetErrors(GetFleetErrorsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetErrors:getFleetErrors", TypeShape.of(GetFleetErrorsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. * - * Retrieve Java Migration Analysis result. + * Returns a list of fleet errors that describe all detected errors. * * ## Example Usage * @@ -3190,7 +3242,7 @@ public static Output getFleetJavaMigr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetErrorsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3204,9 +3256,14 @@ public static Output getFleetJavaMigr * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() + * final var testFleetErrors = JmsFunctions.getFleetErrors(GetFleetErrorsArgs.builder() + * .compartmentId(compartmentId) + * .compartmentIdInSubtree(fleetErrorCompartmentIdInSubtree) * .fleetId(testFleet.id()) - * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) + * .timeFirstSeenGreaterThanOrEqualTo(fleetErrorTimeFirstSeenGreaterThanOrEqualTo) + * .timeFirstSeenLessThanOrEqualTo(fleetErrorTimeFirstSeenLessThanOrEqualTo) + * .timeLastSeenGreaterThanOrEqualTo(fleetErrorTimeLastSeenGreaterThanOrEqualTo) + * .timeLastSeenLessThanOrEqualTo(fleetErrorTimeLastSeenLessThanOrEqualTo) * .build()); * * } @@ -3216,13 +3273,13 @@ public static Output getFleetJavaMigr * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetErrorsPlain(GetFleetErrorsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetErrors:getFleetErrors", TypeShape.of(GetFleetErrorsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve Java Migration Analysis result. + * Returns export setting for the specified fleet. * * ## Example Usage * @@ -3235,7 +3292,7 @@ public static Output getFleetJavaMigr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3249,9 +3306,8 @@ public static Output getFleetJavaMigr * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() + * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() * .fleetId(testFleet.id()) - * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3261,13 +3317,13 @@ public static Output getFleetJavaMigr * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetJavaMigrationAnalysisResultPlain(GetFleetJavaMigrationAnalysisResultPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static Output getFleetExportSetting(GetFleetExportSettingArgs args) { + return getFleetExportSetting(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. * - * Lists the results of a Java migration analysis. + * Returns export setting for the specified fleet. * * ## Example Usage * @@ -3280,7 +3336,7 @@ public static CompletableFuture getFl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3294,13 +3350,8 @@ public static CompletableFuture getFl * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() * .fleetId(testFleet.id()) - * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) - * .hostName(fleetJavaMigrationAnalysisResultHostName) - * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) - * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) - * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3310,13 +3361,13 @@ public static CompletableFuture getFl * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args) { - return getFleetJavaMigrationAnalysisResults(args, InvokeOptions.Empty); + public static CompletableFuture getFleetExportSettingPlain(GetFleetExportSettingPlainArgs args) { + return getFleetExportSettingPlain(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. * - * Lists the results of a Java migration analysis. + * Returns export setting for the specified fleet. * * ## Example Usage * @@ -3329,7 +3380,7 @@ public static Output getFleetJavaMig * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3343,13 +3394,8 @@ public static Output getFleetJavaMig * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() * .fleetId(testFleet.id()) - * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) - * .hostName(fleetJavaMigrationAnalysisResultHostName) - * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) - * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) - * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3359,13 +3405,13 @@ public static Output getFleetJavaMig * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetJavaMigrationAnalysisResultsPlain(GetFleetJavaMigrationAnalysisResultsPlainArgs args) { - return getFleetJavaMigrationAnalysisResultsPlain(args, InvokeOptions.Empty); + public static Output getFleetExportSetting(GetFleetExportSettingArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. * - * Lists the results of a Java migration analysis. + * Returns export setting for the specified fleet. * * ## Example Usage * @@ -3378,7 +3424,7 @@ public static CompletableFuture getF * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3392,13 +3438,8 @@ public static CompletableFuture getF * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() * .fleetId(testFleet.id()) - * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) - * .hostName(fleetJavaMigrationAnalysisResultHostName) - * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) - * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) - * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3408,13 +3449,13 @@ public static CompletableFuture getF * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetExportSetting(GetFleetExportSettingArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Setting resource in Oracle Cloud Infrastructure Jms service. * - * Lists the results of a Java migration analysis. + * Returns export setting for the specified fleet. * * ## Example Usage * @@ -3427,7 +3468,7 @@ public static Output getFleetJavaMig * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportSettingArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3441,13 +3482,8 @@ public static Output getFleetJavaMig * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * final var testFleetExportSetting = JmsFunctions.getFleetExportSetting(GetFleetExportSettingArgs.builder() * .fleetId(testFleet.id()) - * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) - * .hostName(fleetJavaMigrationAnalysisResultHostName) - * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) - * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) - * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3457,13 +3493,13 @@ public static Output getFleetJavaMig * <!--End PulumiCodeChooser --> * */ - public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetExportSettingPlain(GetFleetExportSettingPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetExportSetting:getFleetExportSetting", TypeShape.of(GetFleetExportSettingResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. * - * Lists the results of a Java migration analysis. + * Returns last export status for the specified fleet. * * ## Example Usage * @@ -3476,7 +3512,7 @@ public static Output getFleetJavaMig * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3490,13 +3526,8 @@ public static Output getFleetJavaMig * } * * public static void stack(Context ctx) { - * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() * .fleetId(testFleet.id()) - * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) - * .hostName(fleetJavaMigrationAnalysisResultHostName) - * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) - * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) - * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3506,13 +3537,13 @@ public static Output getFleetJavaMig * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetJavaMigrationAnalysisResultsPlain(GetFleetJavaMigrationAnalysisResultsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetExportStatus(GetFleetExportStatusArgs args) { + return getFleetExportStatus(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve metadata of the Performance Tuning Analysis result. + * Returns last export status for the specified fleet. * * ## Example Usage * @@ -3525,7 +3556,7 @@ public static CompletableFuture getF * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3539,9 +3570,8 @@ public static CompletableFuture getF * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() * .fleetId(testFleet.id()) - * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -3551,13 +3581,13 @@ public static CompletableFuture getF * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args) { - return getFleetPerformanceTuningAnalysisResult(args, InvokeOptions.Empty); + public static CompletableFuture getFleetExportStatusPlain(GetFleetExportStatusPlainArgs args) { + return getFleetExportStatusPlain(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve metadata of the Performance Tuning Analysis result. + * Returns last export status for the specified fleet. * * ## Example Usage * @@ -3570,7 +3600,7 @@ public static Output getFleetPerf * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3584,9 +3614,8 @@ public static Output getFleetPerf * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() * .fleetId(testFleet.id()) - * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -3596,13 +3625,13 @@ public static Output getFleetPerf * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetPerformanceTuningAnalysisResultPlain(GetFleetPerformanceTuningAnalysisResultPlainArgs args) { - return getFleetPerformanceTuningAnalysisResultPlain(args, InvokeOptions.Empty); + public static Output getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve metadata of the Performance Tuning Analysis result. + * Returns last export status for the specified fleet. * * ## Example Usage * @@ -3615,7 +3644,7 @@ public static CompletableFuture g * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3629,9 +3658,8 @@ public static CompletableFuture g * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() * .fleetId(testFleet.id()) - * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -3641,13 +3669,13 @@ public static CompletableFuture g * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static Output getFleetExportStatus(GetFleetExportStatusArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Export Status resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve metadata of the Performance Tuning Analysis result. + * Returns last export status for the specified fleet. * * ## Example Usage * @@ -3660,7 +3688,7 @@ public static Output getFleetPerf * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetExportStatusArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3674,9 +3702,8 @@ public static Output getFleetPerf * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * final var testFleetExportStatus = JmsFunctions.getFleetExportStatus(GetFleetExportStatusArgs.builder() * .fleetId(testFleet.id()) - * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -3686,13 +3713,13 @@ public static Output getFleetPerf * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetExportStatusPlain(GetFleetExportStatusPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetExportStatus:getFleetExportStatus", TypeShape.of(GetFleetExportStatusResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * Retrieve metadata of the Performance Tuning Analysis result. + * Retrieve Java Migration Analysis result. * * ## Example Usage * @@ -3705,7 +3732,7 @@ public static Output getFleetPerf * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3719,9 +3746,9 @@ public static Output getFleetPerf * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) + * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3731,13 +3758,13 @@ public static Output getFleetPerf * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetPerformanceTuningAnalysisResultPlain(GetFleetPerformanceTuningAnalysisResultPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); + public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args) { + return getFleetJavaMigrationAnalysisResult(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Performance Tuning Analysis results. + * Retrieve Java Migration Analysis result. * * ## Example Usage * @@ -3750,7 +3777,7 @@ public static CompletableFuture g * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3764,13 +3791,9 @@ public static CompletableFuture g * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() + * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) - * .hostName(fleetPerformanceTuningAnalysisResultHostName) - * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) - * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) - * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3780,13 +3803,13 @@ public static CompletableFuture g * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args) { - return getFleetPerformanceTuningAnalysisResults(args, InvokeOptions.Empty); + public static CompletableFuture getFleetJavaMigrationAnalysisResultPlain(GetFleetJavaMigrationAnalysisResultPlainArgs args) { + return getFleetJavaMigrationAnalysisResultPlain(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Performance Tuning Analysis results. + * Retrieve Java Migration Analysis result. * * ## Example Usage * @@ -3799,7 +3822,7 @@ public static Output getFleetPer * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3813,13 +3836,9 @@ public static Output getFleetPer * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() + * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) - * .hostName(fleetPerformanceTuningAnalysisResultHostName) - * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) - * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) - * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3829,13 +3848,13 @@ public static Output getFleetPer * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetPerformanceTuningAnalysisResultsPlain(GetFleetPerformanceTuningAnalysisResultsPlainArgs args) { - return getFleetPerformanceTuningAnalysisResultsPlain(args, InvokeOptions.Empty); + public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Performance Tuning Analysis results. + * Retrieve Java Migration Analysis result. * * ## Example Usage * @@ -3848,7 +3867,7 @@ public static CompletableFuture * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3862,13 +3881,9 @@ public static CompletableFuture * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() + * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) - * .hostName(fleetPerformanceTuningAnalysisResultHostName) - * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) - * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) - * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3878,13 +3893,13 @@ public static CompletableFuture * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Performance Tuning Analysis results. + * Retrieve Java Migration Analysis result. * * ## Example Usage * @@ -3897,7 +3912,7 @@ public static Output getFleetPer * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3911,13 +3926,9 @@ public static Output getFleetPer * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() + * final var testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) - * .hostName(fleetPerformanceTuningAnalysisResultHostName) - * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) - * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) - * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId) * .build()); * * } @@ -3927,13 +3938,13 @@ public static Output getFleetPer * <!--End PulumiCodeChooser --> * */ - public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetJavaMigrationAnalysisResultPlain(GetFleetJavaMigrationAnalysisResultPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", TypeShape.of(GetFleetJavaMigrationAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. * - * List Performance Tuning Analysis results. + * Lists the results of a Java migration analysis. * * ## Example Usage * @@ -3946,7 +3957,7 @@ public static Output getFleetPer * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -3960,13 +3971,13 @@ public static Output getFleetPer * } * * public static void stack(Context ctx) { - * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() + * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) - * .hostName(fleetPerformanceTuningAnalysisResultHostName) - * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) - * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) - * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) + * .hostName(fleetJavaMigrationAnalysisResultHostName) + * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) + * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) + * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -3976,14 +3987,13 @@ public static Output getFleetPer * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetPerformanceTuningAnalysisResultsPlain(GetFleetPerformanceTuningAnalysisResultsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args) { + return getFleetJavaMigrationAnalysisResults(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Lists the results of a Java migration analysis. * * ## Example Usage * @@ -3996,7 +4006,7 @@ public static CompletableFuture * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4010,12 +4020,13 @@ public static CompletableFuture * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * .fleetId(testFleet.id()) + * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) + * .hostName(fleetJavaMigrationAnalysisResultHostName) + * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) + * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) + * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -4025,14 +4036,13 @@ public static CompletableFuture * <!--End PulumiCodeChooser --> * */ - public static Output getFleets() { - return getFleets(GetFleetsArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getFleetJavaMigrationAnalysisResultsPlain(GetFleetJavaMigrationAnalysisResultsPlainArgs args) { + return getFleetJavaMigrationAnalysisResultsPlain(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Lists the results of a Java migration analysis. * * ## Example Usage * @@ -4045,7 +4055,7 @@ public static Output getFleets() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4059,12 +4069,13 @@ public static Output getFleets() { * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * .fleetId(testFleet.id()) + * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) + * .hostName(fleetJavaMigrationAnalysisResultHostName) + * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) + * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) + * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -4074,14 +4085,13 @@ public static Output getFleets() { * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetsPlain() { - return getFleetsPlain(GetFleetsPlainArgs.Empty, InvokeOptions.Empty); + public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Lists the results of a Java migration analysis. * * ## Example Usage * @@ -4094,7 +4104,7 @@ public static CompletableFuture getFleetsPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4108,12 +4118,13 @@ public static CompletableFuture getFleetsPlain() { * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * .fleetId(testFleet.id()) + * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) + * .hostName(fleetJavaMigrationAnalysisResultHostName) + * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) + * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) + * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -4123,14 +4134,13 @@ public static CompletableFuture getFleetsPlain() { * <!--End PulumiCodeChooser --> * */ - public static Output getFleets(GetFleetsArgs args) { - return getFleets(args, InvokeOptions.Empty); + public static Output getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Lists the results of a Java migration analysis. * * ## Example Usage * @@ -4143,7 +4153,7 @@ public static Output getFleets(GetFleetsArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4157,12 +4167,13 @@ public static Output getFleets(GetFleetsArgs args) { * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder() + * .fleetId(testFleet.id()) + * .applicationName(fleetJavaMigrationAnalysisResultApplicationName) + * .hostName(fleetJavaMigrationAnalysisResultHostName) + * .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId) + * .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd) + * .timeStart(fleetJavaMigrationAnalysisResultTimeStart) * .build()); * * } @@ -4172,14 +4183,13 @@ public static Output getFleets(GetFleetsArgs args) { * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetsPlain(GetFleetsPlainArgs args) { - return getFleetsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getFleetJavaMigrationAnalysisResultsPlain(GetFleetJavaMigrationAnalysisResultsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", TypeShape.of(GetFleetJavaMigrationAnalysisResultsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Retrieve metadata of the Performance Tuning Analysis result. * * ## Example Usage * @@ -4192,7 +4202,7 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4206,12 +4216,9 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * .fleetId(testFleet.id()) + * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -4221,14 +4228,13 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * <!--End PulumiCodeChooser --> * */ - public static Output getFleets(GetFleetsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args) { + return getFleetPerformanceTuningAnalysisResult(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Retrieve metadata of the Performance Tuning Analysis result. * * ## Example Usage * @@ -4241,7 +4247,7 @@ public static Output getFleets(GetFleetsArgs args, InvokeOption * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4255,12 +4261,9 @@ public static Output getFleets(GetFleetsArgs args, InvokeOption * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * .fleetId(testFleet.id()) + * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -4270,14 +4273,13 @@ public static Output getFleets(GetFleetsArgs args, InvokeOption * <!--End PulumiCodeChooser --> * */ - public static Output getFleets(GetFleetsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetPerformanceTuningAnalysisResultPlain(GetFleetPerformanceTuningAnalysisResultPlainArgs args) { + return getFleetPerformanceTuningAnalysisResultPlain(args, InvokeOptions.Empty); } /** - * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` - * is required unless the query parameter `id` is specified. + * Retrieve metadata of the Performance Tuning Analysis result. * * ## Example Usage * @@ -4290,7 +4292,7 @@ public static Output getFleets(GetFleetsArgs args, InvokeOutput * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetFleetsArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4304,12 +4306,9 @@ public static Output getFleets(GetFleetsArgs args, InvokeOutput * } * * public static void stack(Context ctx) { - * final var testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder() - * .compartmentId(compartmentId) - * .displayName(fleetDisplayName) - * .displayNameContains(fleetDisplayNameContains) - * .id(fleetId) - * .state(fleetState) + * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() + * .fleetId(testFleet.id()) + * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -4319,13 +4318,13 @@ public static Output getFleets(GetFleetsArgs args, InvokeOutput * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getFleetsPlain(GetFleetsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * Retrieve metadata of the Performance Tuning Analysis result. * * ## Example Usage * @@ -4338,7 +4337,7 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4352,19 +4351,9 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder() + * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -4374,13 +4363,13 @@ public static CompletableFuture getFleetsPlain(GetFleetsPlainAr * <!--End PulumiCodeChooser --> * */ - public static Output getInstallationSite(GetInstallationSiteArgs args) { - return getInstallationSite(args, InvokeOptions.Empty); + public static Output getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * This data source provides details about a specific Fleet Performance Tuning Analysis Result resource in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * Retrieve metadata of the Performance Tuning Analysis result. * * ## Example Usage * @@ -4393,7 +4382,7 @@ public static Output getInstallationSite(GetInstallat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4407,19 +4396,9 @@ public static Output getInstallationSite(GetInstallat * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder() + * final var testFleetPerformanceTuningAnalysisResult = JmsFunctions.getFleetPerformanceTuningAnalysisResult(GetFleetPerformanceTuningAnalysisResultArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .performanceTuningAnalysisResultId(fleetPerformanceTuningAnalysisResultId) * .build()); * * } @@ -4429,13 +4408,13 @@ public static Output getInstallationSite(GetInstallat * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getInstallationSitePlain(GetInstallationSitePlainArgs args) { - return getInstallationSitePlain(args, InvokeOptions.Empty); + public static CompletableFuture getFleetPerformanceTuningAnalysisResultPlain(GetFleetPerformanceTuningAnalysisResultPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", TypeShape.of(GetFleetPerformanceTuningAnalysisResultResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * List Performance Tuning Analysis results. * * ## Example Usage * @@ -4448,7 +4427,7 @@ public static CompletableFuture getInstallationSitePl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4462,19 +4441,14 @@ public static CompletableFuture getInstallationSitePl * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder() + * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) + * .applicationName(fleetPerformanceTuningAnalysisResultApplicationName) + * .hostName(fleetPerformanceTuningAnalysisResultHostName) + * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) + * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) + * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) * .build()); * * } @@ -4484,13 +4458,13 @@ public static CompletableFuture getInstallationSitePl * <!--End PulumiCodeChooser --> * */ - public static Output getInstallationSite(GetInstallationSiteArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args) { + return getFleetPerformanceTuningAnalysisResults(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * List Performance Tuning Analysis results. * * ## Example Usage * @@ -4503,7 +4477,7 @@ public static Output getInstallationSite(GetInstallat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4517,19 +4491,14 @@ public static Output getInstallationSite(GetInstallat * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder() + * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) + * .applicationName(fleetPerformanceTuningAnalysisResultApplicationName) + * .hostName(fleetPerformanceTuningAnalysisResultHostName) + * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) + * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) + * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) * .build()); * * } @@ -4539,13 +4508,13 @@ public static Output getInstallationSite(GetInstallat * <!--End PulumiCodeChooser --> * */ - public static Output getInstallationSite(GetInstallationSiteArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFleetPerformanceTuningAnalysisResultsPlain(GetFleetPerformanceTuningAnalysisResultsPlainArgs args) { + return getFleetPerformanceTuningAnalysisResultsPlain(args, InvokeOptions.Empty); } /** - * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * List Performance Tuning Analysis results. * * ## Example Usage * @@ -4558,7 +4527,7 @@ public static Output getInstallationSite(GetInstallat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4572,19 +4541,14 @@ public static Output getInstallationSite(GetInstallat * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder() + * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) + * .applicationName(fleetPerformanceTuningAnalysisResultApplicationName) + * .hostName(fleetPerformanceTuningAnalysisResultHostName) + * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) + * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) + * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) * .build()); * * } @@ -4594,13 +4558,13 @@ public static Output getInstallationSite(GetInstallat * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getInstallationSitePlain(GetInstallationSitePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); } /** - * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. * - * List Java installation sites in a Fleet filtered by query parameters. + * List Performance Tuning Analysis results. * * ## Example Usage * @@ -4613,7 +4577,7 @@ public static CompletableFuture getInstallationSitePl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Jms.JmsFunctions; - * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs; + * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4627,19 +4591,1442 @@ public static CompletableFuture getInstallationSitePl * } * * public static void stack(Context ctx) { - * final var testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder() + * final var testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder() * .fleetId(testFleet.id()) - * .applicationId(fleetInstallationSiteApplicationId) - * .installationPath(fleetInstallationSiteInstallationPath) - * .jreDistribution(fleetInstallationSiteJreDistribution) - * .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus) - * .jreVendor(fleetInstallationSiteJreVendor) - * .jreVersion(fleetInstallationSiteJreVersion) - * .managedInstanceId(fleetInstallationSiteManagedInstanceId) - * .osFamilies(fleetInstallationSiteOsFamily) - * .pathContains(fleetInstallationSitePathContains) - * .timeEnd(fleetInstallationSiteTimeEnd) - * .timeStart(fleetInstallationSiteTimeStart) + * .applicationId(fleetPerformanceTuningAnalysisResultApplicationId) + * .applicationName(fleetPerformanceTuningAnalysisResultApplicationName) + * .hostName(fleetPerformanceTuningAnalysisResultHostName) + * .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId) + * .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd) + * .timeStart(fleetPerformanceTuningAnalysisResultTimeStart) + * .build()); + * + * } + * } + * } + * + * <!--End PulumiCodeChooser --> + * + */ + public static Output getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleet Performance Tuning Analysis Results in Oracle Cloud Infrastructure Jms service. + * + * List Performance Tuning Analysis results. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetPerformanceTuningAnalysisResultsArgs;
+     * 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 testFleetPerformanceTuningAnalysisResults = JmsFunctions.getFleetPerformanceTuningAnalysisResults(GetFleetPerformanceTuningAnalysisResultsArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetPerformanceTuningAnalysisResultApplicationId)
+     *             .applicationName(fleetPerformanceTuningAnalysisResultApplicationName)
+     *             .hostName(fleetPerformanceTuningAnalysisResultHostName)
+     *             .managedInstanceId(fleetPerformanceTuningAnalysisResultManagedInstanceId)
+     *             .timeEnd(fleetPerformanceTuningAnalysisResultTimeEnd)
+     *             .timeStart(fleetPerformanceTuningAnalysisResultTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getFleetPerformanceTuningAnalysisResultsPlain(GetFleetPerformanceTuningAnalysisResultsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", TypeShape.of(GetFleetPerformanceTuningAnalysisResultsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getFleets() { + return getFleets(GetFleetsArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getFleetsPlain() { + return getFleetsPlain(GetFleetsPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getFleets(GetFleetsArgs args) { + return getFleets(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getFleetsPlain(GetFleetsPlainArgs args) { + return getFleetsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getFleets(GetFleetsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getFleets(GetFleetsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleets in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` + * is required unless the query parameter `id` is specified. + * + * ## 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetFleetsArgs;
+     * 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 testFleets = JmsFunctions.getFleets(GetFleetsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(fleetDisplayName)
+     *             .displayNameContains(fleetDisplayNameContains)
+     *             .id(fleetId)
+     *             .state(fleetState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getFleetsPlain(GetFleetsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getFleets:getFleets", TypeShape.of(GetFleetsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs;
+     * 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 testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSite(GetInstallationSiteArgs args) { + return getInstallationSite(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs;
+     * 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 testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInstallationSitePlain(GetInstallationSitePlainArgs args) { + return getInstallationSitePlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs;
+     * 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 testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSite(GetInstallationSiteArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs;
+     * 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 testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSite(GetInstallationSiteArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Fleet Installation Site resource in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSiteArgs;
+     * 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 testFleetInstallationSite = JmsFunctions.getInstallationSite(GetInstallationSiteArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInstallationSitePlain(GetInstallationSitePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getInstallationSite:getInstallationSite", TypeShape.of(GetInstallationSiteResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * 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 testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSites(GetInstallationSitesArgs args) { + return getInstallationSites(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * 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 testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInstallationSitesPlain(GetInstallationSitesPlainArgs args) { + return getInstallationSitesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * 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 testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSites(GetInstallationSitesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * 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 testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getInstallationSites(GetInstallationSitesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service. + * + * List Java installation sites in a Fleet filtered by query 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * 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 testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
+     *             .fleetId(testFleet.id())
+     *             .applicationId(fleetInstallationSiteApplicationId)
+     *             .installationPath(fleetInstallationSiteInstallationPath)
+     *             .jreDistribution(fleetInstallationSiteJreDistribution)
+     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
+     *             .jreVendor(fleetInstallationSiteJreVendor)
+     *             .jreVersion(fleetInstallationSiteJreVersion)
+     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
+     *             .osFamilies(fleetInstallationSiteOsFamily)
+     *             .pathContains(fleetInstallationSitePathContains)
+     *             .timeEnd(fleetInstallationSiteTimeEnd)
+     *             .timeStart(fleetInstallationSiteTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getInstallationSitesPlain(GetInstallationSitesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Returns a list of Java download records in a tenancy based on specified parameters. + * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases) + * for possible values of `javaFamilyVersion` and `javaReleaseVersion` 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * 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 testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .architecture(javaDownloadRecordArchitecture)
+     *             .familyVersion(javaDownloadRecordFamilyVersion)
+     *             .osFamily(javaDownloadRecordOsFamily)
+     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
+     *             .releaseVersion(javaDownloadRecordReleaseVersion)
+     *             .timeEnd(javaDownloadRecordTimeEnd)
+     *             .timeStart(javaDownloadRecordTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args) { + return getJavaDownloadsJavaDownloadRecords(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Returns a list of Java download records in a tenancy based on specified parameters. + * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases) + * for possible values of `javaFamilyVersion` and `javaReleaseVersion` 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * 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 testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .architecture(javaDownloadRecordArchitecture)
+     *             .familyVersion(javaDownloadRecordFamilyVersion)
+     *             .osFamily(javaDownloadRecordOsFamily)
+     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
+     *             .releaseVersion(javaDownloadRecordReleaseVersion)
+     *             .timeEnd(javaDownloadRecordTimeEnd)
+     *             .timeStart(javaDownloadRecordTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getJavaDownloadsJavaDownloadRecordsPlain(GetJavaDownloadsJavaDownloadRecordsPlainArgs args) { + return getJavaDownloadsJavaDownloadRecordsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Returns a list of Java download records in a tenancy based on specified parameters. + * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases) + * for possible values of `javaFamilyVersion` and `javaReleaseVersion` 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * 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 testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .architecture(javaDownloadRecordArchitecture)
+     *             .familyVersion(javaDownloadRecordFamilyVersion)
+     *             .osFamily(javaDownloadRecordOsFamily)
+     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
+     *             .releaseVersion(javaDownloadRecordReleaseVersion)
+     *             .timeEnd(javaDownloadRecordTimeEnd)
+     *             .timeStart(javaDownloadRecordTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Returns a list of Java download records in a tenancy based on specified parameters. + * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases) + * for possible values of `javaFamilyVersion` and `javaReleaseVersion` 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * 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 testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .architecture(javaDownloadRecordArchitecture)
+     *             .familyVersion(javaDownloadRecordFamilyVersion)
+     *             .osFamily(javaDownloadRecordOsFamily)
+     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
+     *             .releaseVersion(javaDownloadRecordReleaseVersion)
+     *             .timeEnd(javaDownloadRecordTimeEnd)
+     *             .timeStart(javaDownloadRecordTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Returns a list of Java download records in a tenancy based on specified parameters. + * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases) + * for possible values of `javaFamilyVersion` and `javaReleaseVersion` 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * 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 testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .architecture(javaDownloadRecordArchitecture)
+     *             .familyVersion(javaDownloadRecordFamilyVersion)
+     *             .osFamily(javaDownloadRecordOsFamily)
+     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
+     *             .releaseVersion(javaDownloadRecordReleaseVersion)
+     *             .timeEnd(javaDownloadRecordTimeEnd)
+     *             .timeStart(javaDownloadRecordTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getJavaDownloadsJavaDownloadRecordsPlain(GetJavaDownloadsJavaDownloadRecordsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Gets a JavaDownloadReport by the specified 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * 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 testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args) { + return getJavaDownloadsJavaDownloadReport(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Gets a JavaDownloadReport by the specified 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * 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 testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getJavaDownloadsJavaDownloadReportPlain(GetJavaDownloadsJavaDownloadReportPlainArgs args) { + return getJavaDownloadsJavaDownloadReportPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Gets a JavaDownloadReport by the specified 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * 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 testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Gets a JavaDownloadReport by the specified 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * 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 testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service. + * + * Gets a JavaDownloadReport by the specified 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.Jms.JmsFunctions;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * 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 testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4649,13 +6036,13 @@ public static CompletableFuture getInstallationSitePl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getInstallationSites(GetInstallationSitesArgs args) {
-        return getInstallationSites(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaDownloadReportPlain(GetJavaDownloadsJavaDownloadReportPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * List Java installation sites in a Fleet filtered by query parameters.
+     * Retrieve a Java download report with the specified identifier.
      * 
      * ## Example Usage
      * 
@@ -4668,7 +6055,7 @@ public static Output getInstallationSites(GetInstall
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4682,19 +6069,8 @@ public static Output getInstallationSites(GetInstall
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
-     *             .fleetId(testFleet.id())
-     *             .applicationId(fleetInstallationSiteApplicationId)
-     *             .installationPath(fleetInstallationSiteInstallationPath)
-     *             .jreDistribution(fleetInstallationSiteJreDistribution)
-     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
-     *             .jreVendor(fleetInstallationSiteJreVendor)
-     *             .jreVersion(fleetInstallationSiteJreVersion)
-     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
-     *             .osFamilies(fleetInstallationSiteOsFamily)
-     *             .pathContains(fleetInstallationSitePathContains)
-     *             .timeEnd(fleetInstallationSiteTimeEnd)
-     *             .timeStart(fleetInstallationSiteTimeStart)
+     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4704,13 +6080,13 @@ public static Output getInstallationSites(GetInstall
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getInstallationSitesPlain(GetInstallationSitesPlainArgs args) {
-        return getInstallationSitesPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args) {
+        return getJavaDownloadsJavaDownloadReportContent(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * List Java installation sites in a Fleet filtered by query parameters.
+     * Retrieve a Java download report with the specified identifier.
      * 
      * ## Example Usage
      * 
@@ -4723,7 +6099,7 @@ public static CompletableFuture getInstallationSites
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4737,19 +6113,8 @@ public static CompletableFuture getInstallationSites
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
-     *             .fleetId(testFleet.id())
-     *             .applicationId(fleetInstallationSiteApplicationId)
-     *             .installationPath(fleetInstallationSiteInstallationPath)
-     *             .jreDistribution(fleetInstallationSiteJreDistribution)
-     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
-     *             .jreVendor(fleetInstallationSiteJreVendor)
-     *             .jreVersion(fleetInstallationSiteJreVersion)
-     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
-     *             .osFamilies(fleetInstallationSiteOsFamily)
-     *             .pathContains(fleetInstallationSitePathContains)
-     *             .timeEnd(fleetInstallationSiteTimeEnd)
-     *             .timeStart(fleetInstallationSiteTimeStart)
+     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4759,13 +6124,13 @@ public static CompletableFuture getInstallationSites
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getInstallationSites(GetInstallationSitesArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaDownloadReportContentPlain(GetJavaDownloadsJavaDownloadReportContentPlainArgs args) {
+        return getJavaDownloadsJavaDownloadReportContentPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * List Java installation sites in a Fleet filtered by query parameters.
+     * Retrieve a Java download report with the specified identifier.
      * 
      * ## Example Usage
      * 
@@ -4778,7 +6143,7 @@ public static Output getInstallationSites(GetInstall
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4792,19 +6157,8 @@ public static Output getInstallationSites(GetInstall
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
-     *             .fleetId(testFleet.id())
-     *             .applicationId(fleetInstallationSiteApplicationId)
-     *             .installationPath(fleetInstallationSiteInstallationPath)
-     *             .jreDistribution(fleetInstallationSiteJreDistribution)
-     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
-     *             .jreVendor(fleetInstallationSiteJreVendor)
-     *             .jreVersion(fleetInstallationSiteJreVersion)
-     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
-     *             .osFamilies(fleetInstallationSiteOsFamily)
-     *             .pathContains(fleetInstallationSitePathContains)
-     *             .timeEnd(fleetInstallationSiteTimeEnd)
-     *             .timeStart(fleetInstallationSiteTimeStart)
+     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4814,13 +6168,13 @@ public static Output getInstallationSites(GetInstall
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getInstallationSites(GetInstallationSitesArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * List Java installation sites in a Fleet filtered by query parameters.
+     * Retrieve a Java download report with the specified identifier.
      * 
      * ## Example Usage
      * 
@@ -4833,7 +6187,7 @@ public static Output getInstallationSites(GetInstall
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetInstallationSitesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4847,19 +6201,8 @@ public static Output getInstallationSites(GetInstall
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testFleetInstallationSites = JmsFunctions.getInstallationSites(GetInstallationSitesArgs.builder()
-     *             .fleetId(testFleet.id())
-     *             .applicationId(fleetInstallationSiteApplicationId)
-     *             .installationPath(fleetInstallationSiteInstallationPath)
-     *             .jreDistribution(fleetInstallationSiteJreDistribution)
-     *             .jreSecurityStatus(fleetInstallationSiteJreSecurityStatus)
-     *             .jreVendor(fleetInstallationSiteJreVendor)
-     *             .jreVersion(fleetInstallationSiteJreVersion)
-     *             .managedInstanceId(fleetInstallationSiteManagedInstanceId)
-     *             .osFamilies(fleetInstallationSiteOsFamily)
-     *             .pathContains(fleetInstallationSitePathContains)
-     *             .timeEnd(fleetInstallationSiteTimeEnd)
-     *             .timeStart(fleetInstallationSiteTimeStart)
+     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4869,15 +6212,13 @@ public static Output getInstallationSites(GetInstall
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getInstallationSitesPlain(GetInstallationSitesPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getInstallationSites:getInstallationSites", TypeShape.of(GetInstallationSitesResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of Java download records in a tenancy based on specified parameters.
-     * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases)
-     * for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
+     * Retrieve a Java download report with the specified identifier.
      * 
      * ## Example Usage
      * 
@@ -4890,7 +6231,7 @@ public static CompletableFuture getInstallationSites
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4904,15 +6245,8 @@ public static CompletableFuture getInstallationSites
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .architecture(javaDownloadRecordArchitecture)
-     *             .familyVersion(javaDownloadRecordFamilyVersion)
-     *             .osFamily(javaDownloadRecordOsFamily)
-     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
-     *             .releaseVersion(javaDownloadRecordReleaseVersion)
-     *             .timeEnd(javaDownloadRecordTimeEnd)
-     *             .timeStart(javaDownloadRecordTimeStart)
+     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
      *             .build());
      * 
      *     }
@@ -4922,15 +6256,13 @@ public static CompletableFuture getInstallationSites
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args) {
-        return getJavaDownloadsJavaDownloadRecords(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaDownloadReportContentPlain(GetJavaDownloadsJavaDownloadReportContentPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of Java download records in a tenancy based on specified parameters.
-     * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases)
-     * for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
+     * Returns a list of JavaDownloadReports.
      * 
      * ## Example Usage
      * 
@@ -4943,7 +6275,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4957,15 +6289,11 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .architecture(javaDownloadRecordArchitecture)
-     *             .familyVersion(javaDownloadRecordFamilyVersion)
-     *             .osFamily(javaDownloadRecordOsFamily)
-     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
-     *             .releaseVersion(javaDownloadRecordReleaseVersion)
-     *             .timeEnd(javaDownloadRecordTimeEnd)
-     *             .timeStart(javaDownloadRecordTimeStart)
+     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadReportDisplayName)
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *             .state(javaDownloadReportState)
      *             .build());
      * 
      *     }
@@ -4975,15 +6303,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadRecordsPlain(GetJavaDownloadsJavaDownloadRecordsPlainArgs args) {
-        return getJavaDownloadsJavaDownloadRecordsPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args) {
+        return getJavaDownloadsJavaDownloadReports(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of Java download records in a tenancy based on specified parameters.
-     * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases)
-     * for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
+     * Returns a list of JavaDownloadReports.
      * 
      * ## Example Usage
      * 
@@ -4996,7 +6322,7 @@ public static CompletableFuture getJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5010,15 +6336,11 @@ public static CompletableFuture getJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .architecture(javaDownloadRecordArchitecture)
-     *             .familyVersion(javaDownloadRecordFamilyVersion)
-     *             .osFamily(javaDownloadRecordOsFamily)
-     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
-     *             .releaseVersion(javaDownloadRecordReleaseVersion)
-     *             .timeEnd(javaDownloadRecordTimeEnd)
-     *             .timeStart(javaDownloadRecordTimeStart)
+     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadReportDisplayName)
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *             .state(javaDownloadReportState)
      *             .build());
      * 
      *     }
@@ -5028,15 +6350,13 @@ public static CompletableFuture getJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaDownloadReportsPlain(GetJavaDownloadsJavaDownloadReportsPlainArgs args) {
+        return getJavaDownloadsJavaDownloadReportsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of Java download records in a tenancy based on specified parameters.
-     * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases)
-     * for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
+     * Returns a list of JavaDownloadReports.
      * 
      * ## Example Usage
      * 
@@ -5049,7 +6369,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5063,15 +6383,11 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .architecture(javaDownloadRecordArchitecture)
-     *             .familyVersion(javaDownloadRecordFamilyVersion)
-     *             .osFamily(javaDownloadRecordOsFamily)
-     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
-     *             .releaseVersion(javaDownloadRecordReleaseVersion)
-     *             .timeEnd(javaDownloadRecordTimeEnd)
-     *             .timeStart(javaDownloadRecordTimeStart)
+     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadReportDisplayName)
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *             .state(javaDownloadReportState)
      *             .build());
      * 
      *     }
@@ -5081,15 +6397,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of Java download records in a tenancy based on specified parameters.
-     * See [JavaReleases API](https://docs.cloud.oracle.com/iaas/api/#/en/jms/20210610/JavaRelease/ListJavaReleases)
-     * for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
+     * Returns a list of JavaDownloadReports.
      * 
      * ## Example Usage
      * 
@@ -5102,7 +6416,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5116,15 +6430,11 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .architecture(javaDownloadRecordArchitecture)
-     *             .familyVersion(javaDownloadRecordFamilyVersion)
-     *             .osFamily(javaDownloadRecordOsFamily)
-     *             .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
-     *             .releaseVersion(javaDownloadRecordReleaseVersion)
-     *             .timeEnd(javaDownloadRecordTimeEnd)
-     *             .timeStart(javaDownloadRecordTimeStart)
+     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadReportDisplayName)
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *             .state(javaDownloadReportState)
      *             .build());
      * 
      *     }
@@ -5134,13 +6444,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadRecordsPlain(GetJavaDownloadsJavaDownloadRecordsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords", TypeShape.of(GetJavaDownloadsJavaDownloadRecordsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadReport by the specified identifier.
+     * Returns a list of JavaDownloadReports.
      * 
      * ## Example Usage
      * 
@@ -5153,7 +6463,7 @@ public static CompletableFuture getJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5167,8 +6477,11 @@ public static CompletableFuture getJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadReportDisplayName)
+     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *             .state(javaDownloadReportState)
      *             .build());
      * 
      *     }
@@ -5178,13 +6491,13 @@ public static CompletableFuture getJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args) {
-        return getJavaDownloadsJavaDownloadReport(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaDownloadReportsPlain(GetJavaDownloadsJavaDownloadReportsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadReport by the specified identifier.
+     * Gets a JavaDownloadToken by identifier
      * 
      * ## Example Usage
      * 
@@ -5197,7 +6510,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5211,8 +6524,8 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
+     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
      *             .build());
      * 
      *     }
@@ -5222,13 +6535,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportPlain(GetJavaDownloadsJavaDownloadReportPlainArgs args) {
-        return getJavaDownloadsJavaDownloadReportPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args) {
+        return getJavaDownloadsJavaDownloadToken(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadReport by the specified identifier.
+     * Gets a JavaDownloadToken by identifier
      * 
      * ## Example Usage
      * 
@@ -5241,7 +6554,7 @@ public static CompletableFuture getJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5255,8 +6568,8 @@ public static CompletableFuture getJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
+     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
      *             .build());
      * 
      *     }
@@ -5266,13 +6579,13 @@ public static CompletableFuture getJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaDownloadTokenPlain(GetJavaDownloadsJavaDownloadTokenPlainArgs args) {
+        return getJavaDownloadsJavaDownloadTokenPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadReport by the specified identifier.
+     * Gets a JavaDownloadToken by identifier
      * 
      * ## Example Usage
      * 
@@ -5285,7 +6598,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5299,8 +6612,8 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
+     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
      *             .build());
      * 
      *     }
@@ -5310,13 +6623,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadReport by the specified identifier.
+     * Gets a JavaDownloadToken by identifier
      * 
      * ## Example Usage
      * 
@@ -5329,7 +6642,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5343,8 +6656,8 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReport = JmsFunctions.getJavaDownloadsJavaDownloadReport(GetJavaDownloadsJavaDownloadReportArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReportOciJmsJavaDownloadsJavaDownloadReport.id())
+     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
+     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
      *             .build());
      * 
      *     }
@@ -5354,13 +6667,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportPlain(GetJavaDownloadsJavaDownloadReportPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReport:getJavaDownloadsJavaDownloadReport", TypeShape.of(GetJavaDownloadsJavaDownloadReportResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Retrieve a Java download report with the specified identifier.
+     * Gets a JavaDownloadToken by identifier
      * 
      * ## Example Usage
      * 
@@ -5373,7 +6686,7 @@ public static CompletableFuture getJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5387,8 +6700,8 @@ public static CompletableFuture getJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
+     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
      *             .build());
      * 
      *     }
@@ -5398,13 +6711,13 @@ public static CompletableFuture getJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args) {
-        return getJavaDownloadsJavaDownloadReportContent(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaDownloadTokenPlain(GetJavaDownloadsJavaDownloadTokenPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Retrieve a Java download report with the specified identifier.
+     * Returns a list of JavaDownloadTokens.
      * 
      * ## Example Usage
      * 
@@ -5417,7 +6730,7 @@ public static Output getJavaDow
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5431,8 +6744,14 @@ public static Output getJavaDow
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadTokenDisplayName)
+     *             .familyVersion(javaDownloadTokenFamilyVersion)
+     *             .id(javaDownloadTokenId)
+     *             .searchByUser(javaDownloadTokenSearchByUser)
+     *             .state(javaDownloadTokenState)
+     *             .value(javaDownloadTokenValue)
      *             .build());
      * 
      *     }
@@ -5442,13 +6761,13 @@ public static Output getJavaDow
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportContentPlain(GetJavaDownloadsJavaDownloadReportContentPlainArgs args) {
-        return getJavaDownloadsJavaDownloadReportContentPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args) {
+        return getJavaDownloadsJavaDownloadTokens(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Retrieve a Java download report with the specified identifier.
+     * Returns a list of JavaDownloadTokens.
      * 
      * ## Example Usage
      * 
@@ -5461,7 +6780,7 @@ public static CompletableFuture
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5475,8 +6794,14 @@ public static CompletableFuture
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadTokenDisplayName)
+     *             .familyVersion(javaDownloadTokenFamilyVersion)
+     *             .id(javaDownloadTokenId)
+     *             .searchByUser(javaDownloadTokenSearchByUser)
+     *             .state(javaDownloadTokenState)
+     *             .value(javaDownloadTokenValue)
      *             .build());
      * 
      *     }
@@ -5486,13 +6811,13 @@ public static CompletableFuture
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaDownloadTokensPlain(GetJavaDownloadsJavaDownloadTokensPlainArgs args) {
+        return getJavaDownloadsJavaDownloadTokensPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Retrieve a Java download report with the specified identifier.
+     * Returns a list of JavaDownloadTokens.
      * 
      * ## Example Usage
      * 
@@ -5505,7 +6830,7 @@ public static Output getJavaDow
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5519,8 +6844,14 @@ public static Output getJavaDow
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadTokenDisplayName)
+     *             .familyVersion(javaDownloadTokenFamilyVersion)
+     *             .id(javaDownloadTokenId)
+     *             .searchByUser(javaDownloadTokenSearchByUser)
+     *             .state(javaDownloadTokenState)
+     *             .value(javaDownloadTokenValue)
      *             .build());
      * 
      *     }
@@ -5530,13 +6861,13 @@ public static Output getJavaDow
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Retrieve a Java download report with the specified identifier.
+     * Returns a list of JavaDownloadTokens.
      * 
      * ## Example Usage
      * 
@@ -5549,7 +6880,7 @@ public static Output getJavaDow
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportContentArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5563,8 +6894,14 @@ public static Output getJavaDow
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
+     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .displayName(javaDownloadTokenDisplayName)
+     *             .familyVersion(javaDownloadTokenFamilyVersion)
+     *             .id(javaDownloadTokenId)
+     *             .searchByUser(javaDownloadTokenSearchByUser)
+     *             .state(javaDownloadTokenState)
+     *             .value(javaDownloadTokenValue)
      *             .build());
      * 
      *     }
@@ -5574,13 +6911,13 @@ public static Output getJavaDow
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportContentPlain(GetJavaDownloadsJavaDownloadReportContentPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent", TypeShape.of(GetJavaDownloadsJavaDownloadReportContentResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadReports.
+     * Returns a list of JavaDownloadTokens.
      * 
      * ## Example Usage
      * 
@@ -5593,7 +6930,7 @@ public static CompletableFuture
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5607,11 +6944,14 @@ public static CompletableFuture
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
+     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
      *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadReportDisplayName)
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
-     *             .state(javaDownloadReportState)
+     *             .displayName(javaDownloadTokenDisplayName)
+     *             .familyVersion(javaDownloadTokenFamilyVersion)
+     *             .id(javaDownloadTokenId)
+     *             .searchByUser(javaDownloadTokenSearchByUser)
+     *             .state(javaDownloadTokenState)
+     *             .value(javaDownloadTokenValue)
      *             .build());
      * 
      *     }
@@ -5621,13 +6961,13 @@ public static CompletableFuture
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args) {
-        return getJavaDownloadsJavaDownloadReports(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaDownloadTokensPlain(GetJavaDownloadsJavaDownloadTokensPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadReports.
+     * Return details of the specified Java license type.
      * 
      * ## Example Usage
      * 
@@ -5640,7 +6980,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5654,11 +6994,8 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadReportDisplayName)
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
-     *             .state(javaDownloadReportState)
+     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -5668,13 +7005,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportsPlain(GetJavaDownloadsJavaDownloadReportsPlainArgs args) {
-        return getJavaDownloadsJavaDownloadReportsPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args) {
+        return getJavaDownloadsJavaLicense(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadReports.
+     * Return details of the specified Java license type.
      * 
      * ## Example Usage
      * 
@@ -5687,7 +7024,7 @@ public static CompletableFuture getJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5701,11 +7038,8 @@ public static CompletableFuture getJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadReportDisplayName)
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
-     *             .state(javaDownloadReportState)
+     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -5715,13 +7049,13 @@ public static CompletableFuture getJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicensePlain(GetJavaDownloadsJavaLicensePlainArgs args) {
+        return getJavaDownloadsJavaLicensePlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadReports.
+     * Return details of the specified Java license type.
      * 
      * ## Example Usage
      * 
@@ -5734,7 +7068,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5748,11 +7082,8 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadReportDisplayName)
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
-     *             .state(javaDownloadReportState)
+     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -5762,13 +7093,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadReports.
+     * Return details of the specified Java license type.
      * 
      * ## Example Usage
      * 
@@ -5781,7 +7112,7 @@ public static Output getJavaDownloads
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadReportsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5795,11 +7126,8 @@ public static Output getJavaDownloads
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadReportDisplayName)
-     *             .javaDownloadReportId(testJavaDownloadReport.id())
-     *             .state(javaDownloadReportState)
+     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -5809,13 +7137,13 @@ public static Output getJavaDownloads
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadReportsPlain(GetJavaDownloadsJavaDownloadReportsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports", TypeShape.of(GetJavaDownloadsJavaDownloadReportsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadToken by identifier
+     * Return details of the specified Java license type.
      * 
      * ## Example Usage
      * 
@@ -5828,7 +7156,7 @@ public static CompletableFuture getJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5842,8 +7170,8 @@ public static CompletableFuture getJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
-     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
+     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -5853,13 +7181,13 @@ public static CompletableFuture getJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args) {
-        return getJavaDownloadsJavaDownloadToken(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaLicensePlain(GetJavaDownloadsJavaLicensePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadToken by identifier
+     * Returns a specific Java license acceptance record in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -5872,7 +7200,7 @@ public static Output getJavaDownloadsJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5886,8 +7214,8 @@ public static Output getJavaDownloadsJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
-     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
+     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
+     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
      *             .build());
      * 
      *     }
@@ -5897,13 +7225,13 @@ public static Output getJavaDownloadsJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadTokenPlain(GetJavaDownloadsJavaDownloadTokenPlainArgs args) {
-        return getJavaDownloadsJavaDownloadTokenPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args) {
+        return getJavaDownloadsJavaLicenseAcceptanceRecord(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadToken by identifier
+     * Returns a specific Java license acceptance record in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -5916,7 +7244,7 @@ public static CompletableFuture getJava
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5930,8 +7258,8 @@ public static CompletableFuture getJava
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
-     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
+     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
+     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
      *             .build());
      * 
      *     }
@@ -5941,13 +7269,13 @@ public static CompletableFuture getJava
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordPlainArgs args) {
+        return getJavaDownloadsJavaLicenseAcceptanceRecordPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadToken by identifier
+     * Returns a specific Java license acceptance record in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -5960,7 +7288,7 @@ public static Output getJavaDownloadsJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5974,8 +7302,8 @@ public static Output getJavaDownloadsJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
-     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
+     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
+     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
      *             .build());
      * 
      *     }
@@ -5985,13 +7313,13 @@ public static Output getJavaDownloadsJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Gets a JavaDownloadToken by identifier
+     * Returns a specific Java license acceptance record in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6004,7 +7332,7 @@ public static Output getJavaDownloadsJa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokenArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6018,8 +7346,8 @@ public static Output getJavaDownloadsJa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
-     *             .javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
+     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
+     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
      *             .build());
      * 
      *     }
@@ -6029,13 +7357,13 @@ public static Output getJavaDownloadsJa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadTokenPlain(GetJavaDownloadsJavaDownloadTokenPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken", TypeShape.of(GetJavaDownloadsJavaDownloadTokenResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadTokens.
+     * Returns a specific Java license acceptance record in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6048,7 +7376,7 @@ public static CompletableFuture getJava
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6062,14 +7390,8 @@ public static CompletableFuture getJava
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadTokenDisplayName)
-     *             .familyVersion(javaDownloadTokenFamilyVersion)
-     *             .id(javaDownloadTokenId)
-     *             .searchByUser(javaDownloadTokenSearchByUser)
-     *             .state(javaDownloadTokenState)
-     *             .value(javaDownloadTokenValue)
+     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
+     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
      *             .build());
      * 
      *     }
@@ -6079,13 +7401,13 @@ public static CompletableFuture getJava
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args) {
-        return getJavaDownloadsJavaDownloadTokens(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadTokens.
+     * Returns a list of all the Java license acceptance records in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6098,7 +7420,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6112,14 +7434,12 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
      *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadTokenDisplayName)
-     *             .familyVersion(javaDownloadTokenFamilyVersion)
-     *             .id(javaDownloadTokenId)
-     *             .searchByUser(javaDownloadTokenSearchByUser)
-     *             .state(javaDownloadTokenState)
-     *             .value(javaDownloadTokenValue)
+     *             .id(javaLicenseAcceptanceRecordId)
+     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
+     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
+     *             .status(javaLicenseAcceptanceRecordStatus)
      *             .build());
      * 
      *     }
@@ -6129,13 +7449,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadTokensPlain(GetJavaDownloadsJavaDownloadTokensPlainArgs args) {
-        return getJavaDownloadsJavaDownloadTokensPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args) {
+        return getJavaDownloadsJavaLicenseAcceptanceRecords(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadTokens.
+     * Returns a list of all the Java license acceptance records in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6148,7 +7468,7 @@ public static CompletableFuture getJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6162,14 +7482,12 @@ public static CompletableFuture getJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
      *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadTokenDisplayName)
-     *             .familyVersion(javaDownloadTokenFamilyVersion)
-     *             .id(javaDownloadTokenId)
-     *             .searchByUser(javaDownloadTokenSearchByUser)
-     *             .state(javaDownloadTokenState)
-     *             .value(javaDownloadTokenValue)
+     *             .id(javaLicenseAcceptanceRecordId)
+     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
+     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
+     *             .status(javaLicenseAcceptanceRecordStatus)
      *             .build());
      * 
      *     }
@@ -6179,13 +7497,13 @@ public static CompletableFuture getJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordsPlainArgs args) {
+        return getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadTokens.
+     * Returns a list of all the Java license acceptance records in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6198,7 +7516,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6212,14 +7530,12 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
      *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadTokenDisplayName)
-     *             .familyVersion(javaDownloadTokenFamilyVersion)
-     *             .id(javaDownloadTokenId)
-     *             .searchByUser(javaDownloadTokenSearchByUser)
-     *             .state(javaDownloadTokenState)
-     *             .value(javaDownloadTokenValue)
+     *             .id(javaLicenseAcceptanceRecordId)
+     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
+     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
+     *             .status(javaLicenseAcceptanceRecordStatus)
      *             .build());
      * 
      *     }
@@ -6229,13 +7545,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a list of JavaDownloadTokens.
+     * Returns a list of all the Java license acceptance records in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6248,7 +7564,7 @@ public static Output getJavaDownloadsJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadTokensArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6262,14 +7578,12 @@ public static Output getJavaDownloadsJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaDownloadTokens = JmsFunctions.getJavaDownloadsJavaDownloadTokens(GetJavaDownloadsJavaDownloadTokensArgs.builder()
+     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
      *             .compartmentId(tenancyOcid)
-     *             .displayName(javaDownloadTokenDisplayName)
-     *             .familyVersion(javaDownloadTokenFamilyVersion)
-     *             .id(javaDownloadTokenId)
-     *             .searchByUser(javaDownloadTokenSearchByUser)
-     *             .state(javaDownloadTokenState)
-     *             .value(javaDownloadTokenValue)
+     *             .id(javaLicenseAcceptanceRecordId)
+     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
+     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
+     *             .status(javaLicenseAcceptanceRecordStatus)
      *             .build());
      * 
      *     }
@@ -6279,13 +7593,13 @@ public static Output getJavaDownloadsJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaDownloadTokensPlain(GetJavaDownloadsJavaDownloadTokensPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaDownloadTokens:getJavaDownloadsJavaDownloadTokens", TypeShape.of(GetJavaDownloadsJavaDownloadTokensResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Return details of the specified Java license type.
+     * Returns a list of all the Java license acceptance records in a tenancy.
      * 
      * ## Example Usage
      * 
@@ -6298,7 +7612,7 @@ public static CompletableFuture getJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6312,8 +7626,12 @@ public static CompletableFuture getJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
+     *             .compartmentId(tenancyOcid)
+     *             .id(javaLicenseAcceptanceRecordId)
+     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
+     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
+     *             .status(javaLicenseAcceptanceRecordStatus)
      *             .build());
      * 
      *     }
@@ -6323,13 +7641,13 @@ public static CompletableFuture getJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args) {
-        return getJavaDownloadsJavaLicense(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Return details of the specified Java license type.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6342,7 +7660,7 @@ public static Output getJavaDownloadsJavaLice
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6356,7 +7674,8 @@ public static Output getJavaDownloadsJavaLice
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
      *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
@@ -6367,13 +7686,13 @@ public static Output getJavaDownloadsJavaLice
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicensePlain(GetJavaDownloadsJavaLicensePlainArgs args) {
-        return getJavaDownloadsJavaLicensePlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicenses() {
+        return getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Return details of the specified Java license type.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6386,7 +7705,7 @@ public static CompletableFuture getJavaDownlo
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6400,7 +7719,8 @@ public static CompletableFuture getJavaDownlo
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
      *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
@@ -6411,13 +7731,13 @@ public static CompletableFuture getJavaDownlo
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicensesPlain() {
+        return getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Return details of the specified Java license type.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6430,7 +7750,7 @@ public static Output getJavaDownloadsJavaLice
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6444,7 +7764,8 @@ public static Output getJavaDownloadsJavaLice
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
      *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
@@ -6455,13 +7776,13 @@ public static Output getJavaDownloadsJavaLice
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args) {
+        return getJavaDownloadsJavaLicenses(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Return details of the specified Java license type.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6474,7 +7795,7 @@ public static Output getJavaDownloadsJavaLice
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6488,7 +7809,8 @@ public static Output getJavaDownloadsJavaLice
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
      *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
@@ -6499,13 +7821,13 @@ public static Output getJavaDownloadsJavaLice
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicensePlain(GetJavaDownloadsJavaLicensePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense", TypeShape.of(GetJavaDownloadsJavaLicenseResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs args) {
+        return getJavaDownloadsJavaLicensesPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a specific Java license acceptance record in a tenancy.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6518,7 +7840,7 @@ public static CompletableFuture getJavaDownlo
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6532,8 +7854,9 @@ public static CompletableFuture getJavaDownlo
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
-     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -6543,13 +7866,13 @@ public static CompletableFuture getJavaDownlo
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args) {
-        return getJavaDownloadsJavaLicenseAcceptanceRecord(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a specific Java license acceptance record in a tenancy.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6562,7 +7885,7 @@ public static Output getJavaD
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6576,8 +7899,9 @@ public static Output getJavaD
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
-     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
+     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
+     *             .displayName(javaLicenseDisplayName)
+     *             .licenseType(javaLicenseLicenseType)
      *             .build());
      * 
      *     }
@@ -6587,13 +7911,13 @@ public static Output getJavaD
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordPlainArgs args) {
-        return getJavaDownloadsJavaLicenseAcceptanceRecordPlain(args, InvokeOptions.Empty);
+    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
      * 
-     * Returns a specific Java license acceptance record in a tenancy.
+     * Return a list with details of all Java licenses.
      * 
      * ## Example Usage
      * 
@@ -6606,7 +7930,7 @@ public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a specific Java license acceptance record in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6650,7 +7976,7 @@ public static Output getJavaD
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6664,8 +7990,10 @@ public static Output getJavaD
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
-     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
+     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
+     *             .displayName(javaFamilyDisplayName)
+     *             .familyVersion(javaFamilyFamilyVersion)
+     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
      *             .build());
      * 
      *     }
@@ -6675,13 +8003,14 @@ public static Output getJavaD
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaFamilies() {
+        return getJavaFamilies(GetJavaFamiliesArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a specific Java license acceptance record in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6694,7 +8023,7 @@ public static Output getJavaD
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6708,8 +8037,10 @@ public static Output getJavaD
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
-     *             .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
+     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
+     *             .displayName(javaFamilyDisplayName)
+     *             .familyVersion(javaFamilyFamilyVersion)
+     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
      *             .build());
      * 
      *     }
@@ -6719,13 +8050,14 @@ public static Output getJavaD
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaFamiliesPlain() {
+        return getJavaFamiliesPlain(GetJavaFamiliesPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of all the Java license acceptance records in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6738,7 +8070,7 @@ public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args) {
-        return getJavaDownloadsJavaLicenseAcceptanceRecords(args, InvokeOptions.Empty);
+    public static Output getJavaFamilies(GetJavaFamiliesArgs args) {
+        return getJavaFamilies(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of all the Java license acceptance records in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6786,7 +8117,7 @@ public static Output getJava
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6800,12 +8131,10 @@ public static Output getJava
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .id(javaLicenseAcceptanceRecordId)
-     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
-     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
-     *             .status(javaLicenseAcceptanceRecordStatus)
+     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
+     *             .displayName(javaFamilyDisplayName)
+     *             .familyVersion(javaFamilyFamilyVersion)
+     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
      *             .build());
      * 
      *     }
@@ -6815,13 +8144,14 @@ public static Output getJava
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordsPlainArgs args) {
-        return getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaFamiliesPlain(GetJavaFamiliesPlainArgs args) {
+        return getJavaFamiliesPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of all the Java license acceptance records in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6834,7 +8164,7 @@ public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaFamilies(GetJavaFamiliesArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of all the Java license acceptance records in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6882,7 +8211,7 @@ public static Output getJava
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6896,12 +8225,10 @@ public static Output getJava
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .id(javaLicenseAcceptanceRecordId)
-     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
-     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
-     *             .status(javaLicenseAcceptanceRecordStatus)
+     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
+     *             .displayName(javaFamilyDisplayName)
+     *             .familyVersion(javaFamilyFamilyVersion)
+     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
      *             .build());
      * 
      *     }
@@ -6911,13 +8238,14 @@ public static Output getJava
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaFamilies(GetJavaFamiliesArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of all the Java license acceptance records in a tenancy.
+     * Returns a list of the Java release family information.
+     * A Java release family is typically a major version in the Java version identifier.
      * 
      * ## Example Usage
      * 
@@ -6930,7 +8258,7 @@ public static Output getJava
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6944,12 +8272,10 @@ public static Output getJava
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
-     *             .compartmentId(tenancyOcid)
-     *             .id(javaLicenseAcceptanceRecordId)
-     *             .licenseType(javaLicenseAcceptanceRecordLicenseType)
-     *             .searchByUser(javaLicenseAcceptanceRecordSearchByUser)
-     *             .status(javaLicenseAcceptanceRecordStatus)
+     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
+     *             .displayName(javaFamilyDisplayName)
+     *             .familyVersion(javaFamilyFamilyVersion)
+     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
      *             .build());
      * 
      *     }
@@ -6959,13 +8285,13 @@ public static Output getJava
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicenseAcceptanceRecordsPlain(GetJavaDownloadsJavaLicenseAcceptanceRecordsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords", TypeShape.of(GetJavaDownloadsJavaLicenseAcceptanceRecordsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaFamiliesPlain(GetJavaFamiliesPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns metadata associated with a specific Java release family.
      * 
      * ## Example Usage
      * 
@@ -6978,7 +8304,7 @@ public static CompletableFuture getJavaDownloadsJavaLicenses() {
-        return getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.Empty, InvokeOptions.Empty);
+    public static Output getJavaFamily(GetJavaFamilyArgs args) {
+        return getJavaFamily(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns metadata associated with a specific Java release family.
      * 
      * ## Example Usage
      * 
@@ -7023,7 +8348,7 @@ public static Output getJavaDownloadsJavaLic
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7037,9 +8362,8 @@ public static Output getJavaDownloadsJavaLic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
+     *             .familyVersion(javaFamilyFamilyVersion)
      *             .build());
      * 
      *     }
@@ -7049,13 +8373,13 @@ public static Output getJavaDownloadsJavaLic
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicensesPlain() {
-        return getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getJavaFamilyPlain(GetJavaFamilyPlainArgs args) {
+        return getJavaFamilyPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns metadata associated with a specific Java release family.
      * 
      * ## Example Usage
      * 
@@ -7068,7 +8392,7 @@ public static CompletableFuture getJavaDownl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7082,9 +8406,8 @@ public static CompletableFuture getJavaDownl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
+     *             .familyVersion(javaFamilyFamilyVersion)
      *             .build());
      * 
      *     }
@@ -7094,13 +8417,13 @@ public static CompletableFuture getJavaDownl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args) {
-        return getJavaDownloadsJavaLicenses(args, InvokeOptions.Empty);
+    public static Output getJavaFamily(GetJavaFamilyArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns metadata associated with a specific Java release family.
      * 
      * ## Example Usage
      * 
@@ -7113,7 +8436,7 @@ public static Output getJavaDownloadsJavaLic
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7127,9 +8450,8 @@ public static Output getJavaDownloadsJavaLic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
+     *             .familyVersion(javaFamilyFamilyVersion)
      *             .build());
      * 
      *     }
@@ -7139,13 +8461,13 @@ public static Output getJavaDownloadsJavaLic
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs args) {
-        return getJavaDownloadsJavaLicensesPlain(args, InvokeOptions.Empty);
+    public static Output getJavaFamily(GetJavaFamilyArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns metadata associated with a specific Java release family.
      * 
      * ## Example Usage
      * 
@@ -7158,7 +8480,7 @@ public static CompletableFuture getJavaDownl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7172,9 +8494,8 @@ public static CompletableFuture getJavaDownl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
+     *             .familyVersion(javaFamilyFamilyVersion)
      *             .build());
      * 
      *     }
@@ -7184,13 +8505,13 @@ public static CompletableFuture getJavaDownl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaFamilyPlain(GetJavaFamilyPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns detail of a Java release.
      * 
      * ## Example Usage
      * 
@@ -7203,7 +8524,7 @@ public static Output getJavaDownloadsJavaLic
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7217,9 +8538,8 @@ public static Output getJavaDownloadsJavaLic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7229,13 +8549,13 @@ public static Output getJavaDownloadsJavaLic
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaRelease(GetJavaReleaseArgs args) {
+        return getJavaRelease(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
+     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Return a list with details of all Java licenses.
+     * Returns detail of a Java release.
      * 
      * ## Example Usage
      * 
@@ -7248,7 +8568,7 @@ public static Output getJavaDownloadsJavaLic
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicensesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7262,9 +8582,8 @@ public static Output getJavaDownloadsJavaLic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
-     *             .displayName(javaLicenseDisplayName)
-     *             .licenseType(javaLicenseLicenseType)
+     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7274,14 +8593,13 @@ public static Output getJavaDownloadsJavaLic
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaDownloadsJavaLicensesPlain(GetJavaDownloadsJavaLicensesPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses", TypeShape.of(GetJavaDownloadsJavaLicensesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaReleasePlain(GetJavaReleasePlainArgs args) {
+        return getJavaReleasePlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns detail of a Java release.
      * 
      * ## Example Usage
      * 
@@ -7294,7 +8612,7 @@ public static CompletableFuture getJavaDownl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7308,10 +8626,8 @@ public static CompletableFuture getJavaDownl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7321,14 +8637,13 @@ public static CompletableFuture getJavaDownl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamilies() {
-        return getJavaFamilies(GetJavaFamiliesArgs.Empty, InvokeOptions.Empty);
+    public static Output getJavaRelease(GetJavaReleaseArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns detail of a Java release.
      * 
      * ## Example Usage
      * 
@@ -7341,7 +8656,7 @@ public static Output getJavaFamilies() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7355,10 +8670,8 @@ public static Output getJavaFamilies() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7368,14 +8681,13 @@ public static Output getJavaFamilies() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaFamiliesPlain() {
-        return getJavaFamiliesPlain(GetJavaFamiliesPlainArgs.Empty, InvokeOptions.Empty);
+    public static Output getJavaRelease(GetJavaReleaseArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns detail of a Java release.
      * 
      * ## Example Usage
      * 
@@ -7388,7 +8700,7 @@ public static CompletableFuture getJavaFamiliesPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7402,10 +8714,8 @@ public static CompletableFuture getJavaFamiliesPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7415,14 +8725,13 @@ public static CompletableFuture getJavaFamiliesPlain() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamilies(GetJavaFamiliesArgs args) {
-        return getJavaFamilies(args, InvokeOptions.Empty);
+    public static CompletableFuture getJavaReleasePlain(GetJavaReleasePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7435,7 +8744,7 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7449,10 +8758,12 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7462,14 +8773,13 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaFamiliesPlain(GetJavaFamiliesPlainArgs args) {
-        return getJavaFamiliesPlain(args, InvokeOptions.Empty);
+    public static Output getJavaReleases() {
+        return getJavaReleases(GetJavaReleasesArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7482,7 +8792,7 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7496,10 +8806,12 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7509,14 +8821,13 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamilies(GetJavaFamiliesArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaReleasesPlain() {
+        return getJavaReleasesPlain(GetJavaReleasesPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7529,7 +8840,7 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7543,10 +8854,12 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7556,14 +8869,13 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamilies(GetJavaFamiliesArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
+    public static Output getJavaReleases(GetJavaReleasesArgs args) {
+        return getJavaReleases(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of the Java release family information.
-     * A Java release family is typically a major version in the Java version identifier.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7576,7 +8888,7 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamiliesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7590,10 +8902,12 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
-     *             .displayName(javaFamilyDisplayName)
-     *             .familyVersion(javaFamilyFamilyVersion)
-     *             .isSupportedVersion(javaFamilyIsSupportedVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7603,13 +8917,13 @@ public static Output getJavaFamilies(GetJavaFamiliesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaFamiliesPlain(GetJavaFamiliesPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaFamilies:getJavaFamilies", TypeShape.of(GetJavaFamiliesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaReleasesPlain(GetJavaReleasesPlainArgs args) {
+        return getJavaReleasesPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns metadata associated with a specific Java release family.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7622,7 +8936,7 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7636,8 +8950,12 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
-     *             .familyVersion(javaFamilyFamilyVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7647,13 +8965,13 @@ public static CompletableFuture getJavaFamiliesPlain(GetJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamily(GetJavaFamilyArgs args) {
-        return getJavaFamily(args, InvokeOptions.Empty);
+    public static Output getJavaReleases(GetJavaReleasesArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns metadata associated with a specific Java release family.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7666,7 +8984,7 @@ public static Output getJavaFamily(GetJavaFamilyArgs args)
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7680,8 +8998,12 @@ public static Output getJavaFamily(GetJavaFamilyArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
-     *             .familyVersion(javaFamilyFamilyVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7691,13 +9013,13 @@ public static Output getJavaFamily(GetJavaFamilyArgs args)
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaFamilyPlain(GetJavaFamilyPlainArgs args) {
-        return getJavaFamilyPlain(args, InvokeOptions.Empty);
+    public static Output getJavaReleases(GetJavaReleasesArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns metadata associated with a specific Java release family.
+     * Returns a list of Java releases.
      * 
      * ## Example Usage
      * 
@@ -7710,7 +9032,7 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7724,8 +9046,12 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
-     *             .familyVersion(javaFamilyFamilyVersion)
+     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
+     *             .familyVersion(javaReleaseFamilyVersion)
+     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
+     *             .licenseType(javaReleaseLicenseType)
+     *             .releaseType(javaReleaseReleaseType)
+     *             .releaseVersion(javaReleaseReleaseVersion)
      *             .build());
      * 
      *     }
@@ -7735,13 +9061,13 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamily(GetJavaFamilyArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJavaReleasesPlain(GetJavaReleasesPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns metadata associated with a specific Java release family.
+     * Returns the JmsPlugin.
      * 
      * ## Example Usage
      * 
@@ -7754,7 +9080,7 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7768,8 +9094,8 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
-     *             .familyVersion(javaFamilyFamilyVersion)
+     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
+     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
      *             .build());
      * 
      *     }
@@ -7779,13 +9105,13 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaFamily(GetJavaFamilyArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
+    public static Output getJmsPlugin(GetJmsPluginArgs args) {
+        return getJmsPlugin(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns metadata associated with a specific Java release family.
+     * Returns the JmsPlugin.
      * 
      * ## Example Usage
      * 
@@ -7798,7 +9124,7 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaFamilyArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7812,8 +9138,8 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
-     *             .familyVersion(javaFamilyFamilyVersion)
+     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
+     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
      *             .build());
      * 
      *     }
@@ -7823,13 +9149,13 @@ public static Output getJavaFamily(GetJavaFamilyArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaFamilyPlain(GetJavaFamilyPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaFamily:getJavaFamily", TypeShape.of(GetJavaFamilyResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJmsPluginPlain(GetJmsPluginPlainArgs args) {
+        return getJmsPluginPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns detail of a Java release.
+     * Returns the JmsPlugin.
      * 
      * ## Example Usage
      * 
@@ -7842,7 +9168,7 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7856,8 +9182,8 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
+     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
      *             .build());
      * 
      *     }
@@ -7867,13 +9193,13 @@ public static CompletableFuture getJavaFamilyPlain(GetJavaF
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaRelease(GetJavaReleaseArgs args) {
-        return getJavaRelease(args, InvokeOptions.Empty);
+    public static Output getJmsPlugin(GetJmsPluginArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns detail of a Java release.
+     * Returns the JmsPlugin.
      * 
      * ## Example Usage
      * 
@@ -7886,7 +9212,7 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7900,8 +9226,8 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
+     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
      *             .build());
      * 
      *     }
@@ -7911,13 +9237,13 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaReleasePlain(GetJavaReleasePlainArgs args) {
-        return getJavaReleasePlain(args, InvokeOptions.Empty);
+    public static Output getJmsPlugin(GetJmsPluginArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns detail of a Java release.
+     * Returns the JmsPlugin.
      * 
      * ## Example Usage
      * 
@@ -7930,7 +9256,7 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7944,8 +9270,8 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
+     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
      *             .build());
      * 
      *     }
@@ -7955,13 +9281,13 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaRelease(GetJavaReleaseArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJmsPluginPlain(GetJmsPluginPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns detail of a Java release.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -7974,7 +9300,7 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7988,8 +9314,18 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -7999,13 +9335,13 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaRelease(GetJavaReleaseArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
+    public static Output getJmsPlugins() {
+        return getJmsPlugins(GetJmsPluginsArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Java Release resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns detail of a Java release.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8018,7 +9354,7 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleaseArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8032,8 +9368,18 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8043,13 +9389,13 @@ public static Output getJavaRelease(GetJavaReleaseArgs arg
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaReleasePlain(GetJavaReleasePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaRelease:getJavaRelease", TypeShape.of(GetJavaReleaseResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJmsPluginsPlain() {
+        return getJmsPluginsPlain(GetJmsPluginsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8062,7 +9408,7 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8076,12 +9422,18 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8091,13 +9443,13 @@ public static CompletableFuture getJavaReleasePlain(GetJav
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaReleases() {
-        return getJavaReleases(GetJavaReleasesArgs.Empty, InvokeOptions.Empty);
+    public static Output getJmsPlugins(GetJmsPluginsArgs args) {
+        return getJmsPlugins(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8110,7 +9462,7 @@ public static Output getJavaReleases() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8124,12 +9476,18 @@ public static Output getJavaReleases() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8139,13 +9497,13 @@ public static Output getJavaReleases() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaReleasesPlain() {
-        return getJavaReleasesPlain(GetJavaReleasesPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getJmsPluginsPlain(GetJmsPluginsPlainArgs args) {
+        return getJmsPluginsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8158,7 +9516,7 @@ public static CompletableFuture getJavaReleasesPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8172,12 +9530,18 @@ public static CompletableFuture getJavaReleasesPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8187,13 +9551,13 @@ public static CompletableFuture getJavaReleasesPlain() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaReleases(GetJavaReleasesArgs args) {
-        return getJavaReleases(args, InvokeOptions.Empty);
+    public static Output getJmsPlugins(GetJmsPluginsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8206,7 +9570,7 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8220,12 +9584,18 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8235,13 +9605,13 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaReleasesPlain(GetJavaReleasesPlainArgs args) {
-        return getJavaReleasesPlain(args, InvokeOptions.Empty);
+    public static Output getJmsPlugins(GetJmsPluginsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * Lists the JmsPlugins.
      * 
      * ## Example Usage
      * 
@@ -8254,7 +9624,7 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8268,12 +9638,18 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
+     *             .agentId(jmsPluginAgentId)
+     *             .agentType(jmsPluginAgentType)
+     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *             .compartmentId(compartmentId)
+     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
+     *             .fleetId(testFleet.id())
+     *             .hostnameContains(jmsPluginHostnameContains)
+     *             .id(jmsPluginId)
+     *             .state(jmsPluginState)
+     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
+     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -8283,13 +9659,13 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaReleases(GetJavaReleasesArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getJmsPluginsPlain(GetJmsPluginsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8302,7 +9678,7 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8316,12 +9692,13 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8331,13 +9708,13 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJavaReleases(GetJavaReleasesArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
+    public static Output getListJreUsage() {
+        return getListJreUsage(GetListJreUsageArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns a list of Java releases.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8350,7 +9727,7 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJavaReleasesArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8364,12 +9741,13 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
-     *             .familyVersion(javaReleaseFamilyVersion)
-     *             .jreSecurityStatus(javaReleaseJreSecurityStatus)
-     *             .licenseType(javaReleaseLicenseType)
-     *             .releaseType(javaReleaseReleaseType)
-     *             .releaseVersion(javaReleaseReleaseVersion)
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8379,13 +9757,13 @@ public static Output getJavaReleases(GetJavaReleasesArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJavaReleasesPlain(GetJavaReleasesPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJavaReleases:getJavaReleases", TypeShape.of(GetJavaReleasesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getListJreUsagePlain() {
+        return getListJreUsagePlain(GetListJreUsagePlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns the JmsPlugin.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8398,7 +9776,7 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8412,8 +9790,13 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
-     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8423,13 +9806,13 @@ public static CompletableFuture getJavaReleasesPlain(GetJ
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugin(GetJmsPluginArgs args) {
-        return getJmsPlugin(args, InvokeOptions.Empty);
+    public static Output getListJreUsage(GetListJreUsageArgs args) {
+        return getListJreUsage(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns the JmsPlugin.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8442,7 +9825,7 @@ public static Output getJmsPlugin(GetJmsPluginArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8456,8 +9839,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
-     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8467,13 +9855,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args) {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJmsPluginPlain(GetJmsPluginPlainArgs args) {
-        return getJmsPluginPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getListJreUsagePlain(GetListJreUsagePlainArgs args) {
+        return getListJreUsagePlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns the JmsPlugin.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8486,7 +9874,7 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8500,8 +9888,13 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
-     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8511,13 +9904,13 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugin(GetJmsPluginArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
+    public static Output getListJreUsage(GetListJreUsageArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns the JmsPlugin.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8530,7 +9923,7 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8544,8 +9937,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
-     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8555,13 +9953,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugin(GetJmsPluginArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
+    public static Output getListJreUsage(GetListJreUsageArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
      * 
-     * Returns the JmsPlugin.
+     * List Java Runtime usage in a specified host filtered by query parameters.
      * 
      * ## Example Usage
      * 
@@ -8574,7 +9972,7 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginArgs;
+     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8588,8 +9986,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
-     *             .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
+     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
+     *             .applicationId(testApplication.id())
+     *             .applicationName(testApplication.name())
+     *             .compartmentId(compartmentId)
+     *             .hostId(testHost.id())
+     *             .timeEnd(listJreUsageTimeEnd)
+     *             .timeStart(listJreUsageTimeStart)
      *             .build());
      * 
      *     }
@@ -8599,13 +10002,13 @@ public static Output getJmsPlugin(GetJmsPluginArgs args, Inv
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJmsPluginPlain(GetJmsPluginPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJmsPlugin:getJmsPlugin", TypeShape.of(GetJmsPluginResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getListJreUsagePlain(GetListJreUsagePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8618,7 +10021,7 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8632,17 +10035,9 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8652,13 +10047,13 @@ public static CompletableFuture getJmsPluginPlain(GetJmsPlug
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugins() {
-        return getJmsPlugins(GetJmsPluginsArgs.Empty, InvokeOptions.Empty);
+    public static Output getPluginErrorAnalytics() {
+        return getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8671,7 +10066,7 @@ public static Output getJmsPlugins() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8685,17 +10080,9 @@ public static Output getJmsPlugins() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8705,13 +10092,13 @@ public static Output getJmsPlugins() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJmsPluginsPlain() {
-        return getJmsPluginsPlain(GetJmsPluginsPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getPluginErrorAnalyticsPlain() {
+        return getPluginErrorAnalyticsPlain(GetPluginErrorAnalyticsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8724,7 +10111,7 @@ public static CompletableFuture getJmsPluginsPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8738,17 +10125,9 @@ public static CompletableFuture getJmsPluginsPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8758,13 +10137,13 @@ public static CompletableFuture getJmsPluginsPlain() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugins(GetJmsPluginsArgs args) {
-        return getJmsPlugins(args, InvokeOptions.Empty);
+    public static Output getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs args) {
+        return getPluginErrorAnalytics(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8777,7 +10156,7 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args)
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8791,17 +10170,9 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8811,13 +10182,13 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args)
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJmsPluginsPlain(GetJmsPluginsPlainArgs args) {
-        return getJmsPluginsPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getPluginErrorAnalyticsPlain(GetPluginErrorAnalyticsPlainArgs args) {
+        return getPluginErrorAnalyticsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8830,7 +10201,7 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8844,17 +10215,9 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8864,13 +10227,13 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugins(GetJmsPluginsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
+    public static Output getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", TypeShape.of(GetPluginErrorAnalyticsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8883,7 +10246,7 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8897,17 +10260,9 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8917,13 +10272,13 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getJmsPlugins(GetJmsPluginsArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
+    public static Output getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", TypeShape.of(GetPluginErrorAnalyticsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service.
      * 
-     * Lists the JmsPlugins.
+     * Returns a high level summary of PluginErrors.
      * 
      * ## Example Usage
      * 
@@ -8936,7 +10291,7 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetJmsPluginsArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8950,17 +10305,9 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testJmsPlugins = JmsFunctions.getJmsPlugins(GetJmsPluginsArgs.builder()
-     *             .agentId(jmsPluginAgentId)
-     *             .availabilityStatus(jmsPluginAvailabilityStatus)
+     *         final var testPluginErrorAnalytics = JmsFunctions.getPluginErrorAnalytics(GetPluginErrorAnalyticsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .compartmentIdInSubtree(jmsPluginCompartmentIdInSubtree)
-     *             .fleetId(testFleet.id())
-     *             .hostnameContains(jmsPluginHostnameContains)
-     *             .id(jmsPluginId)
-     *             .state(jmsPluginState)
-     *             .timeLastSeenLessThanOrEqualTo(jmsPluginTimeLastSeenLessThanOrEqualTo)
-     *             .timeRegisteredLessThanOrEqualTo(jmsPluginTimeRegisteredLessThanOrEqualTo)
+     *             .compartmentIdInSubtree(pluginErrorAnalyticCompartmentIdInSubtree)
      *             .build());
      * 
      *     }
@@ -8970,13 +10317,13 @@ public static Output getJmsPlugins(GetJmsPluginsArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getJmsPluginsPlain(GetJmsPluginsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getJmsPlugins:getJmsPlugins", TypeShape.of(GetJmsPluginsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getPluginErrorAnalyticsPlain(GetPluginErrorAnalyticsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", TypeShape.of(GetPluginErrorAnalyticsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -8989,7 +10336,7 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9003,13 +10350,14 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9019,13 +10367,13 @@ public static CompletableFuture getJmsPluginsPlain(GetJmsPl
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getListJreUsage() {
-        return getListJreUsage(GetListJreUsageArgs.Empty, InvokeOptions.Empty);
+    public static Output getPluginErrors() {
+        return getPluginErrors(GetPluginErrorsArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9038,7 +10386,7 @@ public static Output getListJreUsage() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9052,13 +10400,14 @@ public static Output getListJreUsage() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9068,13 +10417,13 @@ public static Output getListJreUsage() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getListJreUsagePlain() {
-        return getListJreUsagePlain(GetListJreUsagePlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getPluginErrorsPlain() {
+        return getPluginErrorsPlain(GetPluginErrorsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9087,7 +10436,7 @@ public static CompletableFuture getListJreUsagePlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9101,13 +10450,14 @@ public static CompletableFuture getListJreUsagePlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9117,13 +10467,13 @@ public static CompletableFuture getListJreUsagePlain() {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getListJreUsage(GetListJreUsageArgs args) {
-        return getListJreUsage(args, InvokeOptions.Empty);
+    public static Output getPluginErrors(GetPluginErrorsArgs args) {
+        return getPluginErrors(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9136,7 +10486,7 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9150,13 +10500,14 @@ public static Output getListJreUsage(GetListJreUsageArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9166,13 +10517,13 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getListJreUsagePlain(GetListJreUsagePlainArgs args) {
-        return getListJreUsagePlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getPluginErrorsPlain(GetPluginErrorsPlainArgs args) {
+        return getPluginErrorsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9185,7 +10536,7 @@ public static CompletableFuture getListJreUsagePlain(GetL
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9199,13 +10550,14 @@ public static CompletableFuture getListJreUsagePlain(GetL
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9215,13 +10567,13 @@ public static CompletableFuture getListJreUsagePlain(GetL
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getListJreUsage(GetListJreUsageArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
+    public static Output getPluginErrors(GetPluginErrorsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getPluginErrors:getPluginErrors", TypeShape.of(GetPluginErrorsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9234,7 +10586,7 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9248,13 +10600,14 @@ public static Output getListJreUsage(GetListJreUsageArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9264,13 +10617,13 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getListJreUsage(GetListJreUsageArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
+    public static Output getPluginErrors(GetPluginErrorsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("oci:Jms/getPluginErrors:getPluginErrors", TypeShape.of(GetPluginErrorsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source provides details about a specific List Jre Usage resource in Oracle Cloud Infrastructure Jms service.
+     * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
      * 
-     * List Java Runtime usage in a specified host filtered by query parameters.
+     * Returns a list of plugin errors that describe all detected errors.
      * 
      * ## Example Usage
      * 
@@ -9283,7 +10636,7 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.oci.Jms.JmsFunctions;
-     * import com.pulumi.oci.Jms.inputs.GetListJreUsageArgs;
+     * import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9297,13 +10650,14 @@ public static Output getListJreUsage(GetListJreUsageArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var testListJreUsage = JmsFunctions.getListJreUsage(GetListJreUsageArgs.builder()
-     *             .applicationId(testApplication.id())
-     *             .applicationName(testApplication.name())
+     *         final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
      *             .compartmentId(compartmentId)
-     *             .hostId(testHost.id())
-     *             .timeEnd(listJreUsageTimeEnd)
-     *             .timeStart(listJreUsageTimeStart)
+     *             .compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
+     *             .managedInstanceId(testManagedInstance.id())
+     *             .timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
+     *             .timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
+     *             .timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
+     *             .timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
      *             .build());
      * 
      *     }
@@ -9313,8 +10667,8 @@ public static Output getListJreUsage(GetListJreUsageArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getListJreUsagePlain(GetListJreUsagePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("oci:Jms/getListJreUsage:getListJreUsage", TypeShape.of(GetListJreUsageResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getPluginErrorsPlain(GetPluginErrorsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("oci:Jms/getPluginErrors:getPluginErrors", TypeShape.of(GetPluginErrorsResult.class), args, Utilities.withVersion(options));
     }
     /**
      * This data source provides details about a specific Summarize Resource Inventory resource in Oracle Cloud Infrastructure Jms service.
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsArgs.java
new file mode 100644
index 0000000000..d97abf69fa
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsArgs.java
@@ -0,0 +1,144 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.Jms.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsFilterArgs;
+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 GetFleetErrorAnalyticsArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorAnalyticsArgs Empty = new GetFleetErrorAnalyticsArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable Output compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional> compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Output compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional> compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable Output> filters;
+
+    public Optional>> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    private GetFleetErrorAnalyticsArgs() {}
+
+    private GetFleetErrorAnalyticsArgs(GetFleetErrorAnalyticsArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorAnalyticsArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorAnalyticsArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorAnalyticsArgs();
+        }
+
+        public Builder(GetFleetErrorAnalyticsArgs defaults) {
+            $ = new GetFleetErrorAnalyticsArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable Output compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(String compartmentId) {
+            return compartmentId(Output.of(compartmentId));
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) {
+            return compartmentIdInSubtree(Output.of(compartmentIdInSubtree));
+        }
+
+        public Builder filters(@Nullable Output> filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(List filters) {
+            return filters(Output.of(filters));
+        }
+
+        public Builder filters(GetFleetErrorAnalyticsFilterArgs... filters) {
+            return filters(List.of(filters));
+        }
+
+        public GetFleetErrorAnalyticsArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilter.java
new file mode 100644
index 0000000000..70d19264b2
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilter.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.Jms.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 GetFleetErrorAnalyticsFilter extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorAnalyticsFilter Empty = new GetFleetErrorAnalyticsFilter();
+
+    @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 GetFleetErrorAnalyticsFilter() {}
+
+    private GetFleetErrorAnalyticsFilter(GetFleetErrorAnalyticsFilter $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorAnalyticsFilter defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorAnalyticsFilter $;
+
+        public Builder() {
+            $ = new GetFleetErrorAnalyticsFilter();
+        }
+
+        public Builder(GetFleetErrorAnalyticsFilter defaults) {
+            $ = new GetFleetErrorAnalyticsFilter(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 GetFleetErrorAnalyticsFilter build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFilter", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFilter", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilterArgs.java
new file mode 100644
index 0000000000..eda2382734
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsFilterArgs.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.Jms.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 GetFleetErrorAnalyticsFilterArgs extends com.pulumi.resources.ResourceArgs {
+
+    public static final GetFleetErrorAnalyticsFilterArgs Empty = new GetFleetErrorAnalyticsFilterArgs();
+
+    @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 GetFleetErrorAnalyticsFilterArgs() {}
+
+    private GetFleetErrorAnalyticsFilterArgs(GetFleetErrorAnalyticsFilterArgs $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorAnalyticsFilterArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorAnalyticsFilterArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorAnalyticsFilterArgs();
+        }
+
+        public Builder(GetFleetErrorAnalyticsFilterArgs defaults) {
+            $ = new GetFleetErrorAnalyticsFilterArgs(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 GetFleetErrorAnalyticsFilterArgs build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFilterArgs", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFilterArgs", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsPlainArgs.java
new file mode 100644
index 0000000000..6e071cff0b
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorAnalyticsPlainArgs.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.Jms.inputs;
+
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsFilter;
+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 GetFleetErrorAnalyticsPlainArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorAnalyticsPlainArgs Empty = new GetFleetErrorAnalyticsPlainArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable String compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Boolean compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable List filters;
+
+    public Optional> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    private GetFleetErrorAnalyticsPlainArgs() {}
+
+    private GetFleetErrorAnalyticsPlainArgs(GetFleetErrorAnalyticsPlainArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorAnalyticsPlainArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorAnalyticsPlainArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorAnalyticsPlainArgs();
+        }
+
+        public Builder(GetFleetErrorAnalyticsPlainArgs defaults) {
+            $ = new GetFleetErrorAnalyticsPlainArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable String compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        public Builder filters(@Nullable List filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(GetFleetErrorAnalyticsFilter... filters) {
+            return filters(List.of(filters));
+        }
+
+        public GetFleetErrorAnalyticsPlainArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsArgs.java
new file mode 100644
index 0000000000..bcffc25b18
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsArgs.java
@@ -0,0 +1,329 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.Jms.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetFleetErrorsFilterArgs;
+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 GetFleetErrorsArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorsArgs Empty = new GetFleetErrorsArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable Output compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional> compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Output compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional> compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable Output> filters;
+
+    public Optional>> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    /**
+     * The ID of the Fleet.
+     * 
+     */
+    @Import(name="fleetId")
+    private @Nullable Output fleetId;
+
+    /**
+     * @return The ID of the Fleet.
+     * 
+     */
+    public Optional> fleetId() {
+        return Optional.ofNullable(this.fleetId);
+    }
+
+    /**
+     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenGreaterThanOrEqualTo")
+    private @Nullable Output timeFirstSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenLessThanOrEqualTo")
+    private @Nullable Output timeFirstSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenGreaterThanOrEqualTo")
+    private @Nullable Output timeLastSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenLessThanOrEqualTo")
+    private @Nullable Output timeLastSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    private GetFleetErrorsArgs() {}
+
+    private GetFleetErrorsArgs(GetFleetErrorsArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+        this.fleetId = $.fleetId;
+        this.timeFirstSeenGreaterThanOrEqualTo = $.timeFirstSeenGreaterThanOrEqualTo;
+        this.timeFirstSeenLessThanOrEqualTo = $.timeFirstSeenLessThanOrEqualTo;
+        this.timeLastSeenGreaterThanOrEqualTo = $.timeLastSeenGreaterThanOrEqualTo;
+        this.timeLastSeenLessThanOrEqualTo = $.timeLastSeenLessThanOrEqualTo;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorsArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorsArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorsArgs();
+        }
+
+        public Builder(GetFleetErrorsArgs defaults) {
+            $ = new GetFleetErrorsArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable Output compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(String compartmentId) {
+            return compartmentId(Output.of(compartmentId));
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) {
+            return compartmentIdInSubtree(Output.of(compartmentIdInSubtree));
+        }
+
+        public Builder filters(@Nullable Output> filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(List filters) {
+            return filters(Output.of(filters));
+        }
+
+        public Builder filters(GetFleetErrorsFilterArgs... filters) {
+            return filters(List.of(filters));
+        }
+
+        /**
+         * @param fleetId The ID of the Fleet.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder fleetId(@Nullable Output fleetId) {
+            $.fleetId = fleetId;
+            return this;
+        }
+
+        /**
+         * @param fleetId The ID of the Fleet.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder fleetId(String fleetId) {
+            return fleetId(Output.of(fleetId));
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable Output timeFirstSeenGreaterThanOrEqualTo) {
+            $.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(String timeFirstSeenGreaterThanOrEqualTo) {
+            return timeFirstSeenGreaterThanOrEqualTo(Output.of(timeFirstSeenGreaterThanOrEqualTo));
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable Output timeFirstSeenLessThanOrEqualTo) {
+            $.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(String timeFirstSeenLessThanOrEqualTo) {
+            return timeFirstSeenLessThanOrEqualTo(Output.of(timeFirstSeenLessThanOrEqualTo));
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable Output timeLastSeenGreaterThanOrEqualTo) {
+            $.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(String timeLastSeenGreaterThanOrEqualTo) {
+            return timeLastSeenGreaterThanOrEqualTo(Output.of(timeLastSeenGreaterThanOrEqualTo));
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable Output timeLastSeenLessThanOrEqualTo) {
+            $.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(String timeLastSeenLessThanOrEqualTo) {
+            return timeLastSeenLessThanOrEqualTo(Output.of(timeLastSeenLessThanOrEqualTo));
+        }
+
+        public GetFleetErrorsArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilter.java
new file mode 100644
index 0000000000..4d09353892
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilter.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.Jms.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 GetFleetErrorsFilter extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorsFilter Empty = new GetFleetErrorsFilter();
+
+    @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 GetFleetErrorsFilter() {}
+
+    private GetFleetErrorsFilter(GetFleetErrorsFilter $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorsFilter defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorsFilter $;
+
+        public Builder() {
+            $ = new GetFleetErrorsFilter();
+        }
+
+        public Builder(GetFleetErrorsFilter defaults) {
+            $ = new GetFleetErrorsFilter(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 GetFleetErrorsFilter build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorsFilter", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorsFilter", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilterArgs.java
new file mode 100644
index 0000000000..05cb6eebc7
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsFilterArgs.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.Jms.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 GetFleetErrorsFilterArgs extends com.pulumi.resources.ResourceArgs {
+
+    public static final GetFleetErrorsFilterArgs Empty = new GetFleetErrorsFilterArgs();
+
+    @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 GetFleetErrorsFilterArgs() {}
+
+    private GetFleetErrorsFilterArgs(GetFleetErrorsFilterArgs $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorsFilterArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorsFilterArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorsFilterArgs();
+        }
+
+        public Builder(GetFleetErrorsFilterArgs defaults) {
+            $ = new GetFleetErrorsFilterArgs(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 GetFleetErrorsFilterArgs build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorsFilterArgs", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetFleetErrorsFilterArgs", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsPlainArgs.java
new file mode 100644
index 0000000000..d6c85bf166
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetErrorsPlainArgs.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.Jms.inputs;
+
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetFleetErrorsFilter;
+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 GetFleetErrorsPlainArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetFleetErrorsPlainArgs Empty = new GetFleetErrorsPlainArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable String compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Boolean compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable List filters;
+
+    public Optional> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    /**
+     * The ID of the Fleet.
+     * 
+     */
+    @Import(name="fleetId")
+    private @Nullable String fleetId;
+
+    /**
+     * @return The ID of the Fleet.
+     * 
+     */
+    public Optional fleetId() {
+        return Optional.ofNullable(this.fleetId);
+    }
+
+    /**
+     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenGreaterThanOrEqualTo")
+    private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenLessThanOrEqualTo")
+    private @Nullable String timeFirstSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenGreaterThanOrEqualTo")
+    private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenLessThanOrEqualTo")
+    private @Nullable String timeLastSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    private GetFleetErrorsPlainArgs() {}
+
+    private GetFleetErrorsPlainArgs(GetFleetErrorsPlainArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+        this.fleetId = $.fleetId;
+        this.timeFirstSeenGreaterThanOrEqualTo = $.timeFirstSeenGreaterThanOrEqualTo;
+        this.timeFirstSeenLessThanOrEqualTo = $.timeFirstSeenLessThanOrEqualTo;
+        this.timeLastSeenGreaterThanOrEqualTo = $.timeLastSeenGreaterThanOrEqualTo;
+        this.timeLastSeenLessThanOrEqualTo = $.timeLastSeenLessThanOrEqualTo;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetFleetErrorsPlainArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetFleetErrorsPlainArgs $;
+
+        public Builder() {
+            $ = new GetFleetErrorsPlainArgs();
+        }
+
+        public Builder(GetFleetErrorsPlainArgs defaults) {
+            $ = new GetFleetErrorsPlainArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable String compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        public Builder filters(@Nullable List filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(GetFleetErrorsFilter... filters) {
+            return filters(List.of(filters));
+        }
+
+        /**
+         * @param fleetId The ID of the Fleet.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder fleetId(@Nullable String fleetId) {
+            $.fleetId = fleetId;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable String timeFirstSeenGreaterThanOrEqualTo) {
+            $.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable String timeFirstSeenLessThanOrEqualTo) {
+            $.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable String timeLastSeenGreaterThanOrEqualTo) {
+            $.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable String timeLastSeenLessThanOrEqualTo) {
+            $.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        public GetFleetErrorsPlainArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsArgs.java
index 48fb8c45ce..55c55cf2c3 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsArgs.java
@@ -33,6 +33,21 @@ public Optional> applicationId() {
         return Optional.ofNullable(this.applicationId);
     }
 
+    /**
+     * The name of the application.
+     * 
+     */
+    @Import(name="applicationName")
+    private @Nullable Output applicationName;
+
+    /**
+     * @return The name of the application.
+     * 
+     */
+    public Optional> applicationName() {
+        return Optional.ofNullable(this.applicationName);
+    }
+
     @Import(name="filters")
     private @Nullable Output> filters;
 
@@ -119,6 +134,7 @@ private GetFleetPerformanceTuningAnalysisResultsArgs() {}
 
     private GetFleetPerformanceTuningAnalysisResultsArgs(GetFleetPerformanceTuningAnalysisResultsArgs $) {
         this.applicationId = $.applicationId;
+        this.applicationName = $.applicationName;
         this.filters = $.filters;
         this.fleetId = $.fleetId;
         this.hostName = $.hostName;
@@ -166,6 +182,27 @@ public Builder applicationId(String applicationId) {
             return applicationId(Output.of(applicationId));
         }
 
+        /**
+         * @param applicationName The name of the application.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder applicationName(@Nullable Output applicationName) {
+            $.applicationName = applicationName;
+            return this;
+        }
+
+        /**
+         * @param applicationName The name of the application.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder applicationName(String applicationName) {
+            return applicationName(Output.of(applicationName));
+        }
+
         public Builder filters(@Nullable Output> filters) {
             $.filters = filters;
             return this;
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsPlainArgs.java
index 9c485f1832..dac2d08b78 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsPlainArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetFleetPerformanceTuningAnalysisResultsPlainArgs.java
@@ -32,6 +32,21 @@ public Optional applicationId() {
         return Optional.ofNullable(this.applicationId);
     }
 
+    /**
+     * The name of the application.
+     * 
+     */
+    @Import(name="applicationName")
+    private @Nullable String applicationName;
+
+    /**
+     * @return The name of the application.
+     * 
+     */
+    public Optional applicationName() {
+        return Optional.ofNullable(this.applicationName);
+    }
+
     @Import(name="filters")
     private @Nullable List filters;
 
@@ -118,6 +133,7 @@ private GetFleetPerformanceTuningAnalysisResultsPlainArgs() {}
 
     private GetFleetPerformanceTuningAnalysisResultsPlainArgs(GetFleetPerformanceTuningAnalysisResultsPlainArgs $) {
         this.applicationId = $.applicationId;
+        this.applicationName = $.applicationName;
         this.filters = $.filters;
         this.fleetId = $.fleetId;
         this.hostName = $.hostName;
@@ -155,6 +171,17 @@ public Builder applicationId(@Nullable String applicationId) {
             return this;
         }
 
+        /**
+         * @param applicationName The name of the application.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder applicationName(@Nullable String applicationName) {
+            $.applicationName = applicationName;
+            return this;
+        }
+
         public Builder filters(@Nullable List filters) {
             $.filters = filters;
             return this;
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsArgs.java
index 23ee6e21d4..d08a4b32b4 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsArgs.java
@@ -33,6 +33,21 @@ public Optional> agentId() {
         return Optional.ofNullable(this.agentId);
     }
 
+    /**
+     * Filter JmsPlugin with agent type.
+     * 
+     */
+    @Import(name="agentType")
+    private @Nullable Output agentType;
+
+    /**
+     * @return Filter JmsPlugin with agent type.
+     * 
+     */
+    public Optional> agentType() {
+        return Optional.ofNullable(this.agentType);
+    }
+
     /**
      * Filter JmsPlugin with its availability status.
      * 
@@ -179,6 +194,7 @@ private GetJmsPluginsArgs() {}
 
     private GetJmsPluginsArgs(GetJmsPluginsArgs $) {
         this.agentId = $.agentId;
+        this.agentType = $.agentType;
         this.availabilityStatus = $.availabilityStatus;
         this.compartmentId = $.compartmentId;
         this.compartmentIdInSubtree = $.compartmentIdInSubtree;
@@ -230,6 +246,27 @@ public Builder agentId(String agentId) {
             return agentId(Output.of(agentId));
         }
 
+        /**
+         * @param agentType Filter JmsPlugin with agent type.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder agentType(@Nullable Output agentType) {
+            $.agentType = agentType;
+            return this;
+        }
+
+        /**
+         * @param agentType Filter JmsPlugin with agent type.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder agentType(String agentType) {
+            return agentType(Output.of(agentType));
+        }
+
         /**
          * @param availabilityStatus Filter JmsPlugin with its availability status.
          * 
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsPlainArgs.java
index 78d169c25d..e9f61aaf1f 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsPlainArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetJmsPluginsPlainArgs.java
@@ -32,6 +32,21 @@ public Optional agentId() {
         return Optional.ofNullable(this.agentId);
     }
 
+    /**
+     * Filter JmsPlugin with agent type.
+     * 
+     */
+    @Import(name="agentType")
+    private @Nullable String agentType;
+
+    /**
+     * @return Filter JmsPlugin with agent type.
+     * 
+     */
+    public Optional agentType() {
+        return Optional.ofNullable(this.agentType);
+    }
+
     /**
      * Filter JmsPlugin with its availability status.
      * 
@@ -178,6 +193,7 @@ private GetJmsPluginsPlainArgs() {}
 
     private GetJmsPluginsPlainArgs(GetJmsPluginsPlainArgs $) {
         this.agentId = $.agentId;
+        this.agentType = $.agentType;
         this.availabilityStatus = $.availabilityStatus;
         this.compartmentId = $.compartmentId;
         this.compartmentIdInSubtree = $.compartmentIdInSubtree;
@@ -219,6 +235,17 @@ public Builder agentId(@Nullable String agentId) {
             return this;
         }
 
+        /**
+         * @param agentType Filter JmsPlugin with agent type.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder agentType(@Nullable String agentType) {
+            $.agentType = agentType;
+            return this;
+        }
+
         /**
          * @param availabilityStatus Filter JmsPlugin with its availability status.
          * 
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsArgs.java
new file mode 100644
index 0000000000..84488abd17
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsArgs.java
@@ -0,0 +1,144 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.Jms.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsFilterArgs;
+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 GetPluginErrorAnalyticsArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorAnalyticsArgs Empty = new GetPluginErrorAnalyticsArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable Output compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional> compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Output compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional> compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable Output> filters;
+
+    public Optional>> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    private GetPluginErrorAnalyticsArgs() {}
+
+    private GetPluginErrorAnalyticsArgs(GetPluginErrorAnalyticsArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorAnalyticsArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorAnalyticsArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorAnalyticsArgs();
+        }
+
+        public Builder(GetPluginErrorAnalyticsArgs defaults) {
+            $ = new GetPluginErrorAnalyticsArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable Output compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(String compartmentId) {
+            return compartmentId(Output.of(compartmentId));
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) {
+            return compartmentIdInSubtree(Output.of(compartmentIdInSubtree));
+        }
+
+        public Builder filters(@Nullable Output> filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(List filters) {
+            return filters(Output.of(filters));
+        }
+
+        public Builder filters(GetPluginErrorAnalyticsFilterArgs... filters) {
+            return filters(List.of(filters));
+        }
+
+        public GetPluginErrorAnalyticsArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilter.java
new file mode 100644
index 0000000000..bc7aab318d
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilter.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.Jms.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 GetPluginErrorAnalyticsFilter extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorAnalyticsFilter Empty = new GetPluginErrorAnalyticsFilter();
+
+    @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 GetPluginErrorAnalyticsFilter() {}
+
+    private GetPluginErrorAnalyticsFilter(GetPluginErrorAnalyticsFilter $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorAnalyticsFilter defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorAnalyticsFilter $;
+
+        public Builder() {
+            $ = new GetPluginErrorAnalyticsFilter();
+        }
+
+        public Builder(GetPluginErrorAnalyticsFilter defaults) {
+            $ = new GetPluginErrorAnalyticsFilter(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 GetPluginErrorAnalyticsFilter build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsFilter", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsFilter", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilterArgs.java
new file mode 100644
index 0000000000..1699032b5a
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsFilterArgs.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.Jms.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 GetPluginErrorAnalyticsFilterArgs extends com.pulumi.resources.ResourceArgs {
+
+    public static final GetPluginErrorAnalyticsFilterArgs Empty = new GetPluginErrorAnalyticsFilterArgs();
+
+    @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 GetPluginErrorAnalyticsFilterArgs() {}
+
+    private GetPluginErrorAnalyticsFilterArgs(GetPluginErrorAnalyticsFilterArgs $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorAnalyticsFilterArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorAnalyticsFilterArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorAnalyticsFilterArgs();
+        }
+
+        public Builder(GetPluginErrorAnalyticsFilterArgs defaults) {
+            $ = new GetPluginErrorAnalyticsFilterArgs(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 GetPluginErrorAnalyticsFilterArgs build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsFilterArgs", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsFilterArgs", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsPlainArgs.java
new file mode 100644
index 0000000000..4e0686db3f
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorAnalyticsPlainArgs.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.Jms.inputs;
+
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetPluginErrorAnalyticsFilter;
+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 GetPluginErrorAnalyticsPlainArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorAnalyticsPlainArgs Empty = new GetPluginErrorAnalyticsPlainArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable String compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Boolean compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable List filters;
+
+    public Optional> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    private GetPluginErrorAnalyticsPlainArgs() {}
+
+    private GetPluginErrorAnalyticsPlainArgs(GetPluginErrorAnalyticsPlainArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorAnalyticsPlainArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorAnalyticsPlainArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorAnalyticsPlainArgs();
+        }
+
+        public Builder(GetPluginErrorAnalyticsPlainArgs defaults) {
+            $ = new GetPluginErrorAnalyticsPlainArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable String compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        public Builder filters(@Nullable List filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(GetPluginErrorAnalyticsFilter... filters) {
+            return filters(List.of(filters));
+        }
+
+        public GetPluginErrorAnalyticsPlainArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsArgs.java
new file mode 100644
index 0000000000..23fd9308e2
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsArgs.java
@@ -0,0 +1,329 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.Jms.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetPluginErrorsFilterArgs;
+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 GetPluginErrorsArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorsArgs Empty = new GetPluginErrorsArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable Output compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional> compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Output compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional> compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable Output> filters;
+
+    public Optional>> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    /**
+     * The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    @Import(name="managedInstanceId")
+    private @Nullable Output managedInstanceId;
+
+    /**
+     * @return The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    public Optional> managedInstanceId() {
+        return Optional.ofNullable(this.managedInstanceId);
+    }
+
+    /**
+     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenGreaterThanOrEqualTo")
+    private @Nullable Output timeFirstSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenLessThanOrEqualTo")
+    private @Nullable Output timeFirstSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenGreaterThanOrEqualTo")
+    private @Nullable Output timeLastSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenLessThanOrEqualTo")
+    private @Nullable Output timeLastSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional> timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    private GetPluginErrorsArgs() {}
+
+    private GetPluginErrorsArgs(GetPluginErrorsArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+        this.managedInstanceId = $.managedInstanceId;
+        this.timeFirstSeenGreaterThanOrEqualTo = $.timeFirstSeenGreaterThanOrEqualTo;
+        this.timeFirstSeenLessThanOrEqualTo = $.timeFirstSeenLessThanOrEqualTo;
+        this.timeLastSeenGreaterThanOrEqualTo = $.timeLastSeenGreaterThanOrEqualTo;
+        this.timeLastSeenLessThanOrEqualTo = $.timeLastSeenLessThanOrEqualTo;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorsArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorsArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorsArgs();
+        }
+
+        public Builder(GetPluginErrorsArgs defaults) {
+            $ = new GetPluginErrorsArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable Output compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(String compartmentId) {
+            return compartmentId(Output.of(compartmentId));
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) {
+            return compartmentIdInSubtree(Output.of(compartmentIdInSubtree));
+        }
+
+        public Builder filters(@Nullable Output> filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(List filters) {
+            return filters(Output.of(filters));
+        }
+
+        public Builder filters(GetPluginErrorsFilterArgs... filters) {
+            return filters(List.of(filters));
+        }
+
+        /**
+         * @param managedInstanceId The Fleet-unique identifier of the managed instance.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder managedInstanceId(@Nullable Output managedInstanceId) {
+            $.managedInstanceId = managedInstanceId;
+            return this;
+        }
+
+        /**
+         * @param managedInstanceId The Fleet-unique identifier of the managed instance.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder managedInstanceId(String managedInstanceId) {
+            return managedInstanceId(Output.of(managedInstanceId));
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable Output timeFirstSeenGreaterThanOrEqualTo) {
+            $.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(String timeFirstSeenGreaterThanOrEqualTo) {
+            return timeFirstSeenGreaterThanOrEqualTo(Output.of(timeFirstSeenGreaterThanOrEqualTo));
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable Output timeFirstSeenLessThanOrEqualTo) {
+            $.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(String timeFirstSeenLessThanOrEqualTo) {
+            return timeFirstSeenLessThanOrEqualTo(Output.of(timeFirstSeenLessThanOrEqualTo));
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable Output timeLastSeenGreaterThanOrEqualTo) {
+            $.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(String timeLastSeenGreaterThanOrEqualTo) {
+            return timeLastSeenGreaterThanOrEqualTo(Output.of(timeLastSeenGreaterThanOrEqualTo));
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable Output timeLastSeenLessThanOrEqualTo) {
+            $.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(String timeLastSeenLessThanOrEqualTo) {
+            return timeLastSeenLessThanOrEqualTo(Output.of(timeLastSeenLessThanOrEqualTo));
+        }
+
+        public GetPluginErrorsArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilter.java
new file mode 100644
index 0000000000..3e849335fd
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilter.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.Jms.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 GetPluginErrorsFilter extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorsFilter Empty = new GetPluginErrorsFilter();
+
+    @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 GetPluginErrorsFilter() {}
+
+    private GetPluginErrorsFilter(GetPluginErrorsFilter $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorsFilter defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorsFilter $;
+
+        public Builder() {
+            $ = new GetPluginErrorsFilter();
+        }
+
+        public Builder(GetPluginErrorsFilter defaults) {
+            $ = new GetPluginErrorsFilter(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 GetPluginErrorsFilter build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorsFilter", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorsFilter", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilterArgs.java
new file mode 100644
index 0000000000..ec4265b71f
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsFilterArgs.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.Jms.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 GetPluginErrorsFilterArgs extends com.pulumi.resources.ResourceArgs {
+
+    public static final GetPluginErrorsFilterArgs Empty = new GetPluginErrorsFilterArgs();
+
+    @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 GetPluginErrorsFilterArgs() {}
+
+    private GetPluginErrorsFilterArgs(GetPluginErrorsFilterArgs $) {
+        this.name = $.name;
+        this.regex = $.regex;
+        this.values = $.values;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorsFilterArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorsFilterArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorsFilterArgs();
+        }
+
+        public Builder(GetPluginErrorsFilterArgs defaults) {
+            $ = new GetPluginErrorsFilterArgs(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 GetPluginErrorsFilterArgs build() {
+            if ($.name == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorsFilterArgs", "name");
+            }
+            if ($.values == null) {
+                throw new MissingRequiredPropertyException("GetPluginErrorsFilterArgs", "values");
+            }
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsPlainArgs.java
new file mode 100644
index 0000000000..a100ce9312
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/inputs/GetPluginErrorsPlainArgs.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.Jms.inputs;
+
+import com.pulumi.core.annotations.Import;
+import com.pulumi.oci.Jms.inputs.GetPluginErrorsFilter;
+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 GetPluginErrorsPlainArgs extends com.pulumi.resources.InvokeArgs {
+
+    public static final GetPluginErrorsPlainArgs Empty = new GetPluginErrorsPlainArgs();
+
+    /**
+     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    @Import(name="compartmentId")
+    private @Nullable String compartmentId;
+
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+
+    /**
+     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    @Import(name="compartmentIdInSubtree")
+    private @Nullable Boolean compartmentIdInSubtree;
+
+    /**
+     * @return Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+     * 
+     */
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+
+    @Import(name="filters")
+    private @Nullable List filters;
+
+    public Optional> filters() {
+        return Optional.ofNullable(this.filters);
+    }
+
+    /**
+     * The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    @Import(name="managedInstanceId")
+    private @Nullable String managedInstanceId;
+
+    /**
+     * @return The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    public Optional managedInstanceId() {
+        return Optional.ofNullable(this.managedInstanceId);
+    }
+
+    /**
+     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenGreaterThanOrEqualTo")
+    private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeFirstSeenLessThanOrEqualTo")
+    private @Nullable String timeFirstSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenGreaterThanOrEqualTo")
+    private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+
+    /**
+     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    @Import(name="timeLastSeenLessThanOrEqualTo")
+    private @Nullable String timeLastSeenLessThanOrEqualTo;
+
+    /**
+     * @return If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+     * 
+     */
+    public Optional timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    private GetPluginErrorsPlainArgs() {}
+
+    private GetPluginErrorsPlainArgs(GetPluginErrorsPlainArgs $) {
+        this.compartmentId = $.compartmentId;
+        this.compartmentIdInSubtree = $.compartmentIdInSubtree;
+        this.filters = $.filters;
+        this.managedInstanceId = $.managedInstanceId;
+        this.timeFirstSeenGreaterThanOrEqualTo = $.timeFirstSeenGreaterThanOrEqualTo;
+        this.timeFirstSeenLessThanOrEqualTo = $.timeFirstSeenLessThanOrEqualTo;
+        this.timeLastSeenGreaterThanOrEqualTo = $.timeLastSeenGreaterThanOrEqualTo;
+        this.timeLastSeenLessThanOrEqualTo = $.timeLastSeenLessThanOrEqualTo;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+    public static Builder builder(GetPluginErrorsPlainArgs defaults) {
+        return new Builder(defaults);
+    }
+
+    public static final class Builder {
+        private GetPluginErrorsPlainArgs $;
+
+        public Builder() {
+            $ = new GetPluginErrorsPlainArgs();
+        }
+
+        public Builder(GetPluginErrorsPlainArgs defaults) {
+            $ = new GetPluginErrorsPlainArgs(Objects.requireNonNull(defaults));
+        }
+
+        /**
+         * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentId(@Nullable String compartmentId) {
+            $.compartmentId = compartmentId;
+            return this;
+        }
+
+        /**
+         * @param compartmentIdInSubtree Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+            $.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+
+        public Builder filters(@Nullable List filters) {
+            $.filters = filters;
+            return this;
+        }
+
+        public Builder filters(GetPluginErrorsFilter... filters) {
+            return filters(List.of(filters));
+        }
+
+        /**
+         * @param managedInstanceId The Fleet-unique identifier of the managed instance.
+         * 
+         * @return builder
+         * 
+         */
+        public Builder managedInstanceId(@Nullable String managedInstanceId) {
+            $.managedInstanceId = managedInstanceId;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenGreaterThanOrEqualTo If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable String timeFirstSeenGreaterThanOrEqualTo) {
+            $.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeFirstSeenLessThanOrEqualTo If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable String timeFirstSeenLessThanOrEqualTo) {
+            $.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenGreaterThanOrEqualTo If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable String timeLastSeenGreaterThanOrEqualTo) {
+            $.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+
+        /**
+         * @param timeLastSeenLessThanOrEqualTo If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
+         * 
+         * @return builder
+         * 
+         */
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable String timeLastSeenLessThanOrEqualTo) {
+            $.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+
+        public GetPluginErrorsPlainArgs build() {
+            return $;
+        }
+    }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFilter.java
new file mode 100644
index 0000000000..cd404ebb4e
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFilter.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.Jms.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 GetFleetErrorAnalyticsFilter {
+    private String name;
+    private @Nullable Boolean regex;
+    private List values;
+
+    private GetFleetErrorAnalyticsFilter() {}
+    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(GetFleetErrorAnalyticsFilter 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(GetFleetErrorAnalyticsFilter 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("GetFleetErrorAnalyticsFilter", "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("GetFleetErrorAnalyticsFilter", "values");
+            }
+            this.values = values;
+            return this;
+        }
+        public Builder values(String... values) {
+            return values(List.of(values));
+        }
+        public GetFleetErrorAnalyticsFilter build() {
+            final var _resultValue = new GetFleetErrorAnalyticsFilter();
+            _resultValue.name = name;
+            _resultValue.regex = regex;
+            _resultValue.values = values;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollection.java
new file mode 100644
index 0000000000..04f8a4f90c
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollection.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetFleetErrorAnalyticsFleetErrorAggregationCollection {
+    /**
+     * @return A list of FleetErrorAggregationSummary.
+     * 
+     */
+    private List items;
+
+    private GetFleetErrorAnalyticsFleetErrorAggregationCollection() {}
+    /**
+     * @return A list of FleetErrorAggregationSummary.
+     * 
+     */
+    public List items() {
+        return this.items;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorAnalyticsFleetErrorAggregationCollection defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private List items;
+        public Builder() {}
+        public Builder(GetFleetErrorAnalyticsFleetErrorAggregationCollection defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.items = defaults.items;
+        }
+
+        @CustomType.Setter
+        public Builder items(List items) {
+            if (items == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFleetErrorAggregationCollection", "items");
+            }
+            this.items = items;
+            return this;
+        }
+        public Builder items(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem... items) {
+            return items(List.of(items));
+        }
+        public GetFleetErrorAnalyticsFleetErrorAggregationCollection build() {
+            final var _resultValue = new GetFleetErrorAnalyticsFleetErrorAggregationCollection();
+            _resultValue.items = items;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem.java
new file mode 100644
index 0000000000..dd14a279ea
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation;
+import java.lang.Integer;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem {
+    /**
+     * @return List of fleet error aggregations.
+     * 
+     */
+    private List fleetErrorAggregations;
+    /**
+     * @return Count of fleets with no problems.
+     * 
+     */
+    private Integer healthyFleetCount;
+
+    private GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem() {}
+    /**
+     * @return List of fleet error aggregations.
+     * 
+     */
+    public List fleetErrorAggregations() {
+        return this.fleetErrorAggregations;
+    }
+    /**
+     * @return Count of fleets with no problems.
+     * 
+     */
+    public Integer healthyFleetCount() {
+        return this.healthyFleetCount;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private List fleetErrorAggregations;
+        private Integer healthyFleetCount;
+        public Builder() {}
+        public Builder(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.fleetErrorAggregations = defaults.fleetErrorAggregations;
+    	      this.healthyFleetCount = defaults.healthyFleetCount;
+        }
+
+        @CustomType.Setter
+        public Builder fleetErrorAggregations(List fleetErrorAggregations) {
+            if (fleetErrorAggregations == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem", "fleetErrorAggregations");
+            }
+            this.fleetErrorAggregations = fleetErrorAggregations;
+            return this;
+        }
+        public Builder fleetErrorAggregations(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation... fleetErrorAggregations) {
+            return fleetErrorAggregations(List.of(fleetErrorAggregations));
+        }
+        @CustomType.Setter
+        public Builder healthyFleetCount(Integer healthyFleetCount) {
+            if (healthyFleetCount == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem", "healthyFleetCount");
+            }
+            this.healthyFleetCount = healthyFleetCount;
+            return this;
+        }
+        public GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem build() {
+            final var _resultValue = new GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem();
+            _resultValue.fleetErrorAggregations = fleetErrorAggregations;
+            _resultValue.healthyFleetCount = healthyFleetCount;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation.java
new file mode 100644
index 0000000000..015a70709e
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation.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.Jms.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 GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation {
+    /**
+     * @return Number of FleetErrors encountered for the specific reason.
+     * 
+     */
+    private Integer fleetErrorAnalyticCount;
+    /**
+     * @return Enum that uniquely identifies the fleet error.
+     * 
+     */
+    private String reason;
+
+    private GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation() {}
+    /**
+     * @return Number of FleetErrors encountered for the specific reason.
+     * 
+     */
+    public Integer fleetErrorAnalyticCount() {
+        return this.fleetErrorAnalyticCount;
+    }
+    /**
+     * @return Enum that uniquely identifies the fleet error.
+     * 
+     */
+    public String reason() {
+        return this.reason;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private Integer fleetErrorAnalyticCount;
+        private String reason;
+        public Builder() {}
+        public Builder(GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.fleetErrorAnalyticCount = defaults.fleetErrorAnalyticCount;
+    	      this.reason = defaults.reason;
+        }
+
+        @CustomType.Setter
+        public Builder fleetErrorAnalyticCount(Integer fleetErrorAnalyticCount) {
+            if (fleetErrorAnalyticCount == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation", "fleetErrorAnalyticCount");
+            }
+            this.fleetErrorAnalyticCount = fleetErrorAnalyticCount;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder reason(String reason) {
+            if (reason == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation", "reason");
+            }
+            this.reason = reason;
+            return this;
+        }
+        public GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation build() {
+            final var _resultValue = new GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation();
+            _resultValue.fleetErrorAnalyticCount = fleetErrorAnalyticCount;
+            _resultValue.reason = reason;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsResult.java
new file mode 100644
index 0000000000..dcac095980
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorAnalyticsResult.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorAnalyticsFilter;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollection;
+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 GetFleetErrorAnalyticsResult {
+    private @Nullable String compartmentId;
+    private @Nullable Boolean compartmentIdInSubtree;
+    private @Nullable List filters;
+    /**
+     * @return The list of fleet_error_aggregation_collection.
+     * 
+     */
+    private List fleetErrorAggregationCollections;
+    /**
+     * @return The provider-assigned unique ID for this managed resource.
+     * 
+     */
+    private String id;
+
+    private GetFleetErrorAnalyticsResult() {}
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+    public List filters() {
+        return this.filters == null ? List.of() : this.filters;
+    }
+    /**
+     * @return The list of fleet_error_aggregation_collection.
+     * 
+     */
+    public List fleetErrorAggregationCollections() {
+        return this.fleetErrorAggregationCollections;
+    }
+    /**
+     * @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(GetFleetErrorAnalyticsResult defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private @Nullable String compartmentId;
+        private @Nullable Boolean compartmentIdInSubtree;
+        private @Nullable List filters;
+        private List fleetErrorAggregationCollections;
+        private String id;
+        public Builder() {}
+        public Builder(GetFleetErrorAnalyticsResult defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.compartmentIdInSubtree = defaults.compartmentIdInSubtree;
+    	      this.filters = defaults.filters;
+    	      this.fleetErrorAggregationCollections = defaults.fleetErrorAggregationCollections;
+    	      this.id = defaults.id;
+        }
+
+        @CustomType.Setter
+        public Builder compartmentId(@Nullable String compartmentId) {
+
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+
+            this.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder filters(@Nullable List filters) {
+
+            this.filters = filters;
+            return this;
+        }
+        public Builder filters(GetFleetErrorAnalyticsFilter... filters) {
+            return filters(List.of(filters));
+        }
+        @CustomType.Setter
+        public Builder fleetErrorAggregationCollections(List fleetErrorAggregationCollections) {
+            if (fleetErrorAggregationCollections == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsResult", "fleetErrorAggregationCollections");
+            }
+            this.fleetErrorAggregationCollections = fleetErrorAggregationCollections;
+            return this;
+        }
+        public Builder fleetErrorAggregationCollections(GetFleetErrorAnalyticsFleetErrorAggregationCollection... fleetErrorAggregationCollections) {
+            return fleetErrorAggregationCollections(List.of(fleetErrorAggregationCollections));
+        }
+        @CustomType.Setter
+        public Builder id(String id) {
+            if (id == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorAnalyticsResult", "id");
+            }
+            this.id = id;
+            return this;
+        }
+        public GetFleetErrorAnalyticsResult build() {
+            final var _resultValue = new GetFleetErrorAnalyticsResult();
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.compartmentIdInSubtree = compartmentIdInSubtree;
+            _resultValue.filters = filters;
+            _resultValue.fleetErrorAggregationCollections = fleetErrorAggregationCollections;
+            _resultValue.id = id;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFilter.java
new file mode 100644
index 0000000000..7a761db990
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFilter.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.Jms.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 GetFleetErrorsFilter {
+    private String name;
+    private @Nullable Boolean regex;
+    private List values;
+
+    private GetFleetErrorsFilter() {}
+    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(GetFleetErrorsFilter 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(GetFleetErrorsFilter 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("GetFleetErrorsFilter", "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("GetFleetErrorsFilter", "values");
+            }
+            this.values = values;
+            return this;
+        }
+        public Builder values(String... values) {
+            return values(List.of(values));
+        }
+        public GetFleetErrorsFilter build() {
+            final var _resultValue = new GetFleetErrorsFilter();
+            _resultValue.name = name;
+            _resultValue.regex = regex;
+            _resultValue.values = values;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollection.java
new file mode 100644
index 0000000000..934b5e20d8
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollection.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorsFleetErrorCollectionItem;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetFleetErrorsFleetErrorCollection {
+    /**
+     * @return A list of FleetErrorSummary.
+     * 
+     */
+    private List items;
+
+    private GetFleetErrorsFleetErrorCollection() {}
+    /**
+     * @return A list of FleetErrorSummary.
+     * 
+     */
+    public List items() {
+        return this.items;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorsFleetErrorCollection defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private List items;
+        public Builder() {}
+        public Builder(GetFleetErrorsFleetErrorCollection defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.items = defaults.items;
+        }
+
+        @CustomType.Setter
+        public Builder items(List items) {
+            if (items == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollection", "items");
+            }
+            this.items = items;
+            return this;
+        }
+        public Builder items(GetFleetErrorsFleetErrorCollectionItem... items) {
+            return items(List.of(items));
+        }
+        public GetFleetErrorsFleetErrorCollection build() {
+            final var _resultValue = new GetFleetErrorsFleetErrorCollection();
+            _resultValue.items = items;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItem.java
new file mode 100644
index 0000000000..a867143b65
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItem.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorsFleetErrorCollectionItemError;
+import java.lang.String;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetFleetErrorsFleetErrorCollectionItem {
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    private String compartmentId;
+    /**
+     * @return List of fleet error details.
+     * 
+     */
+    private List errors;
+    /**
+     * @return The ID of the Fleet.
+     * 
+     */
+    private String fleetId;
+    /**
+     * @return The display name of the Fleet.
+     * 
+     */
+    private String fleetName;
+    /**
+     * @return The timestamp of the first time an error was detected.
+     * 
+     */
+    private String timeFirstSeen;
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    private String timeLastSeen;
+
+    private GetFleetErrorsFleetErrorCollectionItem() {}
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public String compartmentId() {
+        return this.compartmentId;
+    }
+    /**
+     * @return List of fleet error details.
+     * 
+     */
+    public List errors() {
+        return this.errors;
+    }
+    /**
+     * @return The ID of the Fleet.
+     * 
+     */
+    public String fleetId() {
+        return this.fleetId;
+    }
+    /**
+     * @return The display name of the Fleet.
+     * 
+     */
+    public String fleetName() {
+        return this.fleetName;
+    }
+    /**
+     * @return The timestamp of the first time an error was detected.
+     * 
+     */
+    public String timeFirstSeen() {
+        return this.timeFirstSeen;
+    }
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    public String timeLastSeen() {
+        return this.timeLastSeen;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorsFleetErrorCollectionItem defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private String compartmentId;
+        private List errors;
+        private String fleetId;
+        private String fleetName;
+        private String timeFirstSeen;
+        private String timeLastSeen;
+        public Builder() {}
+        public Builder(GetFleetErrorsFleetErrorCollectionItem defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.errors = defaults.errors;
+    	      this.fleetId = defaults.fleetId;
+    	      this.fleetName = defaults.fleetName;
+    	      this.timeFirstSeen = defaults.timeFirstSeen;
+    	      this.timeLastSeen = defaults.timeLastSeen;
+        }
+
+        @CustomType.Setter
+        public Builder compartmentId(String compartmentId) {
+            if (compartmentId == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "compartmentId");
+            }
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder errors(List errors) {
+            if (errors == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "errors");
+            }
+            this.errors = errors;
+            return this;
+        }
+        public Builder errors(GetFleetErrorsFleetErrorCollectionItemError... errors) {
+            return errors(List.of(errors));
+        }
+        @CustomType.Setter
+        public Builder fleetId(String fleetId) {
+            if (fleetId == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "fleetId");
+            }
+            this.fleetId = fleetId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder fleetName(String fleetName) {
+            if (fleetName == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "fleetName");
+            }
+            this.fleetName = fleetName;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeen(String timeFirstSeen) {
+            if (timeFirstSeen == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "timeFirstSeen");
+            }
+            this.timeFirstSeen = timeFirstSeen;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeen(String timeLastSeen) {
+            if (timeLastSeen == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItem", "timeLastSeen");
+            }
+            this.timeLastSeen = timeLastSeen;
+            return this;
+        }
+        public GetFleetErrorsFleetErrorCollectionItem build() {
+            final var _resultValue = new GetFleetErrorsFleetErrorCollectionItem();
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.errors = errors;
+            _resultValue.fleetId = fleetId;
+            _resultValue.fleetName = fleetName;
+            _resultValue.timeFirstSeen = timeFirstSeen;
+            _resultValue.timeLastSeen = timeLastSeen;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItemError.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItemError.java
new file mode 100644
index 0000000000..7387652014
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsFleetErrorCollectionItemError.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import java.lang.String;
+import java.util.Objects;
+
+@CustomType
+public final class GetFleetErrorsFleetErrorCollectionItemError {
+    /**
+     * @return Optional string containing additional details.
+     * 
+     */
+    private String details;
+    /**
+     * @return The fleet error reason.
+     * 
+     */
+    private String reason;
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    private String timeLastSeen;
+
+    private GetFleetErrorsFleetErrorCollectionItemError() {}
+    /**
+     * @return Optional string containing additional details.
+     * 
+     */
+    public String details() {
+        return this.details;
+    }
+    /**
+     * @return The fleet error reason.
+     * 
+     */
+    public String reason() {
+        return this.reason;
+    }
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    public String timeLastSeen() {
+        return this.timeLastSeen;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorsFleetErrorCollectionItemError defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private String details;
+        private String reason;
+        private String timeLastSeen;
+        public Builder() {}
+        public Builder(GetFleetErrorsFleetErrorCollectionItemError defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.details = defaults.details;
+    	      this.reason = defaults.reason;
+    	      this.timeLastSeen = defaults.timeLastSeen;
+        }
+
+        @CustomType.Setter
+        public Builder details(String details) {
+            if (details == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItemError", "details");
+            }
+            this.details = details;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder reason(String reason) {
+            if (reason == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItemError", "reason");
+            }
+            this.reason = reason;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeen(String timeLastSeen) {
+            if (timeLastSeen == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsFleetErrorCollectionItemError", "timeLastSeen");
+            }
+            this.timeLastSeen = timeLastSeen;
+            return this;
+        }
+        public GetFleetErrorsFleetErrorCollectionItemError build() {
+            final var _resultValue = new GetFleetErrorsFleetErrorCollectionItemError();
+            _resultValue.details = details;
+            _resultValue.reason = reason;
+            _resultValue.timeLastSeen = timeLastSeen;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsResult.java
new file mode 100644
index 0000000000..b9c1fbe8ac
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetErrorsResult.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorsFilter;
+import com.pulumi.oci.Jms.outputs.GetFleetErrorsFleetErrorCollection;
+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 GetFleetErrorsResult {
+    /**
+     * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    private @Nullable String compartmentId;
+    private @Nullable Boolean compartmentIdInSubtree;
+    private @Nullable List filters;
+    /**
+     * @return The list of fleet_error_collection.
+     * 
+     */
+    private List fleetErrorCollections;
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    private @Nullable String fleetId;
+    /**
+     * @return The provider-assigned unique ID for this managed resource.
+     * 
+     */
+    private String id;
+    private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+    private @Nullable String timeFirstSeenLessThanOrEqualTo;
+    private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+    private @Nullable String timeLastSeenLessThanOrEqualTo;
+
+    private GetFleetErrorsResult() {}
+    /**
+     * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+    public List filters() {
+        return this.filters == null ? List.of() : this.filters;
+    }
+    /**
+     * @return The list of fleet_error_collection.
+     * 
+     */
+    public List fleetErrorCollections() {
+        return this.fleetErrorCollections;
+    }
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    public Optional fleetId() {
+        return Optional.ofNullable(this.fleetId);
+    }
+    /**
+     * @return The provider-assigned unique ID for this managed resource.
+     * 
+     */
+    public String id() {
+        return this.id;
+    }
+    public Optional timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+    public Optional timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+    public Optional timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+    public Optional timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetFleetErrorsResult defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private @Nullable String compartmentId;
+        private @Nullable Boolean compartmentIdInSubtree;
+        private @Nullable List filters;
+        private List fleetErrorCollections;
+        private @Nullable String fleetId;
+        private String id;
+        private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+        private @Nullable String timeFirstSeenLessThanOrEqualTo;
+        private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+        private @Nullable String timeLastSeenLessThanOrEqualTo;
+        public Builder() {}
+        public Builder(GetFleetErrorsResult defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.compartmentIdInSubtree = defaults.compartmentIdInSubtree;
+    	      this.filters = defaults.filters;
+    	      this.fleetErrorCollections = defaults.fleetErrorCollections;
+    	      this.fleetId = defaults.fleetId;
+    	      this.id = defaults.id;
+    	      this.timeFirstSeenGreaterThanOrEqualTo = defaults.timeFirstSeenGreaterThanOrEqualTo;
+    	      this.timeFirstSeenLessThanOrEqualTo = defaults.timeFirstSeenLessThanOrEqualTo;
+    	      this.timeLastSeenGreaterThanOrEqualTo = defaults.timeLastSeenGreaterThanOrEqualTo;
+    	      this.timeLastSeenLessThanOrEqualTo = defaults.timeLastSeenLessThanOrEqualTo;
+        }
+
+        @CustomType.Setter
+        public Builder compartmentId(@Nullable String compartmentId) {
+
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+
+            this.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder filters(@Nullable List filters) {
+
+            this.filters = filters;
+            return this;
+        }
+        public Builder filters(GetFleetErrorsFilter... filters) {
+            return filters(List.of(filters));
+        }
+        @CustomType.Setter
+        public Builder fleetErrorCollections(List fleetErrorCollections) {
+            if (fleetErrorCollections == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsResult", "fleetErrorCollections");
+            }
+            this.fleetErrorCollections = fleetErrorCollections;
+            return this;
+        }
+        public Builder fleetErrorCollections(GetFleetErrorsFleetErrorCollection... fleetErrorCollections) {
+            return fleetErrorCollections(List.of(fleetErrorCollections));
+        }
+        @CustomType.Setter
+        public Builder fleetId(@Nullable String fleetId) {
+
+            this.fleetId = fleetId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder id(String id) {
+            if (id == null) {
+              throw new MissingRequiredPropertyException("GetFleetErrorsResult", "id");
+            }
+            this.id = id;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable String timeFirstSeenGreaterThanOrEqualTo) {
+
+            this.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable String timeFirstSeenLessThanOrEqualTo) {
+
+            this.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable String timeLastSeenGreaterThanOrEqualTo) {
+
+            this.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable String timeLastSeenLessThanOrEqualTo) {
+
+            this.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+        public GetFleetErrorsResult build() {
+            final var _resultValue = new GetFleetErrorsResult();
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.compartmentIdInSubtree = compartmentIdInSubtree;
+            _resultValue.filters = filters;
+            _resultValue.fleetErrorCollections = fleetErrorCollections;
+            _resultValue.fleetId = fleetId;
+            _resultValue.id = id;
+            _resultValue.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            _resultValue.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            _resultValue.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            _resultValue.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem.java
index 8d47eefdc4..81a19a1b14 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItem.java
@@ -27,7 +27,7 @@ public final class GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnal
      */
     private String applicationInstallationPath;
     /**
-     * @return The name of the application for which the report has been generated.
+     * @return The name of the application.
      * 
      */
     private String applicationName;
@@ -120,7 +120,7 @@ public String applicationInstallationPath() {
         return this.applicationInstallationPath;
     }
     /**
-     * @return The name of the application for which the report has been generated.
+     * @return The name of the application.
      * 
      */
     public String applicationName() {
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsResult.java
index 26554a73e3..d97aa3b8ab 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsResult.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetFleetPerformanceTuningAnalysisResultsResult.java
@@ -20,6 +20,11 @@ public final class GetFleetPerformanceTuningAnalysisResultsResult {
      * 
      */
     private @Nullable String applicationId;
+    /**
+     * @return The name of the application for which the report has been generated.
+     * 
+     */
+    private @Nullable String applicationName;
     private @Nullable List filters;
     /**
      * @return The fleet OCID.
@@ -57,6 +62,13 @@ private GetFleetPerformanceTuningAnalysisResultsResult() {}
     public Optional applicationId() {
         return Optional.ofNullable(this.applicationId);
     }
+    /**
+     * @return The name of the application for which the report has been generated.
+     * 
+     */
+    public Optional applicationName() {
+        return Optional.ofNullable(this.applicationName);
+    }
     public List filters() {
         return this.filters == null ? List.of() : this.filters;
     }
@@ -112,6 +124,7 @@ public static Builder builder(GetFleetPerformanceTuningAnalysisResultsResult def
     @CustomType.Builder
     public static final class Builder {
         private @Nullable String applicationId;
+        private @Nullable String applicationName;
         private @Nullable List filters;
         private String fleetId;
         private @Nullable String hostName;
@@ -124,6 +137,7 @@ public Builder() {}
         public Builder(GetFleetPerformanceTuningAnalysisResultsResult defaults) {
     	      Objects.requireNonNull(defaults);
     	      this.applicationId = defaults.applicationId;
+    	      this.applicationName = defaults.applicationName;
     	      this.filters = defaults.filters;
     	      this.fleetId = defaults.fleetId;
     	      this.hostName = defaults.hostName;
@@ -141,6 +155,12 @@ public Builder applicationId(@Nullable String applicationId) {
             return this;
         }
         @CustomType.Setter
+        public Builder applicationName(@Nullable String applicationName) {
+
+            this.applicationName = applicationName;
+            return this;
+        }
+        @CustomType.Setter
         public Builder filters(@Nullable List filters) {
 
             this.filters = filters;
@@ -203,6 +223,7 @@ public Builder timeStart(@Nullable String timeStart) {
         public GetFleetPerformanceTuningAnalysisResultsResult build() {
             final var _resultValue = new GetFleetPerformanceTuningAnalysisResultsResult();
             _resultValue.applicationId = applicationId;
+            _resultValue.applicationName = applicationName;
             _resultValue.filters = filters;
             _resultValue.fleetId = fleetId;
             _resultValue.hostName = hostName;
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemJre.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemJre.java
index 24fac9b96b..64d6c2d06e 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemJre.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemJre.java
@@ -11,7 +11,7 @@
 @CustomType
 public final class GetInstallationSitesInstallationSiteCollectionItemItemJre {
     /**
-     * @return The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.
+     * @return The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.
      * 
      */
     private String distribution;
@@ -33,7 +33,7 @@ public final class GetInstallationSitesInstallationSiteCollectionItemItemJre {
 
     private GetInstallationSitesInstallationSiteCollectionItemItemJre() {}
     /**
-     * @return The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.
+     * @return The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.
      * 
      */
     public String distribution() {
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem.java
index fd5ace221a..fa5c373d1d 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem.java
@@ -16,6 +16,11 @@ public final class GetInstallationSitesInstallationSiteCollectionItemItemOperati
      * 
      */
     private String architecture;
+    /**
+     * @return The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.
+     * 
+     */
+    private String distribution;
     /**
      * @return The operating system type, such as Windows, Linux or macOS
      * 
@@ -45,6 +50,13 @@ private GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem()
     public String architecture() {
         return this.architecture;
     }
+    /**
+     * @return The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X.
+     * 
+     */
+    public String distribution() {
+        return this.distribution;
+    }
     /**
      * @return The operating system type, such as Windows, Linux or macOS
      * 
@@ -84,6 +96,7 @@ public static Builder builder(GetInstallationSitesInstallationSiteCollectionItem
     @CustomType.Builder
     public static final class Builder {
         private String architecture;
+        private String distribution;
         private String family;
         private Integer managedInstanceCount;
         private String name;
@@ -92,6 +105,7 @@ public Builder() {}
         public Builder(GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem defaults) {
     	      Objects.requireNonNull(defaults);
     	      this.architecture = defaults.architecture;
+    	      this.distribution = defaults.distribution;
     	      this.family = defaults.family;
     	      this.managedInstanceCount = defaults.managedInstanceCount;
     	      this.name = defaults.name;
@@ -107,6 +121,14 @@ public Builder architecture(String architecture) {
             return this;
         }
         @CustomType.Setter
+        public Builder distribution(String distribution) {
+            if (distribution == null) {
+              throw new MissingRequiredPropertyException("GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem", "distribution");
+            }
+            this.distribution = distribution;
+            return this;
+        }
+        @CustomType.Setter
         public Builder family(String family) {
             if (family == null) {
               throw new MissingRequiredPropertyException("GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem", "family");
@@ -141,6 +163,7 @@ public Builder version(String version) {
         public GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem build() {
             final var _resultValue = new GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem();
             _resultValue.architecture = architecture;
+            _resultValue.distribution = distribution;
             _resultValue.family = family;
             _resultValue.managedInstanceCount = managedInstanceCount;
             _resultValue.name = name;
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsJmsPluginCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsJmsPluginCollectionItem.java
index 45fb0f7033..ff8e6424f8 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsJmsPluginCollectionItem.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsJmsPluginCollectionItem.java
@@ -17,7 +17,7 @@ public final class GetJmsPluginsJmsPluginCollectionItem {
      */
     private String agentId;
     /**
-     * @return The agent type.
+     * @return Filter JmsPlugin with agent type.
      * 
      */
     private String agentType;
@@ -106,7 +106,7 @@ public String agentId() {
         return this.agentId;
     }
     /**
-     * @return The agent type.
+     * @return Filter JmsPlugin with agent type.
      * 
      */
     public String agentType() {
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsResult.java
index 8a12c816af..78022f5f03 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsResult.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetJmsPluginsResult.java
@@ -21,6 +21,11 @@ public final class GetJmsPluginsResult {
      * 
      */
     private @Nullable String agentId;
+    /**
+     * @return The agent type.
+     * 
+     */
+    private @Nullable String agentType;
     /**
      * @return The availability status.
      * 
@@ -65,6 +70,13 @@ private GetJmsPluginsResult() {}
     public Optional agentId() {
         return Optional.ofNullable(this.agentId);
     }
+    /**
+     * @return The agent type.
+     * 
+     */
+    public Optional agentType() {
+        return Optional.ofNullable(this.agentType);
+    }
     /**
      * @return The availability status.
      * 
@@ -133,6 +145,7 @@ public static Builder builder(GetJmsPluginsResult defaults) {
     @CustomType.Builder
     public static final class Builder {
         private @Nullable String agentId;
+        private @Nullable String agentType;
         private @Nullable String availabilityStatus;
         private @Nullable String compartmentId;
         private @Nullable Boolean compartmentIdInSubtree;
@@ -148,6 +161,7 @@ public Builder() {}
         public Builder(GetJmsPluginsResult defaults) {
     	      Objects.requireNonNull(defaults);
     	      this.agentId = defaults.agentId;
+    	      this.agentType = defaults.agentType;
     	      this.availabilityStatus = defaults.availabilityStatus;
     	      this.compartmentId = defaults.compartmentId;
     	      this.compartmentIdInSubtree = defaults.compartmentIdInSubtree;
@@ -168,6 +182,12 @@ public Builder agentId(@Nullable String agentId) {
             return this;
         }
         @CustomType.Setter
+        public Builder agentType(@Nullable String agentType) {
+
+            this.agentType = agentType;
+            return this;
+        }
+        @CustomType.Setter
         public Builder availabilityStatus(@Nullable String availabilityStatus) {
 
             this.availabilityStatus = availabilityStatus;
@@ -244,6 +264,7 @@ public Builder timeRegisteredLessThanOrEqualTo(@Nullable String timeRegisteredLe
         public GetJmsPluginsResult build() {
             final var _resultValue = new GetJmsPluginsResult();
             _resultValue.agentId = agentId;
+            _resultValue.agentType = agentType;
             _resultValue.availabilityStatus = availabilityStatus;
             _resultValue.compartmentId = compartmentId;
             _resultValue.compartmentIdInSubtree = compartmentIdInSubtree;
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsFilter.java
new file mode 100644
index 0000000000..25d8ab48d9
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsFilter.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.Jms.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 GetPluginErrorAnalyticsFilter {
+    private String name;
+    private @Nullable Boolean regex;
+    private List values;
+
+    private GetPluginErrorAnalyticsFilter() {}
+    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(GetPluginErrorAnalyticsFilter 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(GetPluginErrorAnalyticsFilter 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("GetPluginErrorAnalyticsFilter", "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("GetPluginErrorAnalyticsFilter", "values");
+            }
+            this.values = values;
+            return this;
+        }
+        public Builder values(String... values) {
+            return values(List.of(values));
+        }
+        public GetPluginErrorAnalyticsFilter build() {
+            final var _resultValue = new GetPluginErrorAnalyticsFilter();
+            _resultValue.name = name;
+            _resultValue.regex = regex;
+            _resultValue.values = values;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollection.java
new file mode 100644
index 0000000000..690007d77e
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollection.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetPluginErrorAnalyticsPluginErrorAggregationCollection {
+    /**
+     * @return A list of PluginErrorAggregationSummary.
+     * 
+     */
+    private List items;
+
+    private GetPluginErrorAnalyticsPluginErrorAggregationCollection() {}
+    /**
+     * @return A list of PluginErrorAggregationSummary.
+     * 
+     */
+    public List items() {
+        return this.items;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorAnalyticsPluginErrorAggregationCollection defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private List items;
+        public Builder() {}
+        public Builder(GetPluginErrorAnalyticsPluginErrorAggregationCollection defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.items = defaults.items;
+        }
+
+        @CustomType.Setter
+        public Builder items(List items) {
+            if (items == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsPluginErrorAggregationCollection", "items");
+            }
+            this.items = items;
+            return this;
+        }
+        public Builder items(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem... items) {
+            return items(List.of(items));
+        }
+        public GetPluginErrorAnalyticsPluginErrorAggregationCollection build() {
+            final var _resultValue = new GetPluginErrorAnalyticsPluginErrorAggregationCollection();
+            _resultValue.items = items;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem.java
new file mode 100644
index 0000000000..c9c9ddb110
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation;
+import java.lang.Integer;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem {
+    /**
+     * @return Count of plugins with no problems.
+     * 
+     */
+    private Integer healthyPluginCount;
+    /**
+     * @return List of plugin aggregation errors.
+     * 
+     */
+    private List pluginErrorAggregations;
+
+    private GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem() {}
+    /**
+     * @return Count of plugins with no problems.
+     * 
+     */
+    public Integer healthyPluginCount() {
+        return this.healthyPluginCount;
+    }
+    /**
+     * @return List of plugin aggregation errors.
+     * 
+     */
+    public List pluginErrorAggregations() {
+        return this.pluginErrorAggregations;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private Integer healthyPluginCount;
+        private List pluginErrorAggregations;
+        public Builder() {}
+        public Builder(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.healthyPluginCount = defaults.healthyPluginCount;
+    	      this.pluginErrorAggregations = defaults.pluginErrorAggregations;
+        }
+
+        @CustomType.Setter
+        public Builder healthyPluginCount(Integer healthyPluginCount) {
+            if (healthyPluginCount == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem", "healthyPluginCount");
+            }
+            this.healthyPluginCount = healthyPluginCount;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder pluginErrorAggregations(List pluginErrorAggregations) {
+            if (pluginErrorAggregations == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem", "pluginErrorAggregations");
+            }
+            this.pluginErrorAggregations = pluginErrorAggregations;
+            return this;
+        }
+        public Builder pluginErrorAggregations(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation... pluginErrorAggregations) {
+            return pluginErrorAggregations(List.of(pluginErrorAggregations));
+        }
+        public GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem build() {
+            final var _resultValue = new GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem();
+            _resultValue.healthyPluginCount = healthyPluginCount;
+            _resultValue.pluginErrorAggregations = pluginErrorAggregations;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation.java
new file mode 100644
index 0000000000..a647570672
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation.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.Jms.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 GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation {
+    /**
+     * @return Number of FleetErrors encountered for the specific reason.
+     * 
+     */
+    private Integer pluginErrorAnalyticCount;
+    /**
+     * @return Enum that uniquely identifies the plugin error.
+     * 
+     */
+    private String reason;
+
+    private GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation() {}
+    /**
+     * @return Number of FleetErrors encountered for the specific reason.
+     * 
+     */
+    public Integer pluginErrorAnalyticCount() {
+        return this.pluginErrorAnalyticCount;
+    }
+    /**
+     * @return Enum that uniquely identifies the plugin error.
+     * 
+     */
+    public String reason() {
+        return this.reason;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private Integer pluginErrorAnalyticCount;
+        private String reason;
+        public Builder() {}
+        public Builder(GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.pluginErrorAnalyticCount = defaults.pluginErrorAnalyticCount;
+    	      this.reason = defaults.reason;
+        }
+
+        @CustomType.Setter
+        public Builder pluginErrorAnalyticCount(Integer pluginErrorAnalyticCount) {
+            if (pluginErrorAnalyticCount == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation", "pluginErrorAnalyticCount");
+            }
+            this.pluginErrorAnalyticCount = pluginErrorAnalyticCount;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder reason(String reason) {
+            if (reason == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation", "reason");
+            }
+            this.reason = reason;
+            return this;
+        }
+        public GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation build() {
+            final var _resultValue = new GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation();
+            _resultValue.pluginErrorAnalyticCount = pluginErrorAnalyticCount;
+            _resultValue.reason = reason;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsResult.java
new file mode 100644
index 0000000000..4beacaf628
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorAnalyticsResult.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorAnalyticsFilter;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollection;
+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 GetPluginErrorAnalyticsResult {
+    private @Nullable String compartmentId;
+    private @Nullable Boolean compartmentIdInSubtree;
+    private @Nullable List filters;
+    /**
+     * @return The provider-assigned unique ID for this managed resource.
+     * 
+     */
+    private String id;
+    /**
+     * @return The list of plugin_error_aggregation_collection.
+     * 
+     */
+    private List pluginErrorAggregationCollections;
+
+    private GetPluginErrorAnalyticsResult() {}
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+    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 plugin_error_aggregation_collection.
+     * 
+     */
+    public List pluginErrorAggregationCollections() {
+        return this.pluginErrorAggregationCollections;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorAnalyticsResult defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private @Nullable String compartmentId;
+        private @Nullable Boolean compartmentIdInSubtree;
+        private @Nullable List filters;
+        private String id;
+        private List pluginErrorAggregationCollections;
+        public Builder() {}
+        public Builder(GetPluginErrorAnalyticsResult defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.compartmentIdInSubtree = defaults.compartmentIdInSubtree;
+    	      this.filters = defaults.filters;
+    	      this.id = defaults.id;
+    	      this.pluginErrorAggregationCollections = defaults.pluginErrorAggregationCollections;
+        }
+
+        @CustomType.Setter
+        public Builder compartmentId(@Nullable String compartmentId) {
+
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+
+            this.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder filters(@Nullable List filters) {
+
+            this.filters = filters;
+            return this;
+        }
+        public Builder filters(GetPluginErrorAnalyticsFilter... filters) {
+            return filters(List.of(filters));
+        }
+        @CustomType.Setter
+        public Builder id(String id) {
+            if (id == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsResult", "id");
+            }
+            this.id = id;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder pluginErrorAggregationCollections(List pluginErrorAggregationCollections) {
+            if (pluginErrorAggregationCollections == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorAnalyticsResult", "pluginErrorAggregationCollections");
+            }
+            this.pluginErrorAggregationCollections = pluginErrorAggregationCollections;
+            return this;
+        }
+        public Builder pluginErrorAggregationCollections(GetPluginErrorAnalyticsPluginErrorAggregationCollection... pluginErrorAggregationCollections) {
+            return pluginErrorAggregationCollections(List.of(pluginErrorAggregationCollections));
+        }
+        public GetPluginErrorAnalyticsResult build() {
+            final var _resultValue = new GetPluginErrorAnalyticsResult();
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.compartmentIdInSubtree = compartmentIdInSubtree;
+            _resultValue.filters = filters;
+            _resultValue.id = id;
+            _resultValue.pluginErrorAggregationCollections = pluginErrorAggregationCollections;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsFilter.java
new file mode 100644
index 0000000000..7c14b2c319
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsFilter.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.Jms.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 GetPluginErrorsFilter {
+    private String name;
+    private @Nullable Boolean regex;
+    private List values;
+
+    private GetPluginErrorsFilter() {}
+    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(GetPluginErrorsFilter 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(GetPluginErrorsFilter 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("GetPluginErrorsFilter", "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("GetPluginErrorsFilter", "values");
+            }
+            this.values = values;
+            return this;
+        }
+        public Builder values(String... values) {
+            return values(List.of(values));
+        }
+        public GetPluginErrorsFilter build() {
+            final var _resultValue = new GetPluginErrorsFilter();
+            _resultValue.name = name;
+            _resultValue.regex = regex;
+            _resultValue.values = values;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollection.java
new file mode 100644
index 0000000000..10a6700795
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollection.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorsPluginErrorCollectionItem;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetPluginErrorsPluginErrorCollection {
+    /**
+     * @return A list of PluginErrorSummary.
+     * 
+     */
+    private List items;
+
+    private GetPluginErrorsPluginErrorCollection() {}
+    /**
+     * @return A list of PluginErrorSummary.
+     * 
+     */
+    public List items() {
+        return this.items;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorsPluginErrorCollection defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private List items;
+        public Builder() {}
+        public Builder(GetPluginErrorsPluginErrorCollection defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.items = defaults.items;
+        }
+
+        @CustomType.Setter
+        public Builder items(List items) {
+            if (items == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollection", "items");
+            }
+            this.items = items;
+            return this;
+        }
+        public Builder items(GetPluginErrorsPluginErrorCollectionItem... items) {
+            return items(List.of(items));
+        }
+        public GetPluginErrorsPluginErrorCollection build() {
+            final var _resultValue = new GetPluginErrorsPluginErrorCollection();
+            _resultValue.items = items;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItem.java
new file mode 100644
index 0000000000..e2938c9cbe
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItem.java
@@ -0,0 +1,201 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorsPluginErrorCollectionItemError;
+import java.lang.String;
+import java.util.List;
+import java.util.Objects;
+
+@CustomType
+public final class GetPluginErrorsPluginErrorCollectionItem {
+    /**
+     * @return The agent type.
+     * 
+     */
+    private String agentType;
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    private String compartmentId;
+    /**
+     * @return List of plugin error details.
+     * 
+     */
+    private List errors;
+    /**
+     * @return The HostName or Compute Instance name of the Managed Instance running the plugin.
+     * 
+     */
+    private String hostName;
+    /**
+     * @return The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    private String managedInstanceId;
+    /**
+     * @return The timestamp of the first time an error was detected.
+     * 
+     */
+    private String timeFirstSeen;
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    private String timeLastSeen;
+
+    private GetPluginErrorsPluginErrorCollectionItem() {}
+    /**
+     * @return The agent type.
+     * 
+     */
+    public String agentType() {
+        return this.agentType;
+    }
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
+     * 
+     */
+    public String compartmentId() {
+        return this.compartmentId;
+    }
+    /**
+     * @return List of plugin error details.
+     * 
+     */
+    public List errors() {
+        return this.errors;
+    }
+    /**
+     * @return The HostName or Compute Instance name of the Managed Instance running the plugin.
+     * 
+     */
+    public String hostName() {
+        return this.hostName;
+    }
+    /**
+     * @return The Fleet-unique identifier of the managed instance.
+     * 
+     */
+    public String managedInstanceId() {
+        return this.managedInstanceId;
+    }
+    /**
+     * @return The timestamp of the first time an error was detected.
+     * 
+     */
+    public String timeFirstSeen() {
+        return this.timeFirstSeen;
+    }
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    public String timeLastSeen() {
+        return this.timeLastSeen;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorsPluginErrorCollectionItem defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private String agentType;
+        private String compartmentId;
+        private List errors;
+        private String hostName;
+        private String managedInstanceId;
+        private String timeFirstSeen;
+        private String timeLastSeen;
+        public Builder() {}
+        public Builder(GetPluginErrorsPluginErrorCollectionItem defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.agentType = defaults.agentType;
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.errors = defaults.errors;
+    	      this.hostName = defaults.hostName;
+    	      this.managedInstanceId = defaults.managedInstanceId;
+    	      this.timeFirstSeen = defaults.timeFirstSeen;
+    	      this.timeLastSeen = defaults.timeLastSeen;
+        }
+
+        @CustomType.Setter
+        public Builder agentType(String agentType) {
+            if (agentType == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "agentType");
+            }
+            this.agentType = agentType;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder compartmentId(String compartmentId) {
+            if (compartmentId == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "compartmentId");
+            }
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder errors(List errors) {
+            if (errors == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "errors");
+            }
+            this.errors = errors;
+            return this;
+        }
+        public Builder errors(GetPluginErrorsPluginErrorCollectionItemError... errors) {
+            return errors(List.of(errors));
+        }
+        @CustomType.Setter
+        public Builder hostName(String hostName) {
+            if (hostName == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "hostName");
+            }
+            this.hostName = hostName;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder managedInstanceId(String managedInstanceId) {
+            if (managedInstanceId == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "managedInstanceId");
+            }
+            this.managedInstanceId = managedInstanceId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeen(String timeFirstSeen) {
+            if (timeFirstSeen == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "timeFirstSeen");
+            }
+            this.timeFirstSeen = timeFirstSeen;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeen(String timeLastSeen) {
+            if (timeLastSeen == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItem", "timeLastSeen");
+            }
+            this.timeLastSeen = timeLastSeen;
+            return this;
+        }
+        public GetPluginErrorsPluginErrorCollectionItem build() {
+            final var _resultValue = new GetPluginErrorsPluginErrorCollectionItem();
+            _resultValue.agentType = agentType;
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.errors = errors;
+            _resultValue.hostName = hostName;
+            _resultValue.managedInstanceId = managedInstanceId;
+            _resultValue.timeFirstSeen = timeFirstSeen;
+            _resultValue.timeLastSeen = timeLastSeen;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItemError.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItemError.java
new file mode 100644
index 0000000000..10a0c91c7a
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsPluginErrorCollectionItemError.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import java.lang.String;
+import java.util.Objects;
+
+@CustomType
+public final class GetPluginErrorsPluginErrorCollectionItemError {
+    /**
+     * @return Optional string containing additional details.
+     * 
+     */
+    private String details;
+    /**
+     * @return The plugin error reason.
+     * 
+     */
+    private String reason;
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    private String timeLastSeen;
+
+    private GetPluginErrorsPluginErrorCollectionItemError() {}
+    /**
+     * @return Optional string containing additional details.
+     * 
+     */
+    public String details() {
+        return this.details;
+    }
+    /**
+     * @return The plugin error reason.
+     * 
+     */
+    public String reason() {
+        return this.reason;
+    }
+    /**
+     * @return The timestamp of the last time an error was detected.
+     * 
+     */
+    public String timeLastSeen() {
+        return this.timeLastSeen;
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorsPluginErrorCollectionItemError defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private String details;
+        private String reason;
+        private String timeLastSeen;
+        public Builder() {}
+        public Builder(GetPluginErrorsPluginErrorCollectionItemError defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.details = defaults.details;
+    	      this.reason = defaults.reason;
+    	      this.timeLastSeen = defaults.timeLastSeen;
+        }
+
+        @CustomType.Setter
+        public Builder details(String details) {
+            if (details == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItemError", "details");
+            }
+            this.details = details;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder reason(String reason) {
+            if (reason == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItemError", "reason");
+            }
+            this.reason = reason;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeen(String timeLastSeen) {
+            if (timeLastSeen == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsPluginErrorCollectionItemError", "timeLastSeen");
+            }
+            this.timeLastSeen = timeLastSeen;
+            return this;
+        }
+        public GetPluginErrorsPluginErrorCollectionItemError build() {
+            final var _resultValue = new GetPluginErrorsPluginErrorCollectionItemError();
+            _resultValue.details = details;
+            _resultValue.reason = reason;
+            _resultValue.timeLastSeen = timeLastSeen;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsResult.java
new file mode 100644
index 0000000000..65b090de45
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/Jms/outputs/GetPluginErrorsResult.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.Jms.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorsFilter;
+import com.pulumi.oci.Jms.outputs.GetPluginErrorsPluginErrorCollection;
+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 GetPluginErrorsResult {
+    /**
+     * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    private @Nullable String compartmentId;
+    private @Nullable Boolean compartmentIdInSubtree;
+    private @Nullable List filters;
+    /**
+     * @return The provider-assigned unique ID for this managed resource.
+     * 
+     */
+    private String id;
+    /**
+     * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin.
+     * 
+     */
+    private @Nullable String managedInstanceId;
+    /**
+     * @return The list of plugin_error_collection.
+     * 
+     */
+    private List pluginErrorCollections;
+    private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+    private @Nullable String timeFirstSeenLessThanOrEqualTo;
+    private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+    private @Nullable String timeLastSeenLessThanOrEqualTo;
+
+    private GetPluginErrorsResult() {}
+    /**
+     * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
+     * 
+     */
+    public Optional compartmentId() {
+        return Optional.ofNullable(this.compartmentId);
+    }
+    public Optional compartmentIdInSubtree() {
+        return Optional.ofNullable(this.compartmentIdInSubtree);
+    }
+    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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin.
+     * 
+     */
+    public Optional managedInstanceId() {
+        return Optional.ofNullable(this.managedInstanceId);
+    }
+    /**
+     * @return The list of plugin_error_collection.
+     * 
+     */
+    public List pluginErrorCollections() {
+        return this.pluginErrorCollections;
+    }
+    public Optional timeFirstSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenGreaterThanOrEqualTo);
+    }
+    public Optional timeFirstSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeFirstSeenLessThanOrEqualTo);
+    }
+    public Optional timeLastSeenGreaterThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenGreaterThanOrEqualTo);
+    }
+    public Optional timeLastSeenLessThanOrEqualTo() {
+        return Optional.ofNullable(this.timeLastSeenLessThanOrEqualTo);
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    public static Builder builder(GetPluginErrorsResult defaults) {
+        return new Builder(defaults);
+    }
+    @CustomType.Builder
+    public static final class Builder {
+        private @Nullable String compartmentId;
+        private @Nullable Boolean compartmentIdInSubtree;
+        private @Nullable List filters;
+        private String id;
+        private @Nullable String managedInstanceId;
+        private List pluginErrorCollections;
+        private @Nullable String timeFirstSeenGreaterThanOrEqualTo;
+        private @Nullable String timeFirstSeenLessThanOrEqualTo;
+        private @Nullable String timeLastSeenGreaterThanOrEqualTo;
+        private @Nullable String timeLastSeenLessThanOrEqualTo;
+        public Builder() {}
+        public Builder(GetPluginErrorsResult defaults) {
+    	      Objects.requireNonNull(defaults);
+    	      this.compartmentId = defaults.compartmentId;
+    	      this.compartmentIdInSubtree = defaults.compartmentIdInSubtree;
+    	      this.filters = defaults.filters;
+    	      this.id = defaults.id;
+    	      this.managedInstanceId = defaults.managedInstanceId;
+    	      this.pluginErrorCollections = defaults.pluginErrorCollections;
+    	      this.timeFirstSeenGreaterThanOrEqualTo = defaults.timeFirstSeenGreaterThanOrEqualTo;
+    	      this.timeFirstSeenLessThanOrEqualTo = defaults.timeFirstSeenLessThanOrEqualTo;
+    	      this.timeLastSeenGreaterThanOrEqualTo = defaults.timeLastSeenGreaterThanOrEqualTo;
+    	      this.timeLastSeenLessThanOrEqualTo = defaults.timeLastSeenLessThanOrEqualTo;
+        }
+
+        @CustomType.Setter
+        public Builder compartmentId(@Nullable String compartmentId) {
+
+            this.compartmentId = compartmentId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) {
+
+            this.compartmentIdInSubtree = compartmentIdInSubtree;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder filters(@Nullable List filters) {
+
+            this.filters = filters;
+            return this;
+        }
+        public Builder filters(GetPluginErrorsFilter... filters) {
+            return filters(List.of(filters));
+        }
+        @CustomType.Setter
+        public Builder id(String id) {
+            if (id == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsResult", "id");
+            }
+            this.id = id;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder managedInstanceId(@Nullable String managedInstanceId) {
+
+            this.managedInstanceId = managedInstanceId;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder pluginErrorCollections(List pluginErrorCollections) {
+            if (pluginErrorCollections == null) {
+              throw new MissingRequiredPropertyException("GetPluginErrorsResult", "pluginErrorCollections");
+            }
+            this.pluginErrorCollections = pluginErrorCollections;
+            return this;
+        }
+        public Builder pluginErrorCollections(GetPluginErrorsPluginErrorCollection... pluginErrorCollections) {
+            return pluginErrorCollections(List.of(pluginErrorCollections));
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeenGreaterThanOrEqualTo(@Nullable String timeFirstSeenGreaterThanOrEqualTo) {
+
+            this.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeFirstSeenLessThanOrEqualTo(@Nullable String timeFirstSeenLessThanOrEqualTo) {
+
+            this.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeenGreaterThanOrEqualTo(@Nullable String timeLastSeenGreaterThanOrEqualTo) {
+
+            this.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            return this;
+        }
+        @CustomType.Setter
+        public Builder timeLastSeenLessThanOrEqualTo(@Nullable String timeLastSeenLessThanOrEqualTo) {
+
+            this.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return this;
+        }
+        public GetPluginErrorsResult build() {
+            final var _resultValue = new GetPluginErrorsResult();
+            _resultValue.compartmentId = compartmentId;
+            _resultValue.compartmentIdInSubtree = compartmentIdInSubtree;
+            _resultValue.filters = filters;
+            _resultValue.id = id;
+            _resultValue.managedInstanceId = managedInstanceId;
+            _resultValue.pluginErrorCollections = pluginErrorCollections;
+            _resultValue.timeFirstSeenGreaterThanOrEqualTo = timeFirstSeenGreaterThanOrEqualTo;
+            _resultValue.timeFirstSeenLessThanOrEqualTo = timeFirstSeenLessThanOrEqualTo;
+            _resultValue.timeLastSeenGreaterThanOrEqualTo = timeLastSeenGreaterThanOrEqualTo;
+            _resultValue.timeLastSeenLessThanOrEqualTo = timeLastSeenLessThanOrEqualTo;
+            return _resultValue;
+        }
+    }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/oci/Provider.java b/sdk/java/src/main/java/com/pulumi/oci/Provider.java
index 816f2d45f6..ce30a76c1d 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/Provider.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/Provider.java
@@ -145,6 +145,12 @@ public Output> region() {
     public Output> tenancyOcid() {
         return Codegen.optional(this.tenancyOcid);
     }
+    @Export(name="testTimeMaintenanceRebootDue", refs={String.class}, tree="[0]")
+    private Output testTimeMaintenanceRebootDue;
+
+    public Output> testTimeMaintenanceRebootDue() {
+        return Codegen.optional(this.testTimeMaintenanceRebootDue);
+    }
     /**
      * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if
      * auth is set to 'ApiKey', ignored otherwise.
diff --git a/sdk/java/src/main/java/com/pulumi/oci/ProviderArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ProviderArgs.java
index 1761aa046d..d11b52a3aa 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/ProviderArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/ProviderArgs.java
@@ -206,6 +206,13 @@ public Optional> tenancyOcid() {
         return Optional.ofNullable(this.tenancyOcid);
     }
 
+    @Import(name="testTimeMaintenanceRebootDue")
+    private @Nullable Output testTimeMaintenanceRebootDue;
+
+    public Optional> testTimeMaintenanceRebootDue() {
+        return Optional.ofNullable(this.testTimeMaintenanceRebootDue);
+    }
+
     /**
      * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if
      * auth is set to 'ApiKey', ignored otherwise.
@@ -238,6 +245,7 @@ private ProviderArgs(ProviderArgs $) {
         this.region = $.region;
         this.retryDurationSeconds = $.retryDurationSeconds;
         this.tenancyOcid = $.tenancyOcid;
+        this.testTimeMaintenanceRebootDue = $.testTimeMaintenanceRebootDue;
         this.userOcid = $.userOcid;
     }
 
@@ -519,6 +527,15 @@ public Builder tenancyOcid(String tenancyOcid) {
             return tenancyOcid(Output.of(tenancyOcid));
         }
 
+        public Builder testTimeMaintenanceRebootDue(@Nullable Output testTimeMaintenanceRebootDue) {
+            $.testTimeMaintenanceRebootDue = testTimeMaintenanceRebootDue;
+            return this;
+        }
+
+        public Builder testTimeMaintenanceRebootDue(String testTimeMaintenanceRebootDue) {
+            return testTimeMaintenanceRebootDue(Output.of(testTimeMaintenanceRebootDue));
+        }
+
         /**
          * @param userOcid (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if
          * auth is set to 'ApiKey', ignored otherwise.
diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MetricExtension.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MetricExtension.java
index de6b9757ed..8dee605492 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MetricExtension.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MetricExtension.java
@@ -209,14 +209,14 @@ public Output displayName() {
         return this.displayName;
     }
     /**
-     * List of resource objects on which this metric extension is enabled.
+     * List of resource details objects having resourceIds on which this metric extension is enabled.
      * 
      */
     @Export(name="enabledOnResources", refs={List.class,MetricExtensionEnabledOnResource.class}, tree="[0,1]")
     private Output> enabledOnResources;
 
     /**
-     * @return List of resource objects on which this metric extension is enabled.
+     * @return List of resource details objects having resourceIds on which this metric extension is enabled.
      * 
      */
     public Output> enabledOnResources() {
diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoredResourceType.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoredResourceType.java
index 865f38a265..26b7c29318 100644
--- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoredResourceType.java
+++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoredResourceType.java
@@ -64,6 +64,7 @@
  *                 .validPropertiesForCreates(monitoredResourceTypeMetadataValidPropertiesForCreate)
  *                 .validPropertiesForUpdates(monitoredResourceTypeMetadataValidPropertiesForUpdate)
  *                 .validPropertyValues(monitoredResourceTypeMetadataValidPropertyValues)
+ *                 .validSubResourceTypes(monitoredResourceTypeMetadataValidSubResourceTypes)
  *                 .build())
  *             .metricNamespace(monitoredResourceTypeMetricNamespace)
  *             .resourceCategory(monitoredResourceTypeResourceCategory)
@@ -87,6 +88,20 @@
  */
 @ResourceType(type="oci:StackMonitoring/monitoredResourceType:MonitoredResourceType")
 public class MonitoredResourceType extends com.pulumi.resources.CustomResource {
+    /**
+     * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
+     * 
+     */
+    @Export(name="additionalNamespaceMap", refs={Map.class,String.class}, tree="[0,1,1]")
+    private Output> additionalNamespaceMap;
+
+    /**
+     * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
+     * 
+     */
+    public Output> additionalNamespaceMap() {
+        return this.additionalNamespaceMap;
+    }
     /**
      * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type.
      * 
diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplate.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplate.java
new file mode 100644
index 0000000000..3efaa4a51f
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplate.java
@@ -0,0 +1,415 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.oci.StackMonitoring;
+
+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.StackMonitoring.MonitoringTemplateArgs;
+import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateState;
+import com.pulumi.oci.StackMonitoring.outputs.MonitoringTemplateMember;
+import com.pulumi.oci.Utilities;
+import java.lang.Boolean;
+import java.lang.Double;
+import java.lang.String;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Nullable;
+
+/**
+ * This resource provides the Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service.
+ * 
+ * Creates a new monitoring template for a given 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.StackMonitoring.MonitoringTemplate;
+ * import com.pulumi.oci.StackMonitoring.MonitoringTemplateArgs;
+ * import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateMemberArgs;
+ * 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 testMonitoringTemplate = new MonitoringTemplate("testMonitoringTemplate", MonitoringTemplateArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .destinations(monitoringTemplateDestinations)
+ *             .displayName(monitoringTemplateDisplayName)
+ *             .members(MonitoringTemplateMemberArgs.builder()
+ *                 .id(monitoringTemplateMembersId)
+ *                 .type(monitoringTemplateMembersType)
+ *                 .compositeType(monitoringTemplateMembersCompositeType)
+ *                 .build())
+ *             .definedTags(Map.of("foo-namespace.bar-key", "value"))
+ *             .description(monitoringTemplateDescription)
+ *             .freeformTags(Map.of("bar-key", "value"))
+ *             .isAlarmsEnabled(monitoringTemplateIsAlarmsEnabled)
+ *             .isSplitNotificationEnabled(monitoringTemplateIsSplitNotificationEnabled)
+ *             .messageFormat(monitoringTemplateMessageFormat)
+ *             .repeatNotificationDuration(monitoringTemplateRepeatNotificationDuration)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * MonitoringTemplates can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "id" + * ``` + * + */ +@ResourceType(type="oci:StackMonitoring/monitoringTemplate:MonitoringTemplate") +public class MonitoringTemplate extends com.pulumi.resources.CustomResource { + /** + * The OCID of the compartment containing the monitoringTemplate. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + @Export(name="destinations", refs={List.class,String.class}, tree="[0,1]") + private Output> destinations; + + /** + * @return (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + public Output> destinations() { + return this.destinations; + } + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class}, 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) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + @Export(name="isAlarmsEnabled", refs={Boolean.class}, tree="[0]") + private Output isAlarmsEnabled; + + /** + * @return (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + public Output isAlarmsEnabled() { + return this.isAlarmsEnabled; + } + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + @Export(name="isSplitNotificationEnabled", refs={Boolean.class}, tree="[0]") + private Output isSplitNotificationEnabled; + + /** + * @return (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + public Output isSplitNotificationEnabled() { + return this.isSplitNotificationEnabled; + } + /** + * (Updatable) List of members of this monitoring template + * + */ + @Export(name="members", refs={List.class,MonitoringTemplateMember.class}, tree="[0,1]") + private Output> members; + + /** + * @return (Updatable) List of members of this monitoring template + * + */ + public Output> members() { + return this.members; + } + /** + * (Updatable) The format to use for alarm notifications. + * + */ + @Export(name="messageFormat", refs={String.class}, tree="[0]") + private Output messageFormat; + + /** + * @return (Updatable) The format to use for alarm notifications. + * + */ + public Output messageFormat() { + return this.messageFormat; + } + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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="repeatNotificationDuration", refs={String.class}, tree="[0]") + private Output repeatNotificationDuration; + + /** + * @return (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration() { + return this.repeatNotificationDuration; + } + /** + * The current lifecycle state of the monitoring template. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current lifecycle state of the monitoring template. + * + */ + public Output state() { + return this.state; + } + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + @Export(name="status", refs={String.class}, tree="[0]") + private Output status; + + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + public Output status() { + return this.status; + } + /** + * 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; + } + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + @Export(name="tenantId", refs={String.class}, tree="[0]") + private Output tenantId; + + /** + * @return Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + public Output tenantId() { + return this.tenantId; + } + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + /** + * Total Alarm Conditions + * + */ + @Export(name="totalAlarmConditions", refs={Double.class}, tree="[0]") + private Output totalAlarmConditions; + + /** + * @return Total Alarm Conditions + * + */ + public Output totalAlarmConditions() { + return this.totalAlarmConditions; + } + /** + * Total Applied Alarm Conditions + * + */ + @Export(name="totalAppliedAlarmConditions", refs={Double.class}, tree="[0]") + private Output totalAppliedAlarmConditions; + + /** + * @return Total Applied Alarm Conditions + * + */ + public Output totalAppliedAlarmConditions() { + return this.totalAppliedAlarmConditions; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public MonitoringTemplate(java.lang.String name) { + this(name, MonitoringTemplateArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public MonitoringTemplate(java.lang.String name, MonitoringTemplateArgs 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 MonitoringTemplate(java.lang.String name, MonitoringTemplateArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private MonitoringTemplate(java.lang.String name, Output id, @Nullable MonitoringTemplateState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplate:MonitoringTemplate", name, state, makeResourceOptions(options, id), false); + } + + private static MonitoringTemplateArgs makeArgs(MonitoringTemplateArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? MonitoringTemplateArgs.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 MonitoringTemplate get(java.lang.String name, Output id, @Nullable MonitoringTemplateState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new MonitoringTemplate(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmCondition.java new file mode 100644 index 0000000000..5a3d400a0d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmCondition.java @@ -0,0 +1,344 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring; + +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.StackMonitoring.MonitoringTemplateAlarmConditionArgs; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateAlarmConditionState; +import com.pulumi.oci.StackMonitoring.outputs.MonitoringTemplateAlarmConditionCondition; +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 Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Create a new alarm condition in same monitoringTemplate 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.StackMonitoring.MonitoringTemplateAlarmCondition;
+ * import com.pulumi.oci.StackMonitoring.MonitoringTemplateAlarmConditionArgs;
+ * import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateAlarmConditionConditionArgs;
+ * 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 testMonitoringTemplateAlarmCondition = new MonitoringTemplateAlarmCondition("testMonitoringTemplateAlarmCondition", MonitoringTemplateAlarmConditionArgs.builder()
+ *             .conditionType(monitoringTemplateAlarmConditionConditionType)
+ *             .conditions(MonitoringTemplateAlarmConditionConditionArgs.builder()
+ *                 .query(monitoringTemplateAlarmConditionConditionsQuery)
+ *                 .severity(monitoringTemplateAlarmConditionConditionsSeverity)
+ *                 .body(monitoringTemplateAlarmConditionConditionsBody)
+ *                 .shouldAppendNote(monitoringTemplateAlarmConditionConditionsShouldAppendNote)
+ *                 .shouldAppendUrl(monitoringTemplateAlarmConditionConditionsShouldAppendUrl)
+ *                 .triggerDelay(monitoringTemplateAlarmConditionConditionsTriggerDelay)
+ *                 .build())
+ *             .metricName(testMetric.name())
+ *             .monitoringTemplateId(testMonitoringTemplate.id())
+ *             .namespace(monitoringTemplateAlarmConditionNamespace)
+ *             .resourceType(monitoringTemplateAlarmConditionResourceType)
+ *             .compositeType(monitoringTemplateAlarmConditionCompositeType)
+ *             .definedTags(Map.of("foo-namespace.bar-key", "value"))
+ *             .freeformTags(Map.of("bar-key", "value"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" + * ``` + * + */ +@ResourceType(type="oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition") +public class MonitoringTemplateAlarmCondition extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + @Export(name="compositeType", refs={String.class}, tree="[0]") + private Output compositeType; + + /** + * @return (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + public Output compositeType() { + return this.compositeType; + } + /** + * (Updatable) Type of defined monitoring template. + * + */ + @Export(name="conditionType", refs={String.class}, tree="[0]") + private Output conditionType; + + /** + * @return (Updatable) Type of defined monitoring template. + * + */ + public Output conditionType() { + return this.conditionType; + } + /** + * (Updatable) Monitoring template conditions. + * + */ + @Export(name="conditions", refs={List.class,MonitoringTemplateAlarmConditionCondition.class}, tree="[0,1]") + private Output> conditions; + + /** + * @return (Updatable) Monitoring template conditions. + * + */ + public Output> conditions() { + return this.conditions; + } + /** + * (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) 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) The metric name. + * + */ + @Export(name="metricName", refs={String.class}, tree="[0]") + private Output metricName; + + /** + * @return (Updatable) The metric name. + * + */ + public Output metricName() { + return this.metricName; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Export(name="monitoringTemplateId", refs={String.class}, tree="[0]") + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + @Export(name="namespace", refs={String.class}, tree="[0]") + private Output namespace; + + /** + * @return (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public Output namespace() { + return this.namespace; + } + /** + * (Updatable) The resource group 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 + * + */ + @Export(name="resourceType", refs={String.class}, tree="[0]") + private Output resourceType; + + /** + * @return (Updatable) The resource group 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 resourceType() { + return this.resourceType; + } + /** + * The current lifecycle state of the monitoring template + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current lifecycle state of the monitoring template + * + */ + public Output state() { + return this.state; + } + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + @Export(name="status", refs={String.class}, tree="[0]") + private Output status; + + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + public Output status() { + return this.status; + } + /** + * 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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time the alarm condition was created. Format defined by RFC3339. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public MonitoringTemplateAlarmCondition(java.lang.String name) { + this(name, MonitoringTemplateAlarmConditionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public MonitoringTemplateAlarmCondition(java.lang.String name, MonitoringTemplateAlarmConditionArgs 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 MonitoringTemplateAlarmCondition(java.lang.String name, MonitoringTemplateAlarmConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private MonitoringTemplateAlarmCondition(java.lang.String name, Output id, @Nullable MonitoringTemplateAlarmConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition", name, state, makeResourceOptions(options, id), false); + } + + private static MonitoringTemplateAlarmConditionArgs makeArgs(MonitoringTemplateAlarmConditionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? MonitoringTemplateAlarmConditionArgs.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 MonitoringTemplateAlarmCondition get(java.lang.String name, Output id, @Nullable MonitoringTemplateAlarmConditionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new MonitoringTemplateAlarmCondition(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmConditionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmConditionArgs.java new file mode 100644 index 0000000000..d30551efe0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateAlarmConditionArgs.java @@ -0,0 +1,423 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateAlarmConditionConditionArgs; +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 MonitoringTemplateAlarmConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateAlarmConditionArgs Empty = new MonitoringTemplateAlarmConditionArgs(); + + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + @Import(name="compositeType") + private @Nullable Output compositeType; + + /** + * @return (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + public Optional> compositeType() { + return Optional.ofNullable(this.compositeType); + } + + /** + * (Updatable) Type of defined monitoring template. + * + */ + @Import(name="conditionType", required=true) + private Output conditionType; + + /** + * @return (Updatable) Type of defined monitoring template. + * + */ + public Output conditionType() { + return this.conditionType; + } + + /** + * (Updatable) Monitoring template conditions. + * + */ + @Import(name="conditions", required=true) + private Output> conditions; + + /** + * @return (Updatable) Monitoring template conditions. + * + */ + public Output> conditions() { + return this.conditions; + } + + /** + * (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) 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 metric name. + * + */ + @Import(name="metricName", required=true) + private Output metricName; + + /** + * @return (Updatable) The metric name. + * + */ + public Output metricName() { + return this.metricName; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + @Import(name="namespace", required=true) + private Output namespace; + + /** + * @return (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public Output namespace() { + return this.namespace; + } + + /** + * (Updatable) The resource group 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="resourceType", required=true) + private Output resourceType; + + /** + * @return (Updatable) The resource group 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 resourceType() { + return this.resourceType; + } + + private MonitoringTemplateAlarmConditionArgs() {} + + private MonitoringTemplateAlarmConditionArgs(MonitoringTemplateAlarmConditionArgs $) { + this.compositeType = $.compositeType; + this.conditionType = $.conditionType; + this.conditions = $.conditions; + this.definedTags = $.definedTags; + this.freeformTags = $.freeformTags; + this.metricName = $.metricName; + this.monitoringTemplateId = $.monitoringTemplateId; + this.namespace = $.namespace; + this.resourceType = $.resourceType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateAlarmConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateAlarmConditionArgs $; + + public Builder() { + $ = new MonitoringTemplateAlarmConditionArgs(); + } + + public Builder(MonitoringTemplateAlarmConditionArgs defaults) { + $ = new MonitoringTemplateAlarmConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + * @return builder + * + */ + public Builder compositeType(@Nullable Output compositeType) { + $.compositeType = compositeType; + return this; + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + * @return builder + * + */ + public Builder compositeType(String compositeType) { + return compositeType(Output.of(compositeType)); + } + + /** + * @param conditionType (Updatable) Type of defined monitoring template. + * + * @return builder + * + */ + public Builder conditionType(Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType (Updatable) Type of defined monitoring template. + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(Output> conditions) { + $.conditions = conditions; + return this; + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(List conditions) { + return conditions(Output.of(conditions)); + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(MonitoringTemplateAlarmConditionConditionArgs... conditions) { + return conditions(List.of(conditions)); + } + + /** + * @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 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 metricName (Updatable) The metric name. + * + * @return builder + * + */ + public Builder metricName(Output metricName) { + $.metricName = metricName; + return this; + } + + /** + * @param metricName (Updatable) The metric name. + * + * @return builder + * + */ + public Builder metricName(String metricName) { + return metricName(Output.of(metricName)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + /** + * @param namespace (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + * @return builder + * + */ + public Builder namespace(Output namespace) { + $.namespace = namespace; + return this; + } + + /** + * @param namespace (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + * @return builder + * + */ + public Builder namespace(String namespace) { + return namespace(Output.of(namespace)); + } + + /** + * @param resourceType (Updatable) The resource group 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 + * + */ + public Builder resourceType(Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType (Updatable) The resource group 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 + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + public MonitoringTemplateAlarmConditionArgs build() { + if ($.conditionType == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "conditionType"); + } + if ($.conditions == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "conditions"); + } + if ($.metricName == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "metricName"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "monitoringTemplateId"); + } + if ($.namespace == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "namespace"); + } + if ($.resourceType == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionArgs", "resourceType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateArgs.java new file mode 100644 index 0000000000..08506d929a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateArgs.java @@ -0,0 +1,502 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateMemberArgs; +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; + + +public final class MonitoringTemplateArgs extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateArgs Empty = new MonitoringTemplateArgs(); + + /** + * The OCID of the compartment containing the monitoringTemplate. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + @Import(name="destinations", required=true) + private Output> destinations; + + /** + * @return (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + public Output> destinations() { + return this.destinations; + } + + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + @Import(name="isAlarmsEnabled") + private @Nullable Output isAlarmsEnabled; + + /** + * @return (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + public Optional> isAlarmsEnabled() { + return Optional.ofNullable(this.isAlarmsEnabled); + } + + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + @Import(name="isSplitNotificationEnabled") + private @Nullable Output isSplitNotificationEnabled; + + /** + * @return (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + public Optional> isSplitNotificationEnabled() { + return Optional.ofNullable(this.isSplitNotificationEnabled); + } + + /** + * (Updatable) List of members of this monitoring template + * + */ + @Import(name="members", required=true) + private Output> members; + + /** + * @return (Updatable) List of members of this monitoring template + * + */ + public Output> members() { + return this.members; + } + + /** + * (Updatable) The format to use for alarm notifications. + * + */ + @Import(name="messageFormat") + private @Nullable Output messageFormat; + + /** + * @return (Updatable) The format to use for alarm notifications. + * + */ + public Optional> messageFormat() { + return Optional.ofNullable(this.messageFormat); + } + + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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="repeatNotificationDuration") + private @Nullable Output repeatNotificationDuration; + + /** + * @return (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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> repeatNotificationDuration() { + return Optional.ofNullable(this.repeatNotificationDuration); + } + + private MonitoringTemplateArgs() {} + + private MonitoringTemplateArgs(MonitoringTemplateArgs $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.destinations = $.destinations; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.isAlarmsEnabled = $.isAlarmsEnabled; + this.isSplitNotificationEnabled = $.isSplitNotificationEnabled; + this.members = $.members; + this.messageFormat = $.messageFormat; + this.repeatNotificationDuration = $.repeatNotificationDuration; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateArgs $; + + public Builder() { + $ = new MonitoringTemplateArgs(); + } + + public Builder(MonitoringTemplateArgs defaults) { + $ = new MonitoringTemplateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment containing the monitoringTemplate. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment containing the monitoringTemplate. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(Output> destinations) { + $.destinations = destinations; + return this; + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(List destinations) { + return destinations(Output.of(destinations)); + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(String... destinations) { + return destinations(List.of(destinations)); + } + + /** + * @param displayName (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param isAlarmsEnabled (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isAlarmsEnabled(@Nullable Output isAlarmsEnabled) { + $.isAlarmsEnabled = isAlarmsEnabled; + return this; + } + + /** + * @param isAlarmsEnabled (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isAlarmsEnabled(Boolean isAlarmsEnabled) { + return isAlarmsEnabled(Output.of(isAlarmsEnabled)); + } + + /** + * @param isSplitNotificationEnabled (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isSplitNotificationEnabled(@Nullable Output isSplitNotificationEnabled) { + $.isSplitNotificationEnabled = isSplitNotificationEnabled; + return this; + } + + /** + * @param isSplitNotificationEnabled (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isSplitNotificationEnabled(Boolean isSplitNotificationEnabled) { + return isSplitNotificationEnabled(Output.of(isSplitNotificationEnabled)); + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(Output> members) { + $.members = members; + return this; + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(List members) { + return members(Output.of(members)); + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(MonitoringTemplateMemberArgs... members) { + return members(List.of(members)); + } + + /** + * @param messageFormat (Updatable) The format to use for alarm notifications. + * + * @return builder + * + */ + public Builder messageFormat(@Nullable Output messageFormat) { + $.messageFormat = messageFormat; + return this; + } + + /** + * @param messageFormat (Updatable) The format to use for alarm notifications. + * + * @return builder + * + */ + public Builder messageFormat(String messageFormat) { + return messageFormat(Output.of(messageFormat)); + } + + /** + * @param repeatNotificationDuration (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration(@Nullable Output repeatNotificationDuration) { + $.repeatNotificationDuration = repeatNotificationDuration; + return this; + } + + /** + * @param repeatNotificationDuration (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration(String repeatNotificationDuration) { + return repeatNotificationDuration(Output.of(repeatNotificationDuration)); + } + + public MonitoringTemplateArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateArgs", "compartmentId"); + } + if ($.destinations == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateArgs", "destinations"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateArgs", "displayName"); + } + if ($.members == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateArgs", "members"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.java new file mode 100644 index 0000000000..b83bc3ef0f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.java @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring; + +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.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Apply the Monitoring Template identified by the 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.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement;
+ * import com.pulumi.oci.StackMonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs;
+ * 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 testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.builder()
+ *             .monitoringTemplateId(testMonitoringTemplate.id())
+ *             .enableMonitoringTemplateOnGivenResources(enableMonitoringTemplateOnGivenResources)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + */ +@ResourceType(type="oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement") +public class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement extends com.pulumi.resources.CustomResource { + /** + * (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="enableMonitoringTemplateOnGivenResources", refs={Boolean.class}, tree="[0]") + private Output enableMonitoringTemplateOnGivenResources; + + /** + * @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 enableMonitoringTemplateOnGivenResources() { + return this.enableMonitoringTemplateOnGivenResources; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Export(name="monitoringTemplateId", refs={String.class}, tree="[0]") + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(java.lang.String name) { + this(name, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(java.lang.String name, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(java.lang.String name, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(java.lang.String name, Output id, @Nullable MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement", name, state, makeResourceOptions(options, id), false); + } + + private static MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs makeArgs(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement get(java.lang.String name, Output id, @Nullable MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.java new file mode 100644 index 0000000000..d29b7ea03b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.java @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring; + +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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs Empty = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(); + + /** + * (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="enableMonitoringTemplateOnGivenResources", required=true) + private Output enableMonitoringTemplateOnGivenResources; + + /** + * @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 enableMonitoringTemplateOnGivenResources() { + return this.enableMonitoringTemplateOnGivenResources; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs() {} + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs $) { + this.enableMonitoringTemplateOnGivenResources = $.enableMonitoringTemplateOnGivenResources; + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs $; + + public Builder() { + $ = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(); + } + + public Builder(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs defaults) { + $ = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param enableMonitoringTemplateOnGivenResources (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 enableMonitoringTemplateOnGivenResources(Output enableMonitoringTemplateOnGivenResources) { + $.enableMonitoringTemplateOnGivenResources = enableMonitoringTemplateOnGivenResources; + return this; + } + + /** + * @param enableMonitoringTemplateOnGivenResources (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 enableMonitoringTemplateOnGivenResources(Boolean enableMonitoringTemplateOnGivenResources) { + return enableMonitoringTemplateOnGivenResources(Output.of(enableMonitoringTemplateOnGivenResources)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs build() { + if ($.enableMonitoringTemplateOnGivenResources == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs", "enableMonitoringTemplateOnGivenResources"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/StackMonitoringFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/StackMonitoringFunctions.java index 3ce9983d53..63b2c7b4e9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/StackMonitoringFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/StackMonitoringFunctions.java @@ -18,6 +18,8 @@ import com.pulumi.oci.StackMonitoring.inputs.GetConfigPlainArgs; import com.pulumi.oci.StackMonitoring.inputs.GetConfigsArgs; import com.pulumi.oci.StackMonitoring.inputs.GetConfigsPlainArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesPlainArgs; import com.pulumi.oci.StackMonitoring.inputs.GetDiscoveryJobArgs; import com.pulumi.oci.StackMonitoring.inputs.GetDiscoveryJobLogsArgs; import com.pulumi.oci.StackMonitoring.inputs.GetDiscoveryJobLogsPlainArgs; @@ -44,6 +46,14 @@ import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourceTypesPlainArgs; import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourcesArgs; import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourcesPlainArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionPlainArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsPlainArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatePlainArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesPlainArgs; import com.pulumi.oci.StackMonitoring.inputs.GetProcessSetArgs; import com.pulumi.oci.StackMonitoring.inputs.GetProcessSetPlainArgs; import com.pulumi.oci.StackMonitoring.inputs.GetProcessSetsArgs; @@ -53,6 +63,7 @@ import com.pulumi.oci.StackMonitoring.outputs.GetBaselineableMetricsResult; import com.pulumi.oci.StackMonitoring.outputs.GetConfigResult; import com.pulumi.oci.StackMonitoring.outputs.GetConfigsResult; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesResult; import com.pulumi.oci.StackMonitoring.outputs.GetDiscoveryJobLogsResult; import com.pulumi.oci.StackMonitoring.outputs.GetDiscoveryJobResult; import com.pulumi.oci.StackMonitoring.outputs.GetDiscoveryJobsResult; @@ -66,6 +77,10 @@ import com.pulumi.oci.StackMonitoring.outputs.GetMonitoredResourceTypeResult; import com.pulumi.oci.StackMonitoring.outputs.GetMonitoredResourceTypesResult; import com.pulumi.oci.StackMonitoring.outputs.GetMonitoredResourcesResult; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionResult; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionsResult; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateResult; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplatesResult; import com.pulumi.oci.StackMonitoring.outputs.GetProcessSetResult; import com.pulumi.oci.StackMonitoring.outputs.GetProcessSetsResult; import com.pulumi.oci.Utilities; @@ -1377,6 +1392,236 @@ public static Output getConfigs(GetConfigsArgs args, InvokeOut public static CompletableFuture getConfigsPlain(GetConfigsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getConfigs:getConfigs", TypeShape.of(GetConfigsResult.class), args, Utilities.withVersion(options)); } + /** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;
+     * 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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(definedMonitoringTemplateDisplayName)
+     *             .resourceTypes(definedMonitoringTemplateResourceTypes)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs args) { + return getDefinedMonitoringTemplates(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;
+     * 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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(definedMonitoringTemplateDisplayName)
+     *             .resourceTypes(definedMonitoringTemplateResourceTypes)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDefinedMonitoringTemplatesPlain(GetDefinedMonitoringTemplatesPlainArgs args) { + return getDefinedMonitoringTemplatesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;
+     * 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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(definedMonitoringTemplateDisplayName)
+     *             .resourceTypes(definedMonitoringTemplateResourceTypes)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", TypeShape.of(GetDefinedMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;
+     * 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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(definedMonitoringTemplateDisplayName)
+     *             .resourceTypes(definedMonitoringTemplateResourceTypes)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", TypeShape.of(GetDefinedMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesArgs;
+     * 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 testDefinedMonitoringTemplates = StackMonitoringFunctions.getDefinedMonitoringTemplates(GetDefinedMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(definedMonitoringTemplateDisplayName)
+     *             .resourceTypes(definedMonitoringTemplateResourceTypes)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDefinedMonitoringTemplatesPlain(GetDefinedMonitoringTemplatesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", TypeShape.of(GetDefinedMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } /** * This data source provides details about a specific Discovery Job resource in Oracle Cloud Infrastructure Stack Monitoring service. * @@ -4467,6 +4712,1048 @@ public static Output getMonitoredResources(GetMonit public static CompletableFuture getMonitoredResourcesPlain(GetMonitoredResourcesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getMonitoredResources:getMonitoredResources", TypeShape.of(GetMonitoredResourcesResult.class), args, Utilities.withVersion(options)); } + /** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;
+     * 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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplate(GetMonitoringTemplateArgs args) { + return getMonitoringTemplate(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;
+     * 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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplatePlain(GetMonitoringTemplatePlainArgs args) { + return getMonitoringTemplatePlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;
+     * 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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplate(GetMonitoringTemplateArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", TypeShape.of(GetMonitoringTemplateResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;
+     * 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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplate(GetMonitoringTemplateArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", TypeShape.of(GetMonitoringTemplateResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateArgs;
+     * 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 testMonitoringTemplate = StackMonitoringFunctions.getMonitoringTemplate(GetMonitoringTemplateArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplatePlain(GetMonitoringTemplatePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", TypeShape.of(GetMonitoringTemplateResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;
+     * 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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()
+     *             .alarmConditionId(testAlarmCondition.id())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs args) { + return getMonitoringTemplateAlarmCondition(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;
+     * 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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()
+     *             .alarmConditionId(testAlarmCondition.id())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplateAlarmConditionPlain(GetMonitoringTemplateAlarmConditionPlainArgs args) { + return getMonitoringTemplateAlarmConditionPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;
+     * 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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()
+     *             .alarmConditionId(testAlarmCondition.id())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", TypeShape.of(GetMonitoringTemplateAlarmConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;
+     * 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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()
+     *             .alarmConditionId(testAlarmCondition.id())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", TypeShape.of(GetMonitoringTemplateAlarmConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionArgs;
+     * 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 testMonitoringTemplateAlarmCondition = StackMonitoringFunctions.getMonitoringTemplateAlarmCondition(GetMonitoringTemplateAlarmConditionArgs.builder()
+     *             .alarmConditionId(testAlarmCondition.id())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplateAlarmConditionPlain(GetMonitoringTemplateAlarmConditionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", TypeShape.of(GetMonitoringTemplateAlarmConditionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;
+     * 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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .metricNames(testMetric.name())
+     *             .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)
+     *             .state(monitoringTemplateAlarmConditionState)
+     *             .status(monitoringTemplateAlarmConditionStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs args) { + return getMonitoringTemplateAlarmConditions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;
+     * 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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .metricNames(testMetric.name())
+     *             .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)
+     *             .state(monitoringTemplateAlarmConditionState)
+     *             .status(monitoringTemplateAlarmConditionStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplateAlarmConditionsPlain(GetMonitoringTemplateAlarmConditionsPlainArgs args) { + return getMonitoringTemplateAlarmConditionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;
+     * 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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .metricNames(testMetric.name())
+     *             .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)
+     *             .state(monitoringTemplateAlarmConditionState)
+     *             .status(monitoringTemplateAlarmConditionStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", TypeShape.of(GetMonitoringTemplateAlarmConditionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;
+     * 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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .metricNames(testMetric.name())
+     *             .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)
+     *             .state(monitoringTemplateAlarmConditionState)
+     *             .status(monitoringTemplateAlarmConditionStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", TypeShape.of(GetMonitoringTemplateAlarmConditionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsArgs;
+     * 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 testMonitoringTemplateAlarmConditions = StackMonitoringFunctions.getMonitoringTemplateAlarmConditions(GetMonitoringTemplateAlarmConditionsArgs.builder()
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .metricNames(testMetric.name())
+     *             .resourceTypes(monitoringTemplateAlarmConditionResourceTypes)
+     *             .state(monitoringTemplateAlarmConditionState)
+     *             .status(monitoringTemplateAlarmConditionStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplateAlarmConditionsPlain(GetMonitoringTemplateAlarmConditionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", TypeShape.of(GetMonitoringTemplateAlarmConditionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplates() { + return getMonitoringTemplates(GetMonitoringTemplatesArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplatesPlain() { + return getMonitoringTemplatesPlain(GetMonitoringTemplatesPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplates(GetMonitoringTemplatesArgs args) { + return getMonitoringTemplates(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplatesPlain(GetMonitoringTemplatesPlainArgs args) { + return getMonitoringTemplatesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplates(GetMonitoringTemplatesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", TypeShape.of(GetMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMonitoringTemplates(GetMonitoringTemplatesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", TypeShape.of(GetMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## 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.StackMonitoring.StackMonitoringFunctions;
+     * import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesArgs;
+     * 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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(monitoringTemplateDisplayName)
+     *             .metricNames(testMetric.name())
+     *             .monitoringTemplateId(testMonitoringTemplate.id())
+     *             .namespaces(monitoringTemplateNamespace)
+     *             .resourceTypes(monitoringTemplateResourceTypes)
+     *             .state(monitoringTemplateState)
+     *             .status(monitoringTemplateStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMonitoringTemplatesPlain(GetMonitoringTemplatesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", TypeShape.of(GetMonitoringTemplatesResult.class), args, Utilities.withVersion(options)); + } /** * This data source provides details about a specific Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesArgs.java new file mode 100644 index 0000000000..91614b1b4c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesArgs.java @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDefinedMonitoringTemplatesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDefinedMonitoringTemplatesArgs Empty = new GetDefinedMonitoringTemplatesArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return monitoring template based on name. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return monitoring template based on name. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable Output> resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional>> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + private GetDefinedMonitoringTemplatesArgs() {} + + private GetDefinedMonitoringTemplatesArgs(GetDefinedMonitoringTemplatesArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.resourceTypes = $.resourceTypes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDefinedMonitoringTemplatesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDefinedMonitoringTemplatesArgs $; + + public Builder() { + $ = new GetDefinedMonitoringTemplatesArgs(); + } + + public Builder(GetDefinedMonitoringTemplatesArgs defaults) { + $ = new GetDefinedMonitoringTemplatesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + * @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 tenancy(root) for which defined monitored templates should be listed. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param displayName A filter to return monitoring template based on name. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return monitoring template based on 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(GetDefinedMonitoringTemplatesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable Output> resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(List resourceTypes) { + return resourceTypes(Output.of(resourceTypes)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + public GetDefinedMonitoringTemplatesArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilter.java new file mode 100644 index 0000000000..2e4fa98471 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilter.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.StackMonitoring.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 GetDefinedMonitoringTemplatesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDefinedMonitoringTemplatesFilter Empty = new GetDefinedMonitoringTemplatesFilter(); + + @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 GetDefinedMonitoringTemplatesFilter() {} + + private GetDefinedMonitoringTemplatesFilter(GetDefinedMonitoringTemplatesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDefinedMonitoringTemplatesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDefinedMonitoringTemplatesFilter $; + + public Builder() { + $ = new GetDefinedMonitoringTemplatesFilter(); + } + + public Builder(GetDefinedMonitoringTemplatesFilter defaults) { + $ = new GetDefinedMonitoringTemplatesFilter(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 GetDefinedMonitoringTemplatesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilterArgs.java new file mode 100644 index 0000000000..8a6cf2d293 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesFilterArgs.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.StackMonitoring.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 GetDefinedMonitoringTemplatesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDefinedMonitoringTemplatesFilterArgs Empty = new GetDefinedMonitoringTemplatesFilterArgs(); + + @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 GetDefinedMonitoringTemplatesFilterArgs() {} + + private GetDefinedMonitoringTemplatesFilterArgs(GetDefinedMonitoringTemplatesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDefinedMonitoringTemplatesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDefinedMonitoringTemplatesFilterArgs $; + + public Builder() { + $ = new GetDefinedMonitoringTemplatesFilterArgs(); + } + + public Builder(GetDefinedMonitoringTemplatesFilterArgs defaults) { + $ = new GetDefinedMonitoringTemplatesFilterArgs(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 GetDefinedMonitoringTemplatesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesPlainArgs.java new file mode 100644 index 0000000000..ffed82c697 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetDefinedMonitoringTemplatesPlainArgs.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.StackMonitoring.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.GetDefinedMonitoringTemplatesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDefinedMonitoringTemplatesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDefinedMonitoringTemplatesPlainArgs Empty = new GetDefinedMonitoringTemplatesPlainArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return monitoring template based on name. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return monitoring template based on name. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable List resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + private GetDefinedMonitoringTemplatesPlainArgs() {} + + private GetDefinedMonitoringTemplatesPlainArgs(GetDefinedMonitoringTemplatesPlainArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.resourceTypes = $.resourceTypes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDefinedMonitoringTemplatesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDefinedMonitoringTemplatesPlainArgs $; + + public Builder() { + $ = new GetDefinedMonitoringTemplatesPlainArgs(); + } + + public Builder(GetDefinedMonitoringTemplatesPlainArgs defaults) { + $ = new GetDefinedMonitoringTemplatesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param displayName A filter to return monitoring template based on 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(GetDefinedMonitoringTemplatesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable List resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + public GetDefinedMonitoringTemplatesPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionArgs.java new file mode 100644 index 0000000000..944d76cd64 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionArgs.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.StackMonitoring.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 GetMonitoringTemplateAlarmConditionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateAlarmConditionArgs Empty = new GetMonitoringTemplateAlarmConditionArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + */ + @Import(name="alarmConditionId", required=true) + private Output alarmConditionId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + */ + public Output alarmConditionId() { + return this.alarmConditionId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + private GetMonitoringTemplateAlarmConditionArgs() {} + + private GetMonitoringTemplateAlarmConditionArgs(GetMonitoringTemplateAlarmConditionArgs $) { + this.alarmConditionId = $.alarmConditionId; + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionArgs $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionArgs(); + } + + public Builder(GetMonitoringTemplateAlarmConditionArgs defaults) { + $ = new GetMonitoringTemplateAlarmConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param alarmConditionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + * @return builder + * + */ + public Builder alarmConditionId(Output alarmConditionId) { + $.alarmConditionId = alarmConditionId; + return this; + } + + /** + * @param alarmConditionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + * @return builder + * + */ + public Builder alarmConditionId(String alarmConditionId) { + return alarmConditionId(Output.of(alarmConditionId)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + public GetMonitoringTemplateAlarmConditionArgs build() { + if ($.alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionArgs", "alarmConditionId"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionPlainArgs.java new file mode 100644 index 0000000000..1de73b77e6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionPlainArgs.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.StackMonitoring.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetMonitoringTemplateAlarmConditionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateAlarmConditionPlainArgs Empty = new GetMonitoringTemplateAlarmConditionPlainArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + */ + @Import(name="alarmConditionId", required=true) + private String alarmConditionId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + */ + public String alarmConditionId() { + return this.alarmConditionId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private String monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + + private GetMonitoringTemplateAlarmConditionPlainArgs() {} + + private GetMonitoringTemplateAlarmConditionPlainArgs(GetMonitoringTemplateAlarmConditionPlainArgs $) { + this.alarmConditionId = $.alarmConditionId; + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionPlainArgs $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionPlainArgs(); + } + + public Builder(GetMonitoringTemplateAlarmConditionPlainArgs defaults) { + $ = new GetMonitoringTemplateAlarmConditionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param alarmConditionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + * + * @return builder + * + */ + public Builder alarmConditionId(String alarmConditionId) { + $.alarmConditionId = alarmConditionId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + public GetMonitoringTemplateAlarmConditionPlainArgs build() { + if ($.alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionPlainArgs", "alarmConditionId"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionPlainArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsArgs.java new file mode 100644 index 0000000000..e2eeb28099 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsArgs.java @@ -0,0 +1,315 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMonitoringTemplateAlarmConditionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateAlarmConditionsArgs Empty = new GetMonitoringTemplateAlarmConditionsArgs(); + + @Import(name="alarmConditionId", required=true) + private Output alarmConditionId; + + public Output alarmConditionId() { + return this.alarmConditionId; + } + + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * metricName filter. + * + */ + @Import(name="metricNames") + private @Nullable Output> metricNames; + + /** + * @return metricName filter. + * + */ + public Optional>> metricNames() { + return Optional.ofNullable(this.metricNames); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable Output> resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional>> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + /** + * A filter to return alarm condition based on Lifecycle State. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return alarm condition based on Lifecycle State. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return alarm condition based on input status. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return A filter to return alarm condition based on input status. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + private GetMonitoringTemplateAlarmConditionsArgs() {} + + private GetMonitoringTemplateAlarmConditionsArgs(GetMonitoringTemplateAlarmConditionsArgs $) { + this.alarmConditionId = $.alarmConditionId; + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.metricNames = $.metricNames; + this.monitoringTemplateId = $.monitoringTemplateId; + this.resourceTypes = $.resourceTypes; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionsArgs $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionsArgs(); + } + + public Builder(GetMonitoringTemplateAlarmConditionsArgs defaults) { + $ = new GetMonitoringTemplateAlarmConditionsArgs(Objects.requireNonNull(defaults)); + } + + public Builder alarmConditionId(Output alarmConditionId) { + $.alarmConditionId = alarmConditionId; + return this; + } + + public Builder alarmConditionId(String alarmConditionId) { + return alarmConditionId(Output.of(alarmConditionId)); + } + + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + 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(GetMonitoringTemplateAlarmConditionsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(@Nullable Output> metricNames) { + $.metricNames = metricNames; + return this; + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(List metricNames) { + return metricNames(Output.of(metricNames)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable Output> resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(List resourceTypes) { + return resourceTypes(Output.of(resourceTypes)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + /** + * @param state A filter to return alarm condition based on Lifecycle State. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return alarm condition based on Lifecycle State. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status A filter to return alarm condition based on input status. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status A filter to return alarm condition based on input status. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public GetMonitoringTemplateAlarmConditionsArgs build() { + if ($.alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsArgs", "alarmConditionId"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilter.java new file mode 100644 index 0000000000..3adea8443d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilter.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.StackMonitoring.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 GetMonitoringTemplateAlarmConditionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateAlarmConditionsFilter Empty = new GetMonitoringTemplateAlarmConditionsFilter(); + + @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 GetMonitoringTemplateAlarmConditionsFilter() {} + + private GetMonitoringTemplateAlarmConditionsFilter(GetMonitoringTemplateAlarmConditionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionsFilter $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionsFilter(); + } + + public Builder(GetMonitoringTemplateAlarmConditionsFilter defaults) { + $ = new GetMonitoringTemplateAlarmConditionsFilter(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 GetMonitoringTemplateAlarmConditionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.java new file mode 100644 index 0000000000..43fe3c4720 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsFilterArgs.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.StackMonitoring.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 GetMonitoringTemplateAlarmConditionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMonitoringTemplateAlarmConditionsFilterArgs Empty = new GetMonitoringTemplateAlarmConditionsFilterArgs(); + + @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 GetMonitoringTemplateAlarmConditionsFilterArgs() {} + + private GetMonitoringTemplateAlarmConditionsFilterArgs(GetMonitoringTemplateAlarmConditionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionsFilterArgs $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionsFilterArgs(); + } + + public Builder(GetMonitoringTemplateAlarmConditionsFilterArgs defaults) { + $ = new GetMonitoringTemplateAlarmConditionsFilterArgs(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 GetMonitoringTemplateAlarmConditionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsPlainArgs.java new file mode 100644 index 0000000000..8838e60ac3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateAlarmConditionsPlainArgs.java @@ -0,0 +1,252 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplateAlarmConditionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMonitoringTemplateAlarmConditionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateAlarmConditionsPlainArgs Empty = new GetMonitoringTemplateAlarmConditionsPlainArgs(); + + @Import(name="alarmConditionId", required=true) + private String alarmConditionId; + + public String alarmConditionId() { + return this.alarmConditionId; + } + + @Import(name="compartmentId") + private @Nullable String compartmentId; + + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * metricName filter. + * + */ + @Import(name="metricNames") + private @Nullable List metricNames; + + /** + * @return metricName filter. + * + */ + public Optional> metricNames() { + return Optional.ofNullable(this.metricNames); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private String monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable List resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + /** + * A filter to return alarm condition based on Lifecycle State. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return alarm condition based on Lifecycle State. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return alarm condition based on input status. + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return A filter to return alarm condition based on input status. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + private GetMonitoringTemplateAlarmConditionsPlainArgs() {} + + private GetMonitoringTemplateAlarmConditionsPlainArgs(GetMonitoringTemplateAlarmConditionsPlainArgs $) { + this.alarmConditionId = $.alarmConditionId; + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.metricNames = $.metricNames; + this.monitoringTemplateId = $.monitoringTemplateId; + this.resourceTypes = $.resourceTypes; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateAlarmConditionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateAlarmConditionsPlainArgs $; + + public Builder() { + $ = new GetMonitoringTemplateAlarmConditionsPlainArgs(); + } + + public Builder(GetMonitoringTemplateAlarmConditionsPlainArgs defaults) { + $ = new GetMonitoringTemplateAlarmConditionsPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder alarmConditionId(String alarmConditionId) { + $.alarmConditionId = alarmConditionId; + return this; + } + + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetMonitoringTemplateAlarmConditionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(@Nullable List metricNames) { + $.metricNames = metricNames; + return this; + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable List resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + /** + * @param state A filter to return alarm condition based on Lifecycle State. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param status A filter to return alarm condition based on input status. + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + public GetMonitoringTemplateAlarmConditionsPlainArgs build() { + if ($.alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsPlainArgs", "alarmConditionId"); + } + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsPlainArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateArgs.java new file mode 100644 index 0000000000..aa59f7eeef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplateArgs.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.StackMonitoring.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 GetMonitoringTemplateArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplateArgs Empty = new GetMonitoringTemplateArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Output monitoringTemplateId() { + return this.monitoringTemplateId; + } + + private GetMonitoringTemplateArgs() {} + + private GetMonitoringTemplateArgs(GetMonitoringTemplateArgs $) { + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplateArgs $; + + public Builder() { + $ = new GetMonitoringTemplateArgs(); + } + + public Builder(GetMonitoringTemplateArgs defaults) { + $ = new GetMonitoringTemplateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + public GetMonitoringTemplateArgs build() { + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatePlainArgs.java new file mode 100644 index 0000000000..63ddc28b35 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatePlainArgs.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.StackMonitoring.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetMonitoringTemplatePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplatePlainArgs Empty = new GetMonitoringTemplatePlainArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId", required=true) + private String monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + + private GetMonitoringTemplatePlainArgs() {} + + private GetMonitoringTemplatePlainArgs(GetMonitoringTemplatePlainArgs $) { + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplatePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplatePlainArgs $; + + public Builder() { + $ = new GetMonitoringTemplatePlainArgs(); + } + + public Builder(GetMonitoringTemplatePlainArgs defaults) { + $ = new GetMonitoringTemplatePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + public GetMonitoringTemplatePlainArgs build() { + if ($.monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatePlainArgs", "monitoringTemplateId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesArgs.java new file mode 100644 index 0000000000..1a2863b512 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesArgs.java @@ -0,0 +1,395 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMonitoringTemplatesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplatesArgs Empty = new GetMonitoringTemplatesArgs(); + + /** + * The ID of the compartment in which data is listed. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The ID of the compartment in which data is listed. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * A filter to return monitoring template based on name. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return monitoring template based on name. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * metricName filter. + * + */ + @Import(name="metricNames") + private @Nullable Output> metricNames; + + /** + * @return metricName filter. + * + */ + public Optional>> metricNames() { + return Optional.ofNullable(this.metricNames); + } + + /** + * A filter to return monitoring template based on input monitoringTemplateId + * + */ + @Import(name="monitoringTemplateId") + private @Nullable Output monitoringTemplateId; + + /** + * @return A filter to return monitoring template based on input monitoringTemplateId + * + */ + public Optional> monitoringTemplateId() { + return Optional.ofNullable(this.monitoringTemplateId); + } + + /** + * namespace filter. + * + */ + @Import(name="namespaces") + private @Nullable Output> namespaces; + + /** + * @return namespace filter. + * + */ + public Optional>> namespaces() { + return Optional.ofNullable(this.namespaces); + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable Output> resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional>> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + /** + * A filter to return monitoring template based on Lifecycle State + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return monitoring template based on Lifecycle State + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return monitoring template based on input status + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return A filter to return monitoring template based on input status + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + private GetMonitoringTemplatesArgs() {} + + private GetMonitoringTemplatesArgs(GetMonitoringTemplatesArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.metricNames = $.metricNames; + this.monitoringTemplateId = $.monitoringTemplateId; + this.namespaces = $.namespaces; + this.resourceTypes = $.resourceTypes; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplatesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplatesArgs $; + + public Builder() { + $ = new GetMonitoringTemplatesArgs(); + } + + public Builder(GetMonitoringTemplatesArgs defaults) { + $ = new GetMonitoringTemplatesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which data is listed. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The ID of the compartment in which data is listed. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param displayName A filter to return monitoring template based on name. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return monitoring template based on 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(GetMonitoringTemplatesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(@Nullable Output> metricNames) { + $.metricNames = metricNames; + return this; + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(List metricNames) { + return metricNames(Output.of(metricNames)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + + /** + * @param monitoringTemplateId A filter to return monitoring template based on input monitoringTemplateId + * + * @return builder + * + */ + public Builder monitoringTemplateId(@Nullable Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId A filter to return monitoring template based on input monitoringTemplateId + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + /** + * @param namespaces namespace filter. + * + * @return builder + * + */ + public Builder namespaces(@Nullable Output> namespaces) { + $.namespaces = namespaces; + return this; + } + + /** + * @param namespaces namespace filter. + * + * @return builder + * + */ + public Builder namespaces(List namespaces) { + return namespaces(Output.of(namespaces)); + } + + /** + * @param namespaces namespace filter. + * + * @return builder + * + */ + public Builder namespaces(String... namespaces) { + return namespaces(List.of(namespaces)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable Output> resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(List resourceTypes) { + return resourceTypes(Output.of(resourceTypes)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + /** + * @param state A filter to return monitoring template based on Lifecycle State + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return monitoring template based on Lifecycle State + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status A filter to return monitoring template based on input status + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status A filter to return monitoring template based on input status + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public GetMonitoringTemplatesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilter.java new file mode 100644 index 0000000000..06d24cb218 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilter.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.StackMonitoring.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 GetMonitoringTemplatesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplatesFilter Empty = new GetMonitoringTemplatesFilter(); + + @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 GetMonitoringTemplatesFilter() {} + + private GetMonitoringTemplatesFilter(GetMonitoringTemplatesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplatesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplatesFilter $; + + public Builder() { + $ = new GetMonitoringTemplatesFilter(); + } + + public Builder(GetMonitoringTemplatesFilter defaults) { + $ = new GetMonitoringTemplatesFilter(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 GetMonitoringTemplatesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilterArgs.java new file mode 100644 index 0000000000..55c0d213ce --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesFilterArgs.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.StackMonitoring.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 GetMonitoringTemplatesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMonitoringTemplatesFilterArgs Empty = new GetMonitoringTemplatesFilterArgs(); + + @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 GetMonitoringTemplatesFilterArgs() {} + + private GetMonitoringTemplatesFilterArgs(GetMonitoringTemplatesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplatesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplatesFilterArgs $; + + public Builder() { + $ = new GetMonitoringTemplatesFilterArgs(); + } + + public Builder(GetMonitoringTemplatesFilterArgs defaults) { + $ = new GetMonitoringTemplatesFilterArgs(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 GetMonitoringTemplatesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesPlainArgs.java new file mode 100644 index 0000000000..db9dbf86b9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/GetMonitoringTemplatesPlainArgs.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.StackMonitoring.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.StackMonitoring.inputs.GetMonitoringTemplatesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMonitoringTemplatesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMonitoringTemplatesPlainArgs Empty = new GetMonitoringTemplatesPlainArgs(); + + /** + * The ID of the compartment in which data is listed. + * + */ + @Import(name="compartmentId") + private @Nullable String compartmentId; + + /** + * @return The ID of the compartment in which data is listed. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * A filter to return monitoring template based on name. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return monitoring template based on name. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * metricName filter. + * + */ + @Import(name="metricNames") + private @Nullable List metricNames; + + /** + * @return metricName filter. + * + */ + public Optional> metricNames() { + return Optional.ofNullable(this.metricNames); + } + + /** + * A filter to return monitoring template based on input monitoringTemplateId + * + */ + @Import(name="monitoringTemplateId") + private @Nullable String monitoringTemplateId; + + /** + * @return A filter to return monitoring template based on input monitoringTemplateId + * + */ + public Optional monitoringTemplateId() { + return Optional.ofNullable(this.monitoringTemplateId); + } + + /** + * namespace filter. + * + */ + @Import(name="namespaces") + private @Nullable List namespaces; + + /** + * @return namespace filter. + * + */ + public Optional> namespaces() { + return Optional.ofNullable(this.namespaces); + } + + /** + * Multiple resource types filter. + * + */ + @Import(name="resourceTypes") + private @Nullable List resourceTypes; + + /** + * @return Multiple resource types filter. + * + */ + public Optional> resourceTypes() { + return Optional.ofNullable(this.resourceTypes); + } + + /** + * A filter to return monitoring template based on Lifecycle State + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return monitoring template based on Lifecycle State + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return monitoring template based on input status + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return A filter to return monitoring template based on input status + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + private GetMonitoringTemplatesPlainArgs() {} + + private GetMonitoringTemplatesPlainArgs(GetMonitoringTemplatesPlainArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.metricNames = $.metricNames; + this.monitoringTemplateId = $.monitoringTemplateId; + this.namespaces = $.namespaces; + this.resourceTypes = $.resourceTypes; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMonitoringTemplatesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMonitoringTemplatesPlainArgs $; + + public Builder() { + $ = new GetMonitoringTemplatesPlainArgs(); + } + + public Builder(GetMonitoringTemplatesPlainArgs defaults) { + $ = new GetMonitoringTemplatesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which data is listed. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param displayName A filter to return monitoring template based on 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(GetMonitoringTemplatesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(@Nullable List metricNames) { + $.metricNames = metricNames; + return this; + } + + /** + * @param metricNames metricName filter. + * + * @return builder + * + */ + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + + /** + * @param monitoringTemplateId A filter to return monitoring template based on input monitoringTemplateId + * + * @return builder + * + */ + public Builder monitoringTemplateId(@Nullable String monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param namespaces namespace filter. + * + * @return builder + * + */ + public Builder namespaces(@Nullable List namespaces) { + $.namespaces = namespaces; + return this; + } + + /** + * @param namespaces namespace filter. + * + * @return builder + * + */ + public Builder namespaces(String... namespaces) { + return namespaces(List.of(namespaces)); + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(@Nullable List resourceTypes) { + $.resourceTypes = resourceTypes; + return this; + } + + /** + * @param resourceTypes Multiple resource types filter. + * + * @return builder + * + */ + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + + /** + * @param state A filter to return monitoring template based on Lifecycle State + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param status A filter to return monitoring template based on input status + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + public GetMonitoringTemplatesPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MetricExtensionState.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MetricExtensionState.java index f481719e6d..6007288221 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MetricExtensionState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MetricExtensionState.java @@ -112,14 +112,14 @@ public Optional> displayName() { } /** - * List of resource objects on which this metric extension is enabled. + * List of resource details objects having resourceIds on which this metric extension is enabled. * */ @Import(name="enabledOnResources") private @Nullable Output> enabledOnResources; /** - * @return List of resource objects on which this metric extension is enabled. + * @return List of resource details objects having resourceIds on which this metric extension is enabled. * */ public Optional>> enabledOnResources() { @@ -497,7 +497,7 @@ public Builder displayName(String displayName) { } /** - * @param enabledOnResources List of resource objects on which this metric extension is enabled. + * @param enabledOnResources List of resource details objects having resourceIds on which this metric extension is enabled. * * @return builder * @@ -508,7 +508,7 @@ public Builder enabledOnResources(@Nullable Output ena } /** - * @param enabledOnResources List of resource objects on which this metric extension is enabled. + * @param enabledOnResources List of resource details objects having resourceIds on which this metric extension is enabled. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeMetadataArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeMetadataArgs.java index 2fe391cf15..535d32d603 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeMetadataArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeMetadataArgs.java @@ -126,6 +126,21 @@ public Optional>> validPropertyValues() { return Optional.ofNullable(this.validPropertyValues); } + /** + * (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + @Import(name="validSubResourceTypes") + private @Nullable Output> validSubResourceTypes; + + /** + * @return (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + public Optional>> validSubResourceTypes() { + return Optional.ofNullable(this.validSubResourceTypes); + } + private MonitoredResourceTypeMetadataArgs() {} private MonitoredResourceTypeMetadataArgs(MonitoredResourceTypeMetadataArgs $) { @@ -136,6 +151,7 @@ private MonitoredResourceTypeMetadataArgs(MonitoredResourceTypeMetadataArgs $) { this.validPropertiesForCreates = $.validPropertiesForCreates; this.validPropertiesForUpdates = $.validPropertiesForUpdates; this.validPropertyValues = $.validPropertyValues; + this.validSubResourceTypes = $.validSubResourceTypes; } public static Builder builder() { @@ -355,6 +371,37 @@ public Builder validPropertyValues(Map validPropertyValues) { return validPropertyValues(Output.of(validPropertyValues)); } + /** + * @param validSubResourceTypes (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + * @return builder + * + */ + public Builder validSubResourceTypes(@Nullable Output> validSubResourceTypes) { + $.validSubResourceTypes = validSubResourceTypes; + return this; + } + + /** + * @param validSubResourceTypes (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + * @return builder + * + */ + public Builder validSubResourceTypes(List validSubResourceTypes) { + return validSubResourceTypes(Output.of(validSubResourceTypes)); + } + + /** + * @param validSubResourceTypes (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + * @return builder + * + */ + public Builder validSubResourceTypes(String... validSubResourceTypes) { + return validSubResourceTypes(List.of(validSubResourceTypes)); + } + public MonitoredResourceTypeMetadataArgs build() { if ($.format == null) { throw new MissingRequiredPropertyException("MonitoredResourceTypeMetadataArgs", "format"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeState.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeState.java index a5e095b2c4..1f9e319678 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoredResourceTypeState.java @@ -17,6 +17,21 @@ public final class MonitoredResourceTypeState extends com.pulumi.resources.Resou public static final MonitoredResourceTypeState Empty = new MonitoredResourceTypeState(); + /** + * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + @Import(name="additionalNamespaceMap") + private @Nullable Output> additionalNamespaceMap; + + /** + * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + public Optional>> additionalNamespaceMap() { + return Optional.ofNullable(this.additionalNamespaceMap); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. * @@ -236,6 +251,7 @@ public Optional> timeUpdated() { private MonitoredResourceTypeState() {} private MonitoredResourceTypeState(MonitoredResourceTypeState $) { + this.additionalNamespaceMap = $.additionalNamespaceMap; this.compartmentId = $.compartmentId; this.definedTags = $.definedTags; this.description = $.description; @@ -270,6 +286,27 @@ public Builder(MonitoredResourceTypeState defaults) { $ = new MonitoredResourceTypeState(Objects.requireNonNull(defaults)); } + /** + * @param additionalNamespaceMap Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + * @return builder + * + */ + public Builder additionalNamespaceMap(@Nullable Output> additionalNamespaceMap) { + $.additionalNamespaceMap = additionalNamespaceMap; + return this; + } + + /** + * @param additionalNamespaceMap Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + * @return builder + * + */ + public Builder additionalNamespaceMap(Map additionalNamespaceMap) { + return additionalNamespaceMap(Output.of(additionalNamespaceMap)); + } + /** * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionConditionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionConditionArgs.java new file mode 100644 index 0000000000..973564d310 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionConditionArgs.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.StackMonitoring.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 MonitoringTemplateAlarmConditionConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateAlarmConditionConditionArgs Empty = new MonitoringTemplateAlarmConditionConditionArgs(); + + /** + * (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + @Import(name="body") + private @Nullable Output body; + + /** + * @return (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + public Optional> body() { + return Optional.ofNullable(this.body); + } + + /** + * (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + @Import(name="query", required=true) + private Output query; + + /** + * @return (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + public Output query() { + return this.query; + } + + /** + * (Updatable) Severity - Critical/Warning + * + */ + @Import(name="severity", required=true) + private Output severity; + + /** + * @return (Updatable) Severity - Critical/Warning + * + */ + public Output severity() { + return this.severity; + } + + /** + * (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + @Import(name="shouldAppendNote") + private @Nullable Output shouldAppendNote; + + /** + * @return (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Optional> shouldAppendNote() { + return Optional.ofNullable(this.shouldAppendNote); + } + + /** + * (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + @Import(name="shouldAppendUrl") + private @Nullable Output shouldAppendUrl; + + /** + * @return (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Optional> shouldAppendUrl() { + return Optional.ofNullable(this.shouldAppendUrl); + } + + /** + * (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + @Import(name="triggerDelay") + private @Nullable Output triggerDelay; + + /** + * @return (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + public Optional> triggerDelay() { + return Optional.ofNullable(this.triggerDelay); + } + + private MonitoringTemplateAlarmConditionConditionArgs() {} + + private MonitoringTemplateAlarmConditionConditionArgs(MonitoringTemplateAlarmConditionConditionArgs $) { + this.body = $.body; + this.query = $.query; + this.severity = $.severity; + this.shouldAppendNote = $.shouldAppendNote; + this.shouldAppendUrl = $.shouldAppendUrl; + this.triggerDelay = $.triggerDelay; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateAlarmConditionConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateAlarmConditionConditionArgs $; + + public Builder() { + $ = new MonitoringTemplateAlarmConditionConditionArgs(); + } + + public Builder(MonitoringTemplateAlarmConditionConditionArgs defaults) { + $ = new MonitoringTemplateAlarmConditionConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param body (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder body(@Nullable Output body) { + $.body = body; + return this; + } + + /** + * @param body (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder body(String body) { + return body(Output.of(body)); + } + + /** + * @param query (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + * @return builder + * + */ + public Builder query(Output query) { + $.query = query; + return this; + } + + /** + * @param query (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + * @return builder + * + */ + public Builder query(String query) { + return query(Output.of(query)); + } + + /** + * @param severity (Updatable) Severity - Critical/Warning + * + * @return builder + * + */ + public Builder severity(Output severity) { + $.severity = severity; + return this; + } + + /** + * @param severity (Updatable) Severity - Critical/Warning + * + * @return builder + * + */ + public Builder severity(String severity) { + return severity(Output.of(severity)); + } + + /** + * @param shouldAppendNote (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + * @return builder + * + */ + public Builder shouldAppendNote(@Nullable Output shouldAppendNote) { + $.shouldAppendNote = shouldAppendNote; + return this; + } + + /** + * @param shouldAppendNote (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + * @return builder + * + */ + public Builder shouldAppendNote(Boolean shouldAppendNote) { + return shouldAppendNote(Output.of(shouldAppendNote)); + } + + /** + * @param shouldAppendUrl (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + * @return builder + * + */ + public Builder shouldAppendUrl(@Nullable Output shouldAppendUrl) { + $.shouldAppendUrl = shouldAppendUrl; + return this; + } + + /** + * @param shouldAppendUrl (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + * @return builder + * + */ + public Builder shouldAppendUrl(Boolean shouldAppendUrl) { + return shouldAppendUrl(Output.of(shouldAppendUrl)); + } + + /** + * @param triggerDelay (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + * @return builder + * + */ + public Builder triggerDelay(@Nullable Output triggerDelay) { + $.triggerDelay = triggerDelay; + return this; + } + + /** + * @param triggerDelay (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + * @return builder + * + */ + public Builder triggerDelay(String triggerDelay) { + return triggerDelay(Output.of(triggerDelay)); + } + + public MonitoringTemplateAlarmConditionConditionArgs build() { + if ($.query == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionConditionArgs", "query"); + } + if ($.severity == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionConditionArgs", "severity"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionState.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionState.java new file mode 100644 index 0000000000..b82b7bde02 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateAlarmConditionState.java @@ -0,0 +1,589 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateAlarmConditionConditionArgs; +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 MonitoringTemplateAlarmConditionState extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateAlarmConditionState Empty = new MonitoringTemplateAlarmConditionState(); + + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + @Import(name="compositeType") + private @Nullable Output compositeType; + + /** + * @return (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + public Optional> compositeType() { + return Optional.ofNullable(this.compositeType); + } + + /** + * (Updatable) Type of defined monitoring template. + * + */ + @Import(name="conditionType") + private @Nullable Output conditionType; + + /** + * @return (Updatable) Type of defined monitoring template. + * + */ + public Optional> conditionType() { + return Optional.ofNullable(this.conditionType); + } + + /** + * (Updatable) Monitoring template conditions. + * + */ + @Import(name="conditions") + private @Nullable Output> conditions; + + /** + * @return (Updatable) Monitoring template conditions. + * + */ + public Optional>> conditions() { + return Optional.ofNullable(this.conditions); + } + + /** + * (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) 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 metric name. + * + */ + @Import(name="metricName") + private @Nullable Output metricName; + + /** + * @return (Updatable) The metric name. + * + */ + public Optional> metricName() { + return Optional.ofNullable(this.metricName); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId") + private @Nullable Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Optional> monitoringTemplateId() { + return Optional.ofNullable(this.monitoringTemplateId); + } + + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + @Import(name="namespace") + private @Nullable Output namespace; + + /** + * @return (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public Optional> namespace() { + return Optional.ofNullable(this.namespace); + } + + /** + * (Updatable) The resource group 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="resourceType") + private @Nullable Output resourceType; + + /** + * @return (Updatable) The resource group 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 Optional> resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * The current lifecycle state of the monitoring template + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current lifecycle state of the monitoring template + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * 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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time the alarm condition was created. Format defined by RFC3339. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private MonitoringTemplateAlarmConditionState() {} + + private MonitoringTemplateAlarmConditionState(MonitoringTemplateAlarmConditionState $) { + this.compositeType = $.compositeType; + this.conditionType = $.conditionType; + this.conditions = $.conditions; + this.definedTags = $.definedTags; + this.freeformTags = $.freeformTags; + this.metricName = $.metricName; + this.monitoringTemplateId = $.monitoringTemplateId; + this.namespace = $.namespace; + this.resourceType = $.resourceType; + this.state = $.state; + this.status = $.status; + this.systemTags = $.systemTags; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateAlarmConditionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateAlarmConditionState $; + + public Builder() { + $ = new MonitoringTemplateAlarmConditionState(); + } + + public Builder(MonitoringTemplateAlarmConditionState defaults) { + $ = new MonitoringTemplateAlarmConditionState(Objects.requireNonNull(defaults)); + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + * @return builder + * + */ + public Builder compositeType(@Nullable Output compositeType) { + $.compositeType = compositeType; + return this; + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + * @return builder + * + */ + public Builder compositeType(String compositeType) { + return compositeType(Output.of(compositeType)); + } + + /** + * @param conditionType (Updatable) Type of defined monitoring template. + * + * @return builder + * + */ + public Builder conditionType(@Nullable Output conditionType) { + $.conditionType = conditionType; + return this; + } + + /** + * @param conditionType (Updatable) Type of defined monitoring template. + * + * @return builder + * + */ + public Builder conditionType(String conditionType) { + return conditionType(Output.of(conditionType)); + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(@Nullable Output> conditions) { + $.conditions = conditions; + return this; + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(List conditions) { + return conditions(Output.of(conditions)); + } + + /** + * @param conditions (Updatable) Monitoring template conditions. + * + * @return builder + * + */ + public Builder conditions(MonitoringTemplateAlarmConditionConditionArgs... conditions) { + return conditions(List.of(conditions)); + } + + /** + * @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 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 metricName (Updatable) The metric name. + * + * @return builder + * + */ + public Builder metricName(@Nullable Output metricName) { + $.metricName = metricName; + return this; + } + + /** + * @param metricName (Updatable) The metric name. + * + * @return builder + * + */ + public Builder metricName(String metricName) { + return metricName(Output.of(metricName)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(@Nullable Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + /** + * @param namespace (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + * @return builder + * + */ + public Builder namespace(@Nullable Output namespace) { + $.namespace = namespace; + return this; + } + + /** + * @param namespace (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + * @return builder + * + */ + public Builder namespace(String namespace) { + return namespace(Output.of(namespace)); + } + + /** + * @param resourceType (Updatable) The resource group 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 + * + */ + public Builder resourceType(@Nullable Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType (Updatable) The resource group 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 + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + /** + * @param state The current lifecycle state of the monitoring template + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current lifecycle state of the monitoring template + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status The current status of the monitoring template i.e. whether it is Published or Unpublished + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The current status of the monitoring template i.e. whether it is Published or Unpublished + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + /** + * @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 date and time the alarm condition was created. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time the alarm condition was created. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The date and time the alarm condition was updated. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The date and time the alarm condition was updated. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public MonitoringTemplateAlarmConditionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMemberArgs.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMemberArgs.java new file mode 100644 index 0000000000..5f169f01dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMemberArgs.java @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.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 MonitoringTemplateMemberArgs extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateMemberArgs Empty = new MonitoringTemplateMemberArgs(); + + /** + * (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + @Import(name="compositeType") + private @Nullable Output compositeType; + + /** + * @return (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + public Optional> compositeType() { + return Optional.ofNullable(this.compositeType); + } + + /** + * (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public Output id() { + return this.id; + } + + /** + * (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + public Output type() { + return this.type; + } + + private MonitoringTemplateMemberArgs() {} + + private MonitoringTemplateMemberArgs(MonitoringTemplateMemberArgs $) { + this.compositeType = $.compositeType; + this.id = $.id; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateMemberArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateMemberArgs $; + + public Builder() { + $ = new MonitoringTemplateMemberArgs(); + } + + public Builder(MonitoringTemplateMemberArgs defaults) { + $ = new MonitoringTemplateMemberArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + * @return builder + * + */ + public Builder compositeType(@Nullable Output compositeType) { + $.compositeType = compositeType; + return this; + } + + /** + * @param compositeType (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + * @return builder + * + */ + public Builder compositeType(String compositeType) { + return compositeType(Output.of(compositeType)); + } + + /** + * @param id (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param type (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public MonitoringTemplateMemberArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMemberArgs", "id"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMemberArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState.java new file mode 100644 index 0000000000..18cd7ecb3c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState.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.StackMonitoring.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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState Empty = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState(); + + /** + * (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="enableMonitoringTemplateOnGivenResources") + private @Nullable Output enableMonitoringTemplateOnGivenResources; + + /** + * @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> enableMonitoringTemplateOnGivenResources() { + return Optional.ofNullable(this.enableMonitoringTemplateOnGivenResources); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + @Import(name="monitoringTemplateId") + private @Nullable Output monitoringTemplateId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public Optional> monitoringTemplateId() { + return Optional.ofNullable(this.monitoringTemplateId); + } + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState() {} + + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState $) { + this.enableMonitoringTemplateOnGivenResources = $.enableMonitoringTemplateOnGivenResources; + this.monitoringTemplateId = $.monitoringTemplateId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState $; + + public Builder() { + $ = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState(); + } + + public Builder(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState defaults) { + $ = new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param enableMonitoringTemplateOnGivenResources (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 enableMonitoringTemplateOnGivenResources(@Nullable Output enableMonitoringTemplateOnGivenResources) { + $.enableMonitoringTemplateOnGivenResources = enableMonitoringTemplateOnGivenResources; + return this; + } + + /** + * @param enableMonitoringTemplateOnGivenResources (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 enableMonitoringTemplateOnGivenResources(Boolean enableMonitoringTemplateOnGivenResources) { + return enableMonitoringTemplateOnGivenResources(Output.of(enableMonitoringTemplateOnGivenResources)); + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(@Nullable Output monitoringTemplateId) { + $.monitoringTemplateId = monitoringTemplateId; + return this; + } + + /** + * @param monitoringTemplateId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + * @return builder + * + */ + public Builder monitoringTemplateId(String monitoringTemplateId) { + return monitoringTemplateId(Output.of(monitoringTemplateId)); + } + + public MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateState.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateState.java new file mode 100644 index 0000000000..cad6083400 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/inputs/MonitoringTemplateState.java @@ -0,0 +1,786 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.StackMonitoring.inputs.MonitoringTemplateMemberArgs; +import java.lang.Boolean; +import java.lang.Double; +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 MonitoringTemplateState extends com.pulumi.resources.ResourceArgs { + + public static final MonitoringTemplateState Empty = new MonitoringTemplateState(); + + /** + * The OCID of the compartment containing the monitoringTemplate. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + @Import(name="destinations") + private @Nullable Output> destinations; + + /** + * @return (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + */ + public Optional>> destinations() { + return Optional.ofNullable(this.destinations); + } + + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + @Import(name="isAlarmsEnabled") + private @Nullable Output isAlarmsEnabled; + + /** + * @return (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + */ + public Optional> isAlarmsEnabled() { + return Optional.ofNullable(this.isAlarmsEnabled); + } + + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + @Import(name="isSplitNotificationEnabled") + private @Nullable Output isSplitNotificationEnabled; + + /** + * @return (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + public Optional> isSplitNotificationEnabled() { + return Optional.ofNullable(this.isSplitNotificationEnabled); + } + + /** + * (Updatable) List of members of this monitoring template + * + */ + @Import(name="members") + private @Nullable Output> members; + + /** + * @return (Updatable) List of members of this monitoring template + * + */ + public Optional>> members() { + return Optional.ofNullable(this.members); + } + + /** + * (Updatable) The format to use for alarm notifications. + * + */ + @Import(name="messageFormat") + private @Nullable Output messageFormat; + + /** + * @return (Updatable) The format to use for alarm notifications. + * + */ + public Optional> messageFormat() { + return Optional.ofNullable(this.messageFormat); + } + + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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="repeatNotificationDuration") + private @Nullable Output repeatNotificationDuration; + + /** + * @return (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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> repeatNotificationDuration() { + return Optional.ofNullable(this.repeatNotificationDuration); + } + + /** + * The current lifecycle state of the monitoring template. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current lifecycle state of the monitoring template. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * 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); + } + + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + @Import(name="tenantId") + private @Nullable Output tenantId; + + /** + * @return Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + public Optional> tenantId() { + return Optional.ofNullable(this.tenantId); + } + + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + /** + * Total Alarm Conditions + * + */ + @Import(name="totalAlarmConditions") + private @Nullable Output totalAlarmConditions; + + /** + * @return Total Alarm Conditions + * + */ + public Optional> totalAlarmConditions() { + return Optional.ofNullable(this.totalAlarmConditions); + } + + /** + * Total Applied Alarm Conditions + * + */ + @Import(name="totalAppliedAlarmConditions") + private @Nullable Output totalAppliedAlarmConditions; + + /** + * @return Total Applied Alarm Conditions + * + */ + public Optional> totalAppliedAlarmConditions() { + return Optional.ofNullable(this.totalAppliedAlarmConditions); + } + + private MonitoringTemplateState() {} + + private MonitoringTemplateState(MonitoringTemplateState $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.destinations = $.destinations; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.isAlarmsEnabled = $.isAlarmsEnabled; + this.isSplitNotificationEnabled = $.isSplitNotificationEnabled; + this.members = $.members; + this.messageFormat = $.messageFormat; + this.repeatNotificationDuration = $.repeatNotificationDuration; + this.state = $.state; + this.status = $.status; + this.systemTags = $.systemTags; + this.tenantId = $.tenantId; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + this.totalAlarmConditions = $.totalAlarmConditions; + this.totalAppliedAlarmConditions = $.totalAppliedAlarmConditions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MonitoringTemplateState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MonitoringTemplateState $; + + public Builder() { + $ = new MonitoringTemplateState(); + } + + public Builder(MonitoringTemplateState defaults) { + $ = new MonitoringTemplateState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment containing the monitoringTemplate. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment containing the monitoringTemplate. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(@Nullable Output> destinations) { + $.destinations = destinations; + return this; + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(List destinations) { + return destinations(Output.of(destinations)); + } + + /** + * @param destinations (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + * + * @return builder + * + */ + public Builder destinations(String... destinations) { + return destinations(List.of(destinations)); + } + + /** + * @param displayName (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param isAlarmsEnabled (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isAlarmsEnabled(@Nullable Output isAlarmsEnabled) { + $.isAlarmsEnabled = isAlarmsEnabled; + return this; + } + + /** + * @param isAlarmsEnabled (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isAlarmsEnabled(Boolean isAlarmsEnabled) { + return isAlarmsEnabled(Output.of(isAlarmsEnabled)); + } + + /** + * @param isSplitNotificationEnabled (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isSplitNotificationEnabled(@Nullable Output isSplitNotificationEnabled) { + $.isSplitNotificationEnabled = isSplitNotificationEnabled; + return this; + } + + /** + * @param isSplitNotificationEnabled (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + * @return builder + * + */ + public Builder isSplitNotificationEnabled(Boolean isSplitNotificationEnabled) { + return isSplitNotificationEnabled(Output.of(isSplitNotificationEnabled)); + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(@Nullable Output> members) { + $.members = members; + return this; + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(List members) { + return members(Output.of(members)); + } + + /** + * @param members (Updatable) List of members of this monitoring template + * + * @return builder + * + */ + public Builder members(MonitoringTemplateMemberArgs... members) { + return members(List.of(members)); + } + + /** + * @param messageFormat (Updatable) The format to use for alarm notifications. + * + * @return builder + * + */ + public Builder messageFormat(@Nullable Output messageFormat) { + $.messageFormat = messageFormat; + return this; + } + + /** + * @param messageFormat (Updatable) The format to use for alarm notifications. + * + * @return builder + * + */ + public Builder messageFormat(String messageFormat) { + return messageFormat(Output.of(messageFormat)); + } + + /** + * @param repeatNotificationDuration (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration(@Nullable Output repeatNotificationDuration) { + $.repeatNotificationDuration = repeatNotificationDuration; + return this; + } + + /** + * @param repeatNotificationDuration (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration(String repeatNotificationDuration) { + return repeatNotificationDuration(Output.of(repeatNotificationDuration)); + } + + /** + * @param state The current lifecycle state of the monitoring template. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current lifecycle state of the monitoring template. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + /** + * @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 tenantId Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + * @return builder + * + */ + public Builder tenantId(@Nullable Output tenantId) { + $.tenantId = tenantId; + return this; + } + + /** + * @param tenantId Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + * @return builder + * + */ + public Builder tenantId(String tenantId) { + return tenantId(Output.of(tenantId)); + } + + /** + * @param timeCreated The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + /** + * @param totalAlarmConditions Total Alarm Conditions + * + * @return builder + * + */ + public Builder totalAlarmConditions(@Nullable Output totalAlarmConditions) { + $.totalAlarmConditions = totalAlarmConditions; + return this; + } + + /** + * @param totalAlarmConditions Total Alarm Conditions + * + * @return builder + * + */ + public Builder totalAlarmConditions(Double totalAlarmConditions) { + return totalAlarmConditions(Output.of(totalAlarmConditions)); + } + + /** + * @param totalAppliedAlarmConditions Total Applied Alarm Conditions + * + * @return builder + * + */ + public Builder totalAppliedAlarmConditions(@Nullable Output totalAppliedAlarmConditions) { + $.totalAppliedAlarmConditions = totalAppliedAlarmConditions; + return this; + } + + /** + * @param totalAppliedAlarmConditions Total Applied Alarm Conditions + * + * @return builder + * + */ + public Builder totalAppliedAlarmConditions(Double totalAppliedAlarmConditions) { + return totalAppliedAlarmConditions(Output.of(totalAppliedAlarmConditions)); + } + + public MonitoringTemplateState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection.java new file mode 100644 index 0000000000..7861822131 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection { + /** + * @return List of defined Monitoring Template. + * + */ + private List items; + + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection() {} + /** + * @return List of defined Monitoring Template. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem... items) { + return items(List.of(items)); + } + public GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection build() { + final var _resultValue = new GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem.java new file mode 100644 index 0000000000..494b0ea1fa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem.java @@ -0,0 +1,248 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem { + /** + * @return Type of composite resource type OCID like EBS/PEOPLE_SOFT. + * + */ + private String compositeType; + /** + * @return Defined Monitoring template alarm conditions + * + */ + private List definedAlarmConditions; + /** + * @return A filter to return monitoring template based on name. + * + */ + private String displayName; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + * + */ + private String id; + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + private String namespace; + /** + * @return The resource types OCID. + * + */ + private String resourceType; + /** + * @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 date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + private String timeCreated; + /** + * @return The date and time the monitoringTemplate was updated. Format defined by RFC3339. + * + */ + private String timeUpdated; + + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem() {} + /** + * @return Type of composite resource type OCID like EBS/PEOPLE_SOFT. + * + */ + public String compositeType() { + return this.compositeType; + } + /** + * @return Defined Monitoring template alarm conditions + * + */ + public List definedAlarmConditions() { + return this.definedAlarmConditions; + } + /** + * @return A filter to return monitoring template based on name. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + * + */ + public String id() { + return this.id; + } + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public String namespace() { + return this.namespace; + } + /** + * @return The resource types OCID. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @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 date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time the monitoringTemplate was updated. Format defined by RFC3339. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compositeType; + private List definedAlarmConditions; + private String displayName; + private String id; + private String namespace; + private String resourceType; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compositeType = defaults.compositeType; + this.definedAlarmConditions = defaults.definedAlarmConditions; + this.displayName = defaults.displayName; + this.id = defaults.id; + this.namespace = defaults.namespace; + this.resourceType = defaults.resourceType; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compositeType(String compositeType) { + if (compositeType == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "compositeType"); + } + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder definedAlarmConditions(List definedAlarmConditions) { + if (definedAlarmConditions == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "definedAlarmConditions"); + } + this.definedAlarmConditions = definedAlarmConditions; + return this; + } + public Builder definedAlarmConditions(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition... definedAlarmConditions) { + return definedAlarmConditions(List.of(definedAlarmConditions)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder namespace(String namespace) { + if (namespace == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "namespace"); + } + this.namespace = namespace; + return this; + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem build() { + final var _resultValue = new GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem(); + _resultValue.compositeType = compositeType; + _resultValue.definedAlarmConditions = definedAlarmConditions; + _resultValue.displayName = displayName; + _resultValue.id = id; + _resultValue.namespace = namespace; + _resultValue.resourceType = resourceType; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition.java new file mode 100644 index 0000000000..1cad721b09 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition.java @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition { + /** + * @return Type of defined monitoring template. + * + */ + private String conditionType; + /** + * @return Monitoring template conditions. + * + */ + private List conditions; + /** + * @return The metric name. + * + */ + private String metricName; + + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition() {} + /** + * @return Type of defined monitoring template. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Monitoring template conditions. + * + */ + public List conditions() { + return this.conditions; + } + /** + * @return The metric name. + * + */ + public String metricName() { + return this.metricName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String conditionType; + private List conditions; + private String metricName; + public Builder() {} + public Builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition defaults) { + Objects.requireNonNull(defaults); + this.conditionType = defaults.conditionType; + this.conditions = defaults.conditions; + this.metricName = defaults.metricName; + } + + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder conditions(List conditions) { + if (conditions == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition", "conditions"); + } + this.conditions = conditions; + return this; + } + public Builder conditions(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition... conditions) { + return conditions(List.of(conditions)); + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition", "metricName"); + } + this.metricName = metricName; + return this; + } + public GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition build() { + final var _resultValue = new GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition(); + _resultValue.conditionType = conditionType; + _resultValue.conditions = conditions; + _resultValue.metricName = metricName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition.java new file mode 100644 index 0000000000..f25ba3d012 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition.java @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.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 GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition { + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + private String body; + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + private String query; + /** + * @return Severity - Critical/Warning + * + */ + private String severity; + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendNote; + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendUrl; + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + private String triggerDelay; + + private GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition() {} + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + public String body() { + return this.body; + } + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + public String query() { + return this.query; + } + /** + * @return Severity - Critical/Warning + * + */ + public String severity() { + return this.severity; + } + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendNote() { + return this.shouldAppendNote; + } + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendUrl() { + return this.shouldAppendUrl; + } + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + public String triggerDelay() { + return this.triggerDelay; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String body; + private String query; + private String severity; + private Boolean shouldAppendNote; + private Boolean shouldAppendUrl; + private String triggerDelay; + public Builder() {} + public Builder(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition defaults) { + Objects.requireNonNull(defaults); + this.body = defaults.body; + this.query = defaults.query; + this.severity = defaults.severity; + this.shouldAppendNote = defaults.shouldAppendNote; + this.shouldAppendUrl = defaults.shouldAppendUrl; + this.triggerDelay = defaults.triggerDelay; + } + + @CustomType.Setter + public Builder body(String body) { + if (body == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "body"); + } + this.body = body; + return this; + } + @CustomType.Setter + public Builder query(String query) { + if (query == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "query"); + } + this.query = query; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder shouldAppendNote(Boolean shouldAppendNote) { + if (shouldAppendNote == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "shouldAppendNote"); + } + this.shouldAppendNote = shouldAppendNote; + return this; + } + @CustomType.Setter + public Builder shouldAppendUrl(Boolean shouldAppendUrl) { + if (shouldAppendUrl == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "shouldAppendUrl"); + } + this.shouldAppendUrl = shouldAppendUrl; + return this; + } + @CustomType.Setter + public Builder triggerDelay(String triggerDelay) { + if (triggerDelay == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition", "triggerDelay"); + } + this.triggerDelay = triggerDelay; + return this; + } + public GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition build() { + final var _resultValue = new GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition(); + _resultValue.body = body; + _resultValue.query = query; + _resultValue.severity = severity; + _resultValue.shouldAppendNote = shouldAppendNote; + _resultValue.shouldAppendUrl = shouldAppendUrl; + _resultValue.triggerDelay = triggerDelay; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesFilter.java new file mode 100644 index 0000000000..b52ac66438 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesFilter.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.StackMonitoring.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 GetDefinedMonitoringTemplatesFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDefinedMonitoringTemplatesFilter() {} + 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(GetDefinedMonitoringTemplatesFilter 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(GetDefinedMonitoringTemplatesFilter 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("GetDefinedMonitoringTemplatesFilter", "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("GetDefinedMonitoringTemplatesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDefinedMonitoringTemplatesFilter build() { + final var _resultValue = new GetDefinedMonitoringTemplatesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesResult.java new file mode 100644 index 0000000000..9edeb31d18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetDefinedMonitoringTemplatesResult.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection; +import com.pulumi.oci.StackMonitoring.outputs.GetDefinedMonitoringTemplatesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDefinedMonitoringTemplatesResult { + private String compartmentId; + /** + * @return The list of defined_monitoring_template_collection. + * + */ + private List definedMonitoringTemplateCollections; + /** + * @return The name of the definedMonitoringTemplate. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable List resourceTypes; + + private GetDefinedMonitoringTemplatesResult() {} + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of defined_monitoring_template_collection. + * + */ + public List definedMonitoringTemplateCollections() { + return this.definedMonitoringTemplateCollections; + } + /** + * @return The name of the definedMonitoringTemplate. + * + */ + 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 List resourceTypes() { + return this.resourceTypes == null ? List.of() : this.resourceTypes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDefinedMonitoringTemplatesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List definedMonitoringTemplateCollections; + private @Nullable String displayName; + private @Nullable List filters; + private String id; + private @Nullable List resourceTypes; + public Builder() {} + public Builder(GetDefinedMonitoringTemplatesResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedMonitoringTemplateCollections = defaults.definedMonitoringTemplateCollections; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.resourceTypes = defaults.resourceTypes; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedMonitoringTemplateCollections(List definedMonitoringTemplateCollections) { + if (definedMonitoringTemplateCollections == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesResult", "definedMonitoringTemplateCollections"); + } + this.definedMonitoringTemplateCollections = definedMonitoringTemplateCollections; + return this; + } + public Builder definedMonitoringTemplateCollections(GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection... definedMonitoringTemplateCollections) { + return definedMonitoringTemplateCollections(List.of(definedMonitoringTemplateCollections)); + } + @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(GetDefinedMonitoringTemplatesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDefinedMonitoringTemplatesResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder resourceTypes(@Nullable List resourceTypes) { + + this.resourceTypes = resourceTypes; + return this; + } + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + public GetDefinedMonitoringTemplatesResult build() { + final var _resultValue = new GetDefinedMonitoringTemplatesResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedMonitoringTemplateCollections = definedMonitoringTemplateCollections; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.resourceTypes = resourceTypes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionResult.java index 7f8cf1791e..cf61565015 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionResult.java @@ -47,7 +47,7 @@ public final class GetMetricExtensionResult { */ private String displayName; /** - * @return List of resource objects on which this metric extension is enabled. + * @return List of resource details objects having resourceIds on which this metric extension is enabled. * */ private List enabledOnResources; @@ -163,7 +163,7 @@ public String displayName() { return this.displayName; } /** - * @return List of resource objects on which this metric extension is enabled. + * @return List of resource details objects having resourceIds on which this metric extension is enabled. * */ public List enabledOnResources() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionsMetricExtensionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionsMetricExtensionCollectionItem.java index ff432fa43e..de9af6cdaa 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionsMetricExtensionCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMetricExtensionsMetricExtensionCollectionItem.java @@ -47,7 +47,7 @@ public final class GetMetricExtensionsMetricExtensionCollectionItem { */ private String displayName; /** - * @return List of resource objects on which this metric extension is enabled. + * @return List of resource details objects having resourceIds on which this metric extension is enabled. * */ private List enabledOnResources; @@ -162,7 +162,7 @@ public String displayName() { return this.displayName; } /** - * @return List of resource objects on which this metric extension is enabled. + * @return List of resource details objects having resourceIds on which this metric extension is enabled. * */ public List enabledOnResources() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeMetadata.java index d650de3c4a..63572a8966 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeMetadata.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeMetadata.java @@ -49,6 +49,11 @@ public final class GetMonitoredResourceTypeMetadata { * */ private Map validPropertyValues; + /** + * @return List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + private List validSubResourceTypes; private GetMonitoredResourceTypeMetadata() {} /** @@ -101,6 +106,13 @@ public List validPropertiesForUpdates() { public Map validPropertyValues() { return this.validPropertyValues; } + /** + * @return List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + public List validSubResourceTypes() { + return this.validSubResourceTypes; + } public static Builder builder() { return new Builder(); @@ -118,6 +130,7 @@ public static final class Builder { private List validPropertiesForCreates; private List validPropertiesForUpdates; private Map validPropertyValues; + private List validSubResourceTypes; public Builder() {} public Builder(GetMonitoredResourceTypeMetadata defaults) { Objects.requireNonNull(defaults); @@ -128,6 +141,7 @@ public Builder(GetMonitoredResourceTypeMetadata defaults) { this.validPropertiesForCreates = defaults.validPropertiesForCreates; this.validPropertiesForUpdates = defaults.validPropertiesForUpdates; this.validPropertyValues = defaults.validPropertyValues; + this.validSubResourceTypes = defaults.validSubResourceTypes; } @CustomType.Setter @@ -201,6 +215,17 @@ public Builder validPropertyValues(Map validPropertyValues) { this.validPropertyValues = validPropertyValues; return this; } + @CustomType.Setter + public Builder validSubResourceTypes(List validSubResourceTypes) { + if (validSubResourceTypes == null) { + throw new MissingRequiredPropertyException("GetMonitoredResourceTypeMetadata", "validSubResourceTypes"); + } + this.validSubResourceTypes = validSubResourceTypes; + return this; + } + public Builder validSubResourceTypes(String... validSubResourceTypes) { + return validSubResourceTypes(List.of(validSubResourceTypes)); + } public GetMonitoredResourceTypeMetadata build() { final var _resultValue = new GetMonitoredResourceTypeMetadata(); _resultValue.agentProperties = agentProperties; @@ -210,6 +235,7 @@ public GetMonitoredResourceTypeMetadata build() { _resultValue.validPropertiesForCreates = validPropertiesForCreates; _resultValue.validPropertiesForUpdates = validPropertiesForUpdates; _resultValue.validPropertyValues = validPropertyValues; + _resultValue.validSubResourceTypes = validSubResourceTypes; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeResult.java index 065d7d769b..cffd2f1b99 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypeResult.java @@ -13,6 +13,11 @@ @CustomType public final class GetMonitoredResourceTypeResult { + /** + * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + private Map additionalNamespaceMap; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. * @@ -91,6 +96,13 @@ public final class GetMonitoredResourceTypeResult { private String timeUpdated; private GetMonitoredResourceTypeResult() {} + /** + * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + public Map additionalNamespaceMap() { + return this.additionalNamespaceMap; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. * @@ -209,6 +221,7 @@ public static Builder builder(GetMonitoredResourceTypeResult defaults) { } @CustomType.Builder public static final class Builder { + private Map additionalNamespaceMap; private String compartmentId; private Map definedTags; private String description; @@ -228,6 +241,7 @@ public static final class Builder { public Builder() {} public Builder(GetMonitoredResourceTypeResult defaults) { Objects.requireNonNull(defaults); + this.additionalNamespaceMap = defaults.additionalNamespaceMap; this.compartmentId = defaults.compartmentId; this.definedTags = defaults.definedTags; this.description = defaults.description; @@ -246,6 +260,14 @@ public Builder(GetMonitoredResourceTypeResult defaults) { this.timeUpdated = defaults.timeUpdated; } + @CustomType.Setter + public Builder additionalNamespaceMap(Map additionalNamespaceMap) { + if (additionalNamespaceMap == null) { + throw new MissingRequiredPropertyException("GetMonitoredResourceTypeResult", "additionalNamespaceMap"); + } + this.additionalNamespaceMap = additionalNamespaceMap; + return this; + } @CustomType.Setter public Builder compartmentId(String compartmentId) { if (compartmentId == null) { @@ -379,6 +401,7 @@ public Builder timeUpdated(String timeUpdated) { } public GetMonitoredResourceTypeResult build() { final var _resultValue = new GetMonitoredResourceTypeResult(); + _resultValue.additionalNamespaceMap = additionalNamespaceMap; _resultValue.compartmentId = compartmentId; _resultValue.definedTags = definedTags; _resultValue.description = description; diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem.java index 92fa4030a7..1287010b4f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem.java @@ -13,6 +13,11 @@ @CustomType public final class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { + /** + * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + private Map additionalNamespaceMap; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. * @@ -90,6 +95,13 @@ public final class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem private String timeUpdated; private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem() {} + /** + * @return Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + * + */ + public Map additionalNamespaceMap() { + return this.additionalNamespaceMap; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. * @@ -205,6 +217,7 @@ public static Builder builder(GetMonitoredResourceTypesMonitoredResourceTypesCol } @CustomType.Builder public static final class Builder { + private Map additionalNamespaceMap; private String compartmentId; private Map definedTags; private String description; @@ -223,6 +236,7 @@ public static final class Builder { public Builder() {} public Builder(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem defaults) { Objects.requireNonNull(defaults); + this.additionalNamespaceMap = defaults.additionalNamespaceMap; this.compartmentId = defaults.compartmentId; this.definedTags = defaults.definedTags; this.description = defaults.description; @@ -240,6 +254,14 @@ public Builder(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem def this.timeUpdated = defaults.timeUpdated; } + @CustomType.Setter + public Builder additionalNamespaceMap(Map additionalNamespaceMap) { + if (additionalNamespaceMap == null) { + throw new MissingRequiredPropertyException("GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem", "additionalNamespaceMap"); + } + this.additionalNamespaceMap = additionalNamespaceMap; + return this; + } @CustomType.Setter public Builder compartmentId(String compartmentId) { if (compartmentId == null) { @@ -365,6 +387,7 @@ public Builder timeUpdated(String timeUpdated) { } public GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem build() { final var _resultValue = new GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem(); + _resultValue.additionalNamespaceMap = additionalNamespaceMap; _resultValue.compartmentId = compartmentId; _resultValue.definedTags = definedTags; _resultValue.description = description; diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata.java index c437ef43e3..a94d4ca249 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata.java @@ -49,6 +49,11 @@ public final class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem * */ private Map validPropertyValues; + /** + * @return List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + private List validSubResourceTypes; private GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata() {} /** @@ -101,6 +106,13 @@ public List validPropertiesForUpdates() { public Map validPropertyValues() { return this.validPropertyValues; } + /** + * @return List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + public List validSubResourceTypes() { + return this.validSubResourceTypes; + } public static Builder builder() { return new Builder(); @@ -118,6 +130,7 @@ public static final class Builder { private List validPropertiesForCreates; private List validPropertiesForUpdates; private Map validPropertyValues; + private List validSubResourceTypes; public Builder() {} public Builder(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata defaults) { Objects.requireNonNull(defaults); @@ -128,6 +141,7 @@ public Builder(GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMeta this.validPropertiesForCreates = defaults.validPropertiesForCreates; this.validPropertiesForUpdates = defaults.validPropertiesForUpdates; this.validPropertyValues = defaults.validPropertyValues; + this.validSubResourceTypes = defaults.validSubResourceTypes; } @CustomType.Setter @@ -201,6 +215,17 @@ public Builder validPropertyValues(Map validPropertyValues) { this.validPropertyValues = validPropertyValues; return this; } + @CustomType.Setter + public Builder validSubResourceTypes(List validSubResourceTypes) { + if (validSubResourceTypes == null) { + throw new MissingRequiredPropertyException("GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata", "validSubResourceTypes"); + } + this.validSubResourceTypes = validSubResourceTypes; + return this; + } + public Builder validSubResourceTypes(String... validSubResourceTypes) { + return validSubResourceTypes(List.of(validSubResourceTypes)); + } public GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata build() { final var _resultValue = new GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata(); _resultValue.agentProperties = agentProperties; @@ -210,6 +235,7 @@ public GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata bui _resultValue.validPropertiesForCreates = validPropertiesForCreates; _resultValue.validPropertiesForUpdates = validPropertiesForUpdates; _resultValue.validPropertyValues = validPropertyValues; + _resultValue.validSubResourceTypes = validSubResourceTypes; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionCondition.java new file mode 100644 index 0000000000..595aed4938 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionCondition.java @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.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 GetMonitoringTemplateAlarmConditionCondition { + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + private String body; + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + private String query; + /** + * @return Severity - Critical/Warning + * + */ + private String severity; + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendNote; + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendUrl; + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + private String triggerDelay; + + private GetMonitoringTemplateAlarmConditionCondition() {} + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + public String body() { + return this.body; + } + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + public String query() { + return this.query; + } + /** + * @return Severity - Critical/Warning + * + */ + public String severity() { + return this.severity; + } + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendNote() { + return this.shouldAppendNote; + } + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendUrl() { + return this.shouldAppendUrl; + } + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + public String triggerDelay() { + return this.triggerDelay; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String body; + private String query; + private String severity; + private Boolean shouldAppendNote; + private Boolean shouldAppendUrl; + private String triggerDelay; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionCondition defaults) { + Objects.requireNonNull(defaults); + this.body = defaults.body; + this.query = defaults.query; + this.severity = defaults.severity; + this.shouldAppendNote = defaults.shouldAppendNote; + this.shouldAppendUrl = defaults.shouldAppendUrl; + this.triggerDelay = defaults.triggerDelay; + } + + @CustomType.Setter + public Builder body(String body) { + if (body == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "body"); + } + this.body = body; + return this; + } + @CustomType.Setter + public Builder query(String query) { + if (query == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "query"); + } + this.query = query; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder shouldAppendNote(Boolean shouldAppendNote) { + if (shouldAppendNote == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "shouldAppendNote"); + } + this.shouldAppendNote = shouldAppendNote; + return this; + } + @CustomType.Setter + public Builder shouldAppendUrl(Boolean shouldAppendUrl) { + if (shouldAppendUrl == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "shouldAppendUrl"); + } + this.shouldAppendUrl = shouldAppendUrl; + return this; + } + @CustomType.Setter + public Builder triggerDelay(String triggerDelay) { + if (triggerDelay == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionCondition", "triggerDelay"); + } + this.triggerDelay = triggerDelay; + return this; + } + public GetMonitoringTemplateAlarmConditionCondition build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionCondition(); + _resultValue.body = body; + _resultValue.query = query; + _resultValue.severity = severity; + _resultValue.shouldAppendNote = shouldAppendNote; + _resultValue.shouldAppendUrl = shouldAppendUrl; + _resultValue.triggerDelay = triggerDelay; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionResult.java new file mode 100644 index 0000000000..11e3578c7d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionResult.java @@ -0,0 +1,401 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionCondition; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplateAlarmConditionResult { + private String alarmConditionId; + /** + * @return The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + private String compositeType; + /** + * @return Type of defined monitoring template. + * + */ + private String conditionType; + /** + * @return Monitoring template conditions + * + */ + private List conditions; + /** + * @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 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + * + */ + private String id; + /** + * @return The metric name. + * + */ + private String metricName; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + private String monitoringTemplateId; + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + private String namespace; + /** + * @return The resource type OCID. + * + */ + private String resourceType; + /** + * @return The current lifecycle state of the monitoring template + * + */ + private String state; + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + private String status; + /** + * @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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + private String timeCreated; + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + private String timeUpdated; + + private GetMonitoringTemplateAlarmConditionResult() {} + public String alarmConditionId() { + return this.alarmConditionId; + } + /** + * @return The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + public String compositeType() { + return this.compositeType; + } + /** + * @return Type of defined monitoring template. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Monitoring template conditions + * + */ + public List conditions() { + return this.conditions; + } + /** + * @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 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + * + */ + public String id() { + return this.id; + } + /** + * @return The metric name. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public String namespace() { + return this.namespace; + } + /** + * @return The resource type OCID. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return The current lifecycle state of the monitoring template + * + */ + public String state() { + return this.state; + } + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + public String status() { + return this.status; + } + /** + * @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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String alarmConditionId; + private String compositeType; + private String conditionType; + private List conditions; + private Map definedTags; + private Map freeformTags; + private String id; + private String metricName; + private String monitoringTemplateId; + private String namespace; + private String resourceType; + private String state; + private String status; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionResult defaults) { + Objects.requireNonNull(defaults); + this.alarmConditionId = defaults.alarmConditionId; + this.compositeType = defaults.compositeType; + this.conditionType = defaults.conditionType; + this.conditions = defaults.conditions; + this.definedTags = defaults.definedTags; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.metricName = defaults.metricName; + this.monitoringTemplateId = defaults.monitoringTemplateId; + this.namespace = defaults.namespace; + this.resourceType = defaults.resourceType; + this.state = defaults.state; + this.status = defaults.status; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder alarmConditionId(String alarmConditionId) { + if (alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "alarmConditionId"); + } + this.alarmConditionId = alarmConditionId; + return this; + } + @CustomType.Setter + public Builder compositeType(String compositeType) { + if (compositeType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "compositeType"); + } + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder conditions(List conditions) { + if (conditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "conditions"); + } + this.conditions = conditions; + return this; + } + public Builder conditions(GetMonitoringTemplateAlarmConditionCondition... conditions) { + return conditions(List.of(conditions)); + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder monitoringTemplateId(String monitoringTemplateId) { + if (monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "monitoringTemplateId"); + } + this.monitoringTemplateId = monitoringTemplateId; + return this; + } + @CustomType.Setter + public Builder namespace(String namespace) { + if (namespace == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "namespace"); + } + this.namespace = namespace; + return this; + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetMonitoringTemplateAlarmConditionResult build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionResult(); + _resultValue.alarmConditionId = alarmConditionId; + _resultValue.compositeType = compositeType; + _resultValue.conditionType = conditionType; + _resultValue.conditions = conditions; + _resultValue.definedTags = definedTags; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.metricName = metricName; + _resultValue.monitoringTemplateId = monitoringTemplateId; + _resultValue.namespace = namespace; + _resultValue.resourceType = resourceType; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollection.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollection.java new file mode 100644 index 0000000000..9f2dbe4b1b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollection.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplateAlarmConditionsAlarmConditionCollection { + private List items; + + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem... items) { + return items(List.of(items)); + } + public GetMonitoringTemplateAlarmConditionsAlarmConditionCollection build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionsAlarmConditionCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem.java new file mode 100644 index 0000000000..dd0eefbade --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem.java @@ -0,0 +1,386 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem { + /** + * @return The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + private String compositeType; + /** + * @return Type of defined monitoring template. + * + */ + private String conditionType; + /** + * @return Monitoring template conditions + * + */ + private List conditions; + /** + * @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 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + * + */ + private String id; + /** + * @return metricName filter. + * + */ + private String metricName; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + private String monitoringTemplateId; + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + private String namespace; + /** + * @return The resource type OCID. + * + */ + private String resourceType; + /** + * @return A filter to return alarm condition based on Lifecycle State. + * + */ + private String state; + /** + * @return A filter to return alarm condition based on input status. + * + */ + private String status; + /** + * @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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + private String timeCreated; + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + private String timeUpdated; + + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem() {} + /** + * @return The OCID of the composite resource type like EBS/PEOPLE_SOFT. + * + */ + public String compositeType() { + return this.compositeType; + } + /** + * @return Type of defined monitoring template. + * + */ + public String conditionType() { + return this.conditionType; + } + /** + * @return Monitoring template conditions + * + */ + public List conditions() { + return this.conditions; + } + /** + * @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 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + * + */ + public String id() { + return this.id; + } + /** + * @return metricName filter. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + /** + * @return The stack monitoring service or application emitting the metric that is evaluated by the alarm. + * + */ + public String namespace() { + return this.namespace; + } + /** + * @return The resource type OCID. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return A filter to return alarm condition based on Lifecycle State. + * + */ + public String state() { + return this.state; + } + /** + * @return A filter to return alarm condition based on input status. + * + */ + public String status() { + return this.status; + } + /** + * @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 date and time the alarm condition was created. Format defined by RFC3339. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time the alarm condition was updated. Format defined by RFC3339. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compositeType; + private String conditionType; + private List conditions; + private Map definedTags; + private Map freeformTags; + private String id; + private String metricName; + private String monitoringTemplateId; + private String namespace; + private String resourceType; + private String state; + private String status; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compositeType = defaults.compositeType; + this.conditionType = defaults.conditionType; + this.conditions = defaults.conditions; + this.definedTags = defaults.definedTags; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.metricName = defaults.metricName; + this.monitoringTemplateId = defaults.monitoringTemplateId; + this.namespace = defaults.namespace; + this.resourceType = defaults.resourceType; + this.state = defaults.state; + this.status = defaults.status; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compositeType(String compositeType) { + if (compositeType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "compositeType"); + } + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder conditionType(String conditionType) { + if (conditionType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "conditionType"); + } + this.conditionType = conditionType; + return this; + } + @CustomType.Setter + public Builder conditions(List conditions) { + if (conditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "conditions"); + } + this.conditions = conditions; + return this; + } + public Builder conditions(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition... conditions) { + return conditions(List.of(conditions)); + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder monitoringTemplateId(String monitoringTemplateId) { + if (monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "monitoringTemplateId"); + } + this.monitoringTemplateId = monitoringTemplateId; + return this; + } + @CustomType.Setter + public Builder namespace(String namespace) { + if (namespace == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "namespace"); + } + this.namespace = namespace; + return this; + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem(); + _resultValue.compositeType = compositeType; + _resultValue.conditionType = conditionType; + _resultValue.conditions = conditions; + _resultValue.definedTags = definedTags; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.metricName = metricName; + _resultValue.monitoringTemplateId = monitoringTemplateId; + _resultValue.namespace = namespace; + _resultValue.resourceType = resourceType; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition.java new file mode 100644 index 0000000000..427eda9f68 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition.java @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.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 GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition { + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + private String body; + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + private String query; + /** + * @return Severity - Critical/Warning + * + */ + private String severity; + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendNote; + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private Boolean shouldAppendUrl; + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + private String triggerDelay; + + private GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition() {} + /** + * @return The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + public String body() { + return this.body; + } + /** + * @return The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + public String query() { + return this.query; + } + /** + * @return Severity - Critical/Warning + * + */ + public String severity() { + return this.severity; + } + /** + * @return Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendNote() { + return this.shouldAppendNote; + } + /** + * @return Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Boolean shouldAppendUrl() { + return this.shouldAppendUrl; + } + /** + * @return The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + public String triggerDelay() { + return this.triggerDelay; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String body; + private String query; + private String severity; + private Boolean shouldAppendNote; + private Boolean shouldAppendUrl; + private String triggerDelay; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition defaults) { + Objects.requireNonNull(defaults); + this.body = defaults.body; + this.query = defaults.query; + this.severity = defaults.severity; + this.shouldAppendNote = defaults.shouldAppendNote; + this.shouldAppendUrl = defaults.shouldAppendUrl; + this.triggerDelay = defaults.triggerDelay; + } + + @CustomType.Setter + public Builder body(String body) { + if (body == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "body"); + } + this.body = body; + return this; + } + @CustomType.Setter + public Builder query(String query) { + if (query == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "query"); + } + this.query = query; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder shouldAppendNote(Boolean shouldAppendNote) { + if (shouldAppendNote == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "shouldAppendNote"); + } + this.shouldAppendNote = shouldAppendNote; + return this; + } + @CustomType.Setter + public Builder shouldAppendUrl(Boolean shouldAppendUrl) { + if (shouldAppendUrl == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "shouldAppendUrl"); + } + this.shouldAppendUrl = shouldAppendUrl; + return this; + } + @CustomType.Setter + public Builder triggerDelay(String triggerDelay) { + if (triggerDelay == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition", "triggerDelay"); + } + this.triggerDelay = triggerDelay; + return this; + } + public GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition(); + _resultValue.body = body; + _resultValue.query = query; + _resultValue.severity = severity; + _resultValue.shouldAppendNote = shouldAppendNote; + _resultValue.shouldAppendUrl = shouldAppendUrl; + _resultValue.triggerDelay = triggerDelay; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsFilter.java new file mode 100644 index 0000000000..2fc59c3611 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsFilter.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.StackMonitoring.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 GetMonitoringTemplateAlarmConditionsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetMonitoringTemplateAlarmConditionsFilter() {} + 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(GetMonitoringTemplateAlarmConditionsFilter 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(GetMonitoringTemplateAlarmConditionsFilter 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("GetMonitoringTemplateAlarmConditionsFilter", "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("GetMonitoringTemplateAlarmConditionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetMonitoringTemplateAlarmConditionsFilter build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsResult.java new file mode 100644 index 0000000000..f96545339d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateAlarmConditionsResult.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollection; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateAlarmConditionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMonitoringTemplateAlarmConditionsResult { + /** + * @return The list of alarm_condition_collection. + * + */ + private List alarmConditionCollections; + private String alarmConditionId; + private @Nullable String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The metric name. + * + */ + private @Nullable List metricNames; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + private String monitoringTemplateId; + private @Nullable List resourceTypes; + /** + * @return The current lifecycle state of the monitoring template + * + */ + private @Nullable String state; + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + private @Nullable String status; + + private GetMonitoringTemplateAlarmConditionsResult() {} + /** + * @return The list of alarm_condition_collection. + * + */ + public List alarmConditionCollections() { + return this.alarmConditionCollections; + } + public String alarmConditionId() { + return this.alarmConditionId; + } + public Optional compartmentId() { + return Optional.ofNullable(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 metric name. + * + */ + public List metricNames() { + return this.metricNames == null ? List.of() : this.metricNames; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + * + */ + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + public List resourceTypes() { + return this.resourceTypes == null ? List.of() : this.resourceTypes; + } + /** + * @return The current lifecycle state of the monitoring template + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return The current status of the monitoring template i.e. whether it is Published or Unpublished + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateAlarmConditionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List alarmConditionCollections; + private String alarmConditionId; + private @Nullable String compartmentId; + private @Nullable List filters; + private String id; + private @Nullable List metricNames; + private String monitoringTemplateId; + private @Nullable List resourceTypes; + private @Nullable String state; + private @Nullable String status; + public Builder() {} + public Builder(GetMonitoringTemplateAlarmConditionsResult defaults) { + Objects.requireNonNull(defaults); + this.alarmConditionCollections = defaults.alarmConditionCollections; + this.alarmConditionId = defaults.alarmConditionId; + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.metricNames = defaults.metricNames; + this.monitoringTemplateId = defaults.monitoringTemplateId; + this.resourceTypes = defaults.resourceTypes; + this.state = defaults.state; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder alarmConditionCollections(List alarmConditionCollections) { + if (alarmConditionCollections == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsResult", "alarmConditionCollections"); + } + this.alarmConditionCollections = alarmConditionCollections; + return this; + } + public Builder alarmConditionCollections(GetMonitoringTemplateAlarmConditionsAlarmConditionCollection... alarmConditionCollections) { + return alarmConditionCollections(List.of(alarmConditionCollections)); + } + @CustomType.Setter + public Builder alarmConditionId(String alarmConditionId) { + if (alarmConditionId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsResult", "alarmConditionId"); + } + this.alarmConditionId = alarmConditionId; + return this; + } + @CustomType.Setter + public Builder compartmentId(@Nullable String compartmentId) { + + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetMonitoringTemplateAlarmConditionsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder metricNames(@Nullable List metricNames) { + + this.metricNames = metricNames; + return this; + } + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + @CustomType.Setter + public Builder monitoringTemplateId(String monitoringTemplateId) { + if (monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateAlarmConditionsResult", "monitoringTemplateId"); + } + this.monitoringTemplateId = monitoringTemplateId; + return this; + } + @CustomType.Setter + public Builder resourceTypes(@Nullable List resourceTypes) { + + this.resourceTypes = resourceTypes; + return this; + } + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + public GetMonitoringTemplateAlarmConditionsResult build() { + final var _resultValue = new GetMonitoringTemplateAlarmConditionsResult(); + _resultValue.alarmConditionCollections = alarmConditionCollections; + _resultValue.alarmConditionId = alarmConditionId; + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.metricNames = metricNames; + _resultValue.monitoringTemplateId = monitoringTemplateId; + _resultValue.resourceTypes = resourceTypes; + _resultValue.state = state; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateMember.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateMember.java new file mode 100644 index 0000000000..9bbb4401e1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateMember.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplateMember { + /** + * @return The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + private String compositeType; + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + private String id; + /** + * @return Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + private String type; + + private GetMonitoringTemplateMember() {} + /** + * @return The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + public String compositeType() { + return this.compositeType; + } + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public String id() { + return this.id; + } + /** + * @return Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateMember defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compositeType; + private String id; + private String type; + public Builder() {} + public Builder(GetMonitoringTemplateMember defaults) { + Objects.requireNonNull(defaults); + this.compositeType = defaults.compositeType; + this.id = defaults.id; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder compositeType(String compositeType) { + if (compositeType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateMember", "compositeType"); + } + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateMember", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateMember", "type"); + } + this.type = type; + return this; + } + public GetMonitoringTemplateMember build() { + final var _resultValue = new GetMonitoringTemplateMember(); + _resultValue.compositeType = compositeType; + _resultValue.id = id; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateResult.java new file mode 100644 index 0000000000..cea2bdb3ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplateResult.java @@ -0,0 +1,521 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplateMember; +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 GetMonitoringTemplateResult { + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + private String description; + /** + * @return A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + * + */ + private List destinations; + /** + * @return A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + private String id; + /** + * @return Whether the alarm is enabled or disabled. Default value is enabled. + * + */ + private Boolean isAlarmsEnabled; + /** + * @return Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + private Boolean isSplitNotificationEnabled; + /** + * @return List of members of this monitoring template. + * + */ + private List members; + /** + * @return The format to use for alarm notifications. + * + */ + private String messageFormat; + private String monitoringTemplateId; + /** + * @return The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + */ + private String repeatNotificationDuration; + /** + * @return The current lifecycle state of the monitoring template. + * + */ + private String state; + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + private String status; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + private String tenantId; + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + private String timeCreated; + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + private String timeUpdated; + /** + * @return Total Alarm Conditions + * + */ + private Double totalAlarmConditions; + /** + * @return Total Applied Alarm Conditions + * + */ + private Double totalAppliedAlarmConditions; + + private GetMonitoringTemplateResult() {} + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + * + */ + public List destinations() { + return this.destinations; + } + /** + * @return A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public String id() { + return this.id; + } + /** + * @return Whether the alarm is enabled or disabled. Default value is enabled. + * + */ + public Boolean isAlarmsEnabled() { + return this.isAlarmsEnabled; + } + /** + * @return Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + public Boolean isSplitNotificationEnabled() { + return this.isSplitNotificationEnabled; + } + /** + * @return List of members of this monitoring template. + * + */ + public List members() { + return this.members; + } + /** + * @return The format to use for alarm notifications. + * + */ + public String messageFormat() { + return this.messageFormat; + } + public String monitoringTemplateId() { + return this.monitoringTemplateId; + } + /** + * @return The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + */ + public String repeatNotificationDuration() { + return this.repeatNotificationDuration; + } + /** + * @return The current lifecycle state of the monitoring template. + * + */ + public String state() { + return this.state; + } + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + public String status() { + return this.status; + } + /** + * @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 Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + public String tenantId() { + return this.tenantId; + } + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return Total Alarm Conditions + * + */ + public Double totalAlarmConditions() { + return this.totalAlarmConditions; + } + /** + * @return Total Applied Alarm Conditions + * + */ + public Double totalAppliedAlarmConditions() { + return this.totalAppliedAlarmConditions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplateResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String description; + private List destinations; + private String displayName; + private Map freeformTags; + private String id; + private Boolean isAlarmsEnabled; + private Boolean isSplitNotificationEnabled; + private List members; + private String messageFormat; + private String monitoringTemplateId; + private String repeatNotificationDuration; + private String state; + private String status; + private Map systemTags; + private String tenantId; + private String timeCreated; + private String timeUpdated; + private Double totalAlarmConditions; + private Double totalAppliedAlarmConditions; + public Builder() {} + public Builder(GetMonitoringTemplateResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.destinations = defaults.destinations; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAlarmsEnabled = defaults.isAlarmsEnabled; + this.isSplitNotificationEnabled = defaults.isSplitNotificationEnabled; + this.members = defaults.members; + this.messageFormat = defaults.messageFormat; + this.monitoringTemplateId = defaults.monitoringTemplateId; + this.repeatNotificationDuration = defaults.repeatNotificationDuration; + this.state = defaults.state; + this.status = defaults.status; + this.systemTags = defaults.systemTags; + this.tenantId = defaults.tenantId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.totalAlarmConditions = defaults.totalAlarmConditions; + this.totalAppliedAlarmConditions = defaults.totalAppliedAlarmConditions; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder destinations(List destinations) { + if (destinations == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "destinations"); + } + this.destinations = destinations; + return this; + } + public Builder destinations(String... destinations) { + return destinations(List.of(destinations)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAlarmsEnabled(Boolean isAlarmsEnabled) { + if (isAlarmsEnabled == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "isAlarmsEnabled"); + } + this.isAlarmsEnabled = isAlarmsEnabled; + return this; + } + @CustomType.Setter + public Builder isSplitNotificationEnabled(Boolean isSplitNotificationEnabled) { + if (isSplitNotificationEnabled == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "isSplitNotificationEnabled"); + } + this.isSplitNotificationEnabled = isSplitNotificationEnabled; + return this; + } + @CustomType.Setter + public Builder members(List members) { + if (members == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "members"); + } + this.members = members; + return this; + } + public Builder members(GetMonitoringTemplateMember... members) { + return members(List.of(members)); + } + @CustomType.Setter + public Builder messageFormat(String messageFormat) { + if (messageFormat == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "messageFormat"); + } + this.messageFormat = messageFormat; + return this; + } + @CustomType.Setter + public Builder monitoringTemplateId(String monitoringTemplateId) { + if (monitoringTemplateId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "monitoringTemplateId"); + } + this.monitoringTemplateId = monitoringTemplateId; + return this; + } + @CustomType.Setter + public Builder repeatNotificationDuration(String repeatNotificationDuration) { + if (repeatNotificationDuration == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "repeatNotificationDuration"); + } + this.repeatNotificationDuration = repeatNotificationDuration; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder tenantId(String tenantId) { + if (tenantId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "tenantId"); + } + this.tenantId = tenantId; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder totalAlarmConditions(Double totalAlarmConditions) { + if (totalAlarmConditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "totalAlarmConditions"); + } + this.totalAlarmConditions = totalAlarmConditions; + return this; + } + @CustomType.Setter + public Builder totalAppliedAlarmConditions(Double totalAppliedAlarmConditions) { + if (totalAppliedAlarmConditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplateResult", "totalAppliedAlarmConditions"); + } + this.totalAppliedAlarmConditions = totalAppliedAlarmConditions; + return this; + } + public GetMonitoringTemplateResult build() { + final var _resultValue = new GetMonitoringTemplateResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.destinations = destinations; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAlarmsEnabled = isAlarmsEnabled; + _resultValue.isSplitNotificationEnabled = isSplitNotificationEnabled; + _resultValue.members = members; + _resultValue.messageFormat = messageFormat; + _resultValue.monitoringTemplateId = monitoringTemplateId; + _resultValue.repeatNotificationDuration = repeatNotificationDuration; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.systemTags = systemTags; + _resultValue.tenantId = tenantId; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + _resultValue.totalAlarmConditions = totalAlarmConditions; + _resultValue.totalAppliedAlarmConditions = totalAppliedAlarmConditions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesFilter.java new file mode 100644 index 0000000000..0068ecd455 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesFilter.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.StackMonitoring.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 GetMonitoringTemplatesFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetMonitoringTemplatesFilter() {} + 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(GetMonitoringTemplatesFilter 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(GetMonitoringTemplatesFilter 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("GetMonitoringTemplatesFilter", "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("GetMonitoringTemplatesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetMonitoringTemplatesFilter build() { + final var _resultValue = new GetMonitoringTemplatesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollection.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollection.java new file mode 100644 index 0000000000..6bfd3735b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollection.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplatesMonitoringTemplateCollection { + private List items; + + private GetMonitoringTemplatesMonitoringTemplateCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplatesMonitoringTemplateCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetMonitoringTemplatesMonitoringTemplateCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetMonitoringTemplatesMonitoringTemplateCollectionItem... items) { + return items(List.of(items)); + } + public GetMonitoringTemplatesMonitoringTemplateCollection build() { + final var _resultValue = new GetMonitoringTemplatesMonitoringTemplateCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItem.java new file mode 100644 index 0000000000..3612569ff9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItem.java @@ -0,0 +1,506 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItemMember; +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 GetMonitoringTemplatesMonitoringTemplateCollectionItem { + /** + * @return The ID of the compartment in which data is listed. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + private String description; + /** + * @return A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + * + */ + private List destinations; + /** + * @return A filter to return monitoring template based on 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 OCID of the resourceInstance/resourceType/resourceGroup + * + */ + private String id; + /** + * @return Whether the alarm is enabled or disabled. Default value is enabled. + * + */ + private Boolean isAlarmsEnabled; + /** + * @return Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + private Boolean isSplitNotificationEnabled; + /** + * @return List of members of this monitoring template. + * + */ + private List members; + /** + * @return The format to use for alarm notifications. + * + */ + private String messageFormat; + /** + * @return The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + */ + private String repeatNotificationDuration; + /** + * @return A filter to return monitoring template based on Lifecycle State + * + */ + private String state; + /** + * @return A filter to return monitoring template based on input status + * + */ + private String status; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + private String tenantId; + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + private String timeCreated; + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + private String timeUpdated; + /** + * @return Total Alarm Conditions + * + */ + private Double totalAlarmConditions; + /** + * @return Total Applied Alarm Conditions + * + */ + private Double totalAppliedAlarmConditions; + + private GetMonitoringTemplatesMonitoringTemplateCollectionItem() {} + /** + * @return The ID of the compartment in which data is listed. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + * + */ + public List destinations() { + return this.destinations; + } + /** + * @return A filter to return monitoring template based on 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 OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public String id() { + return this.id; + } + /** + * @return Whether the alarm is enabled or disabled. Default value is enabled. + * + */ + public Boolean isAlarmsEnabled() { + return this.isAlarmsEnabled; + } + /** + * @return Whether the alarm notification is enabled or disabled, it will be Enabled by default. + * + */ + public Boolean isSplitNotificationEnabled() { + return this.isSplitNotificationEnabled; + } + /** + * @return List of members of this monitoring template. + * + */ + public List members() { + return this.members; + } + /** + * @return The format to use for alarm notifications. + * + */ + public String messageFormat() { + return this.messageFormat; + } + /** + * @return The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + */ + public String repeatNotificationDuration() { + return this.repeatNotificationDuration; + } + /** + * @return A filter to return monitoring template based on Lifecycle State + * + */ + public String state() { + return this.state; + } + /** + * @return A filter to return monitoring template based on input status + * + */ + public String status() { + return this.status; + } + /** + * @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 Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + public String tenantId() { + return this.tenantId; + } + /** + * @return The date and time the monitoringTemplate was created. Format defined by RFC3339. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return Total Alarm Conditions + * + */ + public Double totalAlarmConditions() { + return this.totalAlarmConditions; + } + /** + * @return Total Applied Alarm Conditions + * + */ + public Double totalAppliedAlarmConditions() { + return this.totalAppliedAlarmConditions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplatesMonitoringTemplateCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String description; + private List destinations; + private String displayName; + private Map freeformTags; + private String id; + private Boolean isAlarmsEnabled; + private Boolean isSplitNotificationEnabled; + private List members; + private String messageFormat; + private String repeatNotificationDuration; + private String state; + private String status; + private Map systemTags; + private String tenantId; + private String timeCreated; + private String timeUpdated; + private Double totalAlarmConditions; + private Double totalAppliedAlarmConditions; + public Builder() {} + public Builder(GetMonitoringTemplatesMonitoringTemplateCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.destinations = defaults.destinations; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAlarmsEnabled = defaults.isAlarmsEnabled; + this.isSplitNotificationEnabled = defaults.isSplitNotificationEnabled; + this.members = defaults.members; + this.messageFormat = defaults.messageFormat; + this.repeatNotificationDuration = defaults.repeatNotificationDuration; + this.state = defaults.state; + this.status = defaults.status; + this.systemTags = defaults.systemTags; + this.tenantId = defaults.tenantId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.totalAlarmConditions = defaults.totalAlarmConditions; + this.totalAppliedAlarmConditions = defaults.totalAppliedAlarmConditions; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder destinations(List destinations) { + if (destinations == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "destinations"); + } + this.destinations = destinations; + return this; + } + public Builder destinations(String... destinations) { + return destinations(List.of(destinations)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAlarmsEnabled(Boolean isAlarmsEnabled) { + if (isAlarmsEnabled == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "isAlarmsEnabled"); + } + this.isAlarmsEnabled = isAlarmsEnabled; + return this; + } + @CustomType.Setter + public Builder isSplitNotificationEnabled(Boolean isSplitNotificationEnabled) { + if (isSplitNotificationEnabled == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "isSplitNotificationEnabled"); + } + this.isSplitNotificationEnabled = isSplitNotificationEnabled; + return this; + } + @CustomType.Setter + public Builder members(List members) { + if (members == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "members"); + } + this.members = members; + return this; + } + public Builder members(GetMonitoringTemplatesMonitoringTemplateCollectionItemMember... members) { + return members(List.of(members)); + } + @CustomType.Setter + public Builder messageFormat(String messageFormat) { + if (messageFormat == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "messageFormat"); + } + this.messageFormat = messageFormat; + return this; + } + @CustomType.Setter + public Builder repeatNotificationDuration(String repeatNotificationDuration) { + if (repeatNotificationDuration == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "repeatNotificationDuration"); + } + this.repeatNotificationDuration = repeatNotificationDuration; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder tenantId(String tenantId) { + if (tenantId == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "tenantId"); + } + this.tenantId = tenantId; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder totalAlarmConditions(Double totalAlarmConditions) { + if (totalAlarmConditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "totalAlarmConditions"); + } + this.totalAlarmConditions = totalAlarmConditions; + return this; + } + @CustomType.Setter + public Builder totalAppliedAlarmConditions(Double totalAppliedAlarmConditions) { + if (totalAppliedAlarmConditions == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItem", "totalAppliedAlarmConditions"); + } + this.totalAppliedAlarmConditions = totalAppliedAlarmConditions; + return this; + } + public GetMonitoringTemplatesMonitoringTemplateCollectionItem build() { + final var _resultValue = new GetMonitoringTemplatesMonitoringTemplateCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.destinations = destinations; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAlarmsEnabled = isAlarmsEnabled; + _resultValue.isSplitNotificationEnabled = isSplitNotificationEnabled; + _resultValue.members = members; + _resultValue.messageFormat = messageFormat; + _resultValue.repeatNotificationDuration = repeatNotificationDuration; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.systemTags = systemTags; + _resultValue.tenantId = tenantId; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + _resultValue.totalAlarmConditions = totalAlarmConditions; + _resultValue.totalAppliedAlarmConditions = totalAppliedAlarmConditions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMember.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMember.java new file mode 100644 index 0000000000..62daed7a45 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesMonitoringTemplateCollectionItemMember.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMonitoringTemplatesMonitoringTemplateCollectionItemMember { + /** + * @return The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + private String compositeType; + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + private String id; + /** + * @return Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + private String type; + + private GetMonitoringTemplatesMonitoringTemplateCollectionItemMember() {} + /** + * @return The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + public String compositeType() { + return this.compositeType; + } + /** + * @return The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public String id() { + return this.id; + } + /** + * @return Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplatesMonitoringTemplateCollectionItemMember defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compositeType; + private String id; + private String type; + public Builder() {} + public Builder(GetMonitoringTemplatesMonitoringTemplateCollectionItemMember defaults) { + Objects.requireNonNull(defaults); + this.compositeType = defaults.compositeType; + this.id = defaults.id; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder compositeType(String compositeType) { + if (compositeType == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItemMember", "compositeType"); + } + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItemMember", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesMonitoringTemplateCollectionItemMember", "type"); + } + this.type = type; + return this; + } + public GetMonitoringTemplatesMonitoringTemplateCollectionItemMember build() { + final var _resultValue = new GetMonitoringTemplatesMonitoringTemplateCollectionItemMember(); + _resultValue.compositeType = compositeType; + _resultValue.id = id; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesResult.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesResult.java new file mode 100644 index 0000000000..b73a55301d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/GetMonitoringTemplatesResult.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.StackMonitoring.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplatesFilter; +import com.pulumi.oci.StackMonitoring.outputs.GetMonitoringTemplatesMonitoringTemplateCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMonitoringTemplatesResult { + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + private @Nullable String compartmentId; + /** + * @return A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable List metricNames; + /** + * @return The list of monitoring_template_collection. + * + */ + private List monitoringTemplateCollections; + private @Nullable String monitoringTemplateId; + private @Nullable List namespaces; + private @Nullable List resourceTypes; + /** + * @return The current lifecycle state of the monitoring template. + * + */ + private @Nullable String state; + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + private @Nullable String status; + + private GetMonitoringTemplatesResult() {} + /** + * @return The OCID of the compartment containing the monitoringTemplate. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + /** + * @return A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public List metricNames() { + return this.metricNames == null ? List.of() : this.metricNames; + } + /** + * @return The list of monitoring_template_collection. + * + */ + public List monitoringTemplateCollections() { + return this.monitoringTemplateCollections; + } + public Optional monitoringTemplateId() { + return Optional.ofNullable(this.monitoringTemplateId); + } + public List namespaces() { + return this.namespaces == null ? List.of() : this.namespaces; + } + public List resourceTypes() { + return this.resourceTypes == null ? List.of() : this.resourceTypes; + } + /** + * @return The current lifecycle state of the monitoring template. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return The current status of the monitoring template i.e. whether it is Applied or NotApplied. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMonitoringTemplatesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String compartmentId; + private @Nullable String displayName; + private @Nullable List filters; + private String id; + private @Nullable List metricNames; + private List monitoringTemplateCollections; + private @Nullable String monitoringTemplateId; + private @Nullable List namespaces; + private @Nullable List resourceTypes; + private @Nullable String state; + private @Nullable String status; + public Builder() {} + public Builder(GetMonitoringTemplatesResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.metricNames = defaults.metricNames; + this.monitoringTemplateCollections = defaults.monitoringTemplateCollections; + this.monitoringTemplateId = defaults.monitoringTemplateId; + this.namespaces = defaults.namespaces; + this.resourceTypes = defaults.resourceTypes; + this.state = defaults.state; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder compartmentId(@Nullable String 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(GetMonitoringTemplatesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder metricNames(@Nullable List metricNames) { + + this.metricNames = metricNames; + return this; + } + public Builder metricNames(String... metricNames) { + return metricNames(List.of(metricNames)); + } + @CustomType.Setter + public Builder monitoringTemplateCollections(List monitoringTemplateCollections) { + if (monitoringTemplateCollections == null) { + throw new MissingRequiredPropertyException("GetMonitoringTemplatesResult", "monitoringTemplateCollections"); + } + this.monitoringTemplateCollections = monitoringTemplateCollections; + return this; + } + public Builder monitoringTemplateCollections(GetMonitoringTemplatesMonitoringTemplateCollection... monitoringTemplateCollections) { + return monitoringTemplateCollections(List.of(monitoringTemplateCollections)); + } + @CustomType.Setter + public Builder monitoringTemplateId(@Nullable String monitoringTemplateId) { + + this.monitoringTemplateId = monitoringTemplateId; + return this; + } + @CustomType.Setter + public Builder namespaces(@Nullable List namespaces) { + + this.namespaces = namespaces; + return this; + } + public Builder namespaces(String... namespaces) { + return namespaces(List.of(namespaces)); + } + @CustomType.Setter + public Builder resourceTypes(@Nullable List resourceTypes) { + + this.resourceTypes = resourceTypes; + return this; + } + public Builder resourceTypes(String... resourceTypes) { + return resourceTypes(List.of(resourceTypes)); + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + public GetMonitoringTemplatesResult build() { + final var _resultValue = new GetMonitoringTemplatesResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.metricNames = metricNames; + _resultValue.monitoringTemplateCollections = monitoringTemplateCollections; + _resultValue.monitoringTemplateId = monitoringTemplateId; + _resultValue.namespaces = namespaces; + _resultValue.resourceTypes = resourceTypes; + _resultValue.state = state; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoredResourceTypeMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoredResourceTypeMetadata.java index a988a357c9..148f9e342c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoredResourceTypeMetadata.java +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoredResourceTypeMetadata.java @@ -50,6 +50,11 @@ public final class MonitoredResourceTypeMetadata { * */ private @Nullable Map validPropertyValues; + /** + * @return (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + private @Nullable List validSubResourceTypes; private MonitoredResourceTypeMetadata() {} /** @@ -102,6 +107,13 @@ public List validPropertiesForUpdates() { public Map validPropertyValues() { return this.validPropertyValues == null ? Map.of() : this.validPropertyValues; } + /** + * @return (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + * + */ + public List validSubResourceTypes() { + return this.validSubResourceTypes == null ? List.of() : this.validSubResourceTypes; + } public static Builder builder() { return new Builder(); @@ -119,6 +131,7 @@ public static final class Builder { private @Nullable List validPropertiesForCreates; private @Nullable List validPropertiesForUpdates; private @Nullable Map validPropertyValues; + private @Nullable List validSubResourceTypes; public Builder() {} public Builder(MonitoredResourceTypeMetadata defaults) { Objects.requireNonNull(defaults); @@ -129,6 +142,7 @@ public Builder(MonitoredResourceTypeMetadata defaults) { this.validPropertiesForCreates = defaults.validPropertiesForCreates; this.validPropertiesForUpdates = defaults.validPropertiesForUpdates; this.validPropertyValues = defaults.validPropertyValues; + this.validSubResourceTypes = defaults.validSubResourceTypes; } @CustomType.Setter @@ -190,6 +204,15 @@ public Builder validPropertyValues(@Nullable Map validPropertyVal this.validPropertyValues = validPropertyValues; return this; } + @CustomType.Setter + public Builder validSubResourceTypes(@Nullable List validSubResourceTypes) { + + this.validSubResourceTypes = validSubResourceTypes; + return this; + } + public Builder validSubResourceTypes(String... validSubResourceTypes) { + return validSubResourceTypes(List.of(validSubResourceTypes)); + } public MonitoredResourceTypeMetadata build() { final var _resultValue = new MonitoredResourceTypeMetadata(); _resultValue.agentProperties = agentProperties; @@ -199,6 +222,7 @@ public MonitoredResourceTypeMetadata build() { _resultValue.validPropertiesForCreates = validPropertiesForCreates; _resultValue.validPropertiesForUpdates = validPropertiesForUpdates; _resultValue.validPropertyValues = validPropertyValues; + _resultValue.validSubResourceTypes = validSubResourceTypes; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateAlarmConditionCondition.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateAlarmConditionCondition.java new file mode 100644 index 0000000000..99935fece7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateAlarmConditionCondition.java @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.StackMonitoring.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 MonitoringTemplateAlarmConditionCondition { + /** + * @return (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + private @Nullable String body; + /** + * @return (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + private String query; + /** + * @return (Updatable) Severity - Critical/Warning + * + */ + private String severity; + /** + * @return (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private @Nullable Boolean shouldAppendNote; + /** + * @return (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + private @Nullable Boolean shouldAppendUrl; + /** + * @return (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + private @Nullable String triggerDelay; + + private MonitoringTemplateAlarmConditionCondition() {} + /** + * @return (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + * + */ + public Optional body() { + return Optional.ofNullable(this.body); + } + /** + * @return (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + * + */ + public String query() { + return this.query; + } + /** + * @return (Updatable) Severity - Critical/Warning + * + */ + public String severity() { + return this.severity; + } + /** + * @return (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Optional shouldAppendNote() { + return Optional.ofNullable(this.shouldAppendNote); + } + /** + * @return (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + * + */ + public Optional shouldAppendUrl() { + return Optional.ofNullable(this.shouldAppendUrl); + } + /** + * @return (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + * + */ + public Optional triggerDelay() { + return Optional.ofNullable(this.triggerDelay); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MonitoringTemplateAlarmConditionCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String body; + private String query; + private String severity; + private @Nullable Boolean shouldAppendNote; + private @Nullable Boolean shouldAppendUrl; + private @Nullable String triggerDelay; + public Builder() {} + public Builder(MonitoringTemplateAlarmConditionCondition defaults) { + Objects.requireNonNull(defaults); + this.body = defaults.body; + this.query = defaults.query; + this.severity = defaults.severity; + this.shouldAppendNote = defaults.shouldAppendNote; + this.shouldAppendUrl = defaults.shouldAppendUrl; + this.triggerDelay = defaults.triggerDelay; + } + + @CustomType.Setter + public Builder body(@Nullable String body) { + + this.body = body; + return this; + } + @CustomType.Setter + public Builder query(String query) { + if (query == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionCondition", "query"); + } + this.query = query; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateAlarmConditionCondition", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder shouldAppendNote(@Nullable Boolean shouldAppendNote) { + + this.shouldAppendNote = shouldAppendNote; + return this; + } + @CustomType.Setter + public Builder shouldAppendUrl(@Nullable Boolean shouldAppendUrl) { + + this.shouldAppendUrl = shouldAppendUrl; + return this; + } + @CustomType.Setter + public Builder triggerDelay(@Nullable String triggerDelay) { + + this.triggerDelay = triggerDelay; + return this; + } + public MonitoringTemplateAlarmConditionCondition build() { + final var _resultValue = new MonitoringTemplateAlarmConditionCondition(); + _resultValue.body = body; + _resultValue.query = query; + _resultValue.severity = severity; + _resultValue.shouldAppendNote = shouldAppendNote; + _resultValue.shouldAppendUrl = shouldAppendUrl; + _resultValue.triggerDelay = triggerDelay; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateMember.java b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateMember.java new file mode 100644 index 0000000000..52c04e8249 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/StackMonitoring/outputs/MonitoringTemplateMember.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.StackMonitoring.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 MonitoringTemplateMember { + /** + * @return (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + private @Nullable String compositeType; + /** + * @return (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + private String id; + /** + * @return (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + private String type; + + private MonitoringTemplateMember() {} + /** + * @return (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + * + */ + public Optional compositeType() { + return Optional.ofNullable(this.compositeType); + } + /** + * @return (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + * + */ + public String id() { + return this.id; + } + /** + * @return (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MonitoringTemplateMember defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String compositeType; + private String id; + private String type; + public Builder() {} + public Builder(MonitoringTemplateMember defaults) { + Objects.requireNonNull(defaults); + this.compositeType = defaults.compositeType; + this.id = defaults.id; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder compositeType(@Nullable String compositeType) { + + this.compositeType = compositeType; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMember", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("MonitoringTemplateMember", "type"); + } + this.type = type; + return this; + } + public MonitoringTemplateMember build() { + final var _resultValue = new MonitoringTemplateMember(); + _resultValue.compositeType = compositeType; + _resultValue.id = id; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMapping.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMapping.java new file mode 100644 index 0000000000..6f79e636ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMapping.java @@ -0,0 +1,229 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane; + +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.Tenantmanagercontrolplane.SubscriptionMappingArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.SubscriptionMappingState; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Assign the tenancy record identified by the compartment ID to the given subscription 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.Tenantmanagercontrolplane.SubscriptionMapping;
+ * import com.pulumi.oci.Tenantmanagercontrolplane.SubscriptionMappingArgs;
+ * 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 testSubscriptionMapping = new SubscriptionMapping("testSubscriptionMapping", SubscriptionMappingArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .subscriptionId(testSubscription.id())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * SubscriptionMappings can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" + * ``` + * + */ +@ResourceType(type="oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping") +public class SubscriptionMapping extends com.pulumi.resources.CustomResource { + /** + * OCID of the compartment. Always a tenancy OCID. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + @Export(name="isExplicitlyAssigned", refs={Boolean.class}, tree="[0]") + private Output isExplicitlyAssigned; + + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + public Output isExplicitlyAssigned() { + return this.isExplicitlyAssigned; + } + /** + * Lifecycle state of the subscriptionMapping. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return Lifecycle state of the subscriptionMapping. + * + */ + public Output state() { + return this.state; + } + /** + * OCID of Subscription. + * + * ** IMPORTANT ** + * 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 OCID of Subscription. + * + * ** IMPORTANT ** + * 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; + } + /** + * Date-time when subscription mapping was created. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return Date-time when subscription mapping was created. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * Date-time when subscription mapping was terminated. + * + */ + @Export(name="timeTerminated", refs={String.class}, tree="[0]") + private Output timeTerminated; + + /** + * @return Date-time when subscription mapping was terminated. + * + */ + public Output timeTerminated() { + return this.timeTerminated; + } + /** + * Date-time when subscription mapping was updated. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return Date-time when subscription mapping was updated. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SubscriptionMapping(java.lang.String name) { + this(name, SubscriptionMappingArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SubscriptionMapping(java.lang.String name, SubscriptionMappingArgs 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 SubscriptionMapping(java.lang.String name, SubscriptionMappingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private SubscriptionMapping(java.lang.String name, Output id, @Nullable SubscriptionMappingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping", name, state, makeResourceOptions(options, id), false); + } + + private static SubscriptionMappingArgs makeArgs(SubscriptionMappingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? SubscriptionMappingArgs.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 SubscriptionMapping get(java.lang.String name, Output id, @Nullable SubscriptionMappingState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SubscriptionMapping(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMappingArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMappingArgs.java new file mode 100644 index 0000000000..cbe609f25b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/SubscriptionMappingArgs.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.Tenantmanagercontrolplane; + +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 SubscriptionMappingArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubscriptionMappingArgs Empty = new SubscriptionMappingArgs(); + + /** + * OCID of the compartment. Always a tenancy OCID. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * OCID of Subscription. + * + * ** IMPORTANT ** + * 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", required=true) + private Output subscriptionId; + + /** + * @return OCID of Subscription. + * + * ** IMPORTANT ** + * 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; + } + + private SubscriptionMappingArgs() {} + + private SubscriptionMappingArgs(SubscriptionMappingArgs $) { + this.compartmentId = $.compartmentId; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubscriptionMappingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubscriptionMappingArgs $; + + public Builder() { + $ = new SubscriptionMappingArgs(); + } + + public Builder(SubscriptionMappingArgs defaults) { + $ = new SubscriptionMappingArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId OCID of the compartment. Always a tenancy OCID. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId OCID of the compartment. Always a tenancy OCID. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param subscriptionId OCID of Subscription. + * + * ** IMPORTANT ** + * 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(Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId OCID of Subscription. + * + * ** IMPORTANT ** + * 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 SubscriptionMappingArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("SubscriptionMappingArgs", "compartmentId"); + } + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("SubscriptionMappingArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/TenantmanagercontrolplaneFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/TenantmanagercontrolplaneFunctions.java new file mode 100644 index 0000000000..48bb6e90dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/TenantmanagercontrolplaneFunctions.java @@ -0,0 +1,5453 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.deployment.InvokeOutputOptions; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancePlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsPlainArgs; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionLineItemsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainGovernanceResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainGovernancesResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetLinkResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetLinksResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationTenanciesResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationTenancyResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetRecipientInvitationResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetRecipientInvitationsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSenderInvitationResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSenderInvitationsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionAvailableRegionsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionLineItemsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionMappingResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionMappingsResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionResult; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsResult; +import com.pulumi.oci.Utilities; +import java.util.concurrent.CompletableFuture; + +public final class TenantmanagercontrolplaneFunctions { + /** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;
+     * 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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscription(GetAssignedSubscriptionArgs args) { + return getAssignedSubscription(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;
+     * 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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionPlain(GetAssignedSubscriptionPlainArgs args) { + return getAssignedSubscriptionPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;
+     * 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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscription(GetAssignedSubscriptionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", TypeShape.of(GetAssignedSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;
+     * 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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscription(GetAssignedSubscriptionArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", TypeShape.of(GetAssignedSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionArgs;
+     * 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 testAssignedSubscription = TenantmanagercontrolplaneFunctions.getAssignedSubscription(GetAssignedSubscriptionArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionPlain(GetAssignedSubscriptionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", TypeShape.of(GetAssignedSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;
+     * 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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs args) { + return getAssignedSubscriptionLineItems(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;
+     * 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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionLineItemsPlain(GetAssignedSubscriptionLineItemsPlainArgs args) { + return getAssignedSubscriptionLineItemsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;
+     * 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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", TypeShape.of(GetAssignedSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;
+     * 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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", TypeShape.of(GetAssignedSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsArgs;
+     * 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 testAssignedSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getAssignedSubscriptionLineItems(GetAssignedSubscriptionLineItemsArgs.builder()
+     *             .assignedSubscriptionId(testAssignedSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionLineItemsPlain(GetAssignedSubscriptionLineItemsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", TypeShape.of(GetAssignedSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;
+     * 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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(assignedSubscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptions(GetAssignedSubscriptionsArgs args) { + return getAssignedSubscriptions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;
+     * 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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(assignedSubscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionsPlain(GetAssignedSubscriptionsPlainArgs args) { + return getAssignedSubscriptionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;
+     * 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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(assignedSubscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptions(GetAssignedSubscriptionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", TypeShape.of(GetAssignedSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;
+     * 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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(assignedSubscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getAssignedSubscriptions(GetAssignedSubscriptionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", TypeShape.of(GetAssignedSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsArgs;
+     * 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 testAssignedSubscriptions = TenantmanagercontrolplaneFunctions.getAssignedSubscriptions(GetAssignedSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(assignedSubscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getAssignedSubscriptionsPlain(GetAssignedSubscriptionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", TypeShape.of(GetAssignedSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;
+     * 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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomain(GetDomainArgs args) { + return getDomain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;
+     * 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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainPlain(GetDomainPlainArgs args) { + return getDomainPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;
+     * 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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomain(GetDomainArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;
+     * 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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomain(GetDomainArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainArgs;
+     * 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 testDomain = TenantmanagercontrolplaneFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainId(testDomainOciTenantmanagercontrolplaneDomain.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainPlain(GetDomainPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;
+     * 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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()
+     *             .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernance(GetDomainGovernanceArgs args) { + return getDomainGovernance(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;
+     * 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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()
+     *             .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainGovernancePlain(GetDomainGovernancePlainArgs args) { + return getDomainGovernancePlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;
+     * 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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()
+     *             .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernance(GetDomainGovernanceArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", TypeShape.of(GetDomainGovernanceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;
+     * 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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()
+     *             .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernance(GetDomainGovernanceArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", TypeShape.of(GetDomainGovernanceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernanceArgs;
+     * 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 testDomainGovernance = TenantmanagercontrolplaneFunctions.getDomainGovernance(GetDomainGovernanceArgs.builder()
+     *             .domainGovernanceId(testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainGovernancePlain(GetDomainGovernancePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", TypeShape.of(GetDomainGovernanceResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;
+     * 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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainGovernanceId(testDomainGovernance.id())
+     *             .domainId(testDomain.id())
+     *             .name(domainGovernanceName)
+     *             .state(domainGovernanceState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernances(GetDomainGovernancesArgs args) { + return getDomainGovernances(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;
+     * 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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainGovernanceId(testDomainGovernance.id())
+     *             .domainId(testDomain.id())
+     *             .name(domainGovernanceName)
+     *             .state(domainGovernanceState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainGovernancesPlain(GetDomainGovernancesPlainArgs args) { + return getDomainGovernancesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;
+     * 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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainGovernanceId(testDomainGovernance.id())
+     *             .domainId(testDomain.id())
+     *             .name(domainGovernanceName)
+     *             .state(domainGovernanceState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernances(GetDomainGovernancesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", TypeShape.of(GetDomainGovernancesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;
+     * 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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainGovernanceId(testDomainGovernance.id())
+     *             .domainId(testDomain.id())
+     *             .name(domainGovernanceName)
+     *             .state(domainGovernanceState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomainGovernances(GetDomainGovernancesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", TypeShape.of(GetDomainGovernancesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesArgs;
+     * 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 testDomainGovernances = TenantmanagercontrolplaneFunctions.getDomainGovernances(GetDomainGovernancesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainGovernanceId(testDomainGovernance.id())
+     *             .domainId(testDomain.id())
+     *             .name(domainGovernanceName)
+     *             .state(domainGovernanceState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainGovernancesPlain(GetDomainGovernancesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", TypeShape.of(GetDomainGovernancesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;
+     * 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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainId(testDomain.id())
+     *             .name(domainName)
+     *             .state(domainState)
+     *             .status(domainStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomains(GetDomainsArgs args) { + return getDomains(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;
+     * 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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainId(testDomain.id())
+     *             .name(domainName)
+     *             .state(domainState)
+     *             .status(domainStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainsPlain(GetDomainsPlainArgs args) { + return getDomainsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;
+     * 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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainId(testDomain.id())
+     *             .name(domainName)
+     *             .state(domainState)
+     *             .status(domainStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomains(GetDomainsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", TypeShape.of(GetDomainsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;
+     * 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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainId(testDomain.id())
+     *             .name(domainName)
+     *             .state(domainState)
+     *             .status(domainStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDomains(GetDomainsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", TypeShape.of(GetDomainsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsArgs;
+     * 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 testDomains = TenantmanagercontrolplaneFunctions.getDomains(GetDomainsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .domainId(testDomain.id())
+     *             .name(domainName)
+     *             .state(domainState)
+     *             .status(domainStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDomainsPlain(GetDomainsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getDomains:getDomains", TypeShape.of(GetDomainsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;
+     * 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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()
+     *             .linkId(testLinkOciTenantmanagercontrolplaneLink.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLink(GetLinkArgs args) { + return getLink(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;
+     * 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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()
+     *             .linkId(testLinkOciTenantmanagercontrolplaneLink.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLinkPlain(GetLinkPlainArgs args) { + return getLinkPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;
+     * 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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()
+     *             .linkId(testLinkOciTenantmanagercontrolplaneLink.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLink(GetLinkArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getLink:getLink", TypeShape.of(GetLinkResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;
+     * 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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()
+     *             .linkId(testLinkOciTenantmanagercontrolplaneLink.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLink(GetLinkArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getLink:getLink", TypeShape.of(GetLinkResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinkArgs;
+     * 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 testLink = TenantmanagercontrolplaneFunctions.getLink(GetLinkArgs.builder()
+     *             .linkId(testLinkOciTenantmanagercontrolplaneLink.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLinkPlain(GetLinkPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getLink:getLink", TypeShape.of(GetLinkResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLinks() { + return getLinks(GetLinksArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLinksPlain() { + return getLinksPlain(GetLinksPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLinks(GetLinksArgs args) { + return getLinks(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLinksPlain(GetLinksPlainArgs args) { + return getLinksPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLinks(GetLinksArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", TypeShape.of(GetLinksResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getLinks(GetLinksArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", TypeShape.of(GetLinksResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksArgs;
+     * 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 testLinks = TenantmanagercontrolplaneFunctions.getLinks(GetLinksArgs.builder()
+     *             .childTenancyId(testTenancy.id())
+     *             .parentTenancyId(testTenancy.id())
+     *             .state(linkState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getLinksPlain(GetLinksPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getLinks:getLinks", TypeShape.of(GetLinksResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;
+     * 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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()
+     *             .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganization(GetOrganizationArgs args) { + return getOrganization(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;
+     * 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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()
+     *             .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationPlain(GetOrganizationPlainArgs args) { + return getOrganizationPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;
+     * 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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()
+     *             .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganization(GetOrganizationArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", TypeShape.of(GetOrganizationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;
+     * 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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()
+     *             .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganization(GetOrganizationArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", TypeShape.of(GetOrganizationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationArgs;
+     * 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 testOrganization = TenantmanagercontrolplaneFunctions.getOrganization(GetOrganizationArgs.builder()
+     *             .organizationId(testOrganizationOciTenantmanagercontrolplaneOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationPlain(GetOrganizationPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", TypeShape.of(GetOrganizationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;
+     * 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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancies(GetOrganizationTenanciesArgs args) { + return getOrganizationTenancies(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;
+     * 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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationTenanciesPlain(GetOrganizationTenanciesPlainArgs args) { + return getOrganizationTenanciesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;
+     * 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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancies(GetOrganizationTenanciesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", TypeShape.of(GetOrganizationTenanciesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;
+     * 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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancies(GetOrganizationTenanciesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", TypeShape.of(GetOrganizationTenanciesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesArgs;
+     * 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 testOrganizationTenancies = TenantmanagercontrolplaneFunctions.getOrganizationTenancies(GetOrganizationTenanciesArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationTenanciesPlain(GetOrganizationTenanciesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", TypeShape.of(GetOrganizationTenanciesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;
+     * 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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .tenancyId(testTenancy.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancy(GetOrganizationTenancyArgs args) { + return getOrganizationTenancy(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;
+     * 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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .tenancyId(testTenancy.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationTenancyPlain(GetOrganizationTenancyPlainArgs args) { + return getOrganizationTenancyPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;
+     * 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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .tenancyId(testTenancy.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancy(GetOrganizationTenancyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", TypeShape.of(GetOrganizationTenancyResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;
+     * 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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .tenancyId(testTenancy.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizationTenancy(GetOrganizationTenancyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", TypeShape.of(GetOrganizationTenancyResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenancyArgs;
+     * 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 testOrganizationTenancy = TenantmanagercontrolplaneFunctions.getOrganizationTenancy(GetOrganizationTenancyArgs.builder()
+     *             .organizationId(testOrganization.id())
+     *             .tenancyId(testTenancy.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationTenancyPlain(GetOrganizationTenancyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", TypeShape.of(GetOrganizationTenancyResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;
+     * 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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizations(GetOrganizationsArgs args) { + return getOrganizations(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;
+     * 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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationsPlain(GetOrganizationsPlainArgs args) { + return getOrganizationsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;
+     * 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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizations(GetOrganizationsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", TypeShape.of(GetOrganizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;
+     * 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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getOrganizations(GetOrganizationsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", TypeShape.of(GetOrganizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsArgs;
+     * 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 testOrganizations = TenantmanagercontrolplaneFunctions.getOrganizations(GetOrganizationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getOrganizationsPlain(GetOrganizationsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", TypeShape.of(GetOrganizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
+     * 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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
+     *             .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitation(GetRecipientInvitationArgs args) { + return getRecipientInvitation(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
+     * 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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
+     *             .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRecipientInvitationPlain(GetRecipientInvitationPlainArgs args) { + return getRecipientInvitationPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
+     * 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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
+     *             .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitation(GetRecipientInvitationArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", TypeShape.of(GetRecipientInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
+     * 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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
+     *             .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitation(GetRecipientInvitationArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", TypeShape.of(GetRecipientInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
+     * 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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
+     *             .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRecipientInvitationPlain(GetRecipientInvitationPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", TypeShape.of(GetRecipientInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;
+     * 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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .senderTenancyId(testTenancy.id())
+     *             .state(recipientInvitationState)
+     *             .status(recipientInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitations(GetRecipientInvitationsArgs args) { + return getRecipientInvitations(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;
+     * 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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .senderTenancyId(testTenancy.id())
+     *             .state(recipientInvitationState)
+     *             .status(recipientInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRecipientInvitationsPlain(GetRecipientInvitationsPlainArgs args) { + return getRecipientInvitationsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;
+     * 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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .senderTenancyId(testTenancy.id())
+     *             .state(recipientInvitationState)
+     *             .status(recipientInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitations(GetRecipientInvitationsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", TypeShape.of(GetRecipientInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;
+     * 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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .senderTenancyId(testTenancy.id())
+     *             .state(recipientInvitationState)
+     *             .status(recipientInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRecipientInvitations(GetRecipientInvitationsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", TypeShape.of(GetRecipientInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsArgs;
+     * 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 testRecipientInvitations = TenantmanagercontrolplaneFunctions.getRecipientInvitations(GetRecipientInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .senderTenancyId(testTenancy.id())
+     *             .state(recipientInvitationState)
+     *             .status(recipientInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getRecipientInvitationsPlain(GetRecipientInvitationsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", TypeShape.of(GetRecipientInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;
+     * 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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
+     *             .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitation(GetSenderInvitationArgs args) { + return getSenderInvitation(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;
+     * 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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
+     *             .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSenderInvitationPlain(GetSenderInvitationPlainArgs args) { + return getSenderInvitationPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;
+     * 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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
+     *             .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitation(GetSenderInvitationArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", TypeShape.of(GetSenderInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;
+     * 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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
+     *             .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitation(GetSenderInvitationArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", TypeShape.of(GetSenderInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationArgs;
+     * 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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
+     *             .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSenderInvitationPlain(GetSenderInvitationPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", TypeShape.of(GetSenderInvitationResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;
+     * 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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(senderInvitationDisplayName)
+     *             .recipientTenancyId(testTenancy.id())
+     *             .state(senderInvitationState)
+     *             .status(senderInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitations(GetSenderInvitationsArgs args) { + return getSenderInvitations(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;
+     * 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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(senderInvitationDisplayName)
+     *             .recipientTenancyId(testTenancy.id())
+     *             .state(senderInvitationState)
+     *             .status(senderInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSenderInvitationsPlain(GetSenderInvitationsPlainArgs args) { + return getSenderInvitationsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;
+     * 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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(senderInvitationDisplayName)
+     *             .recipientTenancyId(testTenancy.id())
+     *             .state(senderInvitationState)
+     *             .status(senderInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitations(GetSenderInvitationsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", TypeShape.of(GetSenderInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;
+     * 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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(senderInvitationDisplayName)
+     *             .recipientTenancyId(testTenancy.id())
+     *             .state(senderInvitationState)
+     *             .status(senderInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSenderInvitations(GetSenderInvitationsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", TypeShape.of(GetSenderInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsArgs;
+     * 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 testSenderInvitations = TenantmanagercontrolplaneFunctions.getSenderInvitations(GetSenderInvitationsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(senderInvitationDisplayName)
+     *             .recipientTenancyId(testTenancy.id())
+     *             .state(senderInvitationState)
+     *             .status(senderInvitationStatus)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSenderInvitationsPlain(GetSenderInvitationsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", TypeShape.of(GetSenderInvitationsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;
+     * 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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()
+     *             .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscription(GetSubscriptionArgs args) { + return getSubscription(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;
+     * 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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()
+     *             .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionPlain(GetSubscriptionPlainArgs args) { + return getSubscriptionPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;
+     * 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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()
+     *             .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscription(GetSubscriptionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", TypeShape.of(GetSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;
+     * 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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()
+     *             .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscription(GetSubscriptionArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", TypeShape.of(GetSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionArgs;
+     * 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 testSubscription = TenantmanagercontrolplaneFunctions.getSubscription(GetSubscriptionArgs.builder()
+     *             .subscriptionId(testSubscriptionOciTenantmanagercontrolplaneSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionPlain(GetSubscriptionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", TypeShape.of(GetSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;
+     * 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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs args) { + return getSubscriptionAvailableRegions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;
+     * 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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionAvailableRegionsPlain(GetSubscriptionAvailableRegionsPlainArgs args) { + return getSubscriptionAvailableRegionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;
+     * 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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", TypeShape.of(GetSubscriptionAvailableRegionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;
+     * 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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", TypeShape.of(GetSubscriptionAvailableRegionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsArgs;
+     * 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 testSubscriptionAvailableRegions = TenantmanagercontrolplaneFunctions.getSubscriptionAvailableRegions(GetSubscriptionAvailableRegionsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionAvailableRegionsPlain(GetSubscriptionAvailableRegionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", TypeShape.of(GetSubscriptionAvailableRegionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;
+     * 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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionLineItems(GetSubscriptionLineItemsArgs args) { + return getSubscriptionLineItems(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;
+     * 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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionLineItemsPlain(GetSubscriptionLineItemsPlainArgs args) { + return getSubscriptionLineItemsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;
+     * 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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionLineItems(GetSubscriptionLineItemsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", TypeShape.of(GetSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;
+     * 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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionLineItems(GetSubscriptionLineItemsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", TypeShape.of(GetSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsArgs;
+     * 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 testSubscriptionLineItems = TenantmanagercontrolplaneFunctions.getSubscriptionLineItems(GetSubscriptionLineItemsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionLineItemsPlain(GetSubscriptionLineItemsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", TypeShape.of(GetSubscriptionLineItemsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;
+     * 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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()
+     *             .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMapping(GetSubscriptionMappingArgs args) { + return getSubscriptionMapping(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;
+     * 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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()
+     *             .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionMappingPlain(GetSubscriptionMappingPlainArgs args) { + return getSubscriptionMappingPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;
+     * 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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()
+     *             .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMapping(GetSubscriptionMappingArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", TypeShape.of(GetSubscriptionMappingResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;
+     * 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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()
+     *             .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMapping(GetSubscriptionMappingArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", TypeShape.of(GetSubscriptionMappingResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingArgs;
+     * 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 testSubscriptionMapping = TenantmanagercontrolplaneFunctions.getSubscriptionMapping(GetSubscriptionMappingArgs.builder()
+     *             .subscriptionMappingId(testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionMappingPlain(GetSubscriptionMappingPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", TypeShape.of(GetSubscriptionMappingResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;
+     * 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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .compartmentId(compartmentId)
+     *             .state(subscriptionMappingState)
+     *             .subscriptionMappingId(testSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMappings(GetSubscriptionMappingsArgs args) { + return getSubscriptionMappings(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;
+     * 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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .compartmentId(compartmentId)
+     *             .state(subscriptionMappingState)
+     *             .subscriptionMappingId(testSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionMappingsPlain(GetSubscriptionMappingsPlainArgs args) { + return getSubscriptionMappingsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;
+     * 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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .compartmentId(compartmentId)
+     *             .state(subscriptionMappingState)
+     *             .subscriptionMappingId(testSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMappings(GetSubscriptionMappingsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", TypeShape.of(GetSubscriptionMappingsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;
+     * 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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .compartmentId(compartmentId)
+     *             .state(subscriptionMappingState)
+     *             .subscriptionMappingId(testSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptionMappings(GetSubscriptionMappingsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", TypeShape.of(GetSubscriptionMappingsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsArgs;
+     * 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 testSubscriptionMappings = TenantmanagercontrolplaneFunctions.getSubscriptionMappings(GetSubscriptionMappingsArgs.builder()
+     *             .subscriptionId(testSubscription.id())
+     *             .compartmentId(compartmentId)
+     *             .state(subscriptionMappingState)
+     *             .subscriptionMappingId(testSubscriptionMapping.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionMappingsPlain(GetSubscriptionMappingsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", TypeShape.of(GetSubscriptionMappingsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptions() { + return getSubscriptions(GetSubscriptionsArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionsPlain() { + return getSubscriptionsPlain(GetSubscriptionsPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptions(GetSubscriptionsArgs args) { + return getSubscriptions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionsPlain(GetSubscriptionsPlainArgs args) { + return getSubscriptionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptions(GetSubscriptionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", TypeShape.of(GetSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSubscriptions(GetSubscriptionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", TypeShape.of(GetSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## 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.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
+     * import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsArgs;
+     * 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 testSubscriptions = TenantmanagercontrolplaneFunctions.getSubscriptions(GetSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .entityVersion(subscriptionEntityVersion)
+     *             .subscriptionId(testSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getSubscriptionsPlain(GetSubscriptionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", TypeShape.of(GetSubscriptionsResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionArgs.java new file mode 100644 index 0000000000..5f009f9a50 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionArgs.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionArgs Empty = new GetAssignedSubscriptionArgs(); + + /** + * OCID of the assigned Oracle Cloud Subscription. + * + */ + @Import(name="assignedSubscriptionId", required=true) + private Output assignedSubscriptionId; + + /** + * @return OCID of the assigned Oracle Cloud Subscription. + * + */ + public Output assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + + private GetAssignedSubscriptionArgs() {} + + private GetAssignedSubscriptionArgs(GetAssignedSubscriptionArgs $) { + this.assignedSubscriptionId = $.assignedSubscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionArgs(); + } + + public Builder(GetAssignedSubscriptionArgs defaults) { + $ = new GetAssignedSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(Output assignedSubscriptionId) { + $.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + return assignedSubscriptionId(Output.of(assignedSubscriptionId)); + } + + public GetAssignedSubscriptionArgs build() { + if ($.assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionArgs", "assignedSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsArgs.java new file mode 100644 index 0000000000..1ad052e973 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAssignedSubscriptionLineItemsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionLineItemsArgs Empty = new GetAssignedSubscriptionLineItemsArgs(); + + /** + * OCID of the assigned Oracle Cloud Subscription. + * + */ + @Import(name="assignedSubscriptionId", required=true) + private Output assignedSubscriptionId; + + /** + * @return OCID of the assigned Oracle Cloud Subscription. + * + */ + public Output assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetAssignedSubscriptionLineItemsArgs() {} + + private GetAssignedSubscriptionLineItemsArgs(GetAssignedSubscriptionLineItemsArgs $) { + this.assignedSubscriptionId = $.assignedSubscriptionId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionLineItemsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionLineItemsArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionLineItemsArgs(); + } + + public Builder(GetAssignedSubscriptionLineItemsArgs defaults) { + $ = new GetAssignedSubscriptionLineItemsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(Output assignedSubscriptionId) { + $.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + return assignedSubscriptionId(Output.of(assignedSubscriptionId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetAssignedSubscriptionLineItemsFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetAssignedSubscriptionLineItemsArgs build() { + if ($.assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsArgs", "assignedSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilter.java new file mode 100644 index 0000000000..4f2e6a22f3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionLineItemsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionLineItemsFilter Empty = new GetAssignedSubscriptionLineItemsFilter(); + + @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 GetAssignedSubscriptionLineItemsFilter() {} + + private GetAssignedSubscriptionLineItemsFilter(GetAssignedSubscriptionLineItemsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionLineItemsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionLineItemsFilter $; + + public Builder() { + $ = new GetAssignedSubscriptionLineItemsFilter(); + } + + public Builder(GetAssignedSubscriptionLineItemsFilter defaults) { + $ = new GetAssignedSubscriptionLineItemsFilter(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 GetAssignedSubscriptionLineItemsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilterArgs.java new file mode 100644 index 0000000000..38abf1df42 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsFilterArgs.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionLineItemsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAssignedSubscriptionLineItemsFilterArgs Empty = new GetAssignedSubscriptionLineItemsFilterArgs(); + + @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 GetAssignedSubscriptionLineItemsFilterArgs() {} + + private GetAssignedSubscriptionLineItemsFilterArgs(GetAssignedSubscriptionLineItemsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionLineItemsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionLineItemsFilterArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionLineItemsFilterArgs(); + } + + public Builder(GetAssignedSubscriptionLineItemsFilterArgs defaults) { + $ = new GetAssignedSubscriptionLineItemsFilterArgs(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 GetAssignedSubscriptionLineItemsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsPlainArgs.java new file mode 100644 index 0000000000..bf0708c436 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionLineItemsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionLineItemsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAssignedSubscriptionLineItemsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionLineItemsPlainArgs Empty = new GetAssignedSubscriptionLineItemsPlainArgs(); + + /** + * OCID of the assigned Oracle Cloud Subscription. + * + */ + @Import(name="assignedSubscriptionId", required=true) + private String assignedSubscriptionId; + + /** + * @return OCID of the assigned Oracle Cloud Subscription. + * + */ + public String assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetAssignedSubscriptionLineItemsPlainArgs() {} + + private GetAssignedSubscriptionLineItemsPlainArgs(GetAssignedSubscriptionLineItemsPlainArgs $) { + this.assignedSubscriptionId = $.assignedSubscriptionId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionLineItemsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionLineItemsPlainArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionLineItemsPlainArgs(); + } + + public Builder(GetAssignedSubscriptionLineItemsPlainArgs defaults) { + $ = new GetAssignedSubscriptionLineItemsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + $.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetAssignedSubscriptionLineItemsFilter... filters) { + return filters(List.of(filters)); + } + + public GetAssignedSubscriptionLineItemsPlainArgs build() { + if ($.assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsPlainArgs", "assignedSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionPlainArgs.java new file mode 100644 index 0000000000..b14d61eb2a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAssignedSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionPlainArgs Empty = new GetAssignedSubscriptionPlainArgs(); + + /** + * OCID of the assigned Oracle Cloud Subscription. + * + */ + @Import(name="assignedSubscriptionId", required=true) + private String assignedSubscriptionId; + + /** + * @return OCID of the assigned Oracle Cloud Subscription. + * + */ + public String assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + + private GetAssignedSubscriptionPlainArgs() {} + + private GetAssignedSubscriptionPlainArgs(GetAssignedSubscriptionPlainArgs $) { + this.assignedSubscriptionId = $.assignedSubscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionPlainArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionPlainArgs(); + } + + public Builder(GetAssignedSubscriptionPlainArgs defaults) { + $ = new GetAssignedSubscriptionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assignedSubscriptionId OCID of the assigned Oracle Cloud Subscription. + * + * @return builder + * + */ + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + $.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + + public GetAssignedSubscriptionPlainArgs build() { + if ($.assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPlainArgs", "assignedSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsArgs.java new file mode 100644 index 0000000000..aabbbfd075 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAssignedSubscriptionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionsArgs Empty = new GetAssignedSubscriptionsArgs(); + + /** + * 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; + } + + /** + * The version of the subscription entity. + * + */ + @Import(name="entityVersion") + private @Nullable Output entityVersion; + + /** + * @return The version of the subscription entity. + * + */ + public Optional> entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the subscription to which the tenancy is associated. + * + */ + @Import(name="subscriptionId") + private @Nullable Output subscriptionId; + + /** + * @return The ID of the subscription to which the tenancy is associated. + * + */ + public Optional> subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + private GetAssignedSubscriptionsArgs() {} + + private GetAssignedSubscriptionsArgs(GetAssignedSubscriptionsArgs $) { + this.compartmentId = $.compartmentId; + this.entityVersion = $.entityVersion; + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionsArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionsArgs(); + } + + public Builder(GetAssignedSubscriptionsArgs defaults) { + $ = new GetAssignedSubscriptionsArgs(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 entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(@Nullable Output entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + /** + * @param entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(String entityVersion) { + return entityVersion(Output.of(entityVersion)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetAssignedSubscriptionsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(@Nullable Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + public GetAssignedSubscriptionsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilter.java new file mode 100644 index 0000000000..2df1fcbff4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilter.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionsFilter Empty = new GetAssignedSubscriptionsFilter(); + + @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 GetAssignedSubscriptionsFilter() {} + + private GetAssignedSubscriptionsFilter(GetAssignedSubscriptionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionsFilter $; + + public Builder() { + $ = new GetAssignedSubscriptionsFilter(); + } + + public Builder(GetAssignedSubscriptionsFilter defaults) { + $ = new GetAssignedSubscriptionsFilter(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 GetAssignedSubscriptionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilterArgs.java new file mode 100644 index 0000000000..db5b3bd6c3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsFilterArgs.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAssignedSubscriptionsFilterArgs Empty = new GetAssignedSubscriptionsFilterArgs(); + + @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 GetAssignedSubscriptionsFilterArgs() {} + + private GetAssignedSubscriptionsFilterArgs(GetAssignedSubscriptionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionsFilterArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionsFilterArgs(); + } + + public Builder(GetAssignedSubscriptionsFilterArgs defaults) { + $ = new GetAssignedSubscriptionsFilterArgs(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 GetAssignedSubscriptionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsPlainArgs.java new file mode 100644 index 0000000000..c42f7d95ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetAssignedSubscriptionsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetAssignedSubscriptionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAssignedSubscriptionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAssignedSubscriptionsPlainArgs Empty = new GetAssignedSubscriptionsPlainArgs(); + + /** + * 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; + } + + /** + * The version of the subscription entity. + * + */ + @Import(name="entityVersion") + private @Nullable String entityVersion; + + /** + * @return The version of the subscription entity. + * + */ + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the subscription to which the tenancy is associated. + * + */ + @Import(name="subscriptionId") + private @Nullable String subscriptionId; + + /** + * @return The ID of the subscription to which the tenancy is associated. + * + */ + public Optional subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + private GetAssignedSubscriptionsPlainArgs() {} + + private GetAssignedSubscriptionsPlainArgs(GetAssignedSubscriptionsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.entityVersion = $.entityVersion; + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAssignedSubscriptionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAssignedSubscriptionsPlainArgs $; + + public Builder() { + $ = new GetAssignedSubscriptionsPlainArgs(); + } + + public Builder(GetAssignedSubscriptionsPlainArgs defaults) { + $ = new GetAssignedSubscriptionsPlainArgs(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 entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(@Nullable String entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetAssignedSubscriptionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(@Nullable String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + public GetAssignedSubscriptionsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainArgs.java new file mode 100644 index 0000000000..c08bfd9b11 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainArgs.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.Tenantmanagercontrolplane.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 GetDomainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainArgs Empty = new GetDomainArgs(); + + /** + * The domain OCID. + * + */ + @Import(name="domainId", required=true) + private Output domainId; + + /** + * @return The domain OCID. + * + */ + public Output domainId() { + return this.domainId; + } + + private GetDomainArgs() {} + + private GetDomainArgs(GetDomainArgs $) { + this.domainId = $.domainId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainArgs $; + + public Builder() { + $ = new GetDomainArgs(); + } + + public Builder(GetDomainArgs defaults) { + $ = new GetDomainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(Output domainId) { + $.domainId = domainId; + return this; + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(String domainId) { + return domainId(Output.of(domainId)); + } + + public GetDomainArgs build() { + if ($.domainId == null) { + throw new MissingRequiredPropertyException("GetDomainArgs", "domainId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernanceArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernanceArgs.java new file mode 100644 index 0000000000..d40447f421 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernanceArgs.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.Tenantmanagercontrolplane.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 GetDomainGovernanceArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainGovernanceArgs Empty = new GetDomainGovernanceArgs(); + + /** + * The domain governance OCID. + * + */ + @Import(name="domainGovernanceId", required=true) + private Output domainGovernanceId; + + /** + * @return The domain governance OCID. + * + */ + public Output domainGovernanceId() { + return this.domainGovernanceId; + } + + private GetDomainGovernanceArgs() {} + + private GetDomainGovernanceArgs(GetDomainGovernanceArgs $) { + this.domainGovernanceId = $.domainGovernanceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernanceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernanceArgs $; + + public Builder() { + $ = new GetDomainGovernanceArgs(); + } + + public Builder(GetDomainGovernanceArgs defaults) { + $ = new GetDomainGovernanceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(Output domainGovernanceId) { + $.domainGovernanceId = domainGovernanceId; + return this; + } + + /** + * @param domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(String domainGovernanceId) { + return domainGovernanceId(Output.of(domainGovernanceId)); + } + + public GetDomainGovernanceArgs build() { + if ($.domainGovernanceId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceArgs", "domainGovernanceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancePlainArgs.java new file mode 100644 index 0000000000..f938ae471b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancePlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDomainGovernancePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainGovernancePlainArgs Empty = new GetDomainGovernancePlainArgs(); + + /** + * The domain governance OCID. + * + */ + @Import(name="domainGovernanceId", required=true) + private String domainGovernanceId; + + /** + * @return The domain governance OCID. + * + */ + public String domainGovernanceId() { + return this.domainGovernanceId; + } + + private GetDomainGovernancePlainArgs() {} + + private GetDomainGovernancePlainArgs(GetDomainGovernancePlainArgs $) { + this.domainGovernanceId = $.domainGovernanceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernancePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernancePlainArgs $; + + public Builder() { + $ = new GetDomainGovernancePlainArgs(); + } + + public Builder(GetDomainGovernancePlainArgs defaults) { + $ = new GetDomainGovernancePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(String domainGovernanceId) { + $.domainGovernanceId = domainGovernanceId; + return this; + } + + public GetDomainGovernancePlainArgs build() { + if ($.domainGovernanceId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancePlainArgs", "domainGovernanceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesArgs.java new file mode 100644 index 0000000000..e9301b8ad2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDomainGovernancesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainGovernancesArgs Empty = new GetDomainGovernancesArgs(); + + /** + * 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; + } + + /** + * The domain governance OCID. + * + */ + @Import(name="domainGovernanceId") + private @Nullable Output domainGovernanceId; + + /** + * @return The domain governance OCID. + * + */ + public Optional> domainGovernanceId() { + return Optional.ofNullable(this.domainGovernanceId); + } + + /** + * The domain OCID. + * + */ + @Import(name="domainId") + private @Nullable Output domainId; + + /** + * @return The domain OCID. + * + */ + public Optional> domainId() { + return Optional.ofNullable(this.domainId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDomainGovernancesArgs() {} + + private GetDomainGovernancesArgs(GetDomainGovernancesArgs $) { + this.compartmentId = $.compartmentId; + this.domainGovernanceId = $.domainGovernanceId; + this.domainId = $.domainId; + this.filters = $.filters; + this.name = $.name; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernancesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernancesArgs $; + + public Builder() { + $ = new GetDomainGovernancesArgs(); + } + + public Builder(GetDomainGovernancesArgs defaults) { + $ = new GetDomainGovernancesArgs(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 domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(@Nullable Output domainGovernanceId) { + $.domainGovernanceId = domainGovernanceId; + return this; + } + + /** + * @param domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(String domainGovernanceId) { + return domainGovernanceId(Output.of(domainGovernanceId)); + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(@Nullable Output domainId) { + $.domainId = domainId; + return this; + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(String domainId) { + return domainId(Output.of(domainId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetDomainGovernancesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDomainGovernancesArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilter.java new file mode 100644 index 0000000000..b4809f99f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilter.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.Tenantmanagercontrolplane.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 GetDomainGovernancesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainGovernancesFilter Empty = new GetDomainGovernancesFilter(); + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return A filter to return only resources that exactly match the 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 GetDomainGovernancesFilter() {} + + private GetDomainGovernancesFilter(GetDomainGovernancesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernancesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernancesFilter $; + + public Builder() { + $ = new GetDomainGovernancesFilter(); + } + + public Builder(GetDomainGovernancesFilter defaults) { + $ = new GetDomainGovernancesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that exactly match the 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 GetDomainGovernancesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilterArgs.java new file mode 100644 index 0000000000..e3e1c27232 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesFilterArgs.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.Tenantmanagercontrolplane.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 GetDomainGovernancesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDomainGovernancesFilterArgs Empty = new GetDomainGovernancesFilterArgs(); + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return A filter to return only resources that exactly match the 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 GetDomainGovernancesFilterArgs() {} + + private GetDomainGovernancesFilterArgs(GetDomainGovernancesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernancesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernancesFilterArgs $; + + public Builder() { + $ = new GetDomainGovernancesFilterArgs(); + } + + public Builder(GetDomainGovernancesFilterArgs defaults) { + $ = new GetDomainGovernancesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that exactly match the 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 GetDomainGovernancesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesPlainArgs.java new file mode 100644 index 0000000000..0158f942a0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainGovernancesPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainGovernancesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDomainGovernancesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainGovernancesPlainArgs Empty = new GetDomainGovernancesPlainArgs(); + + /** + * 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; + } + + /** + * The domain governance OCID. + * + */ + @Import(name="domainGovernanceId") + private @Nullable String domainGovernanceId; + + /** + * @return The domain governance OCID. + * + */ + public Optional domainGovernanceId() { + return Optional.ofNullable(this.domainGovernanceId); + } + + /** + * The domain OCID. + * + */ + @Import(name="domainId") + private @Nullable String domainId; + + /** + * @return The domain OCID. + * + */ + public Optional domainId() { + return Optional.ofNullable(this.domainId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDomainGovernancesPlainArgs() {} + + private GetDomainGovernancesPlainArgs(GetDomainGovernancesPlainArgs $) { + this.compartmentId = $.compartmentId; + this.domainGovernanceId = $.domainGovernanceId; + this.domainId = $.domainId; + this.filters = $.filters; + this.name = $.name; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainGovernancesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainGovernancesPlainArgs $; + + public Builder() { + $ = new GetDomainGovernancesPlainArgs(); + } + + public Builder(GetDomainGovernancesPlainArgs defaults) { + $ = new GetDomainGovernancesPlainArgs(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 domainGovernanceId The domain governance OCID. + * + * @return builder + * + */ + public Builder domainGovernanceId(@Nullable String domainGovernanceId) { + $.domainGovernanceId = domainGovernanceId; + return this; + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(@Nullable String domainId) { + $.domainId = domainId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetDomainGovernancesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDomainGovernancesPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainPlainArgs.java new file mode 100644 index 0000000000..c0154c0ffd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDomainPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainPlainArgs Empty = new GetDomainPlainArgs(); + + /** + * The domain OCID. + * + */ + @Import(name="domainId", required=true) + private String domainId; + + /** + * @return The domain OCID. + * + */ + public String domainId() { + return this.domainId; + } + + private GetDomainPlainArgs() {} + + private GetDomainPlainArgs(GetDomainPlainArgs $) { + this.domainId = $.domainId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainPlainArgs $; + + public Builder() { + $ = new GetDomainPlainArgs(); + } + + public Builder(GetDomainPlainArgs defaults) { + $ = new GetDomainPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(String domainId) { + $.domainId = domainId; + return this; + } + + public GetDomainPlainArgs build() { + if ($.domainId == null) { + throw new MissingRequiredPropertyException("GetDomainPlainArgs", "domainId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsArgs.java new file mode 100644 index 0000000000..fccd3ac3b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDomainsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainsArgs Empty = new GetDomainsArgs(); + + /** + * 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; + } + + /** + * The domain OCID. + * + */ + @Import(name="domainId") + private @Nullable Output domainId; + + /** + * @return The domain OCID. + * + */ + public Optional> domainId() { + return Optional.ofNullable(this.domainId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the domain. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The status of the domain. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + private GetDomainsArgs() {} + + private GetDomainsArgs(GetDomainsArgs $) { + this.compartmentId = $.compartmentId; + this.domainId = $.domainId; + this.filters = $.filters; + this.name = $.name; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainsArgs $; + + public Builder() { + $ = new GetDomainsArgs(); + } + + public Builder(GetDomainsArgs defaults) { + $ = new GetDomainsArgs(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 domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(@Nullable Output domainId) { + $.domainId = domainId; + return this; + } + + /** + * @param domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(String domainId) { + return domainId(Output.of(domainId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetDomainsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status The status of the domain. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The status of the domain. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public GetDomainsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilter.java new file mode 100644 index 0000000000..44eccbe30d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilter.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.Tenantmanagercontrolplane.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 GetDomainsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainsFilter Empty = new GetDomainsFilter(); + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return A filter to return only resources that exactly match the 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 GetDomainsFilter() {} + + private GetDomainsFilter(GetDomainsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainsFilter $; + + public Builder() { + $ = new GetDomainsFilter(); + } + + public Builder(GetDomainsFilter defaults) { + $ = new GetDomainsFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that exactly match the 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 GetDomainsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDomainsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDomainsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilterArgs.java new file mode 100644 index 0000000000..5931179b38 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsFilterArgs.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.Tenantmanagercontrolplane.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 GetDomainsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDomainsFilterArgs Empty = new GetDomainsFilterArgs(); + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return A filter to return only resources that exactly match the 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 GetDomainsFilterArgs() {} + + private GetDomainsFilterArgs(GetDomainsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainsFilterArgs $; + + public Builder() { + $ = new GetDomainsFilterArgs(); + } + + public Builder(GetDomainsFilterArgs defaults) { + $ = new GetDomainsFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that exactly match the 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 GetDomainsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDomainsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDomainsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsPlainArgs.java new file mode 100644 index 0000000000..99dc6bee6c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetDomainsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetDomainsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDomainsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDomainsPlainArgs Empty = new GetDomainsPlainArgs(); + + /** + * 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; + } + + /** + * The domain OCID. + * + */ + @Import(name="domainId") + private @Nullable String domainId; + + /** + * @return The domain OCID. + * + */ + public Optional domainId() { + return Optional.ofNullable(this.domainId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that exactly match the name given. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the domain. + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return The status of the domain. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + private GetDomainsPlainArgs() {} + + private GetDomainsPlainArgs(GetDomainsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.domainId = $.domainId; + this.filters = $.filters; + this.name = $.name; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDomainsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDomainsPlainArgs $; + + public Builder() { + $ = new GetDomainsPlainArgs(); + } + + public Builder(GetDomainsPlainArgs defaults) { + $ = new GetDomainsPlainArgs(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 domainId The domain OCID. + * + * @return builder + * + */ + public Builder domainId(@Nullable String domainId) { + $.domainId = domainId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetDomainsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that exactly match the name given. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param status The status of the domain. + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + public GetDomainsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkArgs.java new file mode 100644 index 0000000000..3199f3959a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkArgs.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.Tenantmanagercontrolplane.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 GetLinkArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLinkArgs Empty = new GetLinkArgs(); + + /** + * OCID of the link to retrieve. + * + */ + @Import(name="linkId", required=true) + private Output linkId; + + /** + * @return OCID of the link to retrieve. + * + */ + public Output linkId() { + return this.linkId; + } + + private GetLinkArgs() {} + + private GetLinkArgs(GetLinkArgs $) { + this.linkId = $.linkId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinkArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinkArgs $; + + public Builder() { + $ = new GetLinkArgs(); + } + + public Builder(GetLinkArgs defaults) { + $ = new GetLinkArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param linkId OCID of the link to retrieve. + * + * @return builder + * + */ + public Builder linkId(Output linkId) { + $.linkId = linkId; + return this; + } + + /** + * @param linkId OCID of the link to retrieve. + * + * @return builder + * + */ + public Builder linkId(String linkId) { + return linkId(Output.of(linkId)); + } + + public GetLinkArgs build() { + if ($.linkId == null) { + throw new MissingRequiredPropertyException("GetLinkArgs", "linkId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkPlainArgs.java new file mode 100644 index 0000000000..8108fe2420 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinkPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetLinkPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLinkPlainArgs Empty = new GetLinkPlainArgs(); + + /** + * OCID of the link to retrieve. + * + */ + @Import(name="linkId", required=true) + private String linkId; + + /** + * @return OCID of the link to retrieve. + * + */ + public String linkId() { + return this.linkId; + } + + private GetLinkPlainArgs() {} + + private GetLinkPlainArgs(GetLinkPlainArgs $) { + this.linkId = $.linkId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinkPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinkPlainArgs $; + + public Builder() { + $ = new GetLinkPlainArgs(); + } + + public Builder(GetLinkPlainArgs defaults) { + $ = new GetLinkPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param linkId OCID of the link to retrieve. + * + * @return builder + * + */ + public Builder linkId(String linkId) { + $.linkId = linkId; + return this; + } + + public GetLinkPlainArgs build() { + if ($.linkId == null) { + throw new MissingRequiredPropertyException("GetLinkPlainArgs", "linkId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksArgs.java new file mode 100644 index 0000000000..818f97ccc3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksArgs.java @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetLinksArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLinksArgs Empty = new GetLinksArgs(); + + /** + * The ID of the child tenancy this link is associated with. + * + */ + @Import(name="childTenancyId") + private @Nullable Output childTenancyId; + + /** + * @return The ID of the child tenancy this link is associated with. + * + */ + public Optional> childTenancyId() { + return Optional.ofNullable(this.childTenancyId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the parent tenancy this link is associated with. + * + */ + @Import(name="parentTenancyId") + private @Nullable Output parentTenancyId; + + /** + * @return The ID of the parent tenancy this link is associated with. + * + */ + public Optional> parentTenancyId() { + return Optional.ofNullable(this.parentTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetLinksArgs() {} + + private GetLinksArgs(GetLinksArgs $) { + this.childTenancyId = $.childTenancyId; + this.filters = $.filters; + this.parentTenancyId = $.parentTenancyId; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinksArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinksArgs $; + + public Builder() { + $ = new GetLinksArgs(); + } + + public Builder(GetLinksArgs defaults) { + $ = new GetLinksArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childTenancyId The ID of the child tenancy this link is associated with. + * + * @return builder + * + */ + public Builder childTenancyId(@Nullable Output childTenancyId) { + $.childTenancyId = childTenancyId; + return this; + } + + /** + * @param childTenancyId The ID of the child tenancy this link is associated with. + * + * @return builder + * + */ + public Builder childTenancyId(String childTenancyId) { + return childTenancyId(Output.of(childTenancyId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetLinksFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param parentTenancyId The ID of the parent tenancy this link is associated with. + * + * @return builder + * + */ + public Builder parentTenancyId(@Nullable Output parentTenancyId) { + $.parentTenancyId = parentTenancyId; + return this; + } + + /** + * @param parentTenancyId The ID of the parent tenancy this link is associated with. + * + * @return builder + * + */ + public Builder parentTenancyId(String parentTenancyId) { + return parentTenancyId(Output.of(parentTenancyId)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetLinksArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilter.java new file mode 100644 index 0000000000..0ae586d934 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilter.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.Tenantmanagercontrolplane.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 GetLinksFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetLinksFilter Empty = new GetLinksFilter(); + + @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 GetLinksFilter() {} + + private GetLinksFilter(GetLinksFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinksFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinksFilter $; + + public Builder() { + $ = new GetLinksFilter(); + } + + public Builder(GetLinksFilter defaults) { + $ = new GetLinksFilter(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 GetLinksFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetLinksFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetLinksFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilterArgs.java new file mode 100644 index 0000000000..b02970d5f7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksFilterArgs.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.Tenantmanagercontrolplane.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 GetLinksFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetLinksFilterArgs Empty = new GetLinksFilterArgs(); + + @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 GetLinksFilterArgs() {} + + private GetLinksFilterArgs(GetLinksFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinksFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinksFilterArgs $; + + public Builder() { + $ = new GetLinksFilterArgs(); + } + + public Builder(GetLinksFilterArgs defaults) { + $ = new GetLinksFilterArgs(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 GetLinksFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetLinksFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetLinksFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksPlainArgs.java new file mode 100644 index 0000000000..e4a405c5fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetLinksPlainArgs.java @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetLinksFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetLinksPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetLinksPlainArgs Empty = new GetLinksPlainArgs(); + + /** + * The ID of the child tenancy this link is associated with. + * + */ + @Import(name="childTenancyId") + private @Nullable String childTenancyId; + + /** + * @return The ID of the child tenancy this link is associated with. + * + */ + public Optional childTenancyId() { + return Optional.ofNullable(this.childTenancyId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the parent tenancy this link is associated with. + * + */ + @Import(name="parentTenancyId") + private @Nullable String parentTenancyId; + + /** + * @return The ID of the parent tenancy this link is associated with. + * + */ + public Optional parentTenancyId() { + return Optional.ofNullable(this.parentTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetLinksPlainArgs() {} + + private GetLinksPlainArgs(GetLinksPlainArgs $) { + this.childTenancyId = $.childTenancyId; + this.filters = $.filters; + this.parentTenancyId = $.parentTenancyId; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetLinksPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetLinksPlainArgs $; + + public Builder() { + $ = new GetLinksPlainArgs(); + } + + public Builder(GetLinksPlainArgs defaults) { + $ = new GetLinksPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param childTenancyId The ID of the child tenancy this link is associated with. + * + * @return builder + * + */ + public Builder childTenancyId(@Nullable String childTenancyId) { + $.childTenancyId = childTenancyId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetLinksFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param parentTenancyId The ID of the parent tenancy this link is associated with. + * + * @return builder + * + */ + public Builder parentTenancyId(@Nullable String parentTenancyId) { + $.parentTenancyId = parentTenancyId; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetLinksPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationArgs.java new file mode 100644 index 0000000000..bf106f6812 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationArgs.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.Tenantmanagercontrolplane.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 GetOrganizationArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationArgs Empty = new GetOrganizationArgs(); + + /** + * OCID of the organization to retrieve. + * + */ + @Import(name="organizationId", required=true) + private Output organizationId; + + /** + * @return OCID of the organization to retrieve. + * + */ + public Output organizationId() { + return this.organizationId; + } + + private GetOrganizationArgs() {} + + private GetOrganizationArgs(GetOrganizationArgs $) { + this.organizationId = $.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationArgs $; + + public Builder() { + $ = new GetOrganizationArgs(); + } + + public Builder(GetOrganizationArgs defaults) { + $ = new GetOrganizationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param organizationId OCID of the organization to retrieve. + * + * @return builder + * + */ + public Builder organizationId(Output organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param organizationId OCID of the organization to retrieve. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + return organizationId(Output.of(organizationId)); + } + + public GetOrganizationArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationArgs", "organizationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationPlainArgs.java new file mode 100644 index 0000000000..47eb283a06 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetOrganizationPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationPlainArgs Empty = new GetOrganizationPlainArgs(); + + /** + * OCID of the organization to retrieve. + * + */ + @Import(name="organizationId", required=true) + private String organizationId; + + /** + * @return OCID of the organization to retrieve. + * + */ + public String organizationId() { + return this.organizationId; + } + + private GetOrganizationPlainArgs() {} + + private GetOrganizationPlainArgs(GetOrganizationPlainArgs $) { + this.organizationId = $.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationPlainArgs $; + + public Builder() { + $ = new GetOrganizationPlainArgs(); + } + + public Builder(GetOrganizationPlainArgs defaults) { + $ = new GetOrganizationPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param organizationId OCID of the organization to retrieve. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + $.organizationId = organizationId; + return this; + } + + public GetOrganizationPlainArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationPlainArgs", "organizationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesArgs.java new file mode 100644 index 0000000000..de39ecb96a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOrganizationTenanciesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationTenanciesArgs Empty = new GetOrganizationTenanciesArgs(); + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the organization. + * + */ + @Import(name="organizationId", required=true) + private Output organizationId; + + /** + * @return OCID of the organization. + * + */ + public Output organizationId() { + return this.organizationId; + } + + private GetOrganizationTenanciesArgs() {} + + private GetOrganizationTenanciesArgs(GetOrganizationTenanciesArgs $) { + this.filters = $.filters; + this.organizationId = $.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenanciesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenanciesArgs $; + + public Builder() { + $ = new GetOrganizationTenanciesArgs(); + } + + public Builder(GetOrganizationTenanciesArgs defaults) { + $ = new GetOrganizationTenanciesArgs(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(GetOrganizationTenanciesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(Output organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + return organizationId(Output.of(organizationId)); + } + + public GetOrganizationTenanciesArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesArgs", "organizationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilter.java new file mode 100644 index 0000000000..2f89fdadf0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilter.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.Tenantmanagercontrolplane.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 GetOrganizationTenanciesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationTenanciesFilter Empty = new GetOrganizationTenanciesFilter(); + + /** + * Name of the tenancy. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Name of the tenancy. + * + */ + 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 GetOrganizationTenanciesFilter() {} + + private GetOrganizationTenanciesFilter(GetOrganizationTenanciesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenanciesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenanciesFilter $; + + public Builder() { + $ = new GetOrganizationTenanciesFilter(); + } + + public Builder(GetOrganizationTenanciesFilter defaults) { + $ = new GetOrganizationTenanciesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the tenancy. + * + * @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 GetOrganizationTenanciesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilterArgs.java new file mode 100644 index 0000000000..e7e856575a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesFilterArgs.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.Tenantmanagercontrolplane.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 GetOrganizationTenanciesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetOrganizationTenanciesFilterArgs Empty = new GetOrganizationTenanciesFilterArgs(); + + /** + * Name of the tenancy. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the tenancy. + * + */ + 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 GetOrganizationTenanciesFilterArgs() {} + + private GetOrganizationTenanciesFilterArgs(GetOrganizationTenanciesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenanciesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenanciesFilterArgs $; + + public Builder() { + $ = new GetOrganizationTenanciesFilterArgs(); + } + + public Builder(GetOrganizationTenanciesFilterArgs defaults) { + $ = new GetOrganizationTenanciesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the tenancy. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the tenancy. + * + * @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 GetOrganizationTenanciesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesPlainArgs.java new file mode 100644 index 0000000000..20d6c03de8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenanciesPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationTenanciesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOrganizationTenanciesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationTenanciesPlainArgs Empty = new GetOrganizationTenanciesPlainArgs(); + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the organization. + * + */ + @Import(name="organizationId", required=true) + private String organizationId; + + /** + * @return OCID of the organization. + * + */ + public String organizationId() { + return this.organizationId; + } + + private GetOrganizationTenanciesPlainArgs() {} + + private GetOrganizationTenanciesPlainArgs(GetOrganizationTenanciesPlainArgs $) { + this.filters = $.filters; + this.organizationId = $.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenanciesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenanciesPlainArgs $; + + public Builder() { + $ = new GetOrganizationTenanciesPlainArgs(); + } + + public Builder(GetOrganizationTenanciesPlainArgs defaults) { + $ = new GetOrganizationTenanciesPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetOrganizationTenanciesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + $.organizationId = organizationId; + return this; + } + + public GetOrganizationTenanciesPlainArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesPlainArgs", "organizationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyArgs.java new file mode 100644 index 0000000000..4d18e284ff --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyArgs.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.Tenantmanagercontrolplane.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 GetOrganizationTenancyArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationTenancyArgs Empty = new GetOrganizationTenancyArgs(); + + /** + * OCID of the organization. + * + */ + @Import(name="organizationId", required=true) + private Output organizationId; + + /** + * @return OCID of the organization. + * + */ + public Output organizationId() { + return this.organizationId; + } + + /** + * OCID of the tenancy to retrieve. + * + */ + @Import(name="tenancyId", required=true) + private Output tenancyId; + + /** + * @return OCID of the tenancy to retrieve. + * + */ + public Output tenancyId() { + return this.tenancyId; + } + + private GetOrganizationTenancyArgs() {} + + private GetOrganizationTenancyArgs(GetOrganizationTenancyArgs $) { + this.organizationId = $.organizationId; + this.tenancyId = $.tenancyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenancyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenancyArgs $; + + public Builder() { + $ = new GetOrganizationTenancyArgs(); + } + + public Builder(GetOrganizationTenancyArgs defaults) { + $ = new GetOrganizationTenancyArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(Output organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + return organizationId(Output.of(organizationId)); + } + + /** + * @param tenancyId OCID of the tenancy to retrieve. + * + * @return builder + * + */ + public Builder tenancyId(Output tenancyId) { + $.tenancyId = tenancyId; + return this; + } + + /** + * @param tenancyId OCID of the tenancy to retrieve. + * + * @return builder + * + */ + public Builder tenancyId(String tenancyId) { + return tenancyId(Output.of(tenancyId)); + } + + public GetOrganizationTenancyArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyArgs", "organizationId"); + } + if ($.tenancyId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyArgs", "tenancyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyPlainArgs.java new file mode 100644 index 0000000000..d75e712bc2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationTenancyPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetOrganizationTenancyPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationTenancyPlainArgs Empty = new GetOrganizationTenancyPlainArgs(); + + /** + * OCID of the organization. + * + */ + @Import(name="organizationId", required=true) + private String organizationId; + + /** + * @return OCID of the organization. + * + */ + public String organizationId() { + return this.organizationId; + } + + /** + * OCID of the tenancy to retrieve. + * + */ + @Import(name="tenancyId", required=true) + private String tenancyId; + + /** + * @return OCID of the tenancy to retrieve. + * + */ + public String tenancyId() { + return this.tenancyId; + } + + private GetOrganizationTenancyPlainArgs() {} + + private GetOrganizationTenancyPlainArgs(GetOrganizationTenancyPlainArgs $) { + this.organizationId = $.organizationId; + this.tenancyId = $.tenancyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationTenancyPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationTenancyPlainArgs $; + + public Builder() { + $ = new GetOrganizationTenancyPlainArgs(); + } + + public Builder(GetOrganizationTenancyPlainArgs defaults) { + $ = new GetOrganizationTenancyPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param organizationId OCID of the organization. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param tenancyId OCID of the tenancy to retrieve. + * + * @return builder + * + */ + public Builder tenancyId(String tenancyId) { + $.tenancyId = tenancyId; + return this; + } + + public GetOrganizationTenancyPlainArgs build() { + if ($.organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyPlainArgs", "organizationId"); + } + if ($.tenancyId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyPlainArgs", "tenancyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsArgs.java new file mode 100644 index 0000000000..07122a6a46 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOrganizationsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationsArgs Empty = new GetOrganizationsArgs(); + + /** + * 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; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetOrganizationsArgs() {} + + private GetOrganizationsArgs(GetOrganizationsArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationsArgs $; + + public Builder() { + $ = new GetOrganizationsArgs(); + } + + public Builder(GetOrganizationsArgs defaults) { + $ = new GetOrganizationsArgs(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)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetOrganizationsFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetOrganizationsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetOrganizationsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilter.java new file mode 100644 index 0000000000..7e2ec97f65 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilter.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.Tenantmanagercontrolplane.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 GetOrganizationsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationsFilter Empty = new GetOrganizationsFilter(); + + @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 GetOrganizationsFilter() {} + + private GetOrganizationsFilter(GetOrganizationsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationsFilter $; + + public Builder() { + $ = new GetOrganizationsFilter(); + } + + public Builder(GetOrganizationsFilter defaults) { + $ = new GetOrganizationsFilter(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 GetOrganizationsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetOrganizationsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetOrganizationsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilterArgs.java new file mode 100644 index 0000000000..9da170edb0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsFilterArgs.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.Tenantmanagercontrolplane.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 GetOrganizationsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetOrganizationsFilterArgs Empty = new GetOrganizationsFilterArgs(); + + @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 GetOrganizationsFilterArgs() {} + + private GetOrganizationsFilterArgs(GetOrganizationsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationsFilterArgs $; + + public Builder() { + $ = new GetOrganizationsFilterArgs(); + } + + public Builder(GetOrganizationsFilterArgs defaults) { + $ = new GetOrganizationsFilterArgs(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 GetOrganizationsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetOrganizationsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetOrganizationsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsPlainArgs.java new file mode 100644 index 0000000000..b19a821b32 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetOrganizationsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetOrganizationsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOrganizationsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationsPlainArgs Empty = new GetOrganizationsPlainArgs(); + + /** + * 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; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetOrganizationsPlainArgs() {} + + private GetOrganizationsPlainArgs(GetOrganizationsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationsPlainArgs $; + + public Builder() { + $ = new GetOrganizationsPlainArgs(); + } + + public Builder(GetOrganizationsPlainArgs defaults) { + $ = new GetOrganizationsPlainArgs(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; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetOrganizationsFilter... filters) { + return filters(List.of(filters)); + } + + public GetOrganizationsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetOrganizationsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationArgs.java new file mode 100644 index 0000000000..d66ffb2ff3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationArgs.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.Tenantmanagercontrolplane.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 GetRecipientInvitationArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRecipientInvitationArgs Empty = new GetRecipientInvitationArgs(); + + /** + * OCID of the recipient invitation to retrieve. + * + */ + @Import(name="recipientInvitationId", required=true) + private Output recipientInvitationId; + + /** + * @return OCID of the recipient invitation to retrieve. + * + */ + public Output recipientInvitationId() { + return this.recipientInvitationId; + } + + private GetRecipientInvitationArgs() {} + + private GetRecipientInvitationArgs(GetRecipientInvitationArgs $) { + this.recipientInvitationId = $.recipientInvitationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationArgs $; + + public Builder() { + $ = new GetRecipientInvitationArgs(); + } + + public Builder(GetRecipientInvitationArgs defaults) { + $ = new GetRecipientInvitationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param recipientInvitationId OCID of the recipient invitation to retrieve. + * + * @return builder + * + */ + public Builder recipientInvitationId(Output recipientInvitationId) { + $.recipientInvitationId = recipientInvitationId; + return this; + } + + /** + * @param recipientInvitationId OCID of the recipient invitation to retrieve. + * + * @return builder + * + */ + public Builder recipientInvitationId(String recipientInvitationId) { + return recipientInvitationId(Output.of(recipientInvitationId)); + } + + public GetRecipientInvitationArgs build() { + if ($.recipientInvitationId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationArgs", "recipientInvitationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationPlainArgs.java new file mode 100644 index 0000000000..f28003731d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetRecipientInvitationPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRecipientInvitationPlainArgs Empty = new GetRecipientInvitationPlainArgs(); + + /** + * OCID of the recipient invitation to retrieve. + * + */ + @Import(name="recipientInvitationId", required=true) + private String recipientInvitationId; + + /** + * @return OCID of the recipient invitation to retrieve. + * + */ + public String recipientInvitationId() { + return this.recipientInvitationId; + } + + private GetRecipientInvitationPlainArgs() {} + + private GetRecipientInvitationPlainArgs(GetRecipientInvitationPlainArgs $) { + this.recipientInvitationId = $.recipientInvitationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationPlainArgs $; + + public Builder() { + $ = new GetRecipientInvitationPlainArgs(); + } + + public Builder(GetRecipientInvitationPlainArgs defaults) { + $ = new GetRecipientInvitationPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param recipientInvitationId OCID of the recipient invitation to retrieve. + * + * @return builder + * + */ + public Builder recipientInvitationId(String recipientInvitationId) { + $.recipientInvitationId = recipientInvitationId; + return this; + } + + public GetRecipientInvitationPlainArgs build() { + if ($.recipientInvitationId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationPlainArgs", "recipientInvitationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsArgs.java new file mode 100644 index 0000000000..5a5245ca65 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRecipientInvitationsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRecipientInvitationsArgs Empty = new GetRecipientInvitationsArgs(); + + /** + * 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; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The tenancy that sent the invitation. + * + */ + @Import(name="senderTenancyId") + private @Nullable Output senderTenancyId; + + /** + * @return The tenancy that sent the invitation. + * + */ + public Optional> senderTenancyId() { + return Optional.ofNullable(this.senderTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the recipient invitation. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The status of the recipient invitation. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + private GetRecipientInvitationsArgs() {} + + private GetRecipientInvitationsArgs(GetRecipientInvitationsArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.senderTenancyId = $.senderTenancyId; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationsArgs $; + + public Builder() { + $ = new GetRecipientInvitationsArgs(); + } + + public Builder(GetRecipientInvitationsArgs defaults) { + $ = new GetRecipientInvitationsArgs(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)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetRecipientInvitationsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param senderTenancyId The tenancy that sent the invitation. + * + * @return builder + * + */ + public Builder senderTenancyId(@Nullable Output senderTenancyId) { + $.senderTenancyId = senderTenancyId; + return this; + } + + /** + * @param senderTenancyId The tenancy that sent the invitation. + * + * @return builder + * + */ + public Builder senderTenancyId(String senderTenancyId) { + return senderTenancyId(Output.of(senderTenancyId)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status The status of the recipient invitation. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The status of the recipient invitation. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public GetRecipientInvitationsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilter.java new file mode 100644 index 0000000000..89dfaaabea --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilter.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.Tenantmanagercontrolplane.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 GetRecipientInvitationsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetRecipientInvitationsFilter Empty = new GetRecipientInvitationsFilter(); + + @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 GetRecipientInvitationsFilter() {} + + private GetRecipientInvitationsFilter(GetRecipientInvitationsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationsFilter $; + + public Builder() { + $ = new GetRecipientInvitationsFilter(); + } + + public Builder(GetRecipientInvitationsFilter defaults) { + $ = new GetRecipientInvitationsFilter(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 GetRecipientInvitationsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilterArgs.java new file mode 100644 index 0000000000..ef7eaaec66 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsFilterArgs.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.Tenantmanagercontrolplane.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 GetRecipientInvitationsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRecipientInvitationsFilterArgs Empty = new GetRecipientInvitationsFilterArgs(); + + @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 GetRecipientInvitationsFilterArgs() {} + + private GetRecipientInvitationsFilterArgs(GetRecipientInvitationsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationsFilterArgs $; + + public Builder() { + $ = new GetRecipientInvitationsFilterArgs(); + } + + public Builder(GetRecipientInvitationsFilterArgs defaults) { + $ = new GetRecipientInvitationsFilterArgs(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 GetRecipientInvitationsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsPlainArgs.java new file mode 100644 index 0000000000..69949d7f61 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetRecipientInvitationsPlainArgs.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRecipientInvitationsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRecipientInvitationsPlainArgs Empty = new GetRecipientInvitationsPlainArgs(); + + /** + * 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; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The tenancy that sent the invitation. + * + */ + @Import(name="senderTenancyId") + private @Nullable String senderTenancyId; + + /** + * @return The tenancy that sent the invitation. + * + */ + public Optional senderTenancyId() { + return Optional.ofNullable(this.senderTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the recipient invitation. + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return The status of the recipient invitation. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + private GetRecipientInvitationsPlainArgs() {} + + private GetRecipientInvitationsPlainArgs(GetRecipientInvitationsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.senderTenancyId = $.senderTenancyId; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRecipientInvitationsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRecipientInvitationsPlainArgs $; + + public Builder() { + $ = new GetRecipientInvitationsPlainArgs(); + } + + public Builder(GetRecipientInvitationsPlainArgs defaults) { + $ = new GetRecipientInvitationsPlainArgs(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; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetRecipientInvitationsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param senderTenancyId The tenancy that sent the invitation. + * + * @return builder + * + */ + public Builder senderTenancyId(@Nullable String senderTenancyId) { + $.senderTenancyId = senderTenancyId; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param status The status of the recipient invitation. + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + public GetRecipientInvitationsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationArgs.java new file mode 100644 index 0000000000..9e541e50d4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationArgs.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.Tenantmanagercontrolplane.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 GetSenderInvitationArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSenderInvitationArgs Empty = new GetSenderInvitationArgs(); + + /** + * OCID of the sender invitation to retrieve. + * + */ + @Import(name="senderInvitationId", required=true) + private Output senderInvitationId; + + /** + * @return OCID of the sender invitation to retrieve. + * + */ + public Output senderInvitationId() { + return this.senderInvitationId; + } + + private GetSenderInvitationArgs() {} + + private GetSenderInvitationArgs(GetSenderInvitationArgs $) { + this.senderInvitationId = $.senderInvitationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationArgs $; + + public Builder() { + $ = new GetSenderInvitationArgs(); + } + + public Builder(GetSenderInvitationArgs defaults) { + $ = new GetSenderInvitationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param senderInvitationId OCID of the sender invitation to retrieve. + * + * @return builder + * + */ + public Builder senderInvitationId(Output senderInvitationId) { + $.senderInvitationId = senderInvitationId; + return this; + } + + /** + * @param senderInvitationId OCID of the sender invitation to retrieve. + * + * @return builder + * + */ + public Builder senderInvitationId(String senderInvitationId) { + return senderInvitationId(Output.of(senderInvitationId)); + } + + public GetSenderInvitationArgs build() { + if ($.senderInvitationId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationArgs", "senderInvitationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationPlainArgs.java new file mode 100644 index 0000000000..a9c88f1aef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSenderInvitationPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSenderInvitationPlainArgs Empty = new GetSenderInvitationPlainArgs(); + + /** + * OCID of the sender invitation to retrieve. + * + */ + @Import(name="senderInvitationId", required=true) + private String senderInvitationId; + + /** + * @return OCID of the sender invitation to retrieve. + * + */ + public String senderInvitationId() { + return this.senderInvitationId; + } + + private GetSenderInvitationPlainArgs() {} + + private GetSenderInvitationPlainArgs(GetSenderInvitationPlainArgs $) { + this.senderInvitationId = $.senderInvitationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationPlainArgs $; + + public Builder() { + $ = new GetSenderInvitationPlainArgs(); + } + + public Builder(GetSenderInvitationPlainArgs defaults) { + $ = new GetSenderInvitationPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param senderInvitationId OCID of the sender invitation to retrieve. + * + * @return builder + * + */ + public Builder senderInvitationId(String senderInvitationId) { + $.senderInvitationId = senderInvitationId; + return this; + } + + public GetSenderInvitationPlainArgs build() { + if ($.senderInvitationId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationPlainArgs", "senderInvitationId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsArgs.java new file mode 100644 index 0000000000..90eb363974 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSenderInvitationsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSenderInvitationsArgs Empty = new GetSenderInvitationsArgs(); + + /** + * 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 resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The tenancy that the invitation is addressed to. + * + */ + @Import(name="recipientTenancyId") + private @Nullable Output recipientTenancyId; + + /** + * @return The tenancy that the invitation is addressed to. + * + */ + public Optional> recipientTenancyId() { + return Optional.ofNullable(this.recipientTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the sender invitation. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The status of the sender invitation. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + private GetSenderInvitationsArgs() {} + + private GetSenderInvitationsArgs(GetSenderInvitationsArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.recipientTenancyId = $.recipientTenancyId; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationsArgs $; + + public Builder() { + $ = new GetSenderInvitationsArgs(); + } + + public Builder(GetSenderInvitationsArgs defaults) { + $ = new GetSenderInvitationsArgs(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 resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetSenderInvitationsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param recipientTenancyId The tenancy that the invitation is addressed to. + * + * @return builder + * + */ + public Builder recipientTenancyId(@Nullable Output recipientTenancyId) { + $.recipientTenancyId = recipientTenancyId; + return this; + } + + /** + * @param recipientTenancyId The tenancy that the invitation is addressed to. + * + * @return builder + * + */ + public Builder recipientTenancyId(String recipientTenancyId) { + return recipientTenancyId(Output.of(recipientTenancyId)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param status The status of the sender invitation. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The status of the sender invitation. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public GetSenderInvitationsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilter.java new file mode 100644 index 0000000000..9ca54fa314 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilter.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.Tenantmanagercontrolplane.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 GetSenderInvitationsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetSenderInvitationsFilter Empty = new GetSenderInvitationsFilter(); + + @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 GetSenderInvitationsFilter() {} + + private GetSenderInvitationsFilter(GetSenderInvitationsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationsFilter $; + + public Builder() { + $ = new GetSenderInvitationsFilter(); + } + + public Builder(GetSenderInvitationsFilter defaults) { + $ = new GetSenderInvitationsFilter(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 GetSenderInvitationsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilterArgs.java new file mode 100644 index 0000000000..e772dd2193 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsFilterArgs.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.Tenantmanagercontrolplane.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 GetSenderInvitationsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSenderInvitationsFilterArgs Empty = new GetSenderInvitationsFilterArgs(); + + @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 GetSenderInvitationsFilterArgs() {} + + private GetSenderInvitationsFilterArgs(GetSenderInvitationsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationsFilterArgs $; + + public Builder() { + $ = new GetSenderInvitationsFilterArgs(); + } + + public Builder(GetSenderInvitationsFilterArgs defaults) { + $ = new GetSenderInvitationsFilterArgs(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 GetSenderInvitationsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsPlainArgs.java new file mode 100644 index 0000000000..336d456fee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSenderInvitationsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSenderInvitationsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSenderInvitationsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSenderInvitationsPlainArgs Empty = new GetSenderInvitationsPlainArgs(); + + /** + * 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 resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The tenancy that the invitation is addressed to. + * + */ + @Import(name="recipientTenancyId") + private @Nullable String recipientTenancyId; + + /** + * @return The tenancy that the invitation is addressed to. + * + */ + public Optional recipientTenancyId() { + return Optional.ofNullable(this.recipientTenancyId); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * The status of the sender invitation. + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return The status of the sender invitation. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + private GetSenderInvitationsPlainArgs() {} + + private GetSenderInvitationsPlainArgs(GetSenderInvitationsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.recipientTenancyId = $.recipientTenancyId; + this.state = $.state; + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSenderInvitationsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSenderInvitationsPlainArgs $; + + public Builder() { + $ = new GetSenderInvitationsPlainArgs(); + } + + public Builder(GetSenderInvitationsPlainArgs defaults) { + $ = new GetSenderInvitationsPlainArgs(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 resources that match the entire display name given. + * + * @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(GetSenderInvitationsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param recipientTenancyId The tenancy that the invitation is addressed to. + * + * @return builder + * + */ + public Builder recipientTenancyId(@Nullable String recipientTenancyId) { + $.recipientTenancyId = recipientTenancyId; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param status The status of the sender invitation. + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + public GetSenderInvitationsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionArgs.java new file mode 100644 index 0000000000..6ac48162c3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionArgs Empty = new GetSubscriptionArgs(); + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private Output subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public Output subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionArgs() {} + + private GetSubscriptionArgs(GetSubscriptionArgs $) { + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionArgs $; + + public Builder() { + $ = new GetSubscriptionArgs(); + } + + public Builder(GetSubscriptionArgs defaults) { + $ = new GetSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + public GetSubscriptionArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsArgs.java new file mode 100644 index 0000000000..dda7a9a206 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionAvailableRegionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionAvailableRegionsArgs Empty = new GetSubscriptionAvailableRegionsArgs(); + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private Output subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public Output subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionAvailableRegionsArgs() {} + + private GetSubscriptionAvailableRegionsArgs(GetSubscriptionAvailableRegionsArgs $) { + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionAvailableRegionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionAvailableRegionsArgs $; + + public Builder() { + $ = new GetSubscriptionAvailableRegionsArgs(); + } + + public Builder(GetSubscriptionAvailableRegionsArgs defaults) { + $ = new GetSubscriptionAvailableRegionsArgs(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(GetSubscriptionAvailableRegionsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + public GetSubscriptionAvailableRegionsArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilter.java new file mode 100644 index 0000000000..1cdb4033f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionAvailableRegionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionAvailableRegionsFilter Empty = new GetSubscriptionAvailableRegionsFilter(); + + @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 GetSubscriptionAvailableRegionsFilter() {} + + private GetSubscriptionAvailableRegionsFilter(GetSubscriptionAvailableRegionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionAvailableRegionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionAvailableRegionsFilter $; + + public Builder() { + $ = new GetSubscriptionAvailableRegionsFilter(); + } + + public Builder(GetSubscriptionAvailableRegionsFilter defaults) { + $ = new GetSubscriptionAvailableRegionsFilter(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 GetSubscriptionAvailableRegionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilterArgs.java new file mode 100644 index 0000000000..eff3e09748 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsFilterArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionAvailableRegionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubscriptionAvailableRegionsFilterArgs Empty = new GetSubscriptionAvailableRegionsFilterArgs(); + + @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 GetSubscriptionAvailableRegionsFilterArgs() {} + + private GetSubscriptionAvailableRegionsFilterArgs(GetSubscriptionAvailableRegionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionAvailableRegionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionAvailableRegionsFilterArgs $; + + public Builder() { + $ = new GetSubscriptionAvailableRegionsFilterArgs(); + } + + public Builder(GetSubscriptionAvailableRegionsFilterArgs defaults) { + $ = new GetSubscriptionAvailableRegionsFilterArgs(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 GetSubscriptionAvailableRegionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsPlainArgs.java new file mode 100644 index 0000000000..19a443e2fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionAvailableRegionsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionAvailableRegionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionAvailableRegionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionAvailableRegionsPlainArgs Empty = new GetSubscriptionAvailableRegionsPlainArgs(); + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private String subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionAvailableRegionsPlainArgs() {} + + private GetSubscriptionAvailableRegionsPlainArgs(GetSubscriptionAvailableRegionsPlainArgs $) { + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionAvailableRegionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionAvailableRegionsPlainArgs $; + + public Builder() { + $ = new GetSubscriptionAvailableRegionsPlainArgs(); + } + + public Builder(GetSubscriptionAvailableRegionsPlainArgs defaults) { + $ = new GetSubscriptionAvailableRegionsPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetSubscriptionAvailableRegionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + public GetSubscriptionAvailableRegionsPlainArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsPlainArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsArgs.java new file mode 100644 index 0000000000..d5a3ebcee3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionLineItemsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionLineItemsArgs Empty = new GetSubscriptionLineItemsArgs(); + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private Output subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public Output subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionLineItemsArgs() {} + + private GetSubscriptionLineItemsArgs(GetSubscriptionLineItemsArgs $) { + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionLineItemsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionLineItemsArgs $; + + public Builder() { + $ = new GetSubscriptionLineItemsArgs(); + } + + public Builder(GetSubscriptionLineItemsArgs defaults) { + $ = new GetSubscriptionLineItemsArgs(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(GetSubscriptionLineItemsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + public GetSubscriptionLineItemsArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilter.java new file mode 100644 index 0000000000..7fe53b09fa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionLineItemsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionLineItemsFilter Empty = new GetSubscriptionLineItemsFilter(); + + @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 GetSubscriptionLineItemsFilter() {} + + private GetSubscriptionLineItemsFilter(GetSubscriptionLineItemsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionLineItemsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionLineItemsFilter $; + + public Builder() { + $ = new GetSubscriptionLineItemsFilter(); + } + + public Builder(GetSubscriptionLineItemsFilter defaults) { + $ = new GetSubscriptionLineItemsFilter(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 GetSubscriptionLineItemsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilterArgs.java new file mode 100644 index 0000000000..017a5867fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsFilterArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionLineItemsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubscriptionLineItemsFilterArgs Empty = new GetSubscriptionLineItemsFilterArgs(); + + @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 GetSubscriptionLineItemsFilterArgs() {} + + private GetSubscriptionLineItemsFilterArgs(GetSubscriptionLineItemsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionLineItemsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionLineItemsFilterArgs $; + + public Builder() { + $ = new GetSubscriptionLineItemsFilterArgs(); + } + + public Builder(GetSubscriptionLineItemsFilterArgs defaults) { + $ = new GetSubscriptionLineItemsFilterArgs(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 GetSubscriptionLineItemsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsPlainArgs.java new file mode 100644 index 0000000000..e35d81f6ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionLineItemsPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionLineItemsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionLineItemsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionLineItemsPlainArgs Empty = new GetSubscriptionLineItemsPlainArgs(); + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private String subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionLineItemsPlainArgs() {} + + private GetSubscriptionLineItemsPlainArgs(GetSubscriptionLineItemsPlainArgs $) { + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionLineItemsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionLineItemsPlainArgs $; + + public Builder() { + $ = new GetSubscriptionLineItemsPlainArgs(); + } + + public Builder(GetSubscriptionLineItemsPlainArgs defaults) { + $ = new GetSubscriptionLineItemsPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetSubscriptionLineItemsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + public GetSubscriptionLineItemsPlainArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsPlainArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingArgs.java new file mode 100644 index 0000000000..74f1d1dd1a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionMappingArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionMappingArgs Empty = new GetSubscriptionMappingArgs(); + + /** + * OCID of the subscriptionMappingId. + * + */ + @Import(name="subscriptionMappingId", required=true) + private Output subscriptionMappingId; + + /** + * @return OCID of the subscriptionMappingId. + * + */ + public Output subscriptionMappingId() { + return this.subscriptionMappingId; + } + + private GetSubscriptionMappingArgs() {} + + private GetSubscriptionMappingArgs(GetSubscriptionMappingArgs $) { + this.subscriptionMappingId = $.subscriptionMappingId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingArgs $; + + public Builder() { + $ = new GetSubscriptionMappingArgs(); + } + + public Builder(GetSubscriptionMappingArgs defaults) { + $ = new GetSubscriptionMappingArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subscriptionMappingId OCID of the subscriptionMappingId. + * + * @return builder + * + */ + public Builder subscriptionMappingId(Output subscriptionMappingId) { + $.subscriptionMappingId = subscriptionMappingId; + return this; + } + + /** + * @param subscriptionMappingId OCID of the subscriptionMappingId. + * + * @return builder + * + */ + public Builder subscriptionMappingId(String subscriptionMappingId) { + return subscriptionMappingId(Output.of(subscriptionMappingId)); + } + + public GetSubscriptionMappingArgs build() { + if ($.subscriptionMappingId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingArgs", "subscriptionMappingId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingPlainArgs.java new file mode 100644 index 0000000000..acbb345f46 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubscriptionMappingPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionMappingPlainArgs Empty = new GetSubscriptionMappingPlainArgs(); + + /** + * OCID of the subscriptionMappingId. + * + */ + @Import(name="subscriptionMappingId", required=true) + private String subscriptionMappingId; + + /** + * @return OCID of the subscriptionMappingId. + * + */ + public String subscriptionMappingId() { + return this.subscriptionMappingId; + } + + private GetSubscriptionMappingPlainArgs() {} + + private GetSubscriptionMappingPlainArgs(GetSubscriptionMappingPlainArgs $) { + this.subscriptionMappingId = $.subscriptionMappingId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingPlainArgs $; + + public Builder() { + $ = new GetSubscriptionMappingPlainArgs(); + } + + public Builder(GetSubscriptionMappingPlainArgs defaults) { + $ = new GetSubscriptionMappingPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subscriptionMappingId OCID of the subscriptionMappingId. + * + * @return builder + * + */ + public Builder subscriptionMappingId(String subscriptionMappingId) { + $.subscriptionMappingId = subscriptionMappingId; + return this; + } + + public GetSubscriptionMappingPlainArgs build() { + if ($.subscriptionMappingId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingPlainArgs", "subscriptionMappingId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsArgs.java new file mode 100644 index 0000000000..685b323fc6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionMappingsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionMappingsArgs Empty = new GetSubscriptionMappingsArgs(); + + /** + * The ID of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The ID of the compartment in which to list resources. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private Output subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public Output subscriptionId() { + return this.subscriptionId; + } + + /** + * A unique ID for subscription and tenancy mapping. + * + */ + @Import(name="subscriptionMappingId") + private @Nullable Output subscriptionMappingId; + + /** + * @return A unique ID for subscription and tenancy mapping. + * + */ + public Optional> subscriptionMappingId() { + return Optional.ofNullable(this.subscriptionMappingId); + } + + private GetSubscriptionMappingsArgs() {} + + private GetSubscriptionMappingsArgs(GetSubscriptionMappingsArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.state = $.state; + this.subscriptionId = $.subscriptionId; + this.subscriptionMappingId = $.subscriptionMappingId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingsArgs $; + + public Builder() { + $ = new GetSubscriptionMappingsArgs(); + } + + public Builder(GetSubscriptionMappingsArgs defaults) { + $ = new GetSubscriptionMappingsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable 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)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetSubscriptionMappingsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + /** + * @param subscriptionMappingId A unique ID for subscription and tenancy mapping. + * + * @return builder + * + */ + public Builder subscriptionMappingId(@Nullable Output subscriptionMappingId) { + $.subscriptionMappingId = subscriptionMappingId; + return this; + } + + /** + * @param subscriptionMappingId A unique ID for subscription and tenancy mapping. + * + * @return builder + * + */ + public Builder subscriptionMappingId(String subscriptionMappingId) { + return subscriptionMappingId(Output.of(subscriptionMappingId)); + } + + public GetSubscriptionMappingsArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilter.java new file mode 100644 index 0000000000..5b0268dff7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionMappingsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionMappingsFilter Empty = new GetSubscriptionMappingsFilter(); + + @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 GetSubscriptionMappingsFilter() {} + + private GetSubscriptionMappingsFilter(GetSubscriptionMappingsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingsFilter $; + + public Builder() { + $ = new GetSubscriptionMappingsFilter(); + } + + public Builder(GetSubscriptionMappingsFilter defaults) { + $ = new GetSubscriptionMappingsFilter(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 GetSubscriptionMappingsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilterArgs.java new file mode 100644 index 0000000000..62afa267ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsFilterArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionMappingsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubscriptionMappingsFilterArgs Empty = new GetSubscriptionMappingsFilterArgs(); + + @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 GetSubscriptionMappingsFilterArgs() {} + + private GetSubscriptionMappingsFilterArgs(GetSubscriptionMappingsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingsFilterArgs $; + + public Builder() { + $ = new GetSubscriptionMappingsFilterArgs(); + } + + public Builder(GetSubscriptionMappingsFilterArgs defaults) { + $ = new GetSubscriptionMappingsFilterArgs(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 GetSubscriptionMappingsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsPlainArgs.java new file mode 100644 index 0000000000..9d2c0c2034 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionMappingsPlainArgs.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionMappingsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionMappingsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionMappingsPlainArgs Empty = new GetSubscriptionMappingsPlainArgs(); + + /** + * The ID of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable String compartmentId; + + /** + * @return The ID of the compartment in which to list resources. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private String subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + + /** + * A unique ID for subscription and tenancy mapping. + * + */ + @Import(name="subscriptionMappingId") + private @Nullable String subscriptionMappingId; + + /** + * @return A unique ID for subscription and tenancy mapping. + * + */ + public Optional subscriptionMappingId() { + return Optional.ofNullable(this.subscriptionMappingId); + } + + private GetSubscriptionMappingsPlainArgs() {} + + private GetSubscriptionMappingsPlainArgs(GetSubscriptionMappingsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.state = $.state; + this.subscriptionId = $.subscriptionId; + this.subscriptionMappingId = $.subscriptionMappingId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionMappingsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionMappingsPlainArgs $; + + public Builder() { + $ = new GetSubscriptionMappingsPlainArgs(); + } + + public Builder(GetSubscriptionMappingsPlainArgs defaults) { + $ = new GetSubscriptionMappingsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetSubscriptionMappingsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param state The lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionMappingId A unique ID for subscription and tenancy mapping. + * + * @return builder + * + */ + public Builder subscriptionMappingId(@Nullable String subscriptionMappingId) { + $.subscriptionMappingId = subscriptionMappingId; + return this; + } + + public GetSubscriptionMappingsPlainArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsPlainArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionPlainArgs.java new file mode 100644 index 0000000000..a38feea77b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionPlainArgs.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.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionPlainArgs Empty = new GetSubscriptionPlainArgs(); + + /** + * OCID of the subscription. + * + */ + @Import(name="subscriptionId", required=true) + private String subscriptionId; + + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + + private GetSubscriptionPlainArgs() {} + + private GetSubscriptionPlainArgs(GetSubscriptionPlainArgs $) { + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionPlainArgs $; + + public Builder() { + $ = new GetSubscriptionPlainArgs(); + } + + public Builder(GetSubscriptionPlainArgs defaults) { + $ = new GetSubscriptionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subscriptionId OCID of the subscription. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + public GetSubscriptionPlainArgs build() { + if ($.subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPlainArgs", "subscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsArgs.java new file mode 100644 index 0000000000..f3a36897ea --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsArgs.java @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionsArgs Empty = new GetSubscriptionsArgs(); + + /** + * The ID of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The ID of the compartment in which to list resources. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The version of the subscription entity. + * + */ + @Import(name="entityVersion") + private @Nullable Output entityVersion; + + /** + * @return The version of the subscription entity. + * + */ + public Optional> entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the subscription to which the tenancy is associated. + * + */ + @Import(name="subscriptionId") + private @Nullable Output subscriptionId; + + /** + * @return The ID of the subscription to which the tenancy is associated. + * + */ + public Optional> subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + private GetSubscriptionsArgs() {} + + private GetSubscriptionsArgs(GetSubscriptionsArgs $) { + this.compartmentId = $.compartmentId; + this.entityVersion = $.entityVersion; + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionsArgs $; + + public Builder() { + $ = new GetSubscriptionsArgs(); + } + + public Builder(GetSubscriptionsArgs defaults) { + $ = new GetSubscriptionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable 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 entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(@Nullable Output entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + /** + * @param entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(String entityVersion) { + return entityVersion(Output.of(entityVersion)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetSubscriptionsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(@Nullable Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + + public GetSubscriptionsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilter.java new file mode 100644 index 0000000000..d52a854965 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionsFilter Empty = new GetSubscriptionsFilter(); + + @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 GetSubscriptionsFilter() {} + + private GetSubscriptionsFilter(GetSubscriptionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionsFilter $; + + public Builder() { + $ = new GetSubscriptionsFilter(); + } + + public Builder(GetSubscriptionsFilter defaults) { + $ = new GetSubscriptionsFilter(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 GetSubscriptionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilterArgs.java new file mode 100644 index 0000000000..e5fbad3cbc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsFilterArgs.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.Tenantmanagercontrolplane.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 GetSubscriptionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubscriptionsFilterArgs Empty = new GetSubscriptionsFilterArgs(); + + @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 GetSubscriptionsFilterArgs() {} + + private GetSubscriptionsFilterArgs(GetSubscriptionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionsFilterArgs $; + + public Builder() { + $ = new GetSubscriptionsFilterArgs(); + } + + public Builder(GetSubscriptionsFilterArgs defaults) { + $ = new GetSubscriptionsFilterArgs(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 GetSubscriptionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsPlainArgs.java new file mode 100644 index 0000000000..f9f011a34f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/GetSubscriptionsPlainArgs.java @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetSubscriptionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubscriptionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubscriptionsPlainArgs Empty = new GetSubscriptionsPlainArgs(); + + /** + * The ID of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable String compartmentId; + + /** + * @return The ID of the compartment in which to list resources. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The version of the subscription entity. + * + */ + @Import(name="entityVersion") + private @Nullable String entityVersion; + + /** + * @return The version of the subscription entity. + * + */ + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The ID of the subscription to which the tenancy is associated. + * + */ + @Import(name="subscriptionId") + private @Nullable String subscriptionId; + + /** + * @return The ID of the subscription to which the tenancy is associated. + * + */ + public Optional subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + private GetSubscriptionsPlainArgs() {} + + private GetSubscriptionsPlainArgs(GetSubscriptionsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.entityVersion = $.entityVersion; + this.filters = $.filters; + this.subscriptionId = $.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubscriptionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubscriptionsPlainArgs $; + + public Builder() { + $ = new GetSubscriptionsPlainArgs(); + } + + public Builder(GetSubscriptionsPlainArgs defaults) { + $ = new GetSubscriptionsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The ID of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param entityVersion The version of the subscription entity. + * + * @return builder + * + */ + public Builder entityVersion(@Nullable String entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetSubscriptionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param subscriptionId The ID of the subscription to which the tenancy is associated. + * + * @return builder + * + */ + public Builder subscriptionId(@Nullable String subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + public GetSubscriptionsPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/SubscriptionMappingState.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/SubscriptionMappingState.java new file mode 100644 index 0000000000..782f1bf388 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/inputs/SubscriptionMappingState.java @@ -0,0 +1,318 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 SubscriptionMappingState extends com.pulumi.resources.ResourceArgs { + + public static final SubscriptionMappingState Empty = new SubscriptionMappingState(); + + /** + * OCID of the compartment. Always a tenancy OCID. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + @Import(name="isExplicitlyAssigned") + private @Nullable Output isExplicitlyAssigned; + + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + public Optional> isExplicitlyAssigned() { + return Optional.ofNullable(this.isExplicitlyAssigned); + } + + /** + * Lifecycle state of the subscriptionMapping. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return Lifecycle state of the subscriptionMapping. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * OCID of Subscription. + * + * ** IMPORTANT ** + * 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 OCID of Subscription. + * + * ** IMPORTANT ** + * 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); + } + + /** + * Date-time when subscription mapping was created. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return Date-time when subscription mapping was created. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * Date-time when subscription mapping was terminated. + * + */ + @Import(name="timeTerminated") + private @Nullable Output timeTerminated; + + /** + * @return Date-time when subscription mapping was terminated. + * + */ + public Optional> timeTerminated() { + return Optional.ofNullable(this.timeTerminated); + } + + /** + * Date-time when subscription mapping was updated. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return Date-time when subscription mapping was updated. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private SubscriptionMappingState() {} + + private SubscriptionMappingState(SubscriptionMappingState $) { + this.compartmentId = $.compartmentId; + this.isExplicitlyAssigned = $.isExplicitlyAssigned; + this.state = $.state; + this.subscriptionId = $.subscriptionId; + this.timeCreated = $.timeCreated; + this.timeTerminated = $.timeTerminated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubscriptionMappingState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubscriptionMappingState $; + + public Builder() { + $ = new SubscriptionMappingState(); + } + + public Builder(SubscriptionMappingState defaults) { + $ = new SubscriptionMappingState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId OCID of the compartment. Always a tenancy OCID. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId OCID of the compartment. Always a tenancy OCID. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param isExplicitlyAssigned Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + * @return builder + * + */ + public Builder isExplicitlyAssigned(@Nullable Output isExplicitlyAssigned) { + $.isExplicitlyAssigned = isExplicitlyAssigned; + return this; + } + + /** + * @param isExplicitlyAssigned Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + * @return builder + * + */ + public Builder isExplicitlyAssigned(Boolean isExplicitlyAssigned) { + return isExplicitlyAssigned(Output.of(isExplicitlyAssigned)); + } + + /** + * @param state Lifecycle state of the subscriptionMapping. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state Lifecycle state of the subscriptionMapping. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subscriptionId OCID of Subscription. + * + * ** IMPORTANT ** + * 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 OCID of Subscription. + * + * ** IMPORTANT ** + * 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 timeCreated Date-time when subscription mapping was created. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated Date-time when subscription mapping was created. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeTerminated Date-time when subscription mapping was terminated. + * + * @return builder + * + */ + public Builder timeTerminated(@Nullable Output timeTerminated) { + $.timeTerminated = timeTerminated; + return this; + } + + /** + * @param timeTerminated Date-time when subscription mapping was terminated. + * + * @return builder + * + */ + public Builder timeTerminated(String timeTerminated) { + return timeTerminated(Output.of(timeTerminated)); + } + + /** + * @param timeUpdated Date-time when subscription mapping was updated. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated Date-time when subscription mapping was updated. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public SubscriptionMappingState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection.java new file mode 100644 index 0000000000..39aa132f40 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection { + /** + * @return Array containing line item summaries in an assigned subscription. + * + */ + private List items; + + private GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection() {} + /** + * @return Array containing line item summaries in an assigned subscription. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem... items) { + return items(List.of(items)); + } + public GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection build() { + final var _resultValue = new GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem.java new file mode 100644 index 0000000000..055f459a7e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem { + /** + * @return Billing model supported by the associated line item. + * + */ + private String billingModel; + /** + * @return Subscription line item identifier. + * + */ + private String id; + /** + * @return Product code. + * + */ + private String productCode; + /** + * @return Product number. + * + */ + private Double quantity; + /** + * @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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + * + */ + private String timeEnded; + /** + * @return The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + * + */ + private String timeStarted; + + private GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem() {} + /** + * @return Billing model supported by the associated line item. + * + */ + public String billingModel() { + return this.billingModel; + } + /** + * @return Subscription line item identifier. + * + */ + public String id() { + return this.id; + } + /** + * @return Product code. + * + */ + public String productCode() { + return this.productCode; + } + /** + * @return Product number. + * + */ + public Double quantity() { + return this.quantity; + } + /** + * @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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + * + */ + public String timeEnded() { + return this.timeEnded; + } + /** + * @return The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String billingModel; + private String id; + private String productCode; + private Double quantity; + private Map systemTags; + private String timeEnded; + private String timeStarted; + public Builder() {} + public Builder(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.billingModel = defaults.billingModel; + this.id = defaults.id; + this.productCode = defaults.productCode; + this.quantity = defaults.quantity; + this.systemTags = defaults.systemTags; + this.timeEnded = defaults.timeEnded; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder billingModel(String billingModel) { + if (billingModel == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "billingModel"); + } + this.billingModel = billingModel; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder productCode(String productCode) { + if (productCode == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "productCode"); + } + this.productCode = productCode; + return this; + } + @CustomType.Setter + public Builder quantity(Double quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeEnded(String timeEnded) { + if (timeEnded == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "timeEnded"); + } + this.timeEnded = timeEnded; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem build() { + final var _resultValue = new GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem(); + _resultValue.billingModel = billingModel; + _resultValue.id = id; + _resultValue.productCode = productCode; + _resultValue.quantity = quantity; + _resultValue.systemTags = systemTags; + _resultValue.timeEnded = timeEnded; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsFilter.java new file mode 100644 index 0000000000..09956f1a21 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionLineItemsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetAssignedSubscriptionLineItemsFilter() {} + 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(GetAssignedSubscriptionLineItemsFilter 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(GetAssignedSubscriptionLineItemsFilter 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("GetAssignedSubscriptionLineItemsFilter", "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("GetAssignedSubscriptionLineItemsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetAssignedSubscriptionLineItemsFilter build() { + final var _resultValue = new GetAssignedSubscriptionLineItemsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsResult.java new file mode 100644 index 0000000000..734c22e157 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionLineItemsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionLineItemsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetAssignedSubscriptionLineItemsResult { + private String assignedSubscriptionId; + /** + * @return The list of assigned_subscription_line_item_collection. + * + */ + private List assignedSubscriptionLineItemCollections; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetAssignedSubscriptionLineItemsResult() {} + public String assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + /** + * @return The list of assigned_subscription_line_item_collection. + * + */ + public List assignedSubscriptionLineItemCollections() { + return this.assignedSubscriptionLineItemCollections; + } + 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(GetAssignedSubscriptionLineItemsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String assignedSubscriptionId; + private List assignedSubscriptionLineItemCollections; + private @Nullable List filters; + private String id; + public Builder() {} + public Builder(GetAssignedSubscriptionLineItemsResult defaults) { + Objects.requireNonNull(defaults); + this.assignedSubscriptionId = defaults.assignedSubscriptionId; + this.assignedSubscriptionLineItemCollections = defaults.assignedSubscriptionLineItemCollections; + this.filters = defaults.filters; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + if (assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsResult", "assignedSubscriptionId"); + } + this.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + @CustomType.Setter + public Builder assignedSubscriptionLineItemCollections(List assignedSubscriptionLineItemCollections) { + if (assignedSubscriptionLineItemCollections == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsResult", "assignedSubscriptionLineItemCollections"); + } + this.assignedSubscriptionLineItemCollections = assignedSubscriptionLineItemCollections; + return this; + } + public Builder assignedSubscriptionLineItemCollections(GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection... assignedSubscriptionLineItemCollections) { + return assignedSubscriptionLineItemCollections(List.of(assignedSubscriptionLineItemCollections)); + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetAssignedSubscriptionLineItemsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionLineItemsResult", "id"); + } + this.id = id; + return this; + } + public GetAssignedSubscriptionLineItemsResult build() { + final var _resultValue = new GetAssignedSubscriptionLineItemsResult(); + _resultValue.assignedSubscriptionId = assignedSubscriptionId; + _resultValue.assignedSubscriptionLineItemCollections = assignedSubscriptionLineItemCollections; + _resultValue.filters = filters; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionPromotion.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionPromotion.java new file mode 100644 index 0000000000..ffe9e2f061 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionPromotion.java @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionPromotion { + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + private Double amount; + /** + * @return Currency unit associated with the promotion. + * + */ + private String currencyUnit; + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + private Integer duration; + /** + * @return Unit for the duration. + * + */ + private String durationUnit; + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + private Boolean isIntentToPay; + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + private String status; + /** + * @return Date and time when the promotion ends. + * + */ + private String timeExpired; + /** + * @return Date and time when the promotion starts. + * + */ + private String timeStarted; + + private GetAssignedSubscriptionPromotion() {} + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + public Double amount() { + return this.amount; + } + /** + * @return Currency unit associated with the promotion. + * + */ + public String currencyUnit() { + return this.currencyUnit; + } + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + public Integer duration() { + return this.duration; + } + /** + * @return Unit for the duration. + * + */ + public String durationUnit() { + return this.durationUnit; + } + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + public Boolean isIntentToPay() { + return this.isIntentToPay; + } + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + public String status() { + return this.status; + } + /** + * @return Date and time when the promotion ends. + * + */ + public String timeExpired() { + return this.timeExpired; + } + /** + * @return Date and time when the promotion starts. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionPromotion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Double amount; + private String currencyUnit; + private Integer duration; + private String durationUnit; + private Boolean isIntentToPay; + private String status; + private String timeExpired; + private String timeStarted; + public Builder() {} + public Builder(GetAssignedSubscriptionPromotion defaults) { + Objects.requireNonNull(defaults); + this.amount = defaults.amount; + this.currencyUnit = defaults.currencyUnit; + this.duration = defaults.duration; + this.durationUnit = defaults.durationUnit; + this.isIntentToPay = defaults.isIntentToPay; + this.status = defaults.status; + this.timeExpired = defaults.timeExpired; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder amount(Double amount) { + if (amount == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "amount"); + } + this.amount = amount; + return this; + } + @CustomType.Setter + public Builder currencyUnit(String currencyUnit) { + if (currencyUnit == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "currencyUnit"); + } + this.currencyUnit = currencyUnit; + return this; + } + @CustomType.Setter + public Builder duration(Integer duration) { + if (duration == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "duration"); + } + this.duration = duration; + return this; + } + @CustomType.Setter + public Builder durationUnit(String durationUnit) { + if (durationUnit == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "durationUnit"); + } + this.durationUnit = durationUnit; + return this; + } + @CustomType.Setter + public Builder isIntentToPay(Boolean isIntentToPay) { + if (isIntentToPay == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "isIntentToPay"); + } + this.isIntentToPay = isIntentToPay; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder timeExpired(String timeExpired) { + if (timeExpired == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "timeExpired"); + } + this.timeExpired = timeExpired; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionPromotion", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetAssignedSubscriptionPromotion build() { + final var _resultValue = new GetAssignedSubscriptionPromotion(); + _resultValue.amount = amount; + _resultValue.currencyUnit = currencyUnit; + _resultValue.duration = duration; + _resultValue.durationUnit = durationUnit; + _resultValue.isIntentToPay = isIntentToPay; + _resultValue.status = status; + _resultValue.timeExpired = timeExpired; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionResult.java new file mode 100644 index 0000000000..84fa1f870e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionResult.java @@ -0,0 +1,685 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionPromotion; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionSkus; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionResult { + private String assignedSubscriptionId; + /** + * @return Subscription ID. + * + */ + private String classicSubscriptionId; + /** + * @return The currency code for the customer associated with the subscription. + * + */ + private String cloudAmountCurrency; + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + private String compartmentId; + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + private String csiNumber; + /** + * @return Currency code. For example USD, MXN. + * + */ + private String currencyCode; + /** + * @return The country code for the customer associated with the subscription. + * + */ + private String customerCountryCode; + /** + * @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 Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + private String entityVersion; + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Specifies whether or not the subscription is legacy. + * + */ + private Boolean isClassicSubscription; + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + private Boolean isGovernmentSubscription; + /** + * @return Service or component which is used to provision and manage the subscription. + * + */ + private String managedBy; + /** + * @return List of subscription order OCIDs that contributed to this subscription. + * + */ + private List orderIds; + /** + * @return Specifies any program that is associated with the subscription. + * + */ + private String programType; + /** + * @return List of promotions related to the subscription. + * + */ + private List promotions; + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + private String purchaseEntitlementId; + /** + * @return Region for the subscription. + * + */ + private String regionAssignment; + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + private String serviceName; + /** + * @return List of SKUs linked to the subscription. + * + */ + private List skuses; + /** + * @return Subscription start time. + * + */ + private String startDate; + /** + * @return Lifecycle state of the subscription. + * + */ + private String state; + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + private String subscriptionNumber; + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + private String subscriptionTier; + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeCreated; + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeUpdated; + + private GetAssignedSubscriptionResult() {} + public String assignedSubscriptionId() { + return this.assignedSubscriptionId; + } + /** + * @return Subscription ID. + * + */ + public String classicSubscriptionId() { + return this.classicSubscriptionId; + } + /** + * @return The currency code for the customer associated with the subscription. + * + */ + public String cloudAmountCurrency() { + return this.cloudAmountCurrency; + } + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + public String csiNumber() { + return this.csiNumber; + } + /** + * @return Currency code. For example USD, MXN. + * + */ + public String currencyCode() { + return this.currencyCode; + } + /** + * @return The country code for the customer associated with the subscription. + * + */ + public String customerCountryCode() { + return this.customerCountryCode; + } + /** + * @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 Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + public String entityVersion() { + return this.entityVersion; + } + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Specifies whether or not the subscription is legacy. + * + */ + public Boolean isClassicSubscription() { + return this.isClassicSubscription; + } + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + public Boolean isGovernmentSubscription() { + return this.isGovernmentSubscription; + } + /** + * @return Service or component which is used to provision and manage the subscription. + * + */ + public String managedBy() { + return this.managedBy; + } + /** + * @return List of subscription order OCIDs that contributed to this subscription. + * + */ + public List orderIds() { + return this.orderIds; + } + /** + * @return Specifies any program that is associated with the subscription. + * + */ + public String programType() { + return this.programType; + } + /** + * @return List of promotions related to the subscription. + * + */ + public List promotions() { + return this.promotions; + } + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + public String purchaseEntitlementId() { + return this.purchaseEntitlementId; + } + /** + * @return Region for the subscription. + * + */ + public String regionAssignment() { + return this.regionAssignment; + } + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return List of SKUs linked to the subscription. + * + */ + public List skuses() { + return this.skuses; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Lifecycle state of the subscription. + * + */ + public String state() { + return this.state; + } + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + public String subscriptionNumber() { + return this.subscriptionNumber; + } + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + public String subscriptionTier() { + return this.subscriptionTier; + } + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String assignedSubscriptionId; + private String classicSubscriptionId; + private String cloudAmountCurrency; + private String compartmentId; + private String csiNumber; + private String currencyCode; + private String customerCountryCode; + private Map definedTags; + private String endDate; + private String entityVersion; + private Map freeformTags; + private String id; + private Boolean isClassicSubscription; + private Boolean isGovernmentSubscription; + private String managedBy; + private List orderIds; + private String programType; + private List promotions; + private String purchaseEntitlementId; + private String regionAssignment; + private String serviceName; + private List skuses; + private String startDate; + private String state; + private String subscriptionNumber; + private String subscriptionTier; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetAssignedSubscriptionResult defaults) { + Objects.requireNonNull(defaults); + this.assignedSubscriptionId = defaults.assignedSubscriptionId; + this.classicSubscriptionId = defaults.classicSubscriptionId; + this.cloudAmountCurrency = defaults.cloudAmountCurrency; + this.compartmentId = defaults.compartmentId; + this.csiNumber = defaults.csiNumber; + this.currencyCode = defaults.currencyCode; + this.customerCountryCode = defaults.customerCountryCode; + this.definedTags = defaults.definedTags; + this.endDate = defaults.endDate; + this.entityVersion = defaults.entityVersion; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isClassicSubscription = defaults.isClassicSubscription; + this.isGovernmentSubscription = defaults.isGovernmentSubscription; + this.managedBy = defaults.managedBy; + this.orderIds = defaults.orderIds; + this.programType = defaults.programType; + this.promotions = defaults.promotions; + this.purchaseEntitlementId = defaults.purchaseEntitlementId; + this.regionAssignment = defaults.regionAssignment; + this.serviceName = defaults.serviceName; + this.skuses = defaults.skuses; + this.startDate = defaults.startDate; + this.state = defaults.state; + this.subscriptionNumber = defaults.subscriptionNumber; + this.subscriptionTier = defaults.subscriptionTier; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder assignedSubscriptionId(String assignedSubscriptionId) { + if (assignedSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "assignedSubscriptionId"); + } + this.assignedSubscriptionId = assignedSubscriptionId; + return this; + } + @CustomType.Setter + public Builder classicSubscriptionId(String classicSubscriptionId) { + if (classicSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "classicSubscriptionId"); + } + this.classicSubscriptionId = classicSubscriptionId; + return this; + } + @CustomType.Setter + public Builder cloudAmountCurrency(String cloudAmountCurrency) { + if (cloudAmountCurrency == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "cloudAmountCurrency"); + } + this.cloudAmountCurrency = cloudAmountCurrency; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder csiNumber(String csiNumber) { + if (csiNumber == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "csiNumber"); + } + this.csiNumber = csiNumber; + return this; + } + @CustomType.Setter + public Builder currencyCode(String currencyCode) { + if (currencyCode == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "currencyCode"); + } + this.currencyCode = currencyCode; + return this; + } + @CustomType.Setter + public Builder customerCountryCode(String customerCountryCode) { + if (customerCountryCode == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "customerCountryCode"); + } + this.customerCountryCode = customerCountryCode; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder entityVersion(String entityVersion) { + if (entityVersion == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "entityVersion"); + } + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isClassicSubscription(Boolean isClassicSubscription) { + if (isClassicSubscription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "isClassicSubscription"); + } + this.isClassicSubscription = isClassicSubscription; + return this; + } + @CustomType.Setter + public Builder isGovernmentSubscription(Boolean isGovernmentSubscription) { + if (isGovernmentSubscription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "isGovernmentSubscription"); + } + this.isGovernmentSubscription = isGovernmentSubscription; + return this; + } + @CustomType.Setter + public Builder managedBy(String managedBy) { + if (managedBy == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "managedBy"); + } + this.managedBy = managedBy; + return this; + } + @CustomType.Setter + public Builder orderIds(List orderIds) { + if (orderIds == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "orderIds"); + } + this.orderIds = orderIds; + return this; + } + public Builder orderIds(String... orderIds) { + return orderIds(List.of(orderIds)); + } + @CustomType.Setter + public Builder programType(String programType) { + if (programType == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "programType"); + } + this.programType = programType; + return this; + } + @CustomType.Setter + public Builder promotions(List promotions) { + if (promotions == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "promotions"); + } + this.promotions = promotions; + return this; + } + public Builder promotions(GetAssignedSubscriptionPromotion... promotions) { + return promotions(List.of(promotions)); + } + @CustomType.Setter + public Builder purchaseEntitlementId(String purchaseEntitlementId) { + if (purchaseEntitlementId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "purchaseEntitlementId"); + } + this.purchaseEntitlementId = purchaseEntitlementId; + return this; + } + @CustomType.Setter + public Builder regionAssignment(String regionAssignment) { + if (regionAssignment == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "regionAssignment"); + } + this.regionAssignment = regionAssignment; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder skuses(List skuses) { + if (skuses == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "skuses"); + } + this.skuses = skuses; + return this; + } + public Builder skuses(GetAssignedSubscriptionSkus... skuses) { + return skuses(List.of(skuses)); + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionNumber(String subscriptionNumber) { + if (subscriptionNumber == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "subscriptionNumber"); + } + this.subscriptionNumber = subscriptionNumber; + return this; + } + @CustomType.Setter + public Builder subscriptionTier(String subscriptionTier) { + if (subscriptionTier == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "subscriptionTier"); + } + this.subscriptionTier = subscriptionTier; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetAssignedSubscriptionResult build() { + final var _resultValue = new GetAssignedSubscriptionResult(); + _resultValue.assignedSubscriptionId = assignedSubscriptionId; + _resultValue.classicSubscriptionId = classicSubscriptionId; + _resultValue.cloudAmountCurrency = cloudAmountCurrency; + _resultValue.compartmentId = compartmentId; + _resultValue.csiNumber = csiNumber; + _resultValue.currencyCode = currencyCode; + _resultValue.customerCountryCode = customerCountryCode; + _resultValue.definedTags = definedTags; + _resultValue.endDate = endDate; + _resultValue.entityVersion = entityVersion; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isClassicSubscription = isClassicSubscription; + _resultValue.isGovernmentSubscription = isGovernmentSubscription; + _resultValue.managedBy = managedBy; + _resultValue.orderIds = orderIds; + _resultValue.programType = programType; + _resultValue.promotions = promotions; + _resultValue.purchaseEntitlementId = purchaseEntitlementId; + _resultValue.regionAssignment = regionAssignment; + _resultValue.serviceName = serviceName; + _resultValue.skuses = skuses; + _resultValue.startDate = startDate; + _resultValue.state = state; + _resultValue.subscriptionNumber = subscriptionNumber; + _resultValue.subscriptionTier = subscriptionTier; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionSkus.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionSkus.java new file mode 100644 index 0000000000..25160d55ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionSkus.java @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetAssignedSubscriptionSkus { + /** + * @return Description of the stock units. + * + */ + private String description; + /** + * @return Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return Sales order line identifier. + * + */ + private String gsiOrderLineId; + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + private Boolean isAdditionalInstance; + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + private Boolean isBaseServiceComponent; + /** + * @return Description of the covered product belonging to this SKU. + * + */ + private String licensePartDescription; + /** + * @return Base metric for billing the service. + * + */ + private String metricName; + /** + * @return Quantity of the stock units. + * + */ + private Integer quantity; + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + private String sku; + /** + * @return Subscription start time. + * + */ + private String startDate; + + private GetAssignedSubscriptionSkus() {} + /** + * @return Description of the stock units. + * + */ + public String description() { + return this.description; + } + /** + * @return Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return Sales order line identifier. + * + */ + public String gsiOrderLineId() { + return this.gsiOrderLineId; + } + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + public Boolean isAdditionalInstance() { + return this.isAdditionalInstance; + } + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + public Boolean isBaseServiceComponent() { + return this.isBaseServiceComponent; + } + /** + * @return Description of the covered product belonging to this SKU. + * + */ + public String licensePartDescription() { + return this.licensePartDescription; + } + /** + * @return Base metric for billing the service. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return Quantity of the stock units. + * + */ + public Integer quantity() { + return this.quantity; + } + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + public String sku() { + return this.sku; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionSkus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String gsiOrderLineId; + private Boolean isAdditionalInstance; + private Boolean isBaseServiceComponent; + private String licensePartDescription; + private String metricName; + private Integer quantity; + private String sku; + private String startDate; + public Builder() {} + public Builder(GetAssignedSubscriptionSkus defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.gsiOrderLineId = defaults.gsiOrderLineId; + this.isAdditionalInstance = defaults.isAdditionalInstance; + this.isBaseServiceComponent = defaults.isBaseServiceComponent; + this.licensePartDescription = defaults.licensePartDescription; + this.metricName = defaults.metricName; + this.quantity = defaults.quantity; + this.sku = defaults.sku; + this.startDate = defaults.startDate; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder gsiOrderLineId(String gsiOrderLineId) { + if (gsiOrderLineId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "gsiOrderLineId"); + } + this.gsiOrderLineId = gsiOrderLineId; + return this; + } + @CustomType.Setter + public Builder isAdditionalInstance(Boolean isAdditionalInstance) { + if (isAdditionalInstance == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "isAdditionalInstance"); + } + this.isAdditionalInstance = isAdditionalInstance; + return this; + } + @CustomType.Setter + public Builder isBaseServiceComponent(Boolean isBaseServiceComponent) { + if (isBaseServiceComponent == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "isBaseServiceComponent"); + } + this.isBaseServiceComponent = isBaseServiceComponent; + return this; + } + @CustomType.Setter + public Builder licensePartDescription(String licensePartDescription) { + if (licensePartDescription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "licensePartDescription"); + } + this.licensePartDescription = licensePartDescription; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder quantity(Integer quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder sku(String sku) { + if (sku == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "sku"); + } + this.sku = sku; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionSkus", "startDate"); + } + this.startDate = startDate; + return this; + } + public GetAssignedSubscriptionSkus build() { + final var _resultValue = new GetAssignedSubscriptionSkus(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.gsiOrderLineId = gsiOrderLineId; + _resultValue.isAdditionalInstance = isAdditionalInstance; + _resultValue.isBaseServiceComponent = isBaseServiceComponent; + _resultValue.licensePartDescription = licensePartDescription; + _resultValue.metricName = metricName; + _resultValue.quantity = quantity; + _resultValue.sku = sku; + _resultValue.startDate = startDate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollection.java new file mode 100644 index 0000000000..0e7612c36a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionsAssignedSubscriptionCollection { + private List items; + + private GetAssignedSubscriptionsAssignedSubscriptionCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionsAssignedSubscriptionCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetAssignedSubscriptionsAssignedSubscriptionCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetAssignedSubscriptionsAssignedSubscriptionCollectionItem... items) { + return items(List.of(items)); + } + public GetAssignedSubscriptionsAssignedSubscriptionCollection build() { + final var _resultValue = new GetAssignedSubscriptionsAssignedSubscriptionCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItem.java new file mode 100644 index 0000000000..33e2a3b204 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItem.java @@ -0,0 +1,670 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionsAssignedSubscriptionCollectionItem { + /** + * @return Subscription ID. + * + */ + private String classicSubscriptionId; + /** + * @return The currency code for the customer associated with the subscription. + * + */ + private String cloudAmountCurrency; + /** + * @return The ID of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + private String csiNumber; + /** + * @return Currency code. For example USD, MXN. + * + */ + private String currencyCode; + /** + * @return The country code for the customer associated with the subscription. + * + */ + private String customerCountryCode; + /** + * @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 Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return The version of the subscription entity. + * + */ + private String entityVersion; + /** + * @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + * + */ + private String id; + /** + * @return Specifies whether or not the subscription is legacy. + * + */ + private Boolean isClassicSubscription; + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + private Boolean isGovernmentSubscription; + /** + * @return Service or component which is used to provision and manage the subscription. + * + */ + private String managedBy; + /** + * @return List of subscription order OCIDs that contributed to this subscription. + * + */ + private List orderIds; + /** + * @return Specifies any program that is associated with the subscription. + * + */ + private String programType; + /** + * @return List of promotions related to the subscription. + * + */ + private List promotions; + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + private String purchaseEntitlementId; + /** + * @return Region for the subscription. + * + */ + private String regionAssignment; + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + private String serviceName; + /** + * @return List of SKUs linked to the subscription. + * + */ + private List skuses; + /** + * @return Subscription start time. + * + */ + private String startDate; + /** + * @return Lifecycle state of the subscription. + * + */ + private String state; + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + private String subscriptionNumber; + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + private String subscriptionTier; + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeCreated; + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeUpdated; + + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItem() {} + /** + * @return Subscription ID. + * + */ + public String classicSubscriptionId() { + return this.classicSubscriptionId; + } + /** + * @return The currency code for the customer associated with the subscription. + * + */ + public String cloudAmountCurrency() { + return this.cloudAmountCurrency; + } + /** + * @return The ID of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + public String csiNumber() { + return this.csiNumber; + } + /** + * @return Currency code. For example USD, MXN. + * + */ + public String currencyCode() { + return this.currencyCode; + } + /** + * @return The country code for the customer associated with the subscription. + * + */ + public String customerCountryCode() { + return this.customerCountryCode; + } + /** + * @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 Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return The version of the subscription entity. + * + */ + public String entityVersion() { + return this.entityVersion; + } + /** + * @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + * + */ + public String id() { + return this.id; + } + /** + * @return Specifies whether or not the subscription is legacy. + * + */ + public Boolean isClassicSubscription() { + return this.isClassicSubscription; + } + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + public Boolean isGovernmentSubscription() { + return this.isGovernmentSubscription; + } + /** + * @return Service or component which is used to provision and manage the subscription. + * + */ + public String managedBy() { + return this.managedBy; + } + /** + * @return List of subscription order OCIDs that contributed to this subscription. + * + */ + public List orderIds() { + return this.orderIds; + } + /** + * @return Specifies any program that is associated with the subscription. + * + */ + public String programType() { + return this.programType; + } + /** + * @return List of promotions related to the subscription. + * + */ + public List promotions() { + return this.promotions; + } + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + public String purchaseEntitlementId() { + return this.purchaseEntitlementId; + } + /** + * @return Region for the subscription. + * + */ + public String regionAssignment() { + return this.regionAssignment; + } + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return List of SKUs linked to the subscription. + * + */ + public List skuses() { + return this.skuses; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Lifecycle state of the subscription. + * + */ + public String state() { + return this.state; + } + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + public String subscriptionNumber() { + return this.subscriptionNumber; + } + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + public String subscriptionTier() { + return this.subscriptionTier; + } + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String classicSubscriptionId; + private String cloudAmountCurrency; + private String compartmentId; + private String csiNumber; + private String currencyCode; + private String customerCountryCode; + private Map definedTags; + private String endDate; + private String entityVersion; + private Map freeformTags; + private String id; + private Boolean isClassicSubscription; + private Boolean isGovernmentSubscription; + private String managedBy; + private List orderIds; + private String programType; + private List promotions; + private String purchaseEntitlementId; + private String regionAssignment; + private String serviceName; + private List skuses; + private String startDate; + private String state; + private String subscriptionNumber; + private String subscriptionTier; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.classicSubscriptionId = defaults.classicSubscriptionId; + this.cloudAmountCurrency = defaults.cloudAmountCurrency; + this.compartmentId = defaults.compartmentId; + this.csiNumber = defaults.csiNumber; + this.currencyCode = defaults.currencyCode; + this.customerCountryCode = defaults.customerCountryCode; + this.definedTags = defaults.definedTags; + this.endDate = defaults.endDate; + this.entityVersion = defaults.entityVersion; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isClassicSubscription = defaults.isClassicSubscription; + this.isGovernmentSubscription = defaults.isGovernmentSubscription; + this.managedBy = defaults.managedBy; + this.orderIds = defaults.orderIds; + this.programType = defaults.programType; + this.promotions = defaults.promotions; + this.purchaseEntitlementId = defaults.purchaseEntitlementId; + this.regionAssignment = defaults.regionAssignment; + this.serviceName = defaults.serviceName; + this.skuses = defaults.skuses; + this.startDate = defaults.startDate; + this.state = defaults.state; + this.subscriptionNumber = defaults.subscriptionNumber; + this.subscriptionTier = defaults.subscriptionTier; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder classicSubscriptionId(String classicSubscriptionId) { + if (classicSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "classicSubscriptionId"); + } + this.classicSubscriptionId = classicSubscriptionId; + return this; + } + @CustomType.Setter + public Builder cloudAmountCurrency(String cloudAmountCurrency) { + if (cloudAmountCurrency == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "cloudAmountCurrency"); + } + this.cloudAmountCurrency = cloudAmountCurrency; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder csiNumber(String csiNumber) { + if (csiNumber == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "csiNumber"); + } + this.csiNumber = csiNumber; + return this; + } + @CustomType.Setter + public Builder currencyCode(String currencyCode) { + if (currencyCode == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "currencyCode"); + } + this.currencyCode = currencyCode; + return this; + } + @CustomType.Setter + public Builder customerCountryCode(String customerCountryCode) { + if (customerCountryCode == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "customerCountryCode"); + } + this.customerCountryCode = customerCountryCode; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder entityVersion(String entityVersion) { + if (entityVersion == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "entityVersion"); + } + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isClassicSubscription(Boolean isClassicSubscription) { + if (isClassicSubscription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "isClassicSubscription"); + } + this.isClassicSubscription = isClassicSubscription; + return this; + } + @CustomType.Setter + public Builder isGovernmentSubscription(Boolean isGovernmentSubscription) { + if (isGovernmentSubscription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "isGovernmentSubscription"); + } + this.isGovernmentSubscription = isGovernmentSubscription; + return this; + } + @CustomType.Setter + public Builder managedBy(String managedBy) { + if (managedBy == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "managedBy"); + } + this.managedBy = managedBy; + return this; + } + @CustomType.Setter + public Builder orderIds(List orderIds) { + if (orderIds == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "orderIds"); + } + this.orderIds = orderIds; + return this; + } + public Builder orderIds(String... orderIds) { + return orderIds(List.of(orderIds)); + } + @CustomType.Setter + public Builder programType(String programType) { + if (programType == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "programType"); + } + this.programType = programType; + return this; + } + @CustomType.Setter + public Builder promotions(List promotions) { + if (promotions == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "promotions"); + } + this.promotions = promotions; + return this; + } + public Builder promotions(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion... promotions) { + return promotions(List.of(promotions)); + } + @CustomType.Setter + public Builder purchaseEntitlementId(String purchaseEntitlementId) { + if (purchaseEntitlementId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "purchaseEntitlementId"); + } + this.purchaseEntitlementId = purchaseEntitlementId; + return this; + } + @CustomType.Setter + public Builder regionAssignment(String regionAssignment) { + if (regionAssignment == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "regionAssignment"); + } + this.regionAssignment = regionAssignment; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder skuses(List skuses) { + if (skuses == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "skuses"); + } + this.skuses = skuses; + return this; + } + public Builder skuses(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus... skuses) { + return skuses(List.of(skuses)); + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionNumber(String subscriptionNumber) { + if (subscriptionNumber == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "subscriptionNumber"); + } + this.subscriptionNumber = subscriptionNumber; + return this; + } + @CustomType.Setter + public Builder subscriptionTier(String subscriptionTier) { + if (subscriptionTier == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "subscriptionTier"); + } + this.subscriptionTier = subscriptionTier; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetAssignedSubscriptionsAssignedSubscriptionCollectionItem build() { + final var _resultValue = new GetAssignedSubscriptionsAssignedSubscriptionCollectionItem(); + _resultValue.classicSubscriptionId = classicSubscriptionId; + _resultValue.cloudAmountCurrency = cloudAmountCurrency; + _resultValue.compartmentId = compartmentId; + _resultValue.csiNumber = csiNumber; + _resultValue.currencyCode = currencyCode; + _resultValue.customerCountryCode = customerCountryCode; + _resultValue.definedTags = definedTags; + _resultValue.endDate = endDate; + _resultValue.entityVersion = entityVersion; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isClassicSubscription = isClassicSubscription; + _resultValue.isGovernmentSubscription = isGovernmentSubscription; + _resultValue.managedBy = managedBy; + _resultValue.orderIds = orderIds; + _resultValue.programType = programType; + _resultValue.promotions = promotions; + _resultValue.purchaseEntitlementId = purchaseEntitlementId; + _resultValue.regionAssignment = regionAssignment; + _resultValue.serviceName = serviceName; + _resultValue.skuses = skuses; + _resultValue.startDate = startDate; + _resultValue.state = state; + _resultValue.subscriptionNumber = subscriptionNumber; + _resultValue.subscriptionTier = subscriptionTier; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion.java new file mode 100644 index 0000000000..e8556d21df --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion.java @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion { + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + private Double amount; + /** + * @return Currency unit associated with the promotion. + * + */ + private String currencyUnit; + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + private Integer duration; + /** + * @return Unit for the duration. + * + */ + private String durationUnit; + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + private Boolean isIntentToPay; + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + private String status; + /** + * @return Date and time when the promotion ends. + * + */ + private String timeExpired; + /** + * @return Date and time when the promotion starts. + * + */ + private String timeStarted; + + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion() {} + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + public Double amount() { + return this.amount; + } + /** + * @return Currency unit associated with the promotion. + * + */ + public String currencyUnit() { + return this.currencyUnit; + } + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + public Integer duration() { + return this.duration; + } + /** + * @return Unit for the duration. + * + */ + public String durationUnit() { + return this.durationUnit; + } + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + public Boolean isIntentToPay() { + return this.isIntentToPay; + } + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + public String status() { + return this.status; + } + /** + * @return Date and time when the promotion ends. + * + */ + public String timeExpired() { + return this.timeExpired; + } + /** + * @return Date and time when the promotion starts. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Double amount; + private String currencyUnit; + private Integer duration; + private String durationUnit; + private Boolean isIntentToPay; + private String status; + private String timeExpired; + private String timeStarted; + public Builder() {} + public Builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion defaults) { + Objects.requireNonNull(defaults); + this.amount = defaults.amount; + this.currencyUnit = defaults.currencyUnit; + this.duration = defaults.duration; + this.durationUnit = defaults.durationUnit; + this.isIntentToPay = defaults.isIntentToPay; + this.status = defaults.status; + this.timeExpired = defaults.timeExpired; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder amount(Double amount) { + if (amount == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "amount"); + } + this.amount = amount; + return this; + } + @CustomType.Setter + public Builder currencyUnit(String currencyUnit) { + if (currencyUnit == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "currencyUnit"); + } + this.currencyUnit = currencyUnit; + return this; + } + @CustomType.Setter + public Builder duration(Integer duration) { + if (duration == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "duration"); + } + this.duration = duration; + return this; + } + @CustomType.Setter + public Builder durationUnit(String durationUnit) { + if (durationUnit == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "durationUnit"); + } + this.durationUnit = durationUnit; + return this; + } + @CustomType.Setter + public Builder isIntentToPay(Boolean isIntentToPay) { + if (isIntentToPay == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "isIntentToPay"); + } + this.isIntentToPay = isIntentToPay; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder timeExpired(String timeExpired) { + if (timeExpired == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "timeExpired"); + } + this.timeExpired = timeExpired; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion build() { + final var _resultValue = new GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion(); + _resultValue.amount = amount; + _resultValue.currencyUnit = currencyUnit; + _resultValue.duration = duration; + _resultValue.durationUnit = durationUnit; + _resultValue.isIntentToPay = isIntentToPay; + _resultValue.status = status; + _resultValue.timeExpired = timeExpired; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus.java new file mode 100644 index 0000000000..db3713628e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus.java @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus { + /** + * @return Description of the stock units. + * + */ + private String description; + /** + * @return Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return Sales order line identifier. + * + */ + private String gsiOrderLineId; + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + private Boolean isAdditionalInstance; + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + private Boolean isBaseServiceComponent; + /** + * @return Description of the covered product belonging to this SKU. + * + */ + private String licensePartDescription; + /** + * @return Base metric for billing the service. + * + */ + private String metricName; + /** + * @return Quantity of the stock units. + * + */ + private Integer quantity; + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + private String sku; + /** + * @return Subscription start time. + * + */ + private String startDate; + + private GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus() {} + /** + * @return Description of the stock units. + * + */ + public String description() { + return this.description; + } + /** + * @return Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return Sales order line identifier. + * + */ + public String gsiOrderLineId() { + return this.gsiOrderLineId; + } + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + public Boolean isAdditionalInstance() { + return this.isAdditionalInstance; + } + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + public Boolean isBaseServiceComponent() { + return this.isBaseServiceComponent; + } + /** + * @return Description of the covered product belonging to this SKU. + * + */ + public String licensePartDescription() { + return this.licensePartDescription; + } + /** + * @return Base metric for billing the service. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return Quantity of the stock units. + * + */ + public Integer quantity() { + return this.quantity; + } + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + public String sku() { + return this.sku; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String gsiOrderLineId; + private Boolean isAdditionalInstance; + private Boolean isBaseServiceComponent; + private String licensePartDescription; + private String metricName; + private Integer quantity; + private String sku; + private String startDate; + public Builder() {} + public Builder(GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.gsiOrderLineId = defaults.gsiOrderLineId; + this.isAdditionalInstance = defaults.isAdditionalInstance; + this.isBaseServiceComponent = defaults.isBaseServiceComponent; + this.licensePartDescription = defaults.licensePartDescription; + this.metricName = defaults.metricName; + this.quantity = defaults.quantity; + this.sku = defaults.sku; + this.startDate = defaults.startDate; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder gsiOrderLineId(String gsiOrderLineId) { + if (gsiOrderLineId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "gsiOrderLineId"); + } + this.gsiOrderLineId = gsiOrderLineId; + return this; + } + @CustomType.Setter + public Builder isAdditionalInstance(Boolean isAdditionalInstance) { + if (isAdditionalInstance == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "isAdditionalInstance"); + } + this.isAdditionalInstance = isAdditionalInstance; + return this; + } + @CustomType.Setter + public Builder isBaseServiceComponent(Boolean isBaseServiceComponent) { + if (isBaseServiceComponent == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "isBaseServiceComponent"); + } + this.isBaseServiceComponent = isBaseServiceComponent; + return this; + } + @CustomType.Setter + public Builder licensePartDescription(String licensePartDescription) { + if (licensePartDescription == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "licensePartDescription"); + } + this.licensePartDescription = licensePartDescription; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder quantity(Integer quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder sku(String sku) { + if (sku == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "sku"); + } + this.sku = sku; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus", "startDate"); + } + this.startDate = startDate; + return this; + } + public GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus build() { + final var _resultValue = new GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.gsiOrderLineId = gsiOrderLineId; + _resultValue.isAdditionalInstance = isAdditionalInstance; + _resultValue.isBaseServiceComponent = isBaseServiceComponent; + _resultValue.licensePartDescription = licensePartDescription; + _resultValue.metricName = metricName; + _resultValue.quantity = quantity; + _resultValue.sku = sku; + _resultValue.startDate = startDate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsFilter.java new file mode 100644 index 0000000000..07691ea05f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsFilter.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.Tenantmanagercontrolplane.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 GetAssignedSubscriptionsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetAssignedSubscriptionsFilter() {} + 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(GetAssignedSubscriptionsFilter 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(GetAssignedSubscriptionsFilter 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("GetAssignedSubscriptionsFilter", "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("GetAssignedSubscriptionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetAssignedSubscriptionsFilter build() { + final var _resultValue = new GetAssignedSubscriptionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsResult.java new file mode 100644 index 0000000000..5c713d0766 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetAssignedSubscriptionsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsAssignedSubscriptionCollection; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetAssignedSubscriptionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAssignedSubscriptionsResult { + /** + * @return The list of assigned_subscription_collection. + * + */ + private List assignedSubscriptionCollections; + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + private String compartmentId; + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + private @Nullable String entityVersion; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String subscriptionId; + + private GetAssignedSubscriptionsResult() {} + /** + * @return The list of assigned_subscription_collection. + * + */ + public List assignedSubscriptionCollections() { + return this.assignedSubscriptionCollections; + } + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + 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 subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAssignedSubscriptionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List assignedSubscriptionCollections; + private String compartmentId; + private @Nullable String entityVersion; + private @Nullable List filters; + private String id; + private @Nullable String subscriptionId; + public Builder() {} + public Builder(GetAssignedSubscriptionsResult defaults) { + Objects.requireNonNull(defaults); + this.assignedSubscriptionCollections = defaults.assignedSubscriptionCollections; + this.compartmentId = defaults.compartmentId; + this.entityVersion = defaults.entityVersion; + this.filters = defaults.filters; + this.id = defaults.id; + this.subscriptionId = defaults.subscriptionId; + } + + @CustomType.Setter + public Builder assignedSubscriptionCollections(List assignedSubscriptionCollections) { + if (assignedSubscriptionCollections == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsResult", "assignedSubscriptionCollections"); + } + this.assignedSubscriptionCollections = assignedSubscriptionCollections; + return this; + } + public Builder assignedSubscriptionCollections(GetAssignedSubscriptionsAssignedSubscriptionCollection... assignedSubscriptionCollections) { + return assignedSubscriptionCollections(List.of(assignedSubscriptionCollections)); + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder entityVersion(@Nullable String entityVersion) { + + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetAssignedSubscriptionsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAssignedSubscriptionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder subscriptionId(@Nullable String subscriptionId) { + + this.subscriptionId = subscriptionId; + return this; + } + public GetAssignedSubscriptionsResult build() { + final var _resultValue = new GetAssignedSubscriptionsResult(); + _resultValue.assignedSubscriptionCollections = assignedSubscriptionCollections; + _resultValue.compartmentId = compartmentId; + _resultValue.entityVersion = entityVersion; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.subscriptionId = subscriptionId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernanceResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernanceResult.java new file mode 100644 index 0000000000..9a17876603 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernanceResult.java @@ -0,0 +1,351 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetDomainGovernanceResult { + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + private String domainGovernanceId; + /** + * @return The OCID of the domain associated with this domain governance entity. + * + */ + private String domainId; + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Indicates whether governance is enabled for this domain. + * + */ + private Boolean isGovernanceEnabled; + /** + * @return The ONS subscription associated with this domain governance entity. + * + */ + private String onsSubscriptionId; + /** + * @return The ONS topic associated with this domain governance entity. + * + */ + private String onsTopicId; + /** + * @return The OCID of the tenancy that owns this domain governance entity. + * + */ + private String ownerId; + /** + * @return Lifecycle state of the domain governance entity. + * + */ + private String state; + /** + * @return Email address to be used to notify the user, and that the ONS subscription will be created with. + * + */ + private String subscriptionEmail; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + * + */ + private String timeCreated; + /** + * @return Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + * + */ + private String timeUpdated; + + private GetDomainGovernanceResult() {} + /** + * @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; + } + public String domainGovernanceId() { + return this.domainGovernanceId; + } + /** + * @return The OCID of the domain associated with this domain governance entity. + * + */ + public String domainId() { + return this.domainId; + } + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whether governance is enabled for this domain. + * + */ + public Boolean isGovernanceEnabled() { + return this.isGovernanceEnabled; + } + /** + * @return The ONS subscription associated with this domain governance entity. + * + */ + public String onsSubscriptionId() { + return this.onsSubscriptionId; + } + /** + * @return The ONS topic associated with this domain governance entity. + * + */ + public String onsTopicId() { + return this.onsTopicId; + } + /** + * @return The OCID of the tenancy that owns this domain governance entity. + * + */ + public String ownerId() { + return this.ownerId; + } + /** + * @return Lifecycle state of the domain governance entity. + * + */ + public String state() { + return this.state; + } + /** + * @return Email address to be used to notify the user, and that the ONS subscription will be created with. + * + */ + public String subscriptionEmail() { + return this.subscriptionEmail; + } + /** + * @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 Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainGovernanceResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map definedTags; + private String domainGovernanceId; + private String domainId; + private Map freeformTags; + private String id; + private Boolean isGovernanceEnabled; + private String onsSubscriptionId; + private String onsTopicId; + private String ownerId; + private String state; + private String subscriptionEmail; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDomainGovernanceResult defaults) { + Objects.requireNonNull(defaults); + this.definedTags = defaults.definedTags; + this.domainGovernanceId = defaults.domainGovernanceId; + this.domainId = defaults.domainId; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isGovernanceEnabled = defaults.isGovernanceEnabled; + this.onsSubscriptionId = defaults.onsSubscriptionId; + this.onsTopicId = defaults.onsTopicId; + this.ownerId = defaults.ownerId; + this.state = defaults.state; + this.subscriptionEmail = defaults.subscriptionEmail; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder domainGovernanceId(String domainGovernanceId) { + if (domainGovernanceId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "domainGovernanceId"); + } + this.domainGovernanceId = domainGovernanceId; + return this; + } + @CustomType.Setter + public Builder domainId(String domainId) { + if (domainId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "domainId"); + } + this.domainId = domainId; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isGovernanceEnabled(Boolean isGovernanceEnabled) { + if (isGovernanceEnabled == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "isGovernanceEnabled"); + } + this.isGovernanceEnabled = isGovernanceEnabled; + return this; + } + @CustomType.Setter + public Builder onsSubscriptionId(String onsSubscriptionId) { + if (onsSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "onsSubscriptionId"); + } + this.onsSubscriptionId = onsSubscriptionId; + return this; + } + @CustomType.Setter + public Builder onsTopicId(String onsTopicId) { + if (onsTopicId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "onsTopicId"); + } + this.onsTopicId = onsTopicId; + return this; + } + @CustomType.Setter + public Builder ownerId(String ownerId) { + if (ownerId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "ownerId"); + } + this.ownerId = ownerId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionEmail(String subscriptionEmail) { + if (subscriptionEmail == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "subscriptionEmail"); + } + this.subscriptionEmail = subscriptionEmail; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDomainGovernanceResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDomainGovernanceResult build() { + final var _resultValue = new GetDomainGovernanceResult(); + _resultValue.definedTags = definedTags; + _resultValue.domainGovernanceId = domainGovernanceId; + _resultValue.domainId = domainId; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isGovernanceEnabled = isGovernanceEnabled; + _resultValue.onsSubscriptionId = onsSubscriptionId; + _resultValue.onsTopicId = onsTopicId; + _resultValue.ownerId = ownerId; + _resultValue.state = state; + _resultValue.subscriptionEmail = subscriptionEmail; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollection.java new file mode 100644 index 0000000000..56d4756c1b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainGovernancesDomainGovernanceCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDomainGovernancesDomainGovernanceCollection { + private List items; + + private GetDomainGovernancesDomainGovernanceCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainGovernancesDomainGovernanceCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDomainGovernancesDomainGovernanceCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDomainGovernancesDomainGovernanceCollectionItem... items) { + return items(List.of(items)); + } + public GetDomainGovernancesDomainGovernanceCollection build() { + final var _resultValue = new GetDomainGovernancesDomainGovernanceCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollectionItem.java new file mode 100644 index 0000000000..afb0c042c2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesDomainGovernanceCollectionItem.java @@ -0,0 +1,359 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetDomainGovernancesDomainGovernanceCollectionItem { + /** + * @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 The domain OCID. + * + */ + private String domainId; + /** + * @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 OCID of the domain governance entity. + * + */ + private String id; + /** + * @return Indicates whether governance is enabled for this domain. + * + */ + private Boolean isGovernanceEnabled; + /** + * @return The ONS subscription associated with this domain governance entity. + * + */ + private String onsSubscriptionId; + /** + * @return The ONS topic associated with this domain governance entity. + * + */ + private String onsTopicId; + /** + * @return The OCID of the tenancy that owns this domain governance entity. + * + */ + private String ownerId; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return Email address to be used to notify the user, and that the ONS subscription will be created with. + * + */ + private String subscriptionEmail; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + * + */ + private String timeCreated; + /** + * @return Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + * + */ + private String timeUpdated; + + private GetDomainGovernancesDomainGovernanceCollectionItem() {} + /** + * @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 The domain OCID. + * + */ + public String domainId() { + return this.domainId; + } + /** + * @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 OCID of the domain governance entity. + * + */ + public String id() { + return this.id; + } + /** + * @return Indicates whether governance is enabled for this domain. + * + */ + public Boolean isGovernanceEnabled() { + return this.isGovernanceEnabled; + } + /** + * @return The ONS subscription associated with this domain governance entity. + * + */ + public String onsSubscriptionId() { + return this.onsSubscriptionId; + } + /** + * @return The ONS topic associated with this domain governance entity. + * + */ + public String onsTopicId() { + return this.onsTopicId; + } + /** + * @return The OCID of the tenancy that owns this domain governance entity. + * + */ + public String ownerId() { + return this.ownerId; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return Email address to be used to notify the user, and that the ONS subscription will be created with. + * + */ + public String subscriptionEmail() { + return this.subscriptionEmail; + } + /** + * @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 Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainGovernancesDomainGovernanceCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String domainId; + private Map freeformTags; + private String id; + private Boolean isGovernanceEnabled; + private String onsSubscriptionId; + private String onsTopicId; + private String ownerId; + private String state; + private String subscriptionEmail; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDomainGovernancesDomainGovernanceCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.domainId = defaults.domainId; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isGovernanceEnabled = defaults.isGovernanceEnabled; + this.onsSubscriptionId = defaults.onsSubscriptionId; + this.onsTopicId = defaults.onsTopicId; + this.ownerId = defaults.ownerId; + this.state = defaults.state; + this.subscriptionEmail = defaults.subscriptionEmail; + 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("GetDomainGovernancesDomainGovernanceCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder domainId(String domainId) { + if (domainId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "domainId"); + } + this.domainId = domainId; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isGovernanceEnabled(Boolean isGovernanceEnabled) { + if (isGovernanceEnabled == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "isGovernanceEnabled"); + } + this.isGovernanceEnabled = isGovernanceEnabled; + return this; + } + @CustomType.Setter + public Builder onsSubscriptionId(String onsSubscriptionId) { + if (onsSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "onsSubscriptionId"); + } + this.onsSubscriptionId = onsSubscriptionId; + return this; + } + @CustomType.Setter + public Builder onsTopicId(String onsTopicId) { + if (onsTopicId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "onsTopicId"); + } + this.onsTopicId = onsTopicId; + return this; + } + @CustomType.Setter + public Builder ownerId(String ownerId) { + if (ownerId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "ownerId"); + } + this.ownerId = ownerId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionEmail(String subscriptionEmail) { + if (subscriptionEmail == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "subscriptionEmail"); + } + this.subscriptionEmail = subscriptionEmail; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesDomainGovernanceCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDomainGovernancesDomainGovernanceCollectionItem build() { + final var _resultValue = new GetDomainGovernancesDomainGovernanceCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.domainId = domainId; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isGovernanceEnabled = isGovernanceEnabled; + _resultValue.onsSubscriptionId = onsSubscriptionId; + _resultValue.onsTopicId = onsTopicId; + _resultValue.ownerId = ownerId; + _resultValue.state = state; + _resultValue.subscriptionEmail = subscriptionEmail; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesFilter.java new file mode 100644 index 0000000000..108519ba03 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesFilter.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.Tenantmanagercontrolplane.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 GetDomainGovernancesFilter { + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDomainGovernancesFilter() {} + /** + * @return A filter to return only resources that exactly match the 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(GetDomainGovernancesFilter 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(GetDomainGovernancesFilter 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("GetDomainGovernancesFilter", "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("GetDomainGovernancesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDomainGovernancesFilter build() { + final var _resultValue = new GetDomainGovernancesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesResult.java new file mode 100644 index 0000000000..020c0a07ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainGovernancesResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainGovernancesDomainGovernanceCollection; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainGovernancesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDomainGovernancesResult { + private String compartmentId; + /** + * @return The list of domain_governance_collection. + * + */ + private List domainGovernanceCollections; + private @Nullable String domainGovernanceId; + /** + * @return The OCID of the domain associated with this domain governance entity. + * + */ + private @Nullable String domainId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String name; + /** + * @return Lifecycle state of the domain governance entity. + * + */ + private @Nullable String state; + + private GetDomainGovernancesResult() {} + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of domain_governance_collection. + * + */ + public List domainGovernanceCollections() { + return this.domainGovernanceCollections; + } + public Optional domainGovernanceId() { + return Optional.ofNullable(this.domainGovernanceId); + } + /** + * @return The OCID of the domain associated with this domain governance entity. + * + */ + public Optional domainId() { + return Optional.ofNullable(this.domainId); + } + 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 name() { + return Optional.ofNullable(this.name); + } + /** + * @return Lifecycle state of the domain governance entity. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainGovernancesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List domainGovernanceCollections; + private @Nullable String domainGovernanceId; + private @Nullable String domainId; + private @Nullable List filters; + private String id; + private @Nullable String name; + private @Nullable String state; + public Builder() {} + public Builder(GetDomainGovernancesResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.domainGovernanceCollections = defaults.domainGovernanceCollections; + this.domainGovernanceId = defaults.domainGovernanceId; + this.domainId = defaults.domainId; + this.filters = defaults.filters; + this.id = defaults.id; + this.name = defaults.name; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder domainGovernanceCollections(List domainGovernanceCollections) { + if (domainGovernanceCollections == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesResult", "domainGovernanceCollections"); + } + this.domainGovernanceCollections = domainGovernanceCollections; + return this; + } + public Builder domainGovernanceCollections(GetDomainGovernancesDomainGovernanceCollection... domainGovernanceCollections) { + return domainGovernanceCollections(List.of(domainGovernanceCollections)); + } + @CustomType.Setter + public Builder domainGovernanceId(@Nullable String domainGovernanceId) { + + this.domainGovernanceId = domainGovernanceId; + return this; + } + @CustomType.Setter + public Builder domainId(@Nullable String domainId) { + + this.domainId = domainId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetDomainGovernancesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainGovernancesResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDomainGovernancesResult build() { + final var _resultValue = new GetDomainGovernancesResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.domainGovernanceCollections = domainGovernanceCollections; + _resultValue.domainGovernanceId = domainGovernanceId; + _resultValue.domainId = domainId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainResult.java new file mode 100644 index 0000000000..e0dcd017e2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainResult.java @@ -0,0 +1,304 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetDomainResult { + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + private String domainId; + /** + * @return The domain name. + * + */ + private String domainName; + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The OCID of the tenancy that has started the registration process for this domain. + * + */ + private String ownerId; + /** + * @return Lifecycle state of the domain. + * + */ + private String state; + /** + * @return Status of the domain. + * + */ + private String status; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date-time when this domain was created. An RFC 3339-formatted date and time string. + * + */ + private String timeCreated; + /** + * @return Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + * + */ + private String timeUpdated; + /** + * @return The code that the owner of the domain will need to add as a TXT record to their domain. + * + */ + private String txtRecord; + + private GetDomainResult() {} + /** + * @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; + } + public String domainId() { + return this.domainId; + } + /** + * @return The domain name. + * + */ + public String domainName() { + return this.domainName; + } + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The OCID of the tenancy that has started the registration process for this domain. + * + */ + public String ownerId() { + return this.ownerId; + } + /** + * @return Lifecycle state of the domain. + * + */ + public String state() { + return this.state; + } + /** + * @return Status of the domain. + * + */ + public String status() { + return this.status; + } + /** + * @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 Date-time when this domain was created. An RFC 3339-formatted date and time string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return The code that the owner of the domain will need to add as a TXT record to their domain. + * + */ + public String txtRecord() { + return this.txtRecord; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map definedTags; + private String domainId; + private String domainName; + private Map freeformTags; + private String id; + private String ownerId; + private String state; + private String status; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + private String txtRecord; + public Builder() {} + public Builder(GetDomainResult defaults) { + Objects.requireNonNull(defaults); + this.definedTags = defaults.definedTags; + this.domainId = defaults.domainId; + this.domainName = defaults.domainName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.ownerId = defaults.ownerId; + this.state = defaults.state; + this.status = defaults.status; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.txtRecord = defaults.txtRecord; + } + + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder domainId(String domainId) { + if (domainId == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "domainId"); + } + this.domainId = domainId; + return this; + } + @CustomType.Setter + public Builder domainName(String domainName) { + if (domainName == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "domainName"); + } + this.domainName = domainName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder ownerId(String ownerId) { + if (ownerId == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "ownerId"); + } + this.ownerId = ownerId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder txtRecord(String txtRecord) { + if (txtRecord == null) { + throw new MissingRequiredPropertyException("GetDomainResult", "txtRecord"); + } + this.txtRecord = txtRecord; + return this; + } + public GetDomainResult build() { + final var _resultValue = new GetDomainResult(); + _resultValue.definedTags = definedTags; + _resultValue.domainId = domainId; + _resultValue.domainName = domainName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.ownerId = ownerId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + _resultValue.txtRecord = txtRecord; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollection.java new file mode 100644 index 0000000000..b06d2e231d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainsDomainCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDomainsDomainCollection { + private List items; + + private GetDomainsDomainCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainsDomainCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDomainsDomainCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDomainsDomainCollectionItem... items) { + return items(List.of(items)); + } + public GetDomainsDomainCollection build() { + final var _resultValue = new GetDomainsDomainCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollectionItem.java new file mode 100644 index 0000000000..de27a968d7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsDomainCollectionItem.java @@ -0,0 +1,343 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetDomainsDomainCollectionItem { + /** + * @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 The domain name. + * + */ + private String domainName; + /** + * @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 OCID of the domain. + * + */ + private String id; + private Boolean isGovernanceEnabled; + /** + * @return The OCID of the tenancy that has started the registration process for this domain. + * + */ + private String ownerId; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return The status of the domain. + * + */ + private String status; + private String subscriptionEmail; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date-time when this domain was created. An RFC 3339-formatted date and time string. + * + */ + private String timeCreated; + /** + * @return Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + * + */ + private String timeUpdated; + /** + * @return The code that the owner of the domain will need to add as a TXT record to their domain. + * + */ + private String txtRecord; + + private GetDomainsDomainCollectionItem() {} + /** + * @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 The domain name. + * + */ + public String domainName() { + return this.domainName; + } + /** + * @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 OCID of the domain. + * + */ + public String id() { + return this.id; + } + public Boolean isGovernanceEnabled() { + return this.isGovernanceEnabled; + } + /** + * @return The OCID of the tenancy that has started the registration process for this domain. + * + */ + public String ownerId() { + return this.ownerId; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return The status of the domain. + * + */ + public String status() { + return this.status; + } + public String subscriptionEmail() { + return this.subscriptionEmail; + } + /** + * @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 Date-time when this domain was created. An RFC 3339-formatted date and time string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return The code that the owner of the domain will need to add as a TXT record to their domain. + * + */ + public String txtRecord() { + return this.txtRecord; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainsDomainCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String domainName; + private Map freeformTags; + private String id; + private Boolean isGovernanceEnabled; + private String ownerId; + private String state; + private String status; + private String subscriptionEmail; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + private String txtRecord; + public Builder() {} + public Builder(GetDomainsDomainCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.domainName = defaults.domainName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isGovernanceEnabled = defaults.isGovernanceEnabled; + this.ownerId = defaults.ownerId; + this.state = defaults.state; + this.status = defaults.status; + this.subscriptionEmail = defaults.subscriptionEmail; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.txtRecord = defaults.txtRecord; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder domainName(String domainName) { + if (domainName == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "domainName"); + } + this.domainName = domainName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isGovernanceEnabled(Boolean isGovernanceEnabled) { + if (isGovernanceEnabled == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "isGovernanceEnabled"); + } + this.isGovernanceEnabled = isGovernanceEnabled; + return this; + } + @CustomType.Setter + public Builder ownerId(String ownerId) { + if (ownerId == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "ownerId"); + } + this.ownerId = ownerId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder subscriptionEmail(String subscriptionEmail) { + if (subscriptionEmail == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "subscriptionEmail"); + } + this.subscriptionEmail = subscriptionEmail; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder txtRecord(String txtRecord) { + if (txtRecord == null) { + throw new MissingRequiredPropertyException("GetDomainsDomainCollectionItem", "txtRecord"); + } + this.txtRecord = txtRecord; + return this; + } + public GetDomainsDomainCollectionItem build() { + final var _resultValue = new GetDomainsDomainCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.domainName = domainName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isGovernanceEnabled = isGovernanceEnabled; + _resultValue.ownerId = ownerId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.subscriptionEmail = subscriptionEmail; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + _resultValue.txtRecord = txtRecord; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsFilter.java new file mode 100644 index 0000000000..0f6eabe609 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsFilter.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.Tenantmanagercontrolplane.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 GetDomainsFilter { + /** + * @return A filter to return only resources that exactly match the name given. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDomainsFilter() {} + /** + * @return A filter to return only resources that exactly match the 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(GetDomainsFilter 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(GetDomainsFilter 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("GetDomainsFilter", "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("GetDomainsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDomainsFilter build() { + final var _resultValue = new GetDomainsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsResult.java new file mode 100644 index 0000000000..79fb5f6ff5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetDomainsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainsDomainCollection; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetDomainsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDomainsResult { + private String compartmentId; + /** + * @return The list of domain_collection. + * + */ + private List domainCollections; + private @Nullable String domainId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String name; + /** + * @return Lifecycle state of the domain. + * + */ + private @Nullable String state; + /** + * @return Status of the domain. + * + */ + private @Nullable String status; + + private GetDomainsResult() {} + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of domain_collection. + * + */ + public List domainCollections() { + return this.domainCollections; + } + public Optional domainId() { + return Optional.ofNullable(this.domainId); + } + 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 name() { + return Optional.ofNullable(this.name); + } + /** + * @return Lifecycle state of the domain. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return Status of the domain. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDomainsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List domainCollections; + private @Nullable String domainId; + private @Nullable List filters; + private String id; + private @Nullable String name; + private @Nullable String state; + private @Nullable String status; + public Builder() {} + public Builder(GetDomainsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.domainCollections = defaults.domainCollections; + this.domainId = defaults.domainId; + this.filters = defaults.filters; + this.id = defaults.id; + this.name = defaults.name; + this.state = defaults.state; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDomainsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder domainCollections(List domainCollections) { + if (domainCollections == null) { + throw new MissingRequiredPropertyException("GetDomainsResult", "domainCollections"); + } + this.domainCollections = domainCollections; + return this; + } + public Builder domainCollections(GetDomainsDomainCollection... domainCollections) { + return domainCollections(List.of(domainCollections)); + } + @CustomType.Setter + public Builder domainId(@Nullable String domainId) { + + this.domainId = domainId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetDomainsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDomainsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + public GetDomainsResult build() { + final var _resultValue = new GetDomainsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.domainCollections = domainCollections; + _resultValue.domainId = domainId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.state = state; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinkResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinkResult.java new file mode 100644 index 0000000000..e3e6095795 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinkResult.java @@ -0,0 +1,211 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetLinkResult { + /** + * @return OCID of the child tenancy. + * + */ + private String childTenancyId; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String linkId; + /** + * @return OCID of the parent tenancy. + * + */ + private String parentTenancyId; + /** + * @return Lifecycle state of the link. + * + */ + private String state; + /** + * @return Date-time when this link was created. + * + */ + private String timeCreated; + /** + * @return Date-time when this link was terminated. + * + */ + private String timeTerminated; + /** + * @return Date-time when this link was last updated. + * + */ + private String timeUpdated; + + private GetLinkResult() {} + /** + * @return OCID of the child tenancy. + * + */ + public String childTenancyId() { + return this.childTenancyId; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public String linkId() { + return this.linkId; + } + /** + * @return OCID of the parent tenancy. + * + */ + public String parentTenancyId() { + return this.parentTenancyId; + } + /** + * @return Lifecycle state of the link. + * + */ + public String state() { + return this.state; + } + /** + * @return Date-time when this link was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this link was terminated. + * + */ + public String timeTerminated() { + return this.timeTerminated; + } + /** + * @return Date-time when this link was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLinkResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String childTenancyId; + private String id; + private String linkId; + private String parentTenancyId; + private String state; + private String timeCreated; + private String timeTerminated; + private String timeUpdated; + public Builder() {} + public Builder(GetLinkResult defaults) { + Objects.requireNonNull(defaults); + this.childTenancyId = defaults.childTenancyId; + this.id = defaults.id; + this.linkId = defaults.linkId; + this.parentTenancyId = defaults.parentTenancyId; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.timeTerminated = defaults.timeTerminated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder childTenancyId(String childTenancyId) { + if (childTenancyId == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "childTenancyId"); + } + this.childTenancyId = childTenancyId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder linkId(String linkId) { + if (linkId == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "linkId"); + } + this.linkId = linkId; + return this; + } + @CustomType.Setter + public Builder parentTenancyId(String parentTenancyId) { + if (parentTenancyId == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "parentTenancyId"); + } + this.parentTenancyId = parentTenancyId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeTerminated(String timeTerminated) { + if (timeTerminated == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "timeTerminated"); + } + this.timeTerminated = timeTerminated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetLinkResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetLinkResult build() { + final var _resultValue = new GetLinkResult(); + _resultValue.childTenancyId = childTenancyId; + _resultValue.id = id; + _resultValue.linkId = linkId; + _resultValue.parentTenancyId = parentTenancyId; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.timeTerminated = timeTerminated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksFilter.java new file mode 100644 index 0000000000..34f04c3f6e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksFilter.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.Tenantmanagercontrolplane.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 GetLinksFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetLinksFilter() {} + 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(GetLinksFilter 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(GetLinksFilter 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("GetLinksFilter", "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("GetLinksFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetLinksFilter build() { + final var _resultValue = new GetLinksFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollection.java new file mode 100644 index 0000000000..72fd4fdd55 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetLinksLinkCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetLinksLinkCollection { + private List items; + + private GetLinksLinkCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLinksLinkCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetLinksLinkCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetLinksLinkCollectionItem... items) { + return items(List.of(items)); + } + public GetLinksLinkCollection build() { + final var _resultValue = new GetLinksLinkCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollectionItem.java new file mode 100644 index 0000000000..3e9ebdf2c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksLinkCollectionItem.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetLinksLinkCollectionItem { + /** + * @return The ID of the child tenancy this link is associated with. + * + */ + private String childTenancyId; + /** + * @return OCID of the link. + * + */ + private String id; + /** + * @return The ID of the parent tenancy this link is associated with. + * + */ + private String parentTenancyId; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return Date-time when this link was created. + * + */ + private String timeCreated; + /** + * @return Date-time when this link was terminated. + * + */ + private String timeTerminated; + /** + * @return Date-time when this link was last updated. + * + */ + private String timeUpdated; + + private GetLinksLinkCollectionItem() {} + /** + * @return The ID of the child tenancy this link is associated with. + * + */ + public String childTenancyId() { + return this.childTenancyId; + } + /** + * @return OCID of the link. + * + */ + public String id() { + return this.id; + } + /** + * @return The ID of the parent tenancy this link is associated with. + * + */ + public String parentTenancyId() { + return this.parentTenancyId; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return Date-time when this link was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when this link was terminated. + * + */ + public String timeTerminated() { + return this.timeTerminated; + } + /** + * @return Date-time when this link was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLinksLinkCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String childTenancyId; + private String id; + private String parentTenancyId; + private String state; + private String timeCreated; + private String timeTerminated; + private String timeUpdated; + public Builder() {} + public Builder(GetLinksLinkCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.childTenancyId = defaults.childTenancyId; + this.id = defaults.id; + this.parentTenancyId = defaults.parentTenancyId; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.timeTerminated = defaults.timeTerminated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder childTenancyId(String childTenancyId) { + if (childTenancyId == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "childTenancyId"); + } + this.childTenancyId = childTenancyId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder parentTenancyId(String parentTenancyId) { + if (parentTenancyId == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "parentTenancyId"); + } + this.parentTenancyId = parentTenancyId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeTerminated(String timeTerminated) { + if (timeTerminated == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "timeTerminated"); + } + this.timeTerminated = timeTerminated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetLinksLinkCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetLinksLinkCollectionItem build() { + final var _resultValue = new GetLinksLinkCollectionItem(); + _resultValue.childTenancyId = childTenancyId; + _resultValue.id = id; + _resultValue.parentTenancyId = parentTenancyId; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.timeTerminated = timeTerminated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksResult.java new file mode 100644 index 0000000000..8a88487a26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetLinksResult.java @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetLinksFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetLinksLinkCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetLinksResult { + /** + * @return OCID of the child tenancy. + * + */ + private @Nullable String childTenancyId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The list of link_collection. + * + */ + private List linkCollections; + /** + * @return OCID of the parent tenancy. + * + */ + private @Nullable String parentTenancyId; + /** + * @return Lifecycle state of the link. + * + */ + private @Nullable String state; + + private GetLinksResult() {} + /** + * @return OCID of the child tenancy. + * + */ + public Optional childTenancyId() { + return Optional.ofNullable(this.childTenancyId); + } + 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 link_collection. + * + */ + public List linkCollections() { + return this.linkCollections; + } + /** + * @return OCID of the parent tenancy. + * + */ + public Optional parentTenancyId() { + return Optional.ofNullable(this.parentTenancyId); + } + /** + * @return Lifecycle state of the link. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLinksResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String childTenancyId; + private @Nullable List filters; + private String id; + private List linkCollections; + private @Nullable String parentTenancyId; + private @Nullable String state; + public Builder() {} + public Builder(GetLinksResult defaults) { + Objects.requireNonNull(defaults); + this.childTenancyId = defaults.childTenancyId; + this.filters = defaults.filters; + this.id = defaults.id; + this.linkCollections = defaults.linkCollections; + this.parentTenancyId = defaults.parentTenancyId; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder childTenancyId(@Nullable String childTenancyId) { + + this.childTenancyId = childTenancyId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetLinksFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetLinksResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder linkCollections(List linkCollections) { + if (linkCollections == null) { + throw new MissingRequiredPropertyException("GetLinksResult", "linkCollections"); + } + this.linkCollections = linkCollections; + return this; + } + public Builder linkCollections(GetLinksLinkCollection... linkCollections) { + return linkCollections(List.of(linkCollections)); + } + @CustomType.Setter + public Builder parentTenancyId(@Nullable String parentTenancyId) { + + this.parentTenancyId = parentTenancyId; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetLinksResult build() { + final var _resultValue = new GetLinksResult(); + _resultValue.childTenancyId = childTenancyId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.linkCollections = linkCollections; + _resultValue.parentTenancyId = parentTenancyId; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationResult.java new file mode 100644 index 0000000000..c99302a9f5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationResult.java @@ -0,0 +1,234 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetOrganizationResult { + /** + * @return OCID of the compartment containing the organization. Always a tenancy OCID. + * + */ + private String compartmentId; + /** + * @return OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + * + */ + private String defaultUcmSubscriptionId; + /** + * @return A display name for the organization. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String organizationId; + /** + * @return The name of the tenancy that is the organization parent. + * + */ + private String parentName; + /** + * @return Lifecycle state of the organization. + * + */ + private String state; + /** + * @return Date and time when the organization was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the organization was last updated. + * + */ + private String timeUpdated; + + private GetOrganizationResult() {} + /** + * @return OCID of the compartment containing the organization. Always a tenancy OCID. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + * + */ + public String defaultUcmSubscriptionId() { + return this.defaultUcmSubscriptionId; + } + /** + * @return A display name for the organization. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public String organizationId() { + return this.organizationId; + } + /** + * @return The name of the tenancy that is the organization parent. + * + */ + public String parentName() { + return this.parentName; + } + /** + * @return Lifecycle state of the organization. + * + */ + public String state() { + return this.state; + } + /** + * @return Date and time when the organization was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the organization was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String defaultUcmSubscriptionId; + private String displayName; + private String id; + private String organizationId; + private String parentName; + private String state; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetOrganizationResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.defaultUcmSubscriptionId = defaults.defaultUcmSubscriptionId; + this.displayName = defaults.displayName; + this.id = defaults.id; + this.organizationId = defaults.organizationId; + this.parentName = defaults.parentName; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder defaultUcmSubscriptionId(String defaultUcmSubscriptionId) { + if (defaultUcmSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "defaultUcmSubscriptionId"); + } + this.defaultUcmSubscriptionId = defaultUcmSubscriptionId; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder organizationId(String organizationId) { + if (organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "organizationId"); + } + this.organizationId = organizationId; + return this; + } + @CustomType.Setter + public Builder parentName(String parentName) { + if (parentName == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "parentName"); + } + this.parentName = parentName; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetOrganizationResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetOrganizationResult build() { + final var _resultValue = new GetOrganizationResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.defaultUcmSubscriptionId = defaultUcmSubscriptionId; + _resultValue.displayName = displayName; + _resultValue.id = id; + _resultValue.organizationId = organizationId; + _resultValue.parentName = parentName; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesFilter.java new file mode 100644 index 0000000000..ca6140e6f1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesFilter.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.Tenantmanagercontrolplane.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 GetOrganizationTenanciesFilter { + /** + * @return Name of the tenancy. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetOrganizationTenanciesFilter() {} + /** + * @return Name of the tenancy. + * + */ + 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(GetOrganizationTenanciesFilter 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(GetOrganizationTenanciesFilter 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("GetOrganizationTenanciesFilter", "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("GetOrganizationTenanciesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetOrganizationTenanciesFilter build() { + final var _resultValue = new GetOrganizationTenanciesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollection.java new file mode 100644 index 0000000000..0549dac071 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationTenanciesOrganizationTenancyCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOrganizationTenanciesOrganizationTenancyCollection { + private List items; + + private GetOrganizationTenanciesOrganizationTenancyCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationTenanciesOrganizationTenancyCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetOrganizationTenanciesOrganizationTenancyCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetOrganizationTenanciesOrganizationTenancyCollectionItem... items) { + return items(List.of(items)); + } + public GetOrganizationTenanciesOrganizationTenancyCollection build() { + final var _resultValue = new GetOrganizationTenanciesOrganizationTenancyCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItem.java new file mode 100644 index 0000000000..18a881f3d8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesOrganizationTenancyCollectionItem.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.Tenantmanagercontrolplane.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 GetOrganizationTenanciesOrganizationTenancyCollectionItem { + /** + * @return The governance status of the tenancy. + * + */ + private String governanceStatus; + /** + * @return Parameter to indicate the tenancy is approved for transfer to another organization. + * + */ + private Boolean isApprovedForTransfer; + /** + * @return Name of the tenancy. + * + */ + private String name; + /** + * @return Role of the organization tenancy. + * + */ + private String role; + /** + * @return Lifecycle state of the organization tenancy. + * + */ + private String state; + /** + * @return OCID of the tenancy. + * + */ + private String tenancyId; + /** + * @return Date and time when the tenancy joined the organization. + * + */ + private String timeJoined; + /** + * @return Date and time when the tenancy left the organization. + * + */ + private String timeLeft; + + private GetOrganizationTenanciesOrganizationTenancyCollectionItem() {} + /** + * @return The governance status of the tenancy. + * + */ + public String governanceStatus() { + return this.governanceStatus; + } + /** + * @return Parameter to indicate the tenancy is approved for transfer to another organization. + * + */ + public Boolean isApprovedForTransfer() { + return this.isApprovedForTransfer; + } + /** + * @return Name of the tenancy. + * + */ + public String name() { + return this.name; + } + /** + * @return Role of the organization tenancy. + * + */ + public String role() { + return this.role; + } + /** + * @return Lifecycle state of the organization tenancy. + * + */ + public String state() { + return this.state; + } + /** + * @return OCID of the tenancy. + * + */ + public String tenancyId() { + return this.tenancyId; + } + /** + * @return Date and time when the tenancy joined the organization. + * + */ + public String timeJoined() { + return this.timeJoined; + } + /** + * @return Date and time when the tenancy left the organization. + * + */ + public String timeLeft() { + return this.timeLeft; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationTenanciesOrganizationTenancyCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String governanceStatus; + private Boolean isApprovedForTransfer; + private String name; + private String role; + private String state; + private String tenancyId; + private String timeJoined; + private String timeLeft; + public Builder() {} + public Builder(GetOrganizationTenanciesOrganizationTenancyCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.governanceStatus = defaults.governanceStatus; + this.isApprovedForTransfer = defaults.isApprovedForTransfer; + this.name = defaults.name; + this.role = defaults.role; + this.state = defaults.state; + this.tenancyId = defaults.tenancyId; + this.timeJoined = defaults.timeJoined; + this.timeLeft = defaults.timeLeft; + } + + @CustomType.Setter + public Builder governanceStatus(String governanceStatus) { + if (governanceStatus == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "governanceStatus"); + } + this.governanceStatus = governanceStatus; + return this; + } + @CustomType.Setter + public Builder isApprovedForTransfer(Boolean isApprovedForTransfer) { + if (isApprovedForTransfer == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "isApprovedForTransfer"); + } + this.isApprovedForTransfer = isApprovedForTransfer; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder role(String role) { + if (role == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "role"); + } + this.role = role; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder tenancyId(String tenancyId) { + if (tenancyId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "tenancyId"); + } + this.tenancyId = tenancyId; + return this; + } + @CustomType.Setter + public Builder timeJoined(String timeJoined) { + if (timeJoined == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "timeJoined"); + } + this.timeJoined = timeJoined; + return this; + } + @CustomType.Setter + public Builder timeLeft(String timeLeft) { + if (timeLeft == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesOrganizationTenancyCollectionItem", "timeLeft"); + } + this.timeLeft = timeLeft; + return this; + } + public GetOrganizationTenanciesOrganizationTenancyCollectionItem build() { + final var _resultValue = new GetOrganizationTenanciesOrganizationTenancyCollectionItem(); + _resultValue.governanceStatus = governanceStatus; + _resultValue.isApprovedForTransfer = isApprovedForTransfer; + _resultValue.name = name; + _resultValue.role = role; + _resultValue.state = state; + _resultValue.tenancyId = tenancyId; + _resultValue.timeJoined = timeJoined; + _resultValue.timeLeft = timeLeft; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesResult.java new file mode 100644 index 0000000000..2ec3263fe9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenanciesResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationTenanciesFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationTenanciesOrganizationTenancyCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetOrganizationTenanciesResult { + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String organizationId; + /** + * @return The list of organization_tenancy_collection. + * + */ + private List organizationTenancyCollections; + + private GetOrganizationTenanciesResult() {} + 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 String organizationId() { + return this.organizationId; + } + /** + * @return The list of organization_tenancy_collection. + * + */ + public List organizationTenancyCollections() { + return this.organizationTenancyCollections; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationTenanciesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List filters; + private String id; + private String organizationId; + private List organizationTenancyCollections; + public Builder() {} + public Builder(GetOrganizationTenanciesResult defaults) { + Objects.requireNonNull(defaults); + this.filters = defaults.filters; + this.id = defaults.id; + this.organizationId = defaults.organizationId; + this.organizationTenancyCollections = defaults.organizationTenancyCollections; + } + + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetOrganizationTenanciesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder organizationId(String organizationId) { + if (organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesResult", "organizationId"); + } + this.organizationId = organizationId; + return this; + } + @CustomType.Setter + public Builder organizationTenancyCollections(List organizationTenancyCollections) { + if (organizationTenancyCollections == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenanciesResult", "organizationTenancyCollections"); + } + this.organizationTenancyCollections = organizationTenancyCollections; + return this; + } + public Builder organizationTenancyCollections(GetOrganizationTenanciesOrganizationTenancyCollection... organizationTenancyCollections) { + return organizationTenancyCollections(List.of(organizationTenancyCollections)); + } + public GetOrganizationTenanciesResult build() { + final var _resultValue = new GetOrganizationTenanciesResult(); + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.organizationId = organizationId; + _resultValue.organizationTenancyCollections = organizationTenancyCollections; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenancyResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenancyResult.java new file mode 100644 index 0000000000..390e647155 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationTenancyResult.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.Tenantmanagercontrolplane.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 GetOrganizationTenancyResult { + /** + * @return The governance status of the tenancy. + * + */ + private String governanceStatus; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Parameter to indicate the tenancy is approved for transfer to another organization. + * + */ + private Boolean isApprovedForTransfer; + /** + * @return Name of the tenancy. + * + */ + private String name; + private String organizationId; + /** + * @return Role of the organization tenancy. + * + */ + private String role; + /** + * @return Lifecycle state of the organization tenancy. + * + */ + private String state; + /** + * @return OCID of the tenancy. + * + */ + private String tenancyId; + /** + * @return Date and time when the tenancy joined the organization. + * + */ + private String timeJoined; + /** + * @return Date and time when the tenancy left the organization. + * + */ + private String timeLeft; + + private GetOrganizationTenancyResult() {} + /** + * @return The governance status of the tenancy. + * + */ + public String governanceStatus() { + return this.governanceStatus; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Parameter to indicate the tenancy is approved for transfer to another organization. + * + */ + public Boolean isApprovedForTransfer() { + return this.isApprovedForTransfer; + } + /** + * @return Name of the tenancy. + * + */ + public String name() { + return this.name; + } + public String organizationId() { + return this.organizationId; + } + /** + * @return Role of the organization tenancy. + * + */ + public String role() { + return this.role; + } + /** + * @return Lifecycle state of the organization tenancy. + * + */ + public String state() { + return this.state; + } + /** + * @return OCID of the tenancy. + * + */ + public String tenancyId() { + return this.tenancyId; + } + /** + * @return Date and time when the tenancy joined the organization. + * + */ + public String timeJoined() { + return this.timeJoined; + } + /** + * @return Date and time when the tenancy left the organization. + * + */ + public String timeLeft() { + return this.timeLeft; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationTenancyResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String governanceStatus; + private String id; + private Boolean isApprovedForTransfer; + private String name; + private String organizationId; + private String role; + private String state; + private String tenancyId; + private String timeJoined; + private String timeLeft; + public Builder() {} + public Builder(GetOrganizationTenancyResult defaults) { + Objects.requireNonNull(defaults); + this.governanceStatus = defaults.governanceStatus; + this.id = defaults.id; + this.isApprovedForTransfer = defaults.isApprovedForTransfer; + this.name = defaults.name; + this.organizationId = defaults.organizationId; + this.role = defaults.role; + this.state = defaults.state; + this.tenancyId = defaults.tenancyId; + this.timeJoined = defaults.timeJoined; + this.timeLeft = defaults.timeLeft; + } + + @CustomType.Setter + public Builder governanceStatus(String governanceStatus) { + if (governanceStatus == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "governanceStatus"); + } + this.governanceStatus = governanceStatus; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isApprovedForTransfer(Boolean isApprovedForTransfer) { + if (isApprovedForTransfer == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "isApprovedForTransfer"); + } + this.isApprovedForTransfer = isApprovedForTransfer; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder organizationId(String organizationId) { + if (organizationId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "organizationId"); + } + this.organizationId = organizationId; + return this; + } + @CustomType.Setter + public Builder role(String role) { + if (role == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "role"); + } + this.role = role; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder tenancyId(String tenancyId) { + if (tenancyId == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "tenancyId"); + } + this.tenancyId = tenancyId; + return this; + } + @CustomType.Setter + public Builder timeJoined(String timeJoined) { + if (timeJoined == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "timeJoined"); + } + this.timeJoined = timeJoined; + return this; + } + @CustomType.Setter + public Builder timeLeft(String timeLeft) { + if (timeLeft == null) { + throw new MissingRequiredPropertyException("GetOrganizationTenancyResult", "timeLeft"); + } + this.timeLeft = timeLeft; + return this; + } + public GetOrganizationTenancyResult build() { + final var _resultValue = new GetOrganizationTenancyResult(); + _resultValue.governanceStatus = governanceStatus; + _resultValue.id = id; + _resultValue.isApprovedForTransfer = isApprovedForTransfer; + _resultValue.name = name; + _resultValue.organizationId = organizationId; + _resultValue.role = role; + _resultValue.state = state; + _resultValue.tenancyId = tenancyId; + _resultValue.timeJoined = timeJoined; + _resultValue.timeLeft = timeLeft; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsFilter.java new file mode 100644 index 0000000000..53911d3140 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsFilter.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.Tenantmanagercontrolplane.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 GetOrganizationsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetOrganizationsFilter() {} + 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(GetOrganizationsFilter 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(GetOrganizationsFilter 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("GetOrganizationsFilter", "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("GetOrganizationsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetOrganizationsFilter build() { + final var _resultValue = new GetOrganizationsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollection.java new file mode 100644 index 0000000000..6e2a9ca520 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationsOrganizationCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOrganizationsOrganizationCollection { + private List items; + + private GetOrganizationsOrganizationCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationsOrganizationCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetOrganizationsOrganizationCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetOrganizationsOrganizationCollectionItem... items) { + return items(List.of(items)); + } + public GetOrganizationsOrganizationCollection build() { + final var _resultValue = new GetOrganizationsOrganizationCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollectionItem.java new file mode 100644 index 0000000000..a519f3e7cd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsOrganizationCollectionItem.java @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetOrganizationsOrganizationCollectionItem { + /** + * @return The ID of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + * + */ + private String defaultUcmSubscriptionId; + /** + * @return A display name for the organization. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return OCID of the organization. + * + */ + private String id; + /** + * @return The name of the tenancy that is the organization parent. + * + */ + private String parentName; + /** + * @return Lifecycle state of the organization. + * + */ + private String state; + /** + * @return Date and time when the organization was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the organization was last updated. + * + */ + private String timeUpdated; + + private GetOrganizationsOrganizationCollectionItem() {} + /** + * @return The ID of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + * + */ + public String defaultUcmSubscriptionId() { + return this.defaultUcmSubscriptionId; + } + /** + * @return A display name for the organization. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return OCID of the organization. + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the tenancy that is the organization parent. + * + */ + public String parentName() { + return this.parentName; + } + /** + * @return Lifecycle state of the organization. + * + */ + public String state() { + return this.state; + } + /** + * @return Date and time when the organization was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the organization was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationsOrganizationCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String defaultUcmSubscriptionId; + private String displayName; + private String id; + private String parentName; + private String state; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetOrganizationsOrganizationCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.defaultUcmSubscriptionId = defaults.defaultUcmSubscriptionId; + this.displayName = defaults.displayName; + this.id = defaults.id; + this.parentName = defaults.parentName; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder defaultUcmSubscriptionId(String defaultUcmSubscriptionId) { + if (defaultUcmSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "defaultUcmSubscriptionId"); + } + this.defaultUcmSubscriptionId = defaultUcmSubscriptionId; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder parentName(String parentName) { + if (parentName == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "parentName"); + } + this.parentName = parentName; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetOrganizationsOrganizationCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetOrganizationsOrganizationCollectionItem build() { + final var _resultValue = new GetOrganizationsOrganizationCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.defaultUcmSubscriptionId = defaultUcmSubscriptionId; + _resultValue.displayName = displayName; + _resultValue.id = id; + _resultValue.parentName = parentName; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsResult.java new file mode 100644 index 0000000000..e37e19e6fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetOrganizationsResult.java @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetOrganizationsOrganizationCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetOrganizationsResult { + /** + * @return OCID of the compartment containing the organization. Always a tenancy OCID. + * + */ + private String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The list of organization_collection. + * + */ + private List organizationCollections; + + private GetOrganizationsResult() {} + /** + * @return OCID of the compartment containing the organization. Always a tenancy OCID. + * + */ + 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 list of organization_collection. + * + */ + public List organizationCollections() { + return this.organizationCollections; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private @Nullable List filters; + private String id; + private List organizationCollections; + public Builder() {} + public Builder(GetOrganizationsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.organizationCollections = defaults.organizationCollections; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetOrganizationsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetOrganizationsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetOrganizationsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder organizationCollections(List organizationCollections) { + if (organizationCollections == null) { + throw new MissingRequiredPropertyException("GetOrganizationsResult", "organizationCollections"); + } + this.organizationCollections = organizationCollections; + return this; + } + public Builder organizationCollections(GetOrganizationsOrganizationCollection... organizationCollections) { + return organizationCollections(List.of(organizationCollections)); + } + public GetOrganizationsResult build() { + final var _resultValue = new GetOrganizationsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.organizationCollections = organizationCollections; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationResult.java new file mode 100644 index 0000000000..fc2cf18b15 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationResult.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.Tenantmanagercontrolplane.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 GetRecipientInvitationResult { + /** + * @return OCID of the recipient tenancy. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Email address of the recipient. + * + */ + private String recipientEmailAddress; + private String recipientInvitationId; + /** + * @return OCID of the corresponding sender invitation. + * + */ + private String senderInvitationId; + /** + * @return OCID of the sender tenancy. + * + */ + private String senderTenancyId; + /** + * @return Lifecycle state of the recipient invitation. + * + */ + private String state; + /** + * @return Status of the recipient invitation. + * + */ + private String status; + /** + * @return The list of subjects the invitation contains. + * + */ + private List subjects; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date and time when the recipient invitation was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the recipient invitation was last updated. + * + */ + private String timeUpdated; + + private GetRecipientInvitationResult() {} + /** + * @return OCID of the recipient tenancy. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Email address of the recipient. + * + */ + public String recipientEmailAddress() { + return this.recipientEmailAddress; + } + public String recipientInvitationId() { + return this.recipientInvitationId; + } + /** + * @return OCID of the corresponding sender invitation. + * + */ + public String senderInvitationId() { + return this.senderInvitationId; + } + /** + * @return OCID of the sender tenancy. + * + */ + public String senderTenancyId() { + return this.senderTenancyId; + } + /** + * @return Lifecycle state of the recipient invitation. + * + */ + public String state() { + return this.state; + } + /** + * @return Status of the recipient invitation. + * + */ + public String status() { + return this.status; + } + /** + * @return The list of subjects the invitation contains. + * + */ + public List subjects() { + return this.subjects; + } + /** + * @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 Date and time when the recipient invitation was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the recipient invitation was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRecipientInvitationResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String displayName; + private Map freeformTags; + private String id; + private String recipientEmailAddress; + private String recipientInvitationId; + private String senderInvitationId; + private String senderTenancyId; + private String state; + private String status; + private List subjects; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetRecipientInvitationResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.recipientEmailAddress = defaults.recipientEmailAddress; + this.recipientInvitationId = defaults.recipientInvitationId; + this.senderInvitationId = defaults.senderInvitationId; + this.senderTenancyId = defaults.senderTenancyId; + this.state = defaults.state; + this.status = defaults.status; + this.subjects = defaults.subjects; + 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("GetRecipientInvitationResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientEmailAddress(String recipientEmailAddress) { + if (recipientEmailAddress == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "recipientEmailAddress"); + } + this.recipientEmailAddress = recipientEmailAddress; + return this; + } + @CustomType.Setter + public Builder recipientInvitationId(String recipientInvitationId) { + if (recipientInvitationId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "recipientInvitationId"); + } + this.recipientInvitationId = recipientInvitationId; + return this; + } + @CustomType.Setter + public Builder senderInvitationId(String senderInvitationId) { + if (senderInvitationId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "senderInvitationId"); + } + this.senderInvitationId = senderInvitationId; + return this; + } + @CustomType.Setter + public Builder senderTenancyId(String senderTenancyId) { + if (senderTenancyId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "senderTenancyId"); + } + this.senderTenancyId = senderTenancyId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder subjects(List subjects) { + if (subjects == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "subjects"); + } + this.subjects = subjects; + return this; + } + public Builder subjects(String... subjects) { + return subjects(List.of(subjects)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetRecipientInvitationResult build() { + final var _resultValue = new GetRecipientInvitationResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.recipientEmailAddress = recipientEmailAddress; + _resultValue.recipientInvitationId = recipientInvitationId; + _resultValue.senderInvitationId = senderInvitationId; + _resultValue.senderTenancyId = senderTenancyId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.subjects = subjects; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsFilter.java new file mode 100644 index 0000000000..f110687b1c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsFilter.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.Tenantmanagercontrolplane.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 GetRecipientInvitationsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetRecipientInvitationsFilter() {} + 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(GetRecipientInvitationsFilter 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(GetRecipientInvitationsFilter 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("GetRecipientInvitationsFilter", "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("GetRecipientInvitationsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetRecipientInvitationsFilter build() { + final var _resultValue = new GetRecipientInvitationsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollection.java new file mode 100644 index 0000000000..026121a6bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetRecipientInvitationsRecipientInvitationCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetRecipientInvitationsRecipientInvitationCollection { + private List items; + + private GetRecipientInvitationsRecipientInvitationCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRecipientInvitationsRecipientInvitationCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetRecipientInvitationsRecipientInvitationCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetRecipientInvitationsRecipientInvitationCollectionItem... items) { + return items(List.of(items)); + } + public GetRecipientInvitationsRecipientInvitationCollection build() { + final var _resultValue = new GetRecipientInvitationsRecipientInvitationCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollectionItem.java new file mode 100644 index 0000000000..6bd47be82c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsRecipientInvitationCollectionItem.java @@ -0,0 +1,362 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetRecipientInvitationsRecipientInvitationCollectionItem { + /** + * @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 A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return OCID of the recipient invitation. + * + */ + private String id; + /** + * @return Email address of the recipient. + * + */ + private String recipientEmailAddress; + /** + * @return OCID of the corresponding sender invitation. + * + */ + private String senderInvitationId; + /** + * @return The tenancy that sent the invitation. + * + */ + private String senderTenancyId; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return The status of the recipient invitation. + * + */ + private String status; + /** + * @return The list of subjects the invitation contains. + * + */ + private List subjects; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date and time when the recipient invitation was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the recipient invitation was last updated. + * + */ + private String timeUpdated; + + private GetRecipientInvitationsRecipientInvitationCollectionItem() {} + /** + * @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 A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return OCID of the recipient invitation. + * + */ + public String id() { + return this.id; + } + /** + * @return Email address of the recipient. + * + */ + public String recipientEmailAddress() { + return this.recipientEmailAddress; + } + /** + * @return OCID of the corresponding sender invitation. + * + */ + public String senderInvitationId() { + return this.senderInvitationId; + } + /** + * @return The tenancy that sent the invitation. + * + */ + public String senderTenancyId() { + return this.senderTenancyId; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return The status of the recipient invitation. + * + */ + public String status() { + return this.status; + } + /** + * @return The list of subjects the invitation contains. + * + */ + public List subjects() { + return this.subjects; + } + /** + * @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 Date and time when the recipient invitation was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the recipient invitation was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRecipientInvitationsRecipientInvitationCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String displayName; + private Map freeformTags; + private String id; + private String recipientEmailAddress; + private String senderInvitationId; + private String senderTenancyId; + private String state; + private String status; + private List subjects; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetRecipientInvitationsRecipientInvitationCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.recipientEmailAddress = defaults.recipientEmailAddress; + this.senderInvitationId = defaults.senderInvitationId; + this.senderTenancyId = defaults.senderTenancyId; + this.state = defaults.state; + this.status = defaults.status; + this.subjects = defaults.subjects; + 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("GetRecipientInvitationsRecipientInvitationCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientEmailAddress(String recipientEmailAddress) { + if (recipientEmailAddress == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "recipientEmailAddress"); + } + this.recipientEmailAddress = recipientEmailAddress; + return this; + } + @CustomType.Setter + public Builder senderInvitationId(String senderInvitationId) { + if (senderInvitationId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "senderInvitationId"); + } + this.senderInvitationId = senderInvitationId; + return this; + } + @CustomType.Setter + public Builder senderTenancyId(String senderTenancyId) { + if (senderTenancyId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "senderTenancyId"); + } + this.senderTenancyId = senderTenancyId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder subjects(List subjects) { + if (subjects == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "subjects"); + } + this.subjects = subjects; + return this; + } + public Builder subjects(String... subjects) { + return subjects(List.of(subjects)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsRecipientInvitationCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetRecipientInvitationsRecipientInvitationCollectionItem build() { + final var _resultValue = new GetRecipientInvitationsRecipientInvitationCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.recipientEmailAddress = recipientEmailAddress; + _resultValue.senderInvitationId = senderInvitationId; + _resultValue.senderTenancyId = senderTenancyId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.subjects = subjects; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsResult.java new file mode 100644 index 0000000000..dab1fa8eac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetRecipientInvitationsResult.java @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetRecipientInvitationsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetRecipientInvitationsRecipientInvitationCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRecipientInvitationsResult { + /** + * @return OCID of the recipient tenancy. + * + */ + private String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The list of recipient_invitation_collection. + * + */ + private List recipientInvitationCollections; + /** + * @return OCID of the sender tenancy. + * + */ + private @Nullable String senderTenancyId; + /** + * @return Lifecycle state of the recipient invitation. + * + */ + private @Nullable String state; + /** + * @return Status of the recipient invitation. + * + */ + private @Nullable String status; + + private GetRecipientInvitationsResult() {} + /** + * @return OCID of the recipient tenancy. + * + */ + 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 list of recipient_invitation_collection. + * + */ + public List recipientInvitationCollections() { + return this.recipientInvitationCollections; + } + /** + * @return OCID of the sender tenancy. + * + */ + public Optional senderTenancyId() { + return Optional.ofNullable(this.senderTenancyId); + } + /** + * @return Lifecycle state of the recipient invitation. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return Status of the recipient invitation. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRecipientInvitationsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private @Nullable List filters; + private String id; + private List recipientInvitationCollections; + private @Nullable String senderTenancyId; + private @Nullable String state; + private @Nullable String status; + public Builder() {} + public Builder(GetRecipientInvitationsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.recipientInvitationCollections = defaults.recipientInvitationCollections; + this.senderTenancyId = defaults.senderTenancyId; + this.state = defaults.state; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetRecipientInvitationsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientInvitationCollections(List recipientInvitationCollections) { + if (recipientInvitationCollections == null) { + throw new MissingRequiredPropertyException("GetRecipientInvitationsResult", "recipientInvitationCollections"); + } + this.recipientInvitationCollections = recipientInvitationCollections; + return this; + } + public Builder recipientInvitationCollections(GetRecipientInvitationsRecipientInvitationCollection... recipientInvitationCollections) { + return recipientInvitationCollections(List.of(recipientInvitationCollections)); + } + @CustomType.Setter + public Builder senderTenancyId(@Nullable String senderTenancyId) { + + this.senderTenancyId = senderTenancyId; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + public GetRecipientInvitationsResult build() { + final var _resultValue = new GetRecipientInvitationsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.recipientInvitationCollections = recipientInvitationCollections; + _resultValue.senderTenancyId = senderTenancyId; + _resultValue.state = state; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationResult.java new file mode 100644 index 0000000000..e5356cd6f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationResult.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.Tenantmanagercontrolplane.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 GetSenderInvitationResult { + /** + * @return OCID of the sender tenancy. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Email address of the recipient. + * + */ + private String recipientEmailAddress; + /** + * @return OCID of the corresponding recipient invitation. + * + */ + private String recipientInvitationId; + /** + * @return OCID of the recipient tenancy. + * + */ + private String recipientTenancyId; + private String senderInvitationId; + /** + * @return Lifecycle state of the sender invitation. + * + */ + private String state; + /** + * @return Status of the sender invitation. + * + */ + private String status; + /** + * @return The list of subjects the invitation contains. + * + */ + private List subjects; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date and time when the sender invitation was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the sender invitation was last updated. + * + */ + private String timeUpdated; + + private GetSenderInvitationResult() {} + /** + * @return OCID of the sender tenancy. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Email address of the recipient. + * + */ + public String recipientEmailAddress() { + return this.recipientEmailAddress; + } + /** + * @return OCID of the corresponding recipient invitation. + * + */ + public String recipientInvitationId() { + return this.recipientInvitationId; + } + /** + * @return OCID of the recipient tenancy. + * + */ + public String recipientTenancyId() { + return this.recipientTenancyId; + } + public String senderInvitationId() { + return this.senderInvitationId; + } + /** + * @return Lifecycle state of the sender invitation. + * + */ + public String state() { + return this.state; + } + /** + * @return Status of the sender invitation. + * + */ + public String status() { + return this.status; + } + /** + * @return The list of subjects the invitation contains. + * + */ + public List subjects() { + return this.subjects; + } + /** + * @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 Date and time when the sender invitation was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the sender invitation was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSenderInvitationResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String displayName; + private Map freeformTags; + private String id; + private String recipientEmailAddress; + private String recipientInvitationId; + private String recipientTenancyId; + private String senderInvitationId; + private String state; + private String status; + private List subjects; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetSenderInvitationResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.recipientEmailAddress = defaults.recipientEmailAddress; + this.recipientInvitationId = defaults.recipientInvitationId; + this.recipientTenancyId = defaults.recipientTenancyId; + this.senderInvitationId = defaults.senderInvitationId; + this.state = defaults.state; + this.status = defaults.status; + this.subjects = defaults.subjects; + 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("GetSenderInvitationResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientEmailAddress(String recipientEmailAddress) { + if (recipientEmailAddress == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "recipientEmailAddress"); + } + this.recipientEmailAddress = recipientEmailAddress; + return this; + } + @CustomType.Setter + public Builder recipientInvitationId(String recipientInvitationId) { + if (recipientInvitationId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "recipientInvitationId"); + } + this.recipientInvitationId = recipientInvitationId; + return this; + } + @CustomType.Setter + public Builder recipientTenancyId(String recipientTenancyId) { + if (recipientTenancyId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "recipientTenancyId"); + } + this.recipientTenancyId = recipientTenancyId; + return this; + } + @CustomType.Setter + public Builder senderInvitationId(String senderInvitationId) { + if (senderInvitationId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "senderInvitationId"); + } + this.senderInvitationId = senderInvitationId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder subjects(List subjects) { + if (subjects == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "subjects"); + } + this.subjects = subjects; + return this; + } + public Builder subjects(String... subjects) { + return subjects(List.of(subjects)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSenderInvitationResult build() { + final var _resultValue = new GetSenderInvitationResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.recipientEmailAddress = recipientEmailAddress; + _resultValue.recipientInvitationId = recipientInvitationId; + _resultValue.recipientTenancyId = recipientTenancyId; + _resultValue.senderInvitationId = senderInvitationId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.subjects = subjects; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsFilter.java new file mode 100644 index 0000000000..90a36dd5c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsFilter.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.Tenantmanagercontrolplane.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 GetSenderInvitationsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetSenderInvitationsFilter() {} + 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(GetSenderInvitationsFilter 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(GetSenderInvitationsFilter 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("GetSenderInvitationsFilter", "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("GetSenderInvitationsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetSenderInvitationsFilter build() { + final var _resultValue = new GetSenderInvitationsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsResult.java new file mode 100644 index 0000000000..c7afa032f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsResult.java @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSenderInvitationsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSenderInvitationsSenderInvitationCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSenderInvitationsResult { + /** + * @return OCID of the sender tenancy. + * + */ + private String compartmentId; + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return OCID of the recipient tenancy. + * + */ + private @Nullable String recipientTenancyId; + /** + * @return The list of sender_invitation_collection. + * + */ + private List senderInvitationCollections; + /** + * @return Lifecycle state of the sender invitation. + * + */ + private @Nullable String state; + /** + * @return Status of the sender invitation. + * + */ + private @Nullable String status; + + private GetSenderInvitationsResult() {} + /** + * @return OCID of the sender tenancy. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return A user-created name to describe the invitation. Avoid entering confidential information. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return OCID of the recipient tenancy. + * + */ + public Optional recipientTenancyId() { + return Optional.ofNullable(this.recipientTenancyId); + } + /** + * @return The list of sender_invitation_collection. + * + */ + public List senderInvitationCollections() { + return this.senderInvitationCollections; + } + /** + * @return Lifecycle state of the sender invitation. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return Status of the sender invitation. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSenderInvitationsResult 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 @Nullable String recipientTenancyId; + private List senderInvitationCollections; + private @Nullable String state; + private @Nullable String status; + public Builder() {} + public Builder(GetSenderInvitationsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.recipientTenancyId = defaults.recipientTenancyId; + this.senderInvitationCollections = defaults.senderInvitationCollections; + this.state = defaults.state; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsResult", "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(GetSenderInvitationsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientTenancyId(@Nullable String recipientTenancyId) { + + this.recipientTenancyId = recipientTenancyId; + return this; + } + @CustomType.Setter + public Builder senderInvitationCollections(List senderInvitationCollections) { + if (senderInvitationCollections == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsResult", "senderInvitationCollections"); + } + this.senderInvitationCollections = senderInvitationCollections; + return this; + } + public Builder senderInvitationCollections(GetSenderInvitationsSenderInvitationCollection... senderInvitationCollections) { + return senderInvitationCollections(List.of(senderInvitationCollections)); + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + public GetSenderInvitationsResult build() { + final var _resultValue = new GetSenderInvitationsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.recipientTenancyId = recipientTenancyId; + _resultValue.senderInvitationCollections = senderInvitationCollections; + _resultValue.state = state; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollection.java new file mode 100644 index 0000000000..fe35d1618e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSenderInvitationsSenderInvitationCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSenderInvitationsSenderInvitationCollection { + private List items; + + private GetSenderInvitationsSenderInvitationCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSenderInvitationsSenderInvitationCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetSenderInvitationsSenderInvitationCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetSenderInvitationsSenderInvitationCollectionItem... items) { + return items(List.of(items)); + } + public GetSenderInvitationsSenderInvitationCollection build() { + final var _resultValue = new GetSenderInvitationsSenderInvitationCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollectionItem.java new file mode 100644 index 0000000000..554749ca15 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSenderInvitationsSenderInvitationCollectionItem.java @@ -0,0 +1,362 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetSenderInvitationsSenderInvitationCollectionItem { + /** + * @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 A filter to return only resources that match the entire display name given. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return OCID of the sender invitation. + * + */ + private String id; + /** + * @return Email address of the recipient. + * + */ + private String recipientEmailAddress; + /** + * @return OCID of the corresponding recipient invitation. + * + */ + private String recipientInvitationId; + /** + * @return The tenancy that the invitation is addressed to. + * + */ + private String recipientTenancyId; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return The status of the sender invitation. + * + */ + private String status; + /** + * @return The list of subjects the invitation contains. + * + */ + private List subjects; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Date and time when the sender invitation was created. + * + */ + private String timeCreated; + /** + * @return Date and time when the sender invitation was last updated. + * + */ + private String timeUpdated; + + private GetSenderInvitationsSenderInvitationCollectionItem() {} + /** + * @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 A filter to return only resources that match the entire display name given. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return OCID of the sender invitation. + * + */ + public String id() { + return this.id; + } + /** + * @return Email address of the recipient. + * + */ + public String recipientEmailAddress() { + return this.recipientEmailAddress; + } + /** + * @return OCID of the corresponding recipient invitation. + * + */ + public String recipientInvitationId() { + return this.recipientInvitationId; + } + /** + * @return The tenancy that the invitation is addressed to. + * + */ + public String recipientTenancyId() { + return this.recipientTenancyId; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return The status of the sender invitation. + * + */ + public String status() { + return this.status; + } + /** + * @return The list of subjects the invitation contains. + * + */ + public List subjects() { + return this.subjects; + } + /** + * @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 Date and time when the sender invitation was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date and time when the sender invitation was last updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSenderInvitationsSenderInvitationCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String displayName; + private Map freeformTags; + private String id; + private String recipientEmailAddress; + private String recipientInvitationId; + private String recipientTenancyId; + private String state; + private String status; + private List subjects; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetSenderInvitationsSenderInvitationCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.recipientEmailAddress = defaults.recipientEmailAddress; + this.recipientInvitationId = defaults.recipientInvitationId; + this.recipientTenancyId = defaults.recipientTenancyId; + this.state = defaults.state; + this.status = defaults.status; + this.subjects = defaults.subjects; + 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("GetSenderInvitationsSenderInvitationCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder recipientEmailAddress(String recipientEmailAddress) { + if (recipientEmailAddress == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "recipientEmailAddress"); + } + this.recipientEmailAddress = recipientEmailAddress; + return this; + } + @CustomType.Setter + public Builder recipientInvitationId(String recipientInvitationId) { + if (recipientInvitationId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "recipientInvitationId"); + } + this.recipientInvitationId = recipientInvitationId; + return this; + } + @CustomType.Setter + public Builder recipientTenancyId(String recipientTenancyId) { + if (recipientTenancyId == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "recipientTenancyId"); + } + this.recipientTenancyId = recipientTenancyId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder subjects(List subjects) { + if (subjects == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "subjects"); + } + this.subjects = subjects; + return this; + } + public Builder subjects(String... subjects) { + return subjects(List.of(subjects)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSenderInvitationsSenderInvitationCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSenderInvitationsSenderInvitationCollectionItem build() { + final var _resultValue = new GetSenderInvitationsSenderInvitationCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.recipientEmailAddress = recipientEmailAddress; + _resultValue.recipientInvitationId = recipientInvitationId; + _resultValue.recipientTenancyId = recipientTenancyId; + _resultValue.state = state; + _resultValue.status = status; + _resultValue.subjects = subjects; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollection.java new file mode 100644 index 0000000000..2e008345ec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionAvailableRegionsAvailableRegionCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionAvailableRegionsAvailableRegionCollection { + /** + * @return Array containing available region items. + * + */ + private List items; + + private GetSubscriptionAvailableRegionsAvailableRegionCollection() {} + /** + * @return Array containing available region items. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionAvailableRegionsAvailableRegionCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetSubscriptionAvailableRegionsAvailableRegionCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsAvailableRegionCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetSubscriptionAvailableRegionsAvailableRegionCollectionItem... items) { + return items(List.of(items)); + } + public GetSubscriptionAvailableRegionsAvailableRegionCollection build() { + final var _resultValue = new GetSubscriptionAvailableRegionsAvailableRegionCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItem.java new file mode 100644 index 0000000000..e948f5d9d5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsAvailableRegionCollectionItem.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.Tenantmanagercontrolplane.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 GetSubscriptionAvailableRegionsAvailableRegionCollectionItem { + /** + * @return Region availability for the subscription. + * + */ + private String regionName; + /** + * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + + private GetSubscriptionAvailableRegionsAvailableRegionCollectionItem() {} + /** + * @return Region availability for the subscription. + * + */ + public String regionName() { + return this.regionName; + } + /** + * @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; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionAvailableRegionsAvailableRegionCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String regionName; + private Map systemTags; + public Builder() {} + public Builder(GetSubscriptionAvailableRegionsAvailableRegionCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.regionName = defaults.regionName; + this.systemTags = defaults.systemTags; + } + + @CustomType.Setter + public Builder regionName(String regionName) { + if (regionName == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsAvailableRegionCollectionItem", "regionName"); + } + this.regionName = regionName; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsAvailableRegionCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + public GetSubscriptionAvailableRegionsAvailableRegionCollectionItem build() { + final var _resultValue = new GetSubscriptionAvailableRegionsAvailableRegionCollectionItem(); + _resultValue.regionName = regionName; + _resultValue.systemTags = systemTags; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsFilter.java new file mode 100644 index 0000000000..31a25e87b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionAvailableRegionsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetSubscriptionAvailableRegionsFilter() {} + 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(GetSubscriptionAvailableRegionsFilter 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(GetSubscriptionAvailableRegionsFilter 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("GetSubscriptionAvailableRegionsFilter", "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("GetSubscriptionAvailableRegionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetSubscriptionAvailableRegionsFilter build() { + final var _resultValue = new GetSubscriptionAvailableRegionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsResult.java new file mode 100644 index 0000000000..42e8561774 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionAvailableRegionsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionAvailableRegionsAvailableRegionCollection; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionAvailableRegionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubscriptionAvailableRegionsResult { + /** + * @return The list of available_region_collection. + * + */ + private List availableRegionCollections; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String subscriptionId; + + private GetSubscriptionAvailableRegionsResult() {} + /** + * @return The list of available_region_collection. + * + */ + public List availableRegionCollections() { + return this.availableRegionCollections; + } + 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 String subscriptionId() { + return this.subscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionAvailableRegionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List availableRegionCollections; + private @Nullable List filters; + private String id; + private String subscriptionId; + public Builder() {} + public Builder(GetSubscriptionAvailableRegionsResult defaults) { + Objects.requireNonNull(defaults); + this.availableRegionCollections = defaults.availableRegionCollections; + this.filters = defaults.filters; + this.id = defaults.id; + this.subscriptionId = defaults.subscriptionId; + } + + @CustomType.Setter + public Builder availableRegionCollections(List availableRegionCollections) { + if (availableRegionCollections == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsResult", "availableRegionCollections"); + } + this.availableRegionCollections = availableRegionCollections; + return this; + } + public Builder availableRegionCollections(GetSubscriptionAvailableRegionsAvailableRegionCollection... availableRegionCollections) { + return availableRegionCollections(List.of(availableRegionCollections)); + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetSubscriptionAvailableRegionsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionAvailableRegionsResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + public GetSubscriptionAvailableRegionsResult build() { + final var _resultValue = new GetSubscriptionAvailableRegionsResult(); + _resultValue.availableRegionCollections = availableRegionCollections; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.subscriptionId = subscriptionId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsFilter.java new file mode 100644 index 0000000000..1f957db8be --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionLineItemsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetSubscriptionLineItemsFilter() {} + 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(GetSubscriptionLineItemsFilter 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(GetSubscriptionLineItemsFilter 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("GetSubscriptionLineItemsFilter", "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("GetSubscriptionLineItemsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetSubscriptionLineItemsFilter build() { + final var _resultValue = new GetSubscriptionLineItemsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsResult.java new file mode 100644 index 0000000000..99766c41c2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionLineItemsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionLineItemsSubscriptionLineItemCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubscriptionLineItemsResult { + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String subscriptionId; + /** + * @return The list of subscription_line_item_collection. + * + */ + private List subscriptionLineItemCollections; + + private GetSubscriptionLineItemsResult() {} + 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 String subscriptionId() { + return this.subscriptionId; + } + /** + * @return The list of subscription_line_item_collection. + * + */ + public List subscriptionLineItemCollections() { + return this.subscriptionLineItemCollections; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionLineItemsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List filters; + private String id; + private String subscriptionId; + private List subscriptionLineItemCollections; + public Builder() {} + public Builder(GetSubscriptionLineItemsResult defaults) { + Objects.requireNonNull(defaults); + this.filters = defaults.filters; + this.id = defaults.id; + this.subscriptionId = defaults.subscriptionId; + this.subscriptionLineItemCollections = defaults.subscriptionLineItemCollections; + } + + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetSubscriptionLineItemsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter + public Builder subscriptionLineItemCollections(List subscriptionLineItemCollections) { + if (subscriptionLineItemCollections == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsResult", "subscriptionLineItemCollections"); + } + this.subscriptionLineItemCollections = subscriptionLineItemCollections; + return this; + } + public Builder subscriptionLineItemCollections(GetSubscriptionLineItemsSubscriptionLineItemCollection... subscriptionLineItemCollections) { + return subscriptionLineItemCollections(List.of(subscriptionLineItemCollections)); + } + public GetSubscriptionLineItemsResult build() { + final var _resultValue = new GetSubscriptionLineItemsResult(); + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.subscriptionId = subscriptionId; + _resultValue.subscriptionLineItemCollections = subscriptionLineItemCollections; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollection.java new file mode 100644 index 0000000000..f7e11608b6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionLineItemsSubscriptionLineItemCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionLineItemsSubscriptionLineItemCollection { + /** + * @return Array containing line item summaries in a subscription. + * + */ + private List items; + + private GetSubscriptionLineItemsSubscriptionLineItemCollection() {} + /** + * @return Array containing line item summaries in a subscription. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionLineItemsSubscriptionLineItemCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetSubscriptionLineItemsSubscriptionLineItemCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetSubscriptionLineItemsSubscriptionLineItemCollectionItem... items) { + return items(List.of(items)); + } + public GetSubscriptionLineItemsSubscriptionLineItemCollection build() { + final var _resultValue = new GetSubscriptionLineItemsSubscriptionLineItemCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItem.java new file mode 100644 index 0000000000..bc5edf8f07 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionLineItemsSubscriptionLineItemCollectionItem.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.Tenantmanagercontrolplane.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 GetSubscriptionLineItemsSubscriptionLineItemCollectionItem { + /** + * @return Billing model supported by the associated line item. + * + */ + private String billingModel; + /** + * @return Subscription line item identifier. + * + */ + private String id; + /** + * @return Product code. + * + */ + private String productCode; + /** + * @return Product number. + * + */ + private Double quantity; + /** + * @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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + * + */ + private String timeEnded; + /** + * @return The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + * + */ + private String timeStarted; + + private GetSubscriptionLineItemsSubscriptionLineItemCollectionItem() {} + /** + * @return Billing model supported by the associated line item. + * + */ + public String billingModel() { + return this.billingModel; + } + /** + * @return Subscription line item identifier. + * + */ + public String id() { + return this.id; + } + /** + * @return Product code. + * + */ + public String productCode() { + return this.productCode; + } + /** + * @return Product number. + * + */ + public Double quantity() { + return this.quantity; + } + /** + * @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 subscription item and associated products should end. An RFC 3339 formatted date and time string. + * + */ + public String timeEnded() { + return this.timeEnded; + } + /** + * @return The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionLineItemsSubscriptionLineItemCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String billingModel; + private String id; + private String productCode; + private Double quantity; + private Map systemTags; + private String timeEnded; + private String timeStarted; + public Builder() {} + public Builder(GetSubscriptionLineItemsSubscriptionLineItemCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.billingModel = defaults.billingModel; + this.id = defaults.id; + this.productCode = defaults.productCode; + this.quantity = defaults.quantity; + this.systemTags = defaults.systemTags; + this.timeEnded = defaults.timeEnded; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder billingModel(String billingModel) { + if (billingModel == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "billingModel"); + } + this.billingModel = billingModel; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder productCode(String productCode) { + if (productCode == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "productCode"); + } + this.productCode = productCode; + return this; + } + @CustomType.Setter + public Builder quantity(Double quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeEnded(String timeEnded) { + if (timeEnded == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "timeEnded"); + } + this.timeEnded = timeEnded; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetSubscriptionLineItemsSubscriptionLineItemCollectionItem", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetSubscriptionLineItemsSubscriptionLineItemCollectionItem build() { + final var _resultValue = new GetSubscriptionLineItemsSubscriptionLineItemCollectionItem(); + _resultValue.billingModel = billingModel; + _resultValue.id = id; + _resultValue.productCode = productCode; + _resultValue.quantity = quantity; + _resultValue.systemTags = systemTags; + _resultValue.timeEnded = timeEnded; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingResult.java new file mode 100644 index 0000000000..2830c15800 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingResult.java @@ -0,0 +1,235 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetSubscriptionMappingResult { + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + private String compartmentId; + /** + * @return OCID of the mapping between subscription and compartment identified by the tenancy. + * + */ + private String id; + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + private Boolean isExplicitlyAssigned; + /** + * @return Lifecycle state of the subscriptionMapping. + * + */ + private String state; + /** + * @return OCID of the subscription. + * + */ + private String subscriptionId; + private String subscriptionMappingId; + /** + * @return Date-time when subscription mapping was created. + * + */ + private String timeCreated; + /** + * @return Date-time when subscription mapping was terminated. + * + */ + private String timeTerminated; + /** + * @return Date-time when subscription mapping was updated. + * + */ + private String timeUpdated; + + private GetSubscriptionMappingResult() {} + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return OCID of the mapping between subscription and compartment identified by the tenancy. + * + */ + public String id() { + return this.id; + } + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + public Boolean isExplicitlyAssigned() { + return this.isExplicitlyAssigned; + } + /** + * @return Lifecycle state of the subscriptionMapping. + * + */ + public String state() { + return this.state; + } + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + public String subscriptionMappingId() { + return this.subscriptionMappingId; + } + /** + * @return Date-time when subscription mapping was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when subscription mapping was terminated. + * + */ + public String timeTerminated() { + return this.timeTerminated; + } + /** + * @return Date-time when subscription mapping was updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionMappingResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String id; + private Boolean isExplicitlyAssigned; + private String state; + private String subscriptionId; + private String subscriptionMappingId; + private String timeCreated; + private String timeTerminated; + private String timeUpdated; + public Builder() {} + public Builder(GetSubscriptionMappingResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.id = defaults.id; + this.isExplicitlyAssigned = defaults.isExplicitlyAssigned; + this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; + this.subscriptionMappingId = defaults.subscriptionMappingId; + this.timeCreated = defaults.timeCreated; + this.timeTerminated = defaults.timeTerminated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isExplicitlyAssigned(Boolean isExplicitlyAssigned) { + if (isExplicitlyAssigned == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "isExplicitlyAssigned"); + } + this.isExplicitlyAssigned = isExplicitlyAssigned; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter + public Builder subscriptionMappingId(String subscriptionMappingId) { + if (subscriptionMappingId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "subscriptionMappingId"); + } + this.subscriptionMappingId = subscriptionMappingId; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeTerminated(String timeTerminated) { + if (timeTerminated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "timeTerminated"); + } + this.timeTerminated = timeTerminated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSubscriptionMappingResult build() { + final var _resultValue = new GetSubscriptionMappingResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.id = id; + _resultValue.isExplicitlyAssigned = isExplicitlyAssigned; + _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; + _resultValue.subscriptionMappingId = subscriptionMappingId; + _resultValue.timeCreated = timeCreated; + _resultValue.timeTerminated = timeTerminated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsFilter.java new file mode 100644 index 0000000000..e43bc31888 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionMappingsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetSubscriptionMappingsFilter() {} + 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(GetSubscriptionMappingsFilter 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(GetSubscriptionMappingsFilter 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("GetSubscriptionMappingsFilter", "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("GetSubscriptionMappingsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetSubscriptionMappingsFilter build() { + final var _resultValue = new GetSubscriptionMappingsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsResult.java new file mode 100644 index 0000000000..9e7f722415 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsResult.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionMappingsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionMappingsSubscriptionMappingCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubscriptionMappingsResult { + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + private @Nullable String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Lifecycle state of the subscriptionMapping. + * + */ + private @Nullable String state; + /** + * @return OCID of the subscription. + * + */ + private String subscriptionId; + /** + * @return The list of subscription_mapping_collection. + * + */ + private List subscriptionMappingCollections; + private @Nullable String subscriptionMappingId; + + private GetSubscriptionMappingsResult() {} + /** + * @return OCID of the compartment. Always a tenancy OCID. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(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 Lifecycle state of the subscriptionMapping. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + /** + * @return The list of subscription_mapping_collection. + * + */ + public List subscriptionMappingCollections() { + return this.subscriptionMappingCollections; + } + public Optional subscriptionMappingId() { + return Optional.ofNullable(this.subscriptionMappingId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionMappingsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String compartmentId; + private @Nullable List filters; + private String id; + private @Nullable String state; + private String subscriptionId; + private List subscriptionMappingCollections; + private @Nullable String subscriptionMappingId; + public Builder() {} + public Builder(GetSubscriptionMappingsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; + this.subscriptionMappingCollections = defaults.subscriptionMappingCollections; + this.subscriptionMappingId = defaults.subscriptionMappingId; + } + + @CustomType.Setter + public Builder compartmentId(@Nullable String compartmentId) { + + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetSubscriptionMappingsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter + public Builder subscriptionMappingCollections(List subscriptionMappingCollections) { + if (subscriptionMappingCollections == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsResult", "subscriptionMappingCollections"); + } + this.subscriptionMappingCollections = subscriptionMappingCollections; + return this; + } + public Builder subscriptionMappingCollections(GetSubscriptionMappingsSubscriptionMappingCollection... subscriptionMappingCollections) { + return subscriptionMappingCollections(List.of(subscriptionMappingCollections)); + } + @CustomType.Setter + public Builder subscriptionMappingId(@Nullable String subscriptionMappingId) { + + this.subscriptionMappingId = subscriptionMappingId; + return this; + } + public GetSubscriptionMappingsResult build() { + final var _resultValue = new GetSubscriptionMappingsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; + _resultValue.subscriptionMappingCollections = subscriptionMappingCollections; + _resultValue.subscriptionMappingId = subscriptionMappingId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollection.java new file mode 100644 index 0000000000..399fea5a2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionMappingsSubscriptionMappingCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionMappingsSubscriptionMappingCollection { + private List items; + + private GetSubscriptionMappingsSubscriptionMappingCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionMappingsSubscriptionMappingCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetSubscriptionMappingsSubscriptionMappingCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetSubscriptionMappingsSubscriptionMappingCollectionItem... items) { + return items(List.of(items)); + } + public GetSubscriptionMappingsSubscriptionMappingCollection build() { + final var _resultValue = new GetSubscriptionMappingsSubscriptionMappingCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItem.java new file mode 100644 index 0000000000..f06facc91c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionMappingsSubscriptionMappingCollectionItem.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.Tenantmanagercontrolplane.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 GetSubscriptionMappingsSubscriptionMappingCollectionItem { + /** + * @return The ID of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return OCID of the mapping between subscription and compartment identified by the tenancy. + * + */ + private String id; + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + private Boolean isExplicitlyAssigned; + /** + * @return The lifecycle state of the resource. + * + */ + private String state; + /** + * @return OCID of the subscription. + * + */ + private String subscriptionId; + /** + * @return Date-time when subscription mapping was created. + * + */ + private String timeCreated; + /** + * @return Date-time when subscription mapping was terminated. + * + */ + private String timeTerminated; + /** + * @return Date-time when subscription mapping was updated. + * + */ + private String timeUpdated; + + private GetSubscriptionMappingsSubscriptionMappingCollectionItem() {} + /** + * @return The ID of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return OCID of the mapping between subscription and compartment identified by the tenancy. + * + */ + public String id() { + return this.id; + } + /** + * @return Denotes if the subscription is explicity assigned to the root compartment or tenancy. + * + */ + public Boolean isExplicitlyAssigned() { + return this.isExplicitlyAssigned; + } + /** + * @return The lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return OCID of the subscription. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } + /** + * @return Date-time when subscription mapping was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Date-time when subscription mapping was terminated. + * + */ + public String timeTerminated() { + return this.timeTerminated; + } + /** + * @return Date-time when subscription mapping was updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionMappingsSubscriptionMappingCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String id; + private Boolean isExplicitlyAssigned; + private String state; + private String subscriptionId; + private String timeCreated; + private String timeTerminated; + private String timeUpdated; + public Builder() {} + public Builder(GetSubscriptionMappingsSubscriptionMappingCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.id = defaults.id; + this.isExplicitlyAssigned = defaults.isExplicitlyAssigned; + this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; + this.timeCreated = defaults.timeCreated; + this.timeTerminated = defaults.timeTerminated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isExplicitlyAssigned(Boolean isExplicitlyAssigned) { + if (isExplicitlyAssigned == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "isExplicitlyAssigned"); + } + this.isExplicitlyAssigned = isExplicitlyAssigned; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeTerminated(String timeTerminated) { + if (timeTerminated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "timeTerminated"); + } + this.timeTerminated = timeTerminated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionMappingsSubscriptionMappingCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSubscriptionMappingsSubscriptionMappingCollectionItem build() { + final var _resultValue = new GetSubscriptionMappingsSubscriptionMappingCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.id = id; + _resultValue.isExplicitlyAssigned = isExplicitlyAssigned; + _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; + _resultValue.timeCreated = timeCreated; + _resultValue.timeTerminated = timeTerminated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionPromotion.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionPromotion.java new file mode 100644 index 0000000000..c2504eca07 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionPromotion.java @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionPromotion { + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + private Double amount; + /** + * @return Currency unit associated with the promotion. + * + */ + private String currencyUnit; + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + private Integer duration; + /** + * @return Unit for the duration. + * + */ + private String durationUnit; + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + private Boolean isIntentToPay; + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + private String status; + /** + * @return Date and time when the promotion ends. + * + */ + private String timeExpired; + /** + * @return Date and time when the promotion starts. + * + */ + private String timeStarted; + + private GetSubscriptionPromotion() {} + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + public Double amount() { + return this.amount; + } + /** + * @return Currency unit associated with the promotion. + * + */ + public String currencyUnit() { + return this.currencyUnit; + } + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + public Integer duration() { + return this.duration; + } + /** + * @return Unit for the duration. + * + */ + public String durationUnit() { + return this.durationUnit; + } + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + public Boolean isIntentToPay() { + return this.isIntentToPay; + } + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + public String status() { + return this.status; + } + /** + * @return Date and time when the promotion ends. + * + */ + public String timeExpired() { + return this.timeExpired; + } + /** + * @return Date and time when the promotion starts. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionPromotion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Double amount; + private String currencyUnit; + private Integer duration; + private String durationUnit; + private Boolean isIntentToPay; + private String status; + private String timeExpired; + private String timeStarted; + public Builder() {} + public Builder(GetSubscriptionPromotion defaults) { + Objects.requireNonNull(defaults); + this.amount = defaults.amount; + this.currencyUnit = defaults.currencyUnit; + this.duration = defaults.duration; + this.durationUnit = defaults.durationUnit; + this.isIntentToPay = defaults.isIntentToPay; + this.status = defaults.status; + this.timeExpired = defaults.timeExpired; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder amount(Double amount) { + if (amount == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "amount"); + } + this.amount = amount; + return this; + } + @CustomType.Setter + public Builder currencyUnit(String currencyUnit) { + if (currencyUnit == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "currencyUnit"); + } + this.currencyUnit = currencyUnit; + return this; + } + @CustomType.Setter + public Builder duration(Integer duration) { + if (duration == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "duration"); + } + this.duration = duration; + return this; + } + @CustomType.Setter + public Builder durationUnit(String durationUnit) { + if (durationUnit == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "durationUnit"); + } + this.durationUnit = durationUnit; + return this; + } + @CustomType.Setter + public Builder isIntentToPay(Boolean isIntentToPay) { + if (isIntentToPay == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "isIntentToPay"); + } + this.isIntentToPay = isIntentToPay; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder timeExpired(String timeExpired) { + if (timeExpired == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "timeExpired"); + } + this.timeExpired = timeExpired; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetSubscriptionPromotion", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetSubscriptionPromotion build() { + final var _resultValue = new GetSubscriptionPromotion(); + _resultValue.amount = amount; + _resultValue.currencyUnit = currencyUnit; + _resultValue.duration = duration; + _resultValue.durationUnit = durationUnit; + _resultValue.isIntentToPay = isIntentToPay; + _resultValue.status = status; + _resultValue.timeExpired = timeExpired; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionResult.java new file mode 100644 index 0000000000..4f6f153bc5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionResult.java @@ -0,0 +1,659 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionPromotion; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionSkus; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionResult { + /** + * @return Classic subscription ID. + * + */ + private String classicSubscriptionId; + /** + * @return The currency code for the customer associated with the subscription. + * + */ + private String cloudAmountCurrency; + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + private String compartmentId; + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + private String csiNumber; + /** + * @return Currency code. For example USD, MXN. + * + */ + private String currencyCode; + /** + * @return The country code for the customer associated with the subscription. + * + */ + private String customerCountryCode; + /** + * @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 Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + private String entityVersion; + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Specifies whether or not the subscription is from classic systems. + * + */ + private Boolean isClassicSubscription; + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + private Boolean isGovernmentSubscription; + /** + * @return The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + * + */ + private String paymentModel; + /** + * @return Specifies any program that is associated with the subscription. + * + */ + private String programType; + /** + * @return List of promotions related to the subscription. + * + */ + private List promotions; + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + private String purchaseEntitlementId; + /** + * @return Region for the subscription. + * + */ + private String regionAssignment; + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + private String serviceName; + /** + * @return List of SKUs linked to this subscription. + * + */ + private List skuses; + /** + * @return Subscription start time. + * + */ + private String startDate; + /** + * @return Lifecycle state of the subscription. + * + */ + private String state; + private String subscriptionId; + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + private String subscriptionNumber; + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + private String subscriptionTier; + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeCreated; + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeUpdated; + + private GetSubscriptionResult() {} + /** + * @return Classic subscription ID. + * + */ + public String classicSubscriptionId() { + return this.classicSubscriptionId; + } + /** + * @return The currency code for the customer associated with the subscription. + * + */ + public String cloudAmountCurrency() { + return this.cloudAmountCurrency; + } + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + public String csiNumber() { + return this.csiNumber; + } + /** + * @return Currency code. For example USD, MXN. + * + */ + public String currencyCode() { + return this.currencyCode; + } + /** + * @return The country code for the customer associated with the subscription. + * + */ + public String customerCountryCode() { + return this.customerCountryCode; + } + /** + * @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 Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + public String entityVersion() { + return this.entityVersion; + } + /** + * @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 provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Specifies whether or not the subscription is from classic systems. + * + */ + public Boolean isClassicSubscription() { + return this.isClassicSubscription; + } + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + public Boolean isGovernmentSubscription() { + return this.isGovernmentSubscription; + } + /** + * @return The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + * + */ + public String paymentModel() { + return this.paymentModel; + } + /** + * @return Specifies any program that is associated with the subscription. + * + */ + public String programType() { + return this.programType; + } + /** + * @return List of promotions related to the subscription. + * + */ + public List promotions() { + return this.promotions; + } + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + public String purchaseEntitlementId() { + return this.purchaseEntitlementId; + } + /** + * @return Region for the subscription. + * + */ + public String regionAssignment() { + return this.regionAssignment; + } + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return List of SKUs linked to this subscription. + * + */ + public List skuses() { + return this.skuses; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Lifecycle state of the subscription. + * + */ + public String state() { + return this.state; + } + public String subscriptionId() { + return this.subscriptionId; + } + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + public String subscriptionNumber() { + return this.subscriptionNumber; + } + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + public String subscriptionTier() { + return this.subscriptionTier; + } + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String classicSubscriptionId; + private String cloudAmountCurrency; + private String compartmentId; + private String csiNumber; + private String currencyCode; + private String customerCountryCode; + private Map definedTags; + private String endDate; + private String entityVersion; + private Map freeformTags; + private String id; + private Boolean isClassicSubscription; + private Boolean isGovernmentSubscription; + private String paymentModel; + private String programType; + private List promotions; + private String purchaseEntitlementId; + private String regionAssignment; + private String serviceName; + private List skuses; + private String startDate; + private String state; + private String subscriptionId; + private String subscriptionNumber; + private String subscriptionTier; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetSubscriptionResult defaults) { + Objects.requireNonNull(defaults); + this.classicSubscriptionId = defaults.classicSubscriptionId; + this.cloudAmountCurrency = defaults.cloudAmountCurrency; + this.compartmentId = defaults.compartmentId; + this.csiNumber = defaults.csiNumber; + this.currencyCode = defaults.currencyCode; + this.customerCountryCode = defaults.customerCountryCode; + this.definedTags = defaults.definedTags; + this.endDate = defaults.endDate; + this.entityVersion = defaults.entityVersion; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isClassicSubscription = defaults.isClassicSubscription; + this.isGovernmentSubscription = defaults.isGovernmentSubscription; + this.paymentModel = defaults.paymentModel; + this.programType = defaults.programType; + this.promotions = defaults.promotions; + this.purchaseEntitlementId = defaults.purchaseEntitlementId; + this.regionAssignment = defaults.regionAssignment; + this.serviceName = defaults.serviceName; + this.skuses = defaults.skuses; + this.startDate = defaults.startDate; + this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; + this.subscriptionNumber = defaults.subscriptionNumber; + this.subscriptionTier = defaults.subscriptionTier; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder classicSubscriptionId(String classicSubscriptionId) { + if (classicSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "classicSubscriptionId"); + } + this.classicSubscriptionId = classicSubscriptionId; + return this; + } + @CustomType.Setter + public Builder cloudAmountCurrency(String cloudAmountCurrency) { + if (cloudAmountCurrency == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "cloudAmountCurrency"); + } + this.cloudAmountCurrency = cloudAmountCurrency; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder csiNumber(String csiNumber) { + if (csiNumber == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "csiNumber"); + } + this.csiNumber = csiNumber; + return this; + } + @CustomType.Setter + public Builder currencyCode(String currencyCode) { + if (currencyCode == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "currencyCode"); + } + this.currencyCode = currencyCode; + return this; + } + @CustomType.Setter + public Builder customerCountryCode(String customerCountryCode) { + if (customerCountryCode == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "customerCountryCode"); + } + this.customerCountryCode = customerCountryCode; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder entityVersion(String entityVersion) { + if (entityVersion == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "entityVersion"); + } + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isClassicSubscription(Boolean isClassicSubscription) { + if (isClassicSubscription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "isClassicSubscription"); + } + this.isClassicSubscription = isClassicSubscription; + return this; + } + @CustomType.Setter + public Builder isGovernmentSubscription(Boolean isGovernmentSubscription) { + if (isGovernmentSubscription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "isGovernmentSubscription"); + } + this.isGovernmentSubscription = isGovernmentSubscription; + return this; + } + @CustomType.Setter + public Builder paymentModel(String paymentModel) { + if (paymentModel == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "paymentModel"); + } + this.paymentModel = paymentModel; + return this; + } + @CustomType.Setter + public Builder programType(String programType) { + if (programType == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "programType"); + } + this.programType = programType; + return this; + } + @CustomType.Setter + public Builder promotions(List promotions) { + if (promotions == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "promotions"); + } + this.promotions = promotions; + return this; + } + public Builder promotions(GetSubscriptionPromotion... promotions) { + return promotions(List.of(promotions)); + } + @CustomType.Setter + public Builder purchaseEntitlementId(String purchaseEntitlementId) { + if (purchaseEntitlementId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "purchaseEntitlementId"); + } + this.purchaseEntitlementId = purchaseEntitlementId; + return this; + } + @CustomType.Setter + public Builder regionAssignment(String regionAssignment) { + if (regionAssignment == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "regionAssignment"); + } + this.regionAssignment = regionAssignment; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder skuses(List skuses) { + if (skuses == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "skuses"); + } + this.skuses = skuses; + return this; + } + public Builder skuses(GetSubscriptionSkus... skuses) { + return skuses(List.of(skuses)); + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter + public Builder subscriptionNumber(String subscriptionNumber) { + if (subscriptionNumber == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "subscriptionNumber"); + } + this.subscriptionNumber = subscriptionNumber; + return this; + } + @CustomType.Setter + public Builder subscriptionTier(String subscriptionTier) { + if (subscriptionTier == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "subscriptionTier"); + } + this.subscriptionTier = subscriptionTier; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSubscriptionResult build() { + final var _resultValue = new GetSubscriptionResult(); + _resultValue.classicSubscriptionId = classicSubscriptionId; + _resultValue.cloudAmountCurrency = cloudAmountCurrency; + _resultValue.compartmentId = compartmentId; + _resultValue.csiNumber = csiNumber; + _resultValue.currencyCode = currencyCode; + _resultValue.customerCountryCode = customerCountryCode; + _resultValue.definedTags = definedTags; + _resultValue.endDate = endDate; + _resultValue.entityVersion = entityVersion; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isClassicSubscription = isClassicSubscription; + _resultValue.isGovernmentSubscription = isGovernmentSubscription; + _resultValue.paymentModel = paymentModel; + _resultValue.programType = programType; + _resultValue.promotions = promotions; + _resultValue.purchaseEntitlementId = purchaseEntitlementId; + _resultValue.regionAssignment = regionAssignment; + _resultValue.serviceName = serviceName; + _resultValue.skuses = skuses; + _resultValue.startDate = startDate; + _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; + _resultValue.subscriptionNumber = subscriptionNumber; + _resultValue.subscriptionTier = subscriptionTier; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionSkus.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionSkus.java new file mode 100644 index 0000000000..22636bce2a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionSkus.java @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetSubscriptionSkus { + /** + * @return Description of the stock units. + * + */ + private String description; + /** + * @return Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return Sales order line identifier. + * + */ + private String gsiOrderLineId; + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + private Boolean isAdditionalInstance; + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + private Boolean isBaseServiceComponent; + /** + * @return Description of the covered product belonging to this SKU. + * + */ + private String licensePartDescription; + /** + * @return Base metric for billing the service. + * + */ + private String metricName; + /** + * @return Quantity of the stock units. + * + */ + private Integer quantity; + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + private String sku; + /** + * @return Subscription start time. + * + */ + private String startDate; + + private GetSubscriptionSkus() {} + /** + * @return Description of the stock units. + * + */ + public String description() { + return this.description; + } + /** + * @return Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return Sales order line identifier. + * + */ + public String gsiOrderLineId() { + return this.gsiOrderLineId; + } + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + public Boolean isAdditionalInstance() { + return this.isAdditionalInstance; + } + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + public Boolean isBaseServiceComponent() { + return this.isBaseServiceComponent; + } + /** + * @return Description of the covered product belonging to this SKU. + * + */ + public String licensePartDescription() { + return this.licensePartDescription; + } + /** + * @return Base metric for billing the service. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return Quantity of the stock units. + * + */ + public Integer quantity() { + return this.quantity; + } + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + public String sku() { + return this.sku; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionSkus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String gsiOrderLineId; + private Boolean isAdditionalInstance; + private Boolean isBaseServiceComponent; + private String licensePartDescription; + private String metricName; + private Integer quantity; + private String sku; + private String startDate; + public Builder() {} + public Builder(GetSubscriptionSkus defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.gsiOrderLineId = defaults.gsiOrderLineId; + this.isAdditionalInstance = defaults.isAdditionalInstance; + this.isBaseServiceComponent = defaults.isBaseServiceComponent; + this.licensePartDescription = defaults.licensePartDescription; + this.metricName = defaults.metricName; + this.quantity = defaults.quantity; + this.sku = defaults.sku; + this.startDate = defaults.startDate; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder gsiOrderLineId(String gsiOrderLineId) { + if (gsiOrderLineId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "gsiOrderLineId"); + } + this.gsiOrderLineId = gsiOrderLineId; + return this; + } + @CustomType.Setter + public Builder isAdditionalInstance(Boolean isAdditionalInstance) { + if (isAdditionalInstance == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "isAdditionalInstance"); + } + this.isAdditionalInstance = isAdditionalInstance; + return this; + } + @CustomType.Setter + public Builder isBaseServiceComponent(Boolean isBaseServiceComponent) { + if (isBaseServiceComponent == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "isBaseServiceComponent"); + } + this.isBaseServiceComponent = isBaseServiceComponent; + return this; + } + @CustomType.Setter + public Builder licensePartDescription(String licensePartDescription) { + if (licensePartDescription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "licensePartDescription"); + } + this.licensePartDescription = licensePartDescription; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder quantity(Integer quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder sku(String sku) { + if (sku == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "sku"); + } + this.sku = sku; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionSkus", "startDate"); + } + this.startDate = startDate; + return this; + } + public GetSubscriptionSkus build() { + final var _resultValue = new GetSubscriptionSkus(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.gsiOrderLineId = gsiOrderLineId; + _resultValue.isAdditionalInstance = isAdditionalInstance; + _resultValue.isBaseServiceComponent = isBaseServiceComponent; + _resultValue.licensePartDescription = licensePartDescription; + _resultValue.metricName = metricName; + _resultValue.quantity = quantity; + _resultValue.sku = sku; + _resultValue.startDate = startDate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsFilter.java new file mode 100644 index 0000000000..5cb200f1c1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsFilter.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.Tenantmanagercontrolplane.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 GetSubscriptionsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetSubscriptionsFilter() {} + 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(GetSubscriptionsFilter 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(GetSubscriptionsFilter 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("GetSubscriptionsFilter", "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("GetSubscriptionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetSubscriptionsFilter build() { + final var _resultValue = new GetSubscriptionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsResult.java new file mode 100644 index 0000000000..93c7157e11 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsResult.java @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsFilter; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsSubscriptionCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubscriptionsResult { + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + private @Nullable String compartmentId; + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + private @Nullable String entityVersion; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The list of subscription_collection. + * + */ + private List subscriptionCollections; + private @Nullable String subscriptionId; + + private GetSubscriptionsResult() {} + /** + * @return The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + /** + * @return The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + * + */ + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + 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 subscription_collection. + * + */ + public List subscriptionCollections() { + return this.subscriptionCollections; + } + public Optional subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String compartmentId; + private @Nullable String entityVersion; + private @Nullable List filters; + private String id; + private List subscriptionCollections; + private @Nullable String subscriptionId; + public Builder() {} + public Builder(GetSubscriptionsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.entityVersion = defaults.entityVersion; + this.filters = defaults.filters; + this.id = defaults.id; + this.subscriptionCollections = defaults.subscriptionCollections; + this.subscriptionId = defaults.subscriptionId; + } + + @CustomType.Setter + public Builder compartmentId(@Nullable String compartmentId) { + + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder entityVersion(@Nullable String entityVersion) { + + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetSubscriptionsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder subscriptionCollections(List subscriptionCollections) { + if (subscriptionCollections == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsResult", "subscriptionCollections"); + } + this.subscriptionCollections = subscriptionCollections; + return this; + } + public Builder subscriptionCollections(GetSubscriptionsSubscriptionCollection... subscriptionCollections) { + return subscriptionCollections(List.of(subscriptionCollections)); + } + @CustomType.Setter + public Builder subscriptionId(@Nullable String subscriptionId) { + + this.subscriptionId = subscriptionId; + return this; + } + public GetSubscriptionsResult build() { + final var _resultValue = new GetSubscriptionsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.entityVersion = entityVersion; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.subscriptionCollections = subscriptionCollections; + _resultValue.subscriptionId = subscriptionId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollection.java new file mode 100644 index 0000000000..244430951a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollection.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.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsSubscriptionCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionsSubscriptionCollection { + private List items; + + private GetSubscriptionsSubscriptionCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionsSubscriptionCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetSubscriptionsSubscriptionCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetSubscriptionsSubscriptionCollectionItem... items) { + return items(List.of(items)); + } + public GetSubscriptionsSubscriptionCollection build() { + final var _resultValue = new GetSubscriptionsSubscriptionCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItem.java new file mode 100644 index 0000000000..6167ee8632 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItem.java @@ -0,0 +1,644 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsSubscriptionCollectionItemPromotion; +import com.pulumi.oci.Tenantmanagercontrolplane.outputs.GetSubscriptionsSubscriptionCollectionItemSkus; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionsSubscriptionCollectionItem { + /** + * @return Classic subscription ID. + * + */ + private String classicSubscriptionId; + /** + * @return The currency code for the customer associated with the subscription. + * + */ + private String cloudAmountCurrency; + /** + * @return The ID of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + private String csiNumber; + /** + * @return Currency code. For example USD, MXN. + * + */ + private String currencyCode; + /** + * @return The country code for the customer associated with the subscription. + * + */ + private String customerCountryCode; + /** + * @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 Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return The version of the subscription entity. + * + */ + private String entityVersion; + /** + * @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + * + */ + private String id; + /** + * @return Specifies whether or not the subscription is from classic systems. + * + */ + private Boolean isClassicSubscription; + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + private Boolean isGovernmentSubscription; + /** + * @return The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + * + */ + private String paymentModel; + /** + * @return Specifies any program that is associated with the subscription. + * + */ + private String programType; + /** + * @return List of promotions related to the subscription. + * + */ + private List promotions; + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + private String purchaseEntitlementId; + /** + * @return Region for the subscription. + * + */ + private String regionAssignment; + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + private String serviceName; + /** + * @return List of SKUs linked to this subscription. + * + */ + private List skuses; + /** + * @return Subscription start time. + * + */ + private String startDate; + /** + * @return Lifecycle state of the subscription. + * + */ + private String state; + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + private String subscriptionNumber; + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + private String subscriptionTier; + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeCreated; + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + private String timeUpdated; + + private GetSubscriptionsSubscriptionCollectionItem() {} + /** + * @return Classic subscription ID. + * + */ + public String classicSubscriptionId() { + return this.classicSubscriptionId; + } + /** + * @return The currency code for the customer associated with the subscription. + * + */ + public String cloudAmountCurrency() { + return this.cloudAmountCurrency; + } + /** + * @return The ID of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Customer service identifier for the customer associated with the subscription. + * + */ + public String csiNumber() { + return this.csiNumber; + } + /** + * @return Currency code. For example USD, MXN. + * + */ + public String currencyCode() { + return this.currencyCode; + } + /** + * @return The country code for the customer associated with the subscription. + * + */ + public String customerCountryCode() { + return this.customerCountryCode; + } + /** + * @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 Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return The version of the subscription entity. + * + */ + public String entityVersion() { + return this.entityVersion; + } + /** + * @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + * + */ + public String id() { + return this.id; + } + /** + * @return Specifies whether or not the subscription is from classic systems. + * + */ + public Boolean isClassicSubscription() { + return this.isClassicSubscription; + } + /** + * @return Specifies whether or not the subscription is a government subscription. + * + */ + public Boolean isGovernmentSubscription() { + return this.isGovernmentSubscription; + } + /** + * @return The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + * + */ + public String paymentModel() { + return this.paymentModel; + } + /** + * @return Specifies any program that is associated with the subscription. + * + */ + public String programType() { + return this.programType; + } + /** + * @return List of promotions related to the subscription. + * + */ + public List promotions() { + return this.promotions; + } + /** + * @return Purchase entitlement ID associated with the subscription. + * + */ + public String purchaseEntitlementId() { + return this.purchaseEntitlementId; + } + /** + * @return Region for the subscription. + * + */ + public String regionAssignment() { + return this.regionAssignment; + } + /** + * @return The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return List of SKUs linked to this subscription. + * + */ + public List skuses() { + return this.skuses; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + /** + * @return Lifecycle state of the subscription. + * + */ + public String state() { + return this.state; + } + /** + * @return Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + * + */ + public String subscriptionNumber() { + return this.subscriptionNumber; + } + /** + * @return Tier for the subscription, whether a free promotion subscription or a paid subscription. + * + */ + public String subscriptionTier() { + return this.subscriptionTier; + } + /** + * @return The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionsSubscriptionCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String classicSubscriptionId; + private String cloudAmountCurrency; + private String compartmentId; + private String csiNumber; + private String currencyCode; + private String customerCountryCode; + private Map definedTags; + private String endDate; + private String entityVersion; + private Map freeformTags; + private String id; + private Boolean isClassicSubscription; + private Boolean isGovernmentSubscription; + private String paymentModel; + private String programType; + private List promotions; + private String purchaseEntitlementId; + private String regionAssignment; + private String serviceName; + private List skuses; + private String startDate; + private String state; + private String subscriptionNumber; + private String subscriptionTier; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetSubscriptionsSubscriptionCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.classicSubscriptionId = defaults.classicSubscriptionId; + this.cloudAmountCurrency = defaults.cloudAmountCurrency; + this.compartmentId = defaults.compartmentId; + this.csiNumber = defaults.csiNumber; + this.currencyCode = defaults.currencyCode; + this.customerCountryCode = defaults.customerCountryCode; + this.definedTags = defaults.definedTags; + this.endDate = defaults.endDate; + this.entityVersion = defaults.entityVersion; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isClassicSubscription = defaults.isClassicSubscription; + this.isGovernmentSubscription = defaults.isGovernmentSubscription; + this.paymentModel = defaults.paymentModel; + this.programType = defaults.programType; + this.promotions = defaults.promotions; + this.purchaseEntitlementId = defaults.purchaseEntitlementId; + this.regionAssignment = defaults.regionAssignment; + this.serviceName = defaults.serviceName; + this.skuses = defaults.skuses; + this.startDate = defaults.startDate; + this.state = defaults.state; + this.subscriptionNumber = defaults.subscriptionNumber; + this.subscriptionTier = defaults.subscriptionTier; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder classicSubscriptionId(String classicSubscriptionId) { + if (classicSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "classicSubscriptionId"); + } + this.classicSubscriptionId = classicSubscriptionId; + return this; + } + @CustomType.Setter + public Builder cloudAmountCurrency(String cloudAmountCurrency) { + if (cloudAmountCurrency == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "cloudAmountCurrency"); + } + this.cloudAmountCurrency = cloudAmountCurrency; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder csiNumber(String csiNumber) { + if (csiNumber == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "csiNumber"); + } + this.csiNumber = csiNumber; + return this; + } + @CustomType.Setter + public Builder currencyCode(String currencyCode) { + if (currencyCode == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "currencyCode"); + } + this.currencyCode = currencyCode; + return this; + } + @CustomType.Setter + public Builder customerCountryCode(String customerCountryCode) { + if (customerCountryCode == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "customerCountryCode"); + } + this.customerCountryCode = customerCountryCode; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder entityVersion(String entityVersion) { + if (entityVersion == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "entityVersion"); + } + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isClassicSubscription(Boolean isClassicSubscription) { + if (isClassicSubscription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "isClassicSubscription"); + } + this.isClassicSubscription = isClassicSubscription; + return this; + } + @CustomType.Setter + public Builder isGovernmentSubscription(Boolean isGovernmentSubscription) { + if (isGovernmentSubscription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "isGovernmentSubscription"); + } + this.isGovernmentSubscription = isGovernmentSubscription; + return this; + } + @CustomType.Setter + public Builder paymentModel(String paymentModel) { + if (paymentModel == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "paymentModel"); + } + this.paymentModel = paymentModel; + return this; + } + @CustomType.Setter + public Builder programType(String programType) { + if (programType == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "programType"); + } + this.programType = programType; + return this; + } + @CustomType.Setter + public Builder promotions(List promotions) { + if (promotions == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "promotions"); + } + this.promotions = promotions; + return this; + } + public Builder promotions(GetSubscriptionsSubscriptionCollectionItemPromotion... promotions) { + return promotions(List.of(promotions)); + } + @CustomType.Setter + public Builder purchaseEntitlementId(String purchaseEntitlementId) { + if (purchaseEntitlementId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "purchaseEntitlementId"); + } + this.purchaseEntitlementId = purchaseEntitlementId; + return this; + } + @CustomType.Setter + public Builder regionAssignment(String regionAssignment) { + if (regionAssignment == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "regionAssignment"); + } + this.regionAssignment = regionAssignment; + return this; + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder skuses(List skuses) { + if (skuses == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "skuses"); + } + this.skuses = skuses; + return this; + } + public Builder skuses(GetSubscriptionsSubscriptionCollectionItemSkus... skuses) { + return skuses(List.of(skuses)); + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "startDate"); + } + this.startDate = startDate; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscriptionNumber(String subscriptionNumber) { + if (subscriptionNumber == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "subscriptionNumber"); + } + this.subscriptionNumber = subscriptionNumber; + return this; + } + @CustomType.Setter + public Builder subscriptionTier(String subscriptionTier) { + if (subscriptionTier == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "subscriptionTier"); + } + this.subscriptionTier = subscriptionTier; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetSubscriptionsSubscriptionCollectionItem build() { + final var _resultValue = new GetSubscriptionsSubscriptionCollectionItem(); + _resultValue.classicSubscriptionId = classicSubscriptionId; + _resultValue.cloudAmountCurrency = cloudAmountCurrency; + _resultValue.compartmentId = compartmentId; + _resultValue.csiNumber = csiNumber; + _resultValue.currencyCode = currencyCode; + _resultValue.customerCountryCode = customerCountryCode; + _resultValue.definedTags = definedTags; + _resultValue.endDate = endDate; + _resultValue.entityVersion = entityVersion; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isClassicSubscription = isClassicSubscription; + _resultValue.isGovernmentSubscription = isGovernmentSubscription; + _resultValue.paymentModel = paymentModel; + _resultValue.programType = programType; + _resultValue.promotions = promotions; + _resultValue.purchaseEntitlementId = purchaseEntitlementId; + _resultValue.regionAssignment = regionAssignment; + _resultValue.serviceName = serviceName; + _resultValue.skuses = skuses; + _resultValue.startDate = startDate; + _resultValue.state = state; + _resultValue.subscriptionNumber = subscriptionNumber; + _resultValue.subscriptionTier = subscriptionTier; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemPromotion.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemPromotion.java new file mode 100644 index 0000000000..8da238fdee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemPromotion.java @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubscriptionsSubscriptionCollectionItemPromotion { + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + private Double amount; + /** + * @return Currency unit associated with the promotion. + * + */ + private String currencyUnit; + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + private Integer duration; + /** + * @return Unit for the duration. + * + */ + private String durationUnit; + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + private Boolean isIntentToPay; + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + private String status; + /** + * @return Date and time when the promotion ends. + * + */ + private String timeExpired; + /** + * @return Date and time when the promotion starts. + * + */ + private String timeStarted; + + private GetSubscriptionsSubscriptionCollectionItemPromotion() {} + /** + * @return If a subscription is present, indicates the total amount of promotional subscription credits. + * + */ + public Double amount() { + return this.amount; + } + /** + * @return Currency unit associated with the promotion. + * + */ + public String currencyUnit() { + return this.currencyUnit; + } + /** + * @return Specifies how long the promotion related to the subscription, if any, is valid in duration units. + * + */ + public Integer duration() { + return this.duration; + } + /** + * @return Unit for the duration. + * + */ + public String durationUnit() { + return this.durationUnit; + } + /** + * @return Speficies whether or not the customer intends to pay after the promotion has expired. + * + */ + public Boolean isIntentToPay() { + return this.isIntentToPay; + } + /** + * @return If a subscription is present, indicates the current status of the subscription promotion. + * + */ + public String status() { + return this.status; + } + /** + * @return Date and time when the promotion ends. + * + */ + public String timeExpired() { + return this.timeExpired; + } + /** + * @return Date and time when the promotion starts. + * + */ + public String timeStarted() { + return this.timeStarted; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionsSubscriptionCollectionItemPromotion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Double amount; + private String currencyUnit; + private Integer duration; + private String durationUnit; + private Boolean isIntentToPay; + private String status; + private String timeExpired; + private String timeStarted; + public Builder() {} + public Builder(GetSubscriptionsSubscriptionCollectionItemPromotion defaults) { + Objects.requireNonNull(defaults); + this.amount = defaults.amount; + this.currencyUnit = defaults.currencyUnit; + this.duration = defaults.duration; + this.durationUnit = defaults.durationUnit; + this.isIntentToPay = defaults.isIntentToPay; + this.status = defaults.status; + this.timeExpired = defaults.timeExpired; + this.timeStarted = defaults.timeStarted; + } + + @CustomType.Setter + public Builder amount(Double amount) { + if (amount == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "amount"); + } + this.amount = amount; + return this; + } + @CustomType.Setter + public Builder currencyUnit(String currencyUnit) { + if (currencyUnit == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "currencyUnit"); + } + this.currencyUnit = currencyUnit; + return this; + } + @CustomType.Setter + public Builder duration(Integer duration) { + if (duration == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "duration"); + } + this.duration = duration; + return this; + } + @CustomType.Setter + public Builder durationUnit(String durationUnit) { + if (durationUnit == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "durationUnit"); + } + this.durationUnit = durationUnit; + return this; + } + @CustomType.Setter + public Builder isIntentToPay(Boolean isIntentToPay) { + if (isIntentToPay == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "isIntentToPay"); + } + this.isIntentToPay = isIntentToPay; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder timeExpired(String timeExpired) { + if (timeExpired == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "timeExpired"); + } + this.timeExpired = timeExpired; + return this; + } + @CustomType.Setter + public Builder timeStarted(String timeStarted) { + if (timeStarted == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemPromotion", "timeStarted"); + } + this.timeStarted = timeStarted; + return this; + } + public GetSubscriptionsSubscriptionCollectionItemPromotion build() { + final var _resultValue = new GetSubscriptionsSubscriptionCollectionItemPromotion(); + _resultValue.amount = amount; + _resultValue.currencyUnit = currencyUnit; + _resultValue.duration = duration; + _resultValue.durationUnit = durationUnit; + _resultValue.isIntentToPay = isIntentToPay; + _resultValue.status = status; + _resultValue.timeExpired = timeExpired; + _resultValue.timeStarted = timeStarted; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemSkus.java b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemSkus.java new file mode 100644 index 0000000000..8c0deb01a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Tenantmanagercontrolplane/outputs/GetSubscriptionsSubscriptionCollectionItemSkus.java @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Tenantmanagercontrolplane.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 GetSubscriptionsSubscriptionCollectionItemSkus { + /** + * @return Description of the stock units. + * + */ + private String description; + /** + * @return Date and time when the SKU ended. + * + */ + private String endDate; + /** + * @return Sales order line identifier. + * + */ + private String gsiOrderLineId; + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + private Boolean isAdditionalInstance; + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + private Boolean isBaseServiceComponent; + /** + * @return Description of the covered product belonging to this SKU. + * + */ + private String licensePartDescription; + /** + * @return Base metric for billing the service. + * + */ + private String metricName; + /** + * @return Quantity of the stock units. + * + */ + private Integer quantity; + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + private String sku; + /** + * @return Subscription start time. + * + */ + private String startDate; + + private GetSubscriptionsSubscriptionCollectionItemSkus() {} + /** + * @return Description of the stock units. + * + */ + public String description() { + return this.description; + } + /** + * @return Date and time when the SKU ended. + * + */ + public String endDate() { + return this.endDate; + } + /** + * @return Sales order line identifier. + * + */ + public String gsiOrderLineId() { + return this.gsiOrderLineId; + } + /** + * @return Specifies if an additional test instance can be provisioned by the SaaS application. + * + */ + public Boolean isAdditionalInstance() { + return this.isAdditionalInstance; + } + /** + * @return Specifies if the SKU is considered as a parent or child. + * + */ + public Boolean isBaseServiceComponent() { + return this.isBaseServiceComponent; + } + /** + * @return Description of the covered product belonging to this SKU. + * + */ + public String licensePartDescription() { + return this.licensePartDescription; + } + /** + * @return Base metric for billing the service. + * + */ + public String metricName() { + return this.metricName; + } + /** + * @return Quantity of the stock units. + * + */ + public Integer quantity() { + return this.quantity; + } + /** + * @return Stock Keeping Unit (SKU) ID. + * + */ + public String sku() { + return this.sku; + } + /** + * @return Subscription start time. + * + */ + public String startDate() { + return this.startDate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubscriptionsSubscriptionCollectionItemSkus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String endDate; + private String gsiOrderLineId; + private Boolean isAdditionalInstance; + private Boolean isBaseServiceComponent; + private String licensePartDescription; + private String metricName; + private Integer quantity; + private String sku; + private String startDate; + public Builder() {} + public Builder(GetSubscriptionsSubscriptionCollectionItemSkus defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.endDate = defaults.endDate; + this.gsiOrderLineId = defaults.gsiOrderLineId; + this.isAdditionalInstance = defaults.isAdditionalInstance; + this.isBaseServiceComponent = defaults.isBaseServiceComponent; + this.licensePartDescription = defaults.licensePartDescription; + this.metricName = defaults.metricName; + this.quantity = defaults.quantity; + this.sku = defaults.sku; + this.startDate = defaults.startDate; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder endDate(String endDate) { + if (endDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "endDate"); + } + this.endDate = endDate; + return this; + } + @CustomType.Setter + public Builder gsiOrderLineId(String gsiOrderLineId) { + if (gsiOrderLineId == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "gsiOrderLineId"); + } + this.gsiOrderLineId = gsiOrderLineId; + return this; + } + @CustomType.Setter + public Builder isAdditionalInstance(Boolean isAdditionalInstance) { + if (isAdditionalInstance == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "isAdditionalInstance"); + } + this.isAdditionalInstance = isAdditionalInstance; + return this; + } + @CustomType.Setter + public Builder isBaseServiceComponent(Boolean isBaseServiceComponent) { + if (isBaseServiceComponent == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "isBaseServiceComponent"); + } + this.isBaseServiceComponent = isBaseServiceComponent; + return this; + } + @CustomType.Setter + public Builder licensePartDescription(String licensePartDescription) { + if (licensePartDescription == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "licensePartDescription"); + } + this.licensePartDescription = licensePartDescription; + return this; + } + @CustomType.Setter + public Builder metricName(String metricName) { + if (metricName == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "metricName"); + } + this.metricName = metricName; + return this; + } + @CustomType.Setter + public Builder quantity(Integer quantity) { + if (quantity == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "quantity"); + } + this.quantity = quantity; + return this; + } + @CustomType.Setter + public Builder sku(String sku) { + if (sku == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "sku"); + } + this.sku = sku; + return this; + } + @CustomType.Setter + public Builder startDate(String startDate) { + if (startDate == null) { + throw new MissingRequiredPropertyException("GetSubscriptionsSubscriptionCollectionItemSkus", "startDate"); + } + this.startDate = startDate; + return this; + } + public GetSubscriptionsSubscriptionCollectionItemSkus build() { + final var _resultValue = new GetSubscriptionsSubscriptionCollectionItemSkus(); + _resultValue.description = description; + _resultValue.endDate = endDate; + _resultValue.gsiOrderLineId = gsiOrderLineId; + _resultValue.isAdditionalInstance = isAdditionalInstance; + _resultValue.isBaseServiceComponent = isBaseServiceComponent; + _resultValue.licensePartDescription = licensePartDescription; + _resultValue.metricName = metricName; + _resultValue.quantity = quantity; + _resultValue.sku = sku; + _resultValue.startDate = startDate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/Secret.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/Secret.java index 0ba4a856ba..1c43702a99 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/Secret.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/Secret.java @@ -12,10 +12,13 @@ import com.pulumi.oci.Vault.inputs.SecretState; import com.pulumi.oci.Vault.outputs.SecretRotationConfig; import com.pulumi.oci.Vault.outputs.SecretSecretContent; +import com.pulumi.oci.Vault.outputs.SecretSecretGenerationContext; import com.pulumi.oci.Vault.outputs.SecretSecretRule; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; +import java.util.Optional; import javax.annotation.Nullable; /** @@ -90,6 +93,20 @@ public Output> definedTags() { public Output description() { return this.description; } + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + @Export(name="enableAutoGeneration", refs={Boolean.class}, tree="[0]") + private Output enableAutoGeneration; + + /** + * @return (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + public Output> enableAutoGeneration() { + return Codegen.optional(this.enableAutoGeneration); + } /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -104,6 +121,20 @@ public Output description() { public Output> freeformTags() { return this.freeformTags; } + /** + * The value of this flag determines whether or not secret content will be generated automatically. + * + */ + @Export(name="isAutoGenerationEnabled", refs={Boolean.class}, tree="[0]") + private Output isAutoGenerationEnabled; + + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + public Output isAutoGenerationEnabled() { + return this.isAutoGenerationEnabled; + } /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -216,6 +247,20 @@ public Output rotationStatus() { public Output secretContent() { return this.secretContent; } + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + @Export(name="secretGenerationContext", refs={SecretSecretGenerationContext.class}, tree="[0]") + private Output secretGenerationContext; + + /** + * @return (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + public Output secretGenerationContext() { + return this.secretGenerationContext; + } /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/SecretArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/SecretArgs.java index 05f347f30c..0d61026248 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/SecretArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/SecretArgs.java @@ -8,7 +8,9 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Vault.inputs.SecretRotationConfigArgs; import com.pulumi.oci.Vault.inputs.SecretSecretContentArgs; +import com.pulumi.oci.Vault.inputs.SecretSecretGenerationContextArgs; import com.pulumi.oci.Vault.inputs.SecretSecretRuleArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -66,6 +68,21 @@ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + @Import(name="enableAutoGeneration") + private @Nullable Output enableAutoGeneration; + + /** + * @return (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + public Optional> enableAutoGeneration() { + return Optional.ofNullable(this.enableAutoGeneration); + } + /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -141,6 +158,21 @@ public Optional> secretContent() { return Optional.ofNullable(this.secretContent); } + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + @Import(name="secretGenerationContext") + private @Nullable Output secretGenerationContext; + + /** + * @return (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + public Optional> secretGenerationContext() { + return Optional.ofNullable(this.secretGenerationContext); + } + /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * @@ -198,11 +230,13 @@ private SecretArgs(SecretArgs $) { this.compartmentId = $.compartmentId; this.definedTags = $.definedTags; this.description = $.description; + this.enableAutoGeneration = $.enableAutoGeneration; this.freeformTags = $.freeformTags; this.keyId = $.keyId; this.metadata = $.metadata; this.rotationConfig = $.rotationConfig; this.secretContent = $.secretContent; + this.secretGenerationContext = $.secretGenerationContext; this.secretName = $.secretName; this.secretRules = $.secretRules; this.vaultId = $.vaultId; @@ -289,6 +323,27 @@ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param enableAutoGeneration (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + * @return builder + * + */ + public Builder enableAutoGeneration(@Nullable Output enableAutoGeneration) { + $.enableAutoGeneration = enableAutoGeneration; + return this; + } + + /** + * @param enableAutoGeneration (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + * @return builder + * + */ + public Builder enableAutoGeneration(Boolean enableAutoGeneration) { + return enableAutoGeneration(Output.of(enableAutoGeneration)); + } + /** * @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"}` * @@ -394,6 +449,27 @@ public Builder secretContent(SecretSecretContentArgs secretContent) { return secretContent(Output.of(secretContent)); } + /** + * @param secretGenerationContext (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + * @return builder + * + */ + public Builder secretGenerationContext(@Nullable Output secretGenerationContext) { + $.secretGenerationContext = secretGenerationContext; + return this; + } + + /** + * @param secretGenerationContext (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + * @return builder + * + */ + public Builder secretGenerationContext(SecretSecretGenerationContextArgs secretGenerationContext) { + return secretGenerationContext(Output.of(secretGenerationContext)); + } + /** * @param secretName A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/VaultFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/VaultFunctions.java index a25a9240e3..da3b7883bf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/VaultFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/VaultFunctions.java @@ -11,12 +11,12 @@ import com.pulumi.oci.Utilities; import com.pulumi.oci.Vault.inputs.GetSecretArgs; import com.pulumi.oci.Vault.inputs.GetSecretPlainArgs; -import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs; -import com.pulumi.oci.Vault.inputs.GetSecretVersionPlainArgs; +import com.pulumi.oci.Vault.inputs.GetSecretVersionSdkV2Args; +import com.pulumi.oci.Vault.inputs.GetSecretVersionSdkV2PlainArgs; import com.pulumi.oci.Vault.inputs.GetSecretsArgs; import com.pulumi.oci.Vault.inputs.GetSecretsPlainArgs; import com.pulumi.oci.Vault.outputs.GetSecretResult; -import com.pulumi.oci.Vault.outputs.GetSecretVersionResult; +import com.pulumi.oci.Vault.outputs.GetSecretVersionSdkV2Result; import com.pulumi.oci.Vault.outputs.GetSecretsResult; import java.util.concurrent.CompletableFuture; @@ -241,230 +241,20 @@ public static Output getSecret(GetSecretArgs args, InvokeOutput public static CompletableFuture getSecretPlain(GetSecretPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:Vault/getSecret:getSecret", TypeShape.of(GetSecretResult.class), args, Utilities.withVersion(options)); } - /** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## 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.Vault.VaultFunctions;
-     * import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;
-     * 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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()
-     *             .secretId(testSecret.id())
-     *             .secretVersionNumber(secretVersionSecretVersionNumber)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getSecretVersion(GetSecretVersionArgs args) { - return getSecretVersion(args, InvokeOptions.Empty); + public static Output getSecretVersionSdkV2(GetSecretVersionSdkV2Args args) { + return getSecretVersionSdkV2(args, InvokeOptions.Empty); } - /** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## 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.Vault.VaultFunctions;
-     * import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;
-     * 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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()
-     *             .secretId(testSecret.id())
-     *             .secretVersionNumber(secretVersionSecretVersionNumber)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getSecretVersionPlain(GetSecretVersionPlainArgs args) { - return getSecretVersionPlain(args, InvokeOptions.Empty); + public static CompletableFuture getSecretVersionSdkV2Plain(GetSecretVersionSdkV2PlainArgs args) { + return getSecretVersionSdkV2Plain(args, InvokeOptions.Empty); } - /** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## 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.Vault.VaultFunctions;
-     * import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;
-     * 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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()
-     *             .secretId(testSecret.id())
-     *             .secretVersionNumber(secretVersionSecretVersionNumber)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getSecretVersion(GetSecretVersionArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:Vault/getSecretVersion:getSecretVersion", TypeShape.of(GetSecretVersionResult.class), args, Utilities.withVersion(options)); + public static Output getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", TypeShape.of(GetSecretVersionSdkV2Result.class), args, Utilities.withVersion(options)); } - /** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## 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.Vault.VaultFunctions;
-     * import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;
-     * 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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()
-     *             .secretId(testSecret.id())
-     *             .secretVersionNumber(secretVersionSecretVersionNumber)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getSecretVersion(GetSecretVersionArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("oci:Vault/getSecretVersion:getSecretVersion", TypeShape.of(GetSecretVersionResult.class), args, Utilities.withVersion(options)); + public static Output getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", TypeShape.of(GetSecretVersionSdkV2Result.class), args, Utilities.withVersion(options)); } - /** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## 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.Vault.VaultFunctions;
-     * import com.pulumi.oci.Vault.inputs.GetSecretVersionArgs;
-     * 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 testSecretVersion = VaultFunctions.getSecretVersion(GetSecretVersionArgs.builder()
-     *             .secretId(testSecret.id())
-     *             .secretVersionNumber(secretVersionSecretVersionNumber)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getSecretVersionPlain(GetSecretVersionPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:Vault/getSecretVersion:getSecretVersion", TypeShape.of(GetSecretVersionResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getSecretVersionSdkV2Plain(GetSecretVersionSdkV2PlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", TypeShape.of(GetSecretVersionSdkV2Result.class), args, Utilities.withVersion(options)); } /** * This data source provides the list of Secrets in Oracle Cloud Infrastructure Vault service. diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2Args.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2Args.java index 3e55247e38..1fc3411b29 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2Args.java @@ -10,43 +10,27 @@ import java.util.Objects; -public final class GetSecretVersionArgs extends com.pulumi.resources.InvokeArgs { +public final class GetSecretVersionSdkV2Args extends com.pulumi.resources.InvokeArgs { - public static final GetSecretVersionArgs Empty = new GetSecretVersionArgs(); + public static final GetSecretVersionSdkV2Args Empty = new GetSecretVersionSdkV2Args(); - /** - * The OCID of the secret. - * - */ @Import(name="secretId", required=true) private Output secretId; - /** - * @return The OCID of the secret. - * - */ public Output secretId() { return this.secretId; } - /** - * The version number of the secret. - * - */ @Import(name="secretVersionNumber", required=true) private Output secretVersionNumber; - /** - * @return The version number of the secret. - * - */ public Output secretVersionNumber() { return this.secretVersionNumber; } - private GetSecretVersionArgs() {} + private GetSecretVersionSdkV2Args() {} - private GetSecretVersionArgs(GetSecretVersionArgs $) { + private GetSecretVersionSdkV2Args(GetSecretVersionSdkV2Args $) { this.secretId = $.secretId; this.secretVersionNumber = $.secretVersionNumber; } @@ -54,69 +38,45 @@ private GetSecretVersionArgs(GetSecretVersionArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetSecretVersionArgs defaults) { + public static Builder builder(GetSecretVersionSdkV2Args defaults) { return new Builder(defaults); } public static final class Builder { - private GetSecretVersionArgs $; + private GetSecretVersionSdkV2Args $; public Builder() { - $ = new GetSecretVersionArgs(); + $ = new GetSecretVersionSdkV2Args(); } - public Builder(GetSecretVersionArgs defaults) { - $ = new GetSecretVersionArgs(Objects.requireNonNull(defaults)); + public Builder(GetSecretVersionSdkV2Args defaults) { + $ = new GetSecretVersionSdkV2Args(Objects.requireNonNull(defaults)); } - /** - * @param secretId The OCID of the secret. - * - * @return builder - * - */ public Builder secretId(Output secretId) { $.secretId = secretId; return this; } - /** - * @param secretId The OCID of the secret. - * - * @return builder - * - */ public Builder secretId(String secretId) { return secretId(Output.of(secretId)); } - /** - * @param secretVersionNumber The version number of the secret. - * - * @return builder - * - */ public Builder secretVersionNumber(Output secretVersionNumber) { $.secretVersionNumber = secretVersionNumber; return this; } - /** - * @param secretVersionNumber The version number of the secret. - * - * @return builder - * - */ public Builder secretVersionNumber(String secretVersionNumber) { return secretVersionNumber(Output.of(secretVersionNumber)); } - public GetSecretVersionArgs build() { + public GetSecretVersionSdkV2Args build() { if ($.secretId == null) { - throw new MissingRequiredPropertyException("GetSecretVersionArgs", "secretId"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Args", "secretId"); } if ($.secretVersionNumber == null) { - throw new MissingRequiredPropertyException("GetSecretVersionArgs", "secretVersionNumber"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Args", "secretVersionNumber"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2PlainArgs.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionPlainArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2PlainArgs.java index e26e88f75d..4d8c68f370 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/GetSecretVersionSdkV2PlainArgs.java @@ -9,43 +9,27 @@ import java.util.Objects; -public final class GetSecretVersionPlainArgs extends com.pulumi.resources.InvokeArgs { +public final class GetSecretVersionSdkV2PlainArgs extends com.pulumi.resources.InvokeArgs { - public static final GetSecretVersionPlainArgs Empty = new GetSecretVersionPlainArgs(); + public static final GetSecretVersionSdkV2PlainArgs Empty = new GetSecretVersionSdkV2PlainArgs(); - /** - * The OCID of the secret. - * - */ @Import(name="secretId", required=true) private String secretId; - /** - * @return The OCID of the secret. - * - */ public String secretId() { return this.secretId; } - /** - * The version number of the secret. - * - */ @Import(name="secretVersionNumber", required=true) private String secretVersionNumber; - /** - * @return The version number of the secret. - * - */ public String secretVersionNumber() { return this.secretVersionNumber; } - private GetSecretVersionPlainArgs() {} + private GetSecretVersionSdkV2PlainArgs() {} - private GetSecretVersionPlainArgs(GetSecretVersionPlainArgs $) { + private GetSecretVersionSdkV2PlainArgs(GetSecretVersionSdkV2PlainArgs $) { this.secretId = $.secretId; this.secretVersionNumber = $.secretVersionNumber; } @@ -53,49 +37,37 @@ private GetSecretVersionPlainArgs(GetSecretVersionPlainArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetSecretVersionPlainArgs defaults) { + public static Builder builder(GetSecretVersionSdkV2PlainArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetSecretVersionPlainArgs $; + private GetSecretVersionSdkV2PlainArgs $; public Builder() { - $ = new GetSecretVersionPlainArgs(); + $ = new GetSecretVersionSdkV2PlainArgs(); } - public Builder(GetSecretVersionPlainArgs defaults) { - $ = new GetSecretVersionPlainArgs(Objects.requireNonNull(defaults)); + public Builder(GetSecretVersionSdkV2PlainArgs defaults) { + $ = new GetSecretVersionSdkV2PlainArgs(Objects.requireNonNull(defaults)); } - /** - * @param secretId The OCID of the secret. - * - * @return builder - * - */ public Builder secretId(String secretId) { $.secretId = secretId; return this; } - /** - * @param secretVersionNumber The version number of the secret. - * - * @return builder - * - */ public Builder secretVersionNumber(String secretVersionNumber) { $.secretVersionNumber = secretVersionNumber; return this; } - public GetSecretVersionPlainArgs build() { + public GetSecretVersionSdkV2PlainArgs build() { if ($.secretId == null) { - throw new MissingRequiredPropertyException("GetSecretVersionPlainArgs", "secretId"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2PlainArgs", "secretId"); } if ($.secretVersionNumber == null) { - throw new MissingRequiredPropertyException("GetSecretVersionPlainArgs", "secretVersionNumber"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2PlainArgs", "secretVersionNumber"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretSecretGenerationContextArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretSecretGenerationContextArgs.java new file mode 100644 index 0000000000..0c08a1648f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretSecretGenerationContextArgs.java @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Vault.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SecretSecretGenerationContextArgs extends com.pulumi.resources.ResourceArgs { + + public static final SecretSecretGenerationContextArgs Empty = new SecretSecretGenerationContextArgs(); + + /** + * (Updatable) Name of random bytes generation template for generating random byte type secret. + * + */ + @Import(name="generationTemplate", required=true) + private Output generationTemplate; + + /** + * @return (Updatable) Name of random bytes generation template for generating random byte type secret. + * + */ + public Output generationTemplate() { + return this.generationTemplate; + } + + /** + * (Updatable) Name of the predefined secret generation type. + * + */ + @Import(name="generationType", required=true) + private Output generationType; + + /** + * @return (Updatable) Name of the predefined secret generation type. + * + */ + public Output generationType() { + return this.generationType; + } + + /** + * (Updatable) Length of the passphrase to be generated + * + */ + @Import(name="passphraseLength") + private @Nullable Output passphraseLength; + + /** + * @return (Updatable) Length of the passphrase to be generated + * + */ + public Optional> passphraseLength() { + return Optional.ofNullable(this.passphraseLength); + } + + /** + * (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + @Import(name="secretTemplate") + private @Nullable Output secretTemplate; + + /** + * @return (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + public Optional> secretTemplate() { + return Optional.ofNullable(this.secretTemplate); + } + + private SecretSecretGenerationContextArgs() {} + + private SecretSecretGenerationContextArgs(SecretSecretGenerationContextArgs $) { + this.generationTemplate = $.generationTemplate; + this.generationType = $.generationType; + this.passphraseLength = $.passphraseLength; + this.secretTemplate = $.secretTemplate; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SecretSecretGenerationContextArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SecretSecretGenerationContextArgs $; + + public Builder() { + $ = new SecretSecretGenerationContextArgs(); + } + + public Builder(SecretSecretGenerationContextArgs defaults) { + $ = new SecretSecretGenerationContextArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param generationTemplate (Updatable) Name of random bytes generation template for generating random byte type secret. + * + * @return builder + * + */ + public Builder generationTemplate(Output generationTemplate) { + $.generationTemplate = generationTemplate; + return this; + } + + /** + * @param generationTemplate (Updatable) Name of random bytes generation template for generating random byte type secret. + * + * @return builder + * + */ + public Builder generationTemplate(String generationTemplate) { + return generationTemplate(Output.of(generationTemplate)); + } + + /** + * @param generationType (Updatable) Name of the predefined secret generation type. + * + * @return builder + * + */ + public Builder generationType(Output generationType) { + $.generationType = generationType; + return this; + } + + /** + * @param generationType (Updatable) Name of the predefined secret generation type. + * + * @return builder + * + */ + public Builder generationType(String generationType) { + return generationType(Output.of(generationType)); + } + + /** + * @param passphraseLength (Updatable) Length of the passphrase to be generated + * + * @return builder + * + */ + public Builder passphraseLength(@Nullable Output passphraseLength) { + $.passphraseLength = passphraseLength; + return this; + } + + /** + * @param passphraseLength (Updatable) Length of the passphrase to be generated + * + * @return builder + * + */ + public Builder passphraseLength(Integer passphraseLength) { + return passphraseLength(Output.of(passphraseLength)); + } + + /** + * @param secretTemplate (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + * @return builder + * + */ + public Builder secretTemplate(@Nullable Output secretTemplate) { + $.secretTemplate = secretTemplate; + return this; + } + + /** + * @param secretTemplate (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + * @return builder + * + */ + public Builder secretTemplate(String secretTemplate) { + return secretTemplate(Output.of(secretTemplate)); + } + + public SecretSecretGenerationContextArgs build() { + if ($.generationTemplate == null) { + throw new MissingRequiredPropertyException("SecretSecretGenerationContextArgs", "generationTemplate"); + } + if ($.generationType == null) { + throw new MissingRequiredPropertyException("SecretSecretGenerationContextArgs", "generationType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretState.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretState.java index 86c164517d..f5b6729be9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/inputs/SecretState.java @@ -7,7 +7,9 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.Vault.inputs.SecretRotationConfigArgs; import com.pulumi.oci.Vault.inputs.SecretSecretContentArgs; +import com.pulumi.oci.Vault.inputs.SecretSecretGenerationContextArgs; import com.pulumi.oci.Vault.inputs.SecretSecretRuleArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -80,6 +82,21 @@ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + @Import(name="enableAutoGeneration") + private @Nullable Output enableAutoGeneration; + + /** + * @return (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + */ + public Optional> enableAutoGeneration() { + return Optional.ofNullable(this.enableAutoGeneration); + } + /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -95,6 +112,21 @@ public Optional>> freeformTags() { return Optional.ofNullable(this.freeformTags); } + /** + * The value of this flag determines whether or not secret content will be generated automatically. + * + */ + @Import(name="isAutoGenerationEnabled") + private @Nullable Output isAutoGenerationEnabled; + + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + public Optional> isAutoGenerationEnabled() { + return Optional.ofNullable(this.isAutoGenerationEnabled); + } + /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -215,6 +247,21 @@ public Optional> secretContent() { return Optional.ofNullable(this.secretContent); } + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + @Import(name="secretGenerationContext") + private @Nullable Output secretGenerationContext; + + /** + * @return (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + public Optional> secretGenerationContext() { + return Optional.ofNullable(this.secretGenerationContext); + } + /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * @@ -333,7 +380,9 @@ private SecretState(SecretState $) { this.currentVersionNumber = $.currentVersionNumber; this.definedTags = $.definedTags; this.description = $.description; + this.enableAutoGeneration = $.enableAutoGeneration; this.freeformTags = $.freeformTags; + this.isAutoGenerationEnabled = $.isAutoGenerationEnabled; this.keyId = $.keyId; this.lastRotationTime = $.lastRotationTime; this.lifecycleDetails = $.lifecycleDetails; @@ -342,6 +391,7 @@ private SecretState(SecretState $) { this.rotationConfig = $.rotationConfig; this.rotationStatus = $.rotationStatus; this.secretContent = $.secretContent; + this.secretGenerationContext = $.secretGenerationContext; this.secretName = $.secretName; this.secretRules = $.secretRules; this.state = $.state; @@ -453,6 +503,27 @@ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param enableAutoGeneration (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + * @return builder + * + */ + public Builder enableAutoGeneration(@Nullable Output enableAutoGeneration) { + $.enableAutoGeneration = enableAutoGeneration; + return this; + } + + /** + * @param enableAutoGeneration (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + * + * @return builder + * + */ + public Builder enableAutoGeneration(Boolean enableAutoGeneration) { + return enableAutoGeneration(Output.of(enableAutoGeneration)); + } + /** * @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"}` * @@ -474,6 +545,27 @@ public Builder freeformTags(Map freeformTags) { return freeformTags(Output.of(freeformTags)); } + /** + * @param isAutoGenerationEnabled The value of this flag determines whether or not secret content will be generated automatically. + * + * @return builder + * + */ + public Builder isAutoGenerationEnabled(@Nullable Output isAutoGenerationEnabled) { + $.isAutoGenerationEnabled = isAutoGenerationEnabled; + return this; + } + + /** + * @param isAutoGenerationEnabled The value of this flag determines whether or not secret content will be generated automatically. + * + * @return builder + * + */ + public Builder isAutoGenerationEnabled(Boolean isAutoGenerationEnabled) { + return isAutoGenerationEnabled(Output.of(isAutoGenerationEnabled)); + } + /** * @param keyId The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -642,6 +734,27 @@ public Builder secretContent(SecretSecretContentArgs secretContent) { return secretContent(Output.of(secretContent)); } + /** + * @param secretGenerationContext (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + * @return builder + * + */ + public Builder secretGenerationContext(@Nullable Output secretGenerationContext) { + $.secretGenerationContext = secretGenerationContext; + return this; + } + + /** + * @param secretGenerationContext (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + * @return builder + * + */ + public Builder secretGenerationContext(SecretSecretGenerationContextArgs secretGenerationContext) { + return secretGenerationContext(Output.of(secretGenerationContext)); + } + /** * @param secretName A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretResult.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretResult.java index 1ab0e301ac..2525942f22 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretResult.java @@ -7,7 +7,9 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Vault.outputs.GetSecretRotationConfig; import com.pulumi.oci.Vault.outputs.GetSecretSecretContent; +import com.pulumi.oci.Vault.outputs.GetSecretSecretGenerationContext; import com.pulumi.oci.Vault.outputs.GetSecretSecretRule; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -35,6 +37,7 @@ public final class GetSecretResult { * */ private String description; + private Boolean enableAutoGeneration; /** * @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"}` * @@ -45,6 +48,11 @@ public final class GetSecretResult { * */ private String id; + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + private Boolean isAutoGenerationEnabled; /** * @return The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -81,6 +89,11 @@ public final class GetSecretResult { */ private String rotationStatus; private List secretContents; + /** + * @return Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + private List secretGenerationContexts; private String secretId; /** * @return The user-friendly name of the secret. Avoid entering confidential information. @@ -147,6 +160,9 @@ public Map definedTags() { public String description() { return this.description; } + public Boolean enableAutoGeneration() { + return this.enableAutoGeneration; + } /** * @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"}` * @@ -161,6 +177,13 @@ public Map freeformTags() { public String id() { return this.id; } + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + public Boolean isAutoGenerationEnabled() { + return this.isAutoGenerationEnabled; + } /** * @return The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -213,6 +236,13 @@ public String rotationStatus() { public List secretContents() { return this.secretContents; } + /** + * @return Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + public List secretGenerationContexts() { + return this.secretGenerationContexts; + } public String secretId() { return this.secretId; } @@ -279,8 +309,10 @@ public static final class Builder { private String currentVersionNumber; private Map definedTags; private String description; + private Boolean enableAutoGeneration; private Map freeformTags; private String id; + private Boolean isAutoGenerationEnabled; private String keyId; private String lastRotationTime; private String lifecycleDetails; @@ -289,6 +321,7 @@ public static final class Builder { private List rotationConfigs; private String rotationStatus; private List secretContents; + private List secretGenerationContexts; private String secretId; private String secretName; private List secretRules; @@ -304,8 +337,10 @@ public Builder(GetSecretResult defaults) { this.currentVersionNumber = defaults.currentVersionNumber; this.definedTags = defaults.definedTags; this.description = defaults.description; + this.enableAutoGeneration = defaults.enableAutoGeneration; this.freeformTags = defaults.freeformTags; this.id = defaults.id; + this.isAutoGenerationEnabled = defaults.isAutoGenerationEnabled; this.keyId = defaults.keyId; this.lastRotationTime = defaults.lastRotationTime; this.lifecycleDetails = defaults.lifecycleDetails; @@ -314,6 +349,7 @@ public Builder(GetSecretResult defaults) { this.rotationConfigs = defaults.rotationConfigs; this.rotationStatus = defaults.rotationStatus; this.secretContents = defaults.secretContents; + this.secretGenerationContexts = defaults.secretGenerationContexts; this.secretId = defaults.secretId; this.secretName = defaults.secretName; this.secretRules = defaults.secretRules; @@ -357,6 +393,14 @@ public Builder description(String description) { return this; } @CustomType.Setter + public Builder enableAutoGeneration(Boolean enableAutoGeneration) { + if (enableAutoGeneration == null) { + throw new MissingRequiredPropertyException("GetSecretResult", "enableAutoGeneration"); + } + this.enableAutoGeneration = enableAutoGeneration; + return this; + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { if (freeformTags == null) { throw new MissingRequiredPropertyException("GetSecretResult", "freeformTags"); @@ -373,6 +417,14 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder isAutoGenerationEnabled(Boolean isAutoGenerationEnabled) { + if (isAutoGenerationEnabled == null) { + throw new MissingRequiredPropertyException("GetSecretResult", "isAutoGenerationEnabled"); + } + this.isAutoGenerationEnabled = isAutoGenerationEnabled; + return this; + } + @CustomType.Setter public Builder keyId(String keyId) { if (keyId == null) { throw new MissingRequiredPropertyException("GetSecretResult", "keyId"); @@ -443,6 +495,17 @@ public Builder secretContents(GetSecretSecretContent... secretContents) { return secretContents(List.of(secretContents)); } @CustomType.Setter + public Builder secretGenerationContexts(List secretGenerationContexts) { + if (secretGenerationContexts == null) { + throw new MissingRequiredPropertyException("GetSecretResult", "secretGenerationContexts"); + } + this.secretGenerationContexts = secretGenerationContexts; + return this; + } + public Builder secretGenerationContexts(GetSecretSecretGenerationContext... secretGenerationContexts) { + return secretGenerationContexts(List.of(secretGenerationContexts)); + } + @CustomType.Setter public Builder secretId(String secretId) { if (secretId == null) { throw new MissingRequiredPropertyException("GetSecretResult", "secretId"); @@ -515,8 +578,10 @@ public GetSecretResult build() { _resultValue.currentVersionNumber = currentVersionNumber; _resultValue.definedTags = definedTags; _resultValue.description = description; + _resultValue.enableAutoGeneration = enableAutoGeneration; _resultValue.freeformTags = freeformTags; _resultValue.id = id; + _resultValue.isAutoGenerationEnabled = isAutoGenerationEnabled; _resultValue.keyId = keyId; _resultValue.lastRotationTime = lastRotationTime; _resultValue.lifecycleDetails = lifecycleDetails; @@ -525,6 +590,7 @@ public GetSecretResult build() { _resultValue.rotationConfigs = rotationConfigs; _resultValue.rotationStatus = rotationStatus; _resultValue.secretContents = secretContents; + _resultValue.secretGenerationContexts = secretGenerationContexts; _resultValue.secretId = secretId; _resultValue.secretName = secretName; _resultValue.secretRules = secretRules; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretSecretGenerationContext.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretSecretGenerationContext.java new file mode 100644 index 0000000000..27c5d4da7c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretSecretGenerationContext.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.Vault.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 GetSecretSecretGenerationContext { + /** + * @return Name of random bytes generation template for generating random byte type secret. + * + */ + private String generationTemplate; + /** + * @return Name of the predefined secret generation type. + * + */ + private String generationType; + /** + * @return Length of the passphrase to be generated + * + */ + private Integer passphraseLength; + /** + * @return SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + private String secretTemplate; + + private GetSecretSecretGenerationContext() {} + /** + * @return Name of random bytes generation template for generating random byte type secret. + * + */ + public String generationTemplate() { + return this.generationTemplate; + } + /** + * @return Name of the predefined secret generation type. + * + */ + public String generationType() { + return this.generationType; + } + /** + * @return Length of the passphrase to be generated + * + */ + public Integer passphraseLength() { + return this.passphraseLength; + } + /** + * @return SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + public String secretTemplate() { + return this.secretTemplate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSecretSecretGenerationContext defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String generationTemplate; + private String generationType; + private Integer passphraseLength; + private String secretTemplate; + public Builder() {} + public Builder(GetSecretSecretGenerationContext defaults) { + Objects.requireNonNull(defaults); + this.generationTemplate = defaults.generationTemplate; + this.generationType = defaults.generationType; + this.passphraseLength = defaults.passphraseLength; + this.secretTemplate = defaults.secretTemplate; + } + + @CustomType.Setter + public Builder generationTemplate(String generationTemplate) { + if (generationTemplate == null) { + throw new MissingRequiredPropertyException("GetSecretSecretGenerationContext", "generationTemplate"); + } + this.generationTemplate = generationTemplate; + return this; + } + @CustomType.Setter + public Builder generationType(String generationType) { + if (generationType == null) { + throw new MissingRequiredPropertyException("GetSecretSecretGenerationContext", "generationType"); + } + this.generationType = generationType; + return this; + } + @CustomType.Setter + public Builder passphraseLength(Integer passphraseLength) { + if (passphraseLength == null) { + throw new MissingRequiredPropertyException("GetSecretSecretGenerationContext", "passphraseLength"); + } + this.passphraseLength = passphraseLength; + return this; + } + @CustomType.Setter + public Builder secretTemplate(String secretTemplate) { + if (secretTemplate == null) { + throw new MissingRequiredPropertyException("GetSecretSecretGenerationContext", "secretTemplate"); + } + this.secretTemplate = secretTemplate; + return this; + } + public GetSecretSecretGenerationContext build() { + final var _resultValue = new GetSecretSecretGenerationContext(); + _resultValue.generationTemplate = generationTemplate; + _resultValue.generationType = generationType; + _resultValue.passphraseLength = passphraseLength; + _resultValue.secretTemplate = secretTemplate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionResult.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionSdkV2Result.java similarity index 59% rename from sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionResult.java rename to sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionSdkV2Result.java index b575ed855b..5517ec5f3d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretVersionSdkV2Result.java @@ -5,64 +5,30 @@ 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; @CustomType -public final class GetSecretVersionResult { - /** - * @return The content type of the secret version's secret contents. - * - */ +public final class GetSecretVersionSdkV2Result { private String contentType; /** * @return The provider-assigned unique ID for this managed resource. * */ private String id; - /** - * @return The name of the secret version. A name is unique across versions of a secret. - * - */ + private Boolean isContentAutoGenerated; private String name; - /** - * @return The OCID of the secret. - * - */ private String secretId; private String secretVersionNumber; - /** - * @return A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - * - */ private List stages; - /** - * @return A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ private String timeCreated; - /** - * @return An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ private String timeOfCurrentVersionExpiry; - /** - * @return An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ private String timeOfDeletion; - /** - * @return The version number of the secret. - * - */ private String versionNumber; - private GetSecretVersionResult() {} - /** - * @return The content type of the secret version's secret contents. - * - */ + private GetSecretVersionSdkV2Result() {} public String contentType() { return this.contentType; } @@ -73,55 +39,30 @@ public String contentType() { public String id() { return this.id; } - /** - * @return The name of the secret version. A name is unique across versions of a secret. - * - */ + public Boolean isContentAutoGenerated() { + return this.isContentAutoGenerated; + } public String name() { return this.name; } - /** - * @return The OCID of the secret. - * - */ public String secretId() { return this.secretId; } public String secretVersionNumber() { return this.secretVersionNumber; } - /** - * @return A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - * - */ public List stages() { return this.stages; } - /** - * @return A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ public String timeCreated() { return this.timeCreated; } - /** - * @return An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ public String timeOfCurrentVersionExpiry() { return this.timeOfCurrentVersionExpiry; } - /** - * @return An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - * - */ public String timeOfDeletion() { return this.timeOfDeletion; } - /** - * @return The version number of the secret. - * - */ public String versionNumber() { return this.versionNumber; } @@ -130,13 +71,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetSecretVersionResult defaults) { + public static Builder builder(GetSecretVersionSdkV2Result defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String contentType; private String id; + private Boolean isContentAutoGenerated; private String name; private String secretId; private String secretVersionNumber; @@ -146,10 +88,11 @@ public static final class Builder { private String timeOfDeletion; private String versionNumber; public Builder() {} - public Builder(GetSecretVersionResult defaults) { + public Builder(GetSecretVersionSdkV2Result defaults) { Objects.requireNonNull(defaults); this.contentType = defaults.contentType; this.id = defaults.id; + this.isContentAutoGenerated = defaults.isContentAutoGenerated; this.name = defaults.name; this.secretId = defaults.secretId; this.secretVersionNumber = defaults.secretVersionNumber; @@ -163,7 +106,7 @@ public Builder(GetSecretVersionResult defaults) { @CustomType.Setter public Builder contentType(String contentType) { if (contentType == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "contentType"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "contentType"); } this.contentType = contentType; return this; @@ -171,15 +114,23 @@ public Builder contentType(String contentType) { @CustomType.Setter public Builder id(String id) { if (id == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "id"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "id"); } this.id = id; return this; } @CustomType.Setter + public Builder isContentAutoGenerated(Boolean isContentAutoGenerated) { + if (isContentAutoGenerated == null) { + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "isContentAutoGenerated"); + } + this.isContentAutoGenerated = isContentAutoGenerated; + return this; + } + @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "name"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "name"); } this.name = name; return this; @@ -187,7 +138,7 @@ public Builder name(String name) { @CustomType.Setter public Builder secretId(String secretId) { if (secretId == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "secretId"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "secretId"); } this.secretId = secretId; return this; @@ -195,7 +146,7 @@ public Builder secretId(String secretId) { @CustomType.Setter public Builder secretVersionNumber(String secretVersionNumber) { if (secretVersionNumber == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "secretVersionNumber"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "secretVersionNumber"); } this.secretVersionNumber = secretVersionNumber; return this; @@ -203,7 +154,7 @@ public Builder secretVersionNumber(String secretVersionNumber) { @CustomType.Setter public Builder stages(List stages) { if (stages == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "stages"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "stages"); } this.stages = stages; return this; @@ -214,7 +165,7 @@ public Builder stages(String... stages) { @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "timeCreated"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "timeCreated"); } this.timeCreated = timeCreated; return this; @@ -222,7 +173,7 @@ public Builder timeCreated(String timeCreated) { @CustomType.Setter public Builder timeOfCurrentVersionExpiry(String timeOfCurrentVersionExpiry) { if (timeOfCurrentVersionExpiry == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "timeOfCurrentVersionExpiry"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "timeOfCurrentVersionExpiry"); } this.timeOfCurrentVersionExpiry = timeOfCurrentVersionExpiry; return this; @@ -230,7 +181,7 @@ public Builder timeOfCurrentVersionExpiry(String timeOfCurrentVersionExpiry) { @CustomType.Setter public Builder timeOfDeletion(String timeOfDeletion) { if (timeOfDeletion == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "timeOfDeletion"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "timeOfDeletion"); } this.timeOfDeletion = timeOfDeletion; return this; @@ -238,15 +189,16 @@ public Builder timeOfDeletion(String timeOfDeletion) { @CustomType.Setter public Builder versionNumber(String versionNumber) { if (versionNumber == null) { - throw new MissingRequiredPropertyException("GetSecretVersionResult", "versionNumber"); + throw new MissingRequiredPropertyException("GetSecretVersionSdkV2Result", "versionNumber"); } this.versionNumber = versionNumber; return this; } - public GetSecretVersionResult build() { - final var _resultValue = new GetSecretVersionResult(); + public GetSecretVersionSdkV2Result build() { + final var _resultValue = new GetSecretVersionSdkV2Result(); _resultValue.contentType = contentType; _resultValue.id = id; + _resultValue.isContentAutoGenerated = isContentAutoGenerated; _resultValue.name = name; _resultValue.secretId = secretId; _resultValue.secretVersionNumber = secretVersionNumber; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecret.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecret.java index 091da662d0..02e6557cc2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecret.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecret.java @@ -7,7 +7,9 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Vault.outputs.GetSecretsSecretRotationConfig; import com.pulumi.oci.Vault.outputs.GetSecretsSecretSecretContent; +import com.pulumi.oci.Vault.outputs.GetSecretsSecretSecretGenerationContext; import com.pulumi.oci.Vault.outputs.GetSecretsSecretSecretRule; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -35,6 +37,7 @@ public final class GetSecretsSecret { * */ private String description; + private Boolean enableAutoGeneration; /** * @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"}` * @@ -45,6 +48,11 @@ public final class GetSecretsSecret { * */ private String id; + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + private Boolean isAutoGenerationEnabled; /** * @return The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -81,6 +89,11 @@ public final class GetSecretsSecret { */ private String rotationStatus; private List secretContents; + /** + * @return Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + private List secretGenerationContexts; /** * @return The user-friendly name of the secret. Avoid entering confidential information. * @@ -146,6 +159,9 @@ public Map definedTags() { public String description() { return this.description; } + public Boolean enableAutoGeneration() { + return this.enableAutoGeneration; + } /** * @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"}` * @@ -160,6 +176,13 @@ public Map freeformTags() { public String id() { return this.id; } + /** + * @return The value of this flag determines whether or not secret content will be generated automatically. + * + */ + public Boolean isAutoGenerationEnabled() { + return this.isAutoGenerationEnabled; + } /** * @return The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. * @@ -212,6 +235,13 @@ public String rotationStatus() { public List secretContents() { return this.secretContents; } + /** + * @return Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + * + */ + public List secretGenerationContexts() { + return this.secretGenerationContexts; + } /** * @return The user-friendly name of the secret. Avoid entering confidential information. * @@ -275,8 +305,10 @@ public static final class Builder { private String currentVersionNumber; private Map definedTags; private String description; + private Boolean enableAutoGeneration; private Map freeformTags; private String id; + private Boolean isAutoGenerationEnabled; private String keyId; private String lastRotationTime; private String lifecycleDetails; @@ -285,6 +317,7 @@ public static final class Builder { private List rotationConfigs; private String rotationStatus; private List secretContents; + private List secretGenerationContexts; private String secretName; private List secretRules; private String state; @@ -299,8 +332,10 @@ public Builder(GetSecretsSecret defaults) { this.currentVersionNumber = defaults.currentVersionNumber; this.definedTags = defaults.definedTags; this.description = defaults.description; + this.enableAutoGeneration = defaults.enableAutoGeneration; this.freeformTags = defaults.freeformTags; this.id = defaults.id; + this.isAutoGenerationEnabled = defaults.isAutoGenerationEnabled; this.keyId = defaults.keyId; this.lastRotationTime = defaults.lastRotationTime; this.lifecycleDetails = defaults.lifecycleDetails; @@ -309,6 +344,7 @@ public Builder(GetSecretsSecret defaults) { this.rotationConfigs = defaults.rotationConfigs; this.rotationStatus = defaults.rotationStatus; this.secretContents = defaults.secretContents; + this.secretGenerationContexts = defaults.secretGenerationContexts; this.secretName = defaults.secretName; this.secretRules = defaults.secretRules; this.state = defaults.state; @@ -351,6 +387,14 @@ public Builder description(String description) { return this; } @CustomType.Setter + public Builder enableAutoGeneration(Boolean enableAutoGeneration) { + if (enableAutoGeneration == null) { + throw new MissingRequiredPropertyException("GetSecretsSecret", "enableAutoGeneration"); + } + this.enableAutoGeneration = enableAutoGeneration; + return this; + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { if (freeformTags == null) { throw new MissingRequiredPropertyException("GetSecretsSecret", "freeformTags"); @@ -367,6 +411,14 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder isAutoGenerationEnabled(Boolean isAutoGenerationEnabled) { + if (isAutoGenerationEnabled == null) { + throw new MissingRequiredPropertyException("GetSecretsSecret", "isAutoGenerationEnabled"); + } + this.isAutoGenerationEnabled = isAutoGenerationEnabled; + return this; + } + @CustomType.Setter public Builder keyId(String keyId) { if (keyId == null) { throw new MissingRequiredPropertyException("GetSecretsSecret", "keyId"); @@ -437,6 +489,17 @@ public Builder secretContents(GetSecretsSecretSecretContent... secretContents) { return secretContents(List.of(secretContents)); } @CustomType.Setter + public Builder secretGenerationContexts(List secretGenerationContexts) { + if (secretGenerationContexts == null) { + throw new MissingRequiredPropertyException("GetSecretsSecret", "secretGenerationContexts"); + } + this.secretGenerationContexts = secretGenerationContexts; + return this; + } + public Builder secretGenerationContexts(GetSecretsSecretSecretGenerationContext... secretGenerationContexts) { + return secretGenerationContexts(List.of(secretGenerationContexts)); + } + @CustomType.Setter public Builder secretName(String secretName) { if (secretName == null) { throw new MissingRequiredPropertyException("GetSecretsSecret", "secretName"); @@ -501,8 +564,10 @@ public GetSecretsSecret build() { _resultValue.currentVersionNumber = currentVersionNumber; _resultValue.definedTags = definedTags; _resultValue.description = description; + _resultValue.enableAutoGeneration = enableAutoGeneration; _resultValue.freeformTags = freeformTags; _resultValue.id = id; + _resultValue.isAutoGenerationEnabled = isAutoGenerationEnabled; _resultValue.keyId = keyId; _resultValue.lastRotationTime = lastRotationTime; _resultValue.lifecycleDetails = lifecycleDetails; @@ -511,6 +576,7 @@ public GetSecretsSecret build() { _resultValue.rotationConfigs = rotationConfigs; _resultValue.rotationStatus = rotationStatus; _resultValue.secretContents = secretContents; + _resultValue.secretGenerationContexts = secretGenerationContexts; _resultValue.secretName = secretName; _resultValue.secretRules = secretRules; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecretSecretGenerationContext.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecretSecretGenerationContext.java new file mode 100644 index 0000000000..ae684f768d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/GetSecretsSecretSecretGenerationContext.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.Vault.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 GetSecretsSecretSecretGenerationContext { + /** + * @return Name of random bytes generation template for generating random byte type secret. + * + */ + private String generationTemplate; + /** + * @return Name of the predefined secret generation type. + * + */ + private String generationType; + /** + * @return Length of the passphrase to be generated + * + */ + private Integer passphraseLength; + /** + * @return SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + private String secretTemplate; + + private GetSecretsSecretSecretGenerationContext() {} + /** + * @return Name of random bytes generation template for generating random byte type secret. + * + */ + public String generationTemplate() { + return this.generationTemplate; + } + /** + * @return Name of the predefined secret generation type. + * + */ + public String generationType() { + return this.generationType; + } + /** + * @return Length of the passphrase to be generated + * + */ + public Integer passphraseLength() { + return this.passphraseLength; + } + /** + * @return SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + public String secretTemplate() { + return this.secretTemplate; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSecretsSecretSecretGenerationContext defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String generationTemplate; + private String generationType; + private Integer passphraseLength; + private String secretTemplate; + public Builder() {} + public Builder(GetSecretsSecretSecretGenerationContext defaults) { + Objects.requireNonNull(defaults); + this.generationTemplate = defaults.generationTemplate; + this.generationType = defaults.generationType; + this.passphraseLength = defaults.passphraseLength; + this.secretTemplate = defaults.secretTemplate; + } + + @CustomType.Setter + public Builder generationTemplate(String generationTemplate) { + if (generationTemplate == null) { + throw new MissingRequiredPropertyException("GetSecretsSecretSecretGenerationContext", "generationTemplate"); + } + this.generationTemplate = generationTemplate; + return this; + } + @CustomType.Setter + public Builder generationType(String generationType) { + if (generationType == null) { + throw new MissingRequiredPropertyException("GetSecretsSecretSecretGenerationContext", "generationType"); + } + this.generationType = generationType; + return this; + } + @CustomType.Setter + public Builder passphraseLength(Integer passphraseLength) { + if (passphraseLength == null) { + throw new MissingRequiredPropertyException("GetSecretsSecretSecretGenerationContext", "passphraseLength"); + } + this.passphraseLength = passphraseLength; + return this; + } + @CustomType.Setter + public Builder secretTemplate(String secretTemplate) { + if (secretTemplate == null) { + throw new MissingRequiredPropertyException("GetSecretsSecretSecretGenerationContext", "secretTemplate"); + } + this.secretTemplate = secretTemplate; + return this; + } + public GetSecretsSecretSecretGenerationContext build() { + final var _resultValue = new GetSecretsSecretSecretGenerationContext(); + _resultValue.generationTemplate = generationTemplate; + _resultValue.generationType = generationType; + _resultValue.passphraseLength = passphraseLength; + _resultValue.secretTemplate = secretTemplate; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/SecretSecretGenerationContext.java b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/SecretSecretGenerationContext.java new file mode 100644 index 0000000000..7600b82650 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Vault/outputs/SecretSecretGenerationContext.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.Vault.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class SecretSecretGenerationContext { + /** + * @return (Updatable) Name of random bytes generation template for generating random byte type secret. + * + */ + private String generationTemplate; + /** + * @return (Updatable) Name of the predefined secret generation type. + * + */ + private String generationType; + /** + * @return (Updatable) Length of the passphrase to be generated + * + */ + private @Nullable Integer passphraseLength; + /** + * @return (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + private @Nullable String secretTemplate; + + private SecretSecretGenerationContext() {} + /** + * @return (Updatable) Name of random bytes generation template for generating random byte type secret. + * + */ + public String generationTemplate() { + return this.generationTemplate; + } + /** + * @return (Updatable) Name of the predefined secret generation type. + * + */ + public String generationType() { + return this.generationType; + } + /** + * @return (Updatable) Length of the passphrase to be generated + * + */ + public Optional passphraseLength() { + return Optional.ofNullable(this.passphraseLength); + } + /** + * @return (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + * + */ + public Optional secretTemplate() { + return Optional.ofNullable(this.secretTemplate); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SecretSecretGenerationContext defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String generationTemplate; + private String generationType; + private @Nullable Integer passphraseLength; + private @Nullable String secretTemplate; + public Builder() {} + public Builder(SecretSecretGenerationContext defaults) { + Objects.requireNonNull(defaults); + this.generationTemplate = defaults.generationTemplate; + this.generationType = defaults.generationType; + this.passphraseLength = defaults.passphraseLength; + this.secretTemplate = defaults.secretTemplate; + } + + @CustomType.Setter + public Builder generationTemplate(String generationTemplate) { + if (generationTemplate == null) { + throw new MissingRequiredPropertyException("SecretSecretGenerationContext", "generationTemplate"); + } + this.generationTemplate = generationTemplate; + return this; + } + @CustomType.Setter + public Builder generationType(String generationType) { + if (generationType == null) { + throw new MissingRequiredPropertyException("SecretSecretGenerationContext", "generationType"); + } + this.generationType = generationType; + return this; + } + @CustomType.Setter + public Builder passphraseLength(@Nullable Integer passphraseLength) { + + this.passphraseLength = passphraseLength; + return this; + } + @CustomType.Setter + public Builder secretTemplate(@Nullable String secretTemplate) { + + this.secretTemplate = secretTemplate; + return this; + } + public SecretSecretGenerationContext build() { + final var _resultValue = new SecretSecretGenerationContext(); + _resultValue.generationTemplate = generationTemplate; + _resultValue.generationType = generationType; + _resultValue.passphraseLength = passphraseLength; + _resultValue.secretTemplate = secretTemplate; + return _resultValue; + } + } +} diff --git a/sdk/nodejs/config/vars.ts b/sdk/nodejs/config/vars.ts index bf5c55997b..d29538930a 100644 --- a/sdk/nodejs/config/vars.ts +++ b/sdk/nodejs/config/vars.ts @@ -144,6 +144,14 @@ Object.defineProperty(exports, "tenancyOcid", { enumerable: true, }); +export declare const testTimeMaintenanceRebootDue: string | undefined; +Object.defineProperty(exports, "testTimeMaintenanceRebootDue", { + get() { + return __config.get("testTimeMaintenanceRebootDue"); + }, + enumerable: true, +}); + /** * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if * auth is set to 'ApiKey', ignored otherwise. diff --git a/sdk/nodejs/containerengine/cluster.ts b/sdk/nodejs/containerengine/cluster.ts index 1c4466a07c..6fe5596384 100644 --- a/sdk/nodejs/containerengine/cluster.ts +++ b/sdk/nodejs/containerengine/cluster.ts @@ -51,6 +51,7 @@ import * as utilities from "../utilities"; * admissionControllerOptions: { * isPodSecurityPolicyEnabled: clusterOptionsAdmissionControllerOptionsIsPodSecurityPolicyEnabled, * }, + * ipFamilies: clusterOptionsIpFamilies, * kubernetesNetworkConfig: { * podsCidr: clusterOptionsKubernetesNetworkConfigPodsCidr, * servicesCidr: clusterOptionsKubernetesNetworkConfigServicesCidr, diff --git a/sdk/nodejs/database/autonomousContainerDatabase.ts b/sdk/nodejs/database/autonomousContainerDatabase.ts index de649eaa8e..682e7379dd 100644 --- a/sdk/nodejs/database/autonomousContainerDatabase.ts +++ b/sdk/nodejs/database/autonomousContainerDatabase.ts @@ -47,6 +47,10 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { return obj['__pulumiType'] === AutonomousContainerDatabase.__pulumiType; } + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + */ + public /*out*/ readonly associatedBackupConfigurationDetails!: pulumi.Output; /** * **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. */ @@ -67,6 +71,10 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { * (Updatable) Backup options for the Autonomous Container Database. */ public readonly backupConfig!: pulumi.Output; + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + */ + public /*out*/ readonly backupDestinationPropertiesLists!: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. */ @@ -228,14 +236,20 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { public /*out*/ readonly provisionableCpuses!: pulumi.Output; /** * The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours */ public /*out*/ readonly provisionedCpus!: pulumi.Output; /** * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * >>>>>>> theirs */ public /*out*/ readonly reclaimableCpus!: pulumi.Output; + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + */ + public /*out*/ readonly recoveryApplianceDetails!: pulumi.Output; /** * The number of CPUs reserved in an Autonomous Container Database. * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. @@ -307,11 +321,13 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as AutonomousContainerDatabaseState | undefined; + resourceInputs["associatedBackupConfigurationDetails"] = state ? state.associatedBackupConfigurationDetails : undefined; resourceInputs["autonomousExadataInfrastructureId"] = state ? state.autonomousExadataInfrastructureId : undefined; resourceInputs["autonomousVmClusterId"] = state ? state.autonomousVmClusterId : undefined; resourceInputs["availabilityDomain"] = state ? state.availabilityDomain : undefined; resourceInputs["availableCpus"] = state ? state.availableCpus : undefined; resourceInputs["backupConfig"] = state ? state.backupConfig : undefined; + resourceInputs["backupDestinationPropertiesLists"] = state ? state.backupDestinationPropertiesLists : undefined; resourceInputs["cloudAutonomousVmClusterId"] = state ? state.cloudAutonomousVmClusterId : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; resourceInputs["computeModel"] = state ? state.computeModel : undefined; @@ -356,6 +372,7 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { resourceInputs["provisionableCpuses"] = state ? state.provisionableCpuses : undefined; resourceInputs["provisionedCpus"] = state ? state.provisionedCpus : undefined; resourceInputs["reclaimableCpus"] = state ? state.reclaimableCpus : undefined; + resourceInputs["recoveryApplianceDetails"] = state ? state.recoveryApplianceDetails : undefined; resourceInputs["reservedCpus"] = state ? state.reservedCpus : undefined; resourceInputs["role"] = state ? state.role : undefined; resourceInputs["rotateKeyTrigger"] = state ? state.rotateKeyTrigger : undefined; @@ -414,8 +431,10 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { resourceInputs["vaultId"] = args ? args.vaultId : undefined; resourceInputs["versionPreference"] = args ? args.versionPreference : undefined; resourceInputs["vmFailoverReservation"] = args ? args.vmFailoverReservation : undefined; + resourceInputs["associatedBackupConfigurationDetails"] = undefined /*out*/; resourceInputs["availabilityDomain"] = undefined /*out*/; resourceInputs["availableCpus"] = undefined /*out*/; + resourceInputs["backupDestinationPropertiesLists"] = undefined /*out*/; resourceInputs["computeModel"] = undefined /*out*/; resourceInputs["dstFileVersion"] = undefined /*out*/; resourceInputs["infrastructureType"] = undefined /*out*/; @@ -432,6 +451,7 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { resourceInputs["provisionableCpuses"] = undefined /*out*/; resourceInputs["provisionedCpus"] = undefined /*out*/; resourceInputs["reclaimableCpus"] = undefined /*out*/; + resourceInputs["recoveryApplianceDetails"] = undefined /*out*/; resourceInputs["reservedCpus"] = undefined /*out*/; resourceInputs["role"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; @@ -449,6 +469,10 @@ export class AutonomousContainerDatabase extends pulumi.CustomResource { * Input properties used for looking up and filtering AutonomousContainerDatabase resources. */ export interface AutonomousContainerDatabaseState { + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + */ + associatedBackupConfigurationDetails?: pulumi.Input[]>; /** * **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. */ @@ -469,6 +493,10 @@ export interface AutonomousContainerDatabaseState { * (Updatable) Backup options for the Autonomous Container Database. */ backupConfig?: pulumi.Input; + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + */ + backupDestinationPropertiesLists?: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. */ @@ -630,14 +658,20 @@ export interface AutonomousContainerDatabaseState { provisionableCpuses?: pulumi.Input[]>; /** * The number of CPUs provisioned in an Autonomous Container Database. + * <<<<<<< ours */ provisionedCpus?: pulumi.Input; /** * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + * >>>>>>> theirs */ reclaimableCpus?: pulumi.Input; + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + */ + recoveryApplianceDetails?: pulumi.Input[]>; /** * The number of CPUs reserved in an Autonomous Container Database. * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. diff --git a/sdk/nodejs/database/autonomousDatabase.ts b/sdk/nodejs/database/autonomousDatabase.ts index 9772fd24c9..9d7f579101 100644 --- a/sdk/nodejs/database/autonomousDatabase.ts +++ b/sdk/nodejs/database/autonomousDatabase.ts @@ -115,11 +115,17 @@ export class AutonomousDatabase extends pulumi.CustomResource { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS */ public readonly characterSet!: pulumi.Output; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + */ + public readonly cloneTableSpaceLists!: pulumi.Output; /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * >>>>>>> theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. */ @@ -381,17 +387,21 @@ export class AutonomousDatabase extends pulumi.CustomResource { */ public readonly localAdgAutoFailoverMaxDataLossLimit!: pulumi.Output; /** - * Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * 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. */ public /*out*/ readonly localDisasterRecoveryType!: pulumi.Output; /** - * Autonomous Data Guard local (same region) standby database details. + * Autonomous Data Guard standby database details. */ public /*out*/ readonly localStandbyDbs!: pulumi.Output; /** * Details for the long-term backup schedule. */ public readonly longTermBackupSchedules!: pulumi.Output; + /** + * The component chosen for maintenance. + */ + public /*out*/ readonly maintenanceTargetComponent!: pulumi.Output; /** * (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. */ @@ -728,6 +738,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["backupRetentionPeriodInDays"] = state ? state.backupRetentionPeriodInDays : undefined; resourceInputs["byolComputeCountLimit"] = state ? state.byolComputeCountLimit : undefined; resourceInputs["characterSet"] = state ? state.characterSet : undefined; + resourceInputs["cloneTableSpaceLists"] = state ? state.cloneTableSpaceLists : undefined; resourceInputs["cloneType"] = state ? state.cloneType : undefined; resourceInputs["clusterPlacementGroupId"] = state ? state.clusterPlacementGroupId : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; @@ -789,6 +800,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["localDisasterRecoveryType"] = state ? state.localDisasterRecoveryType : undefined; resourceInputs["localStandbyDbs"] = state ? state.localStandbyDbs : undefined; resourceInputs["longTermBackupSchedules"] = state ? state.longTermBackupSchedules : undefined; + resourceInputs["maintenanceTargetComponent"] = state ? state.maintenanceTargetComponent : undefined; resourceInputs["maxCpuCoreCount"] = state ? state.maxCpuCoreCount : undefined; resourceInputs["memoryPerOracleComputeUnitInGbs"] = state ? state.memoryPerOracleComputeUnitInGbs : undefined; resourceInputs["ncharacterSet"] = state ? state.ncharacterSet : undefined; @@ -875,6 +887,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["backupRetentionPeriodInDays"] = args ? args.backupRetentionPeriodInDays : undefined; resourceInputs["byolComputeCountLimit"] = args ? args.byolComputeCountLimit : undefined; resourceInputs["characterSet"] = args ? args.characterSet : undefined; + resourceInputs["cloneTableSpaceLists"] = args ? args.cloneTableSpaceLists : undefined; resourceInputs["cloneType"] = args ? args.cloneType : undefined; resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["computeCount"] = args ? args.computeCount : undefined; @@ -975,6 +988,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["lifecycleDetails"] = undefined /*out*/; resourceInputs["localDisasterRecoveryType"] = undefined /*out*/; resourceInputs["localStandbyDbs"] = undefined /*out*/; + resourceInputs["maintenanceTargetComponent"] = undefined /*out*/; resourceInputs["memoryPerOracleComputeUnitInGbs"] = undefined /*out*/; resourceInputs["netServicesArchitecture"] = undefined /*out*/; resourceInputs["nextLongTermBackupTimeStamp"] = undefined /*out*/; @@ -1087,11 +1101,17 @@ export interface AutonomousDatabaseState { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS */ characterSet?: pulumi.Input; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + */ + cloneTableSpaceLists?: pulumi.Input[]>; /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * >>>>>>> theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. */ @@ -1353,17 +1373,21 @@ export interface AutonomousDatabaseState { */ localAdgAutoFailoverMaxDataLossLimit?: pulumi.Input; /** - * Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + * 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.Input; /** - * Autonomous Data Guard local (same region) standby database details. + * Autonomous Data Guard standby database details. */ localStandbyDbs?: pulumi.Input[]>; /** * Details for the long-term backup schedule. */ longTermBackupSchedules?: pulumi.Input[]>; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent?: pulumi.Input; /** * (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. */ @@ -1717,11 +1741,17 @@ export interface AutonomousDatabaseArgs { * * For an Autonomous Database on dedicated infrastructure, the allowed values are: * + * <<<<<<< ours * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS */ characterSet?: pulumi.Input; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + */ + cloneTableSpaceLists?: pulumi.Input[]>; /** * The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + * >>>>>>> theirs * * `FULL` - This option creates a new database that includes all source database data. * * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. */ diff --git a/sdk/nodejs/database/backupDestination.ts b/sdk/nodejs/database/backupDestination.ts index 2287dfc67f..9246d82ab7 100644 --- a/sdk/nodejs/database/backupDestination.ts +++ b/sdk/nodejs/database/backupDestination.ts @@ -127,14 +127,26 @@ export class BackupDestination extends pulumi.CustomResource { * The current lifecycle state of the backup destination. */ public /*out*/ readonly state!: pulumi.Output; + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + */ + public /*out*/ readonly timeAtWhichStorageDetailsAreUpdated!: pulumi.Output; /** * The date and time the backup destination was created. */ public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + */ + public /*out*/ readonly totalStorageSizeInGbs!: pulumi.Output; /** * Type of the backup destination. */ public readonly type!: pulumi.Output; + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + */ + public /*out*/ readonly utilizedStorageSizeInGbs!: pulumi.Output; /** * (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * @@ -170,8 +182,11 @@ export class BackupDestination extends pulumi.CustomResource { resourceInputs["nfsServerExport"] = state ? state.nfsServerExport : undefined; resourceInputs["nfsServers"] = state ? state.nfsServers : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["timeAtWhichStorageDetailsAreUpdated"] = state ? state.timeAtWhichStorageDetailsAreUpdated : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["totalStorageSizeInGbs"] = state ? state.totalStorageSizeInGbs : undefined; resourceInputs["type"] = state ? state.type : undefined; + resourceInputs["utilizedStorageSizeInGbs"] = state ? state.utilizedStorageSizeInGbs : undefined; resourceInputs["vpcUsers"] = state ? state.vpcUsers : undefined; } else { const args = argsOrState as BackupDestinationArgs | undefined; @@ -199,7 +214,10 @@ export class BackupDestination extends pulumi.CustomResource { resourceInputs["nfsServerExport"] = undefined /*out*/; resourceInputs["nfsServers"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeAtWhichStorageDetailsAreUpdated"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["totalStorageSizeInGbs"] = undefined /*out*/; + resourceInputs["utilizedStorageSizeInGbs"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(BackupDestination.__pulumiType, name, resourceInputs, opts); @@ -264,14 +282,26 @@ export interface BackupDestinationState { * The current lifecycle state of the backup destination. */ state?: pulumi.Input; + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + */ + timeAtWhichStorageDetailsAreUpdated?: pulumi.Input; /** * The date and time the backup destination was created. */ timeCreated?: pulumi.Input; + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + */ + totalStorageSizeInGbs?: pulumi.Input; /** * Type of the backup destination. */ type?: pulumi.Input; + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + */ + utilizedStorageSizeInGbs?: pulumi.Input; /** * (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. * diff --git a/sdk/nodejs/database/dataGuardAssociation.ts b/sdk/nodejs/database/dataGuardAssociation.ts index bb9953f135..7ef4f8f6cb 100644 --- a/sdk/nodejs/database/dataGuardAssociation.ts +++ b/sdk/nodejs/database/dataGuardAssociation.ts @@ -59,6 +59,7 @@ import * as utilities from "../utilities"; * peerSidPrefix: dataGuardAssociationPeerSidPrefix, * peerVmClusterId: testVmCluster.id, * privateIp: dataGuardAssociationPrivateIp, + * privateIpV6: dataGuardAssociationPrivateIpV6, * shape: dataGuardAssociationShape, * storageVolumePerformanceMode: dataGuardAssociationStorageVolumePerformanceMode, * subnetId: testSubnet.id, @@ -257,6 +258,10 @@ export class DataGuardAssociation extends pulumi.CustomResource { * The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. */ public readonly privateIp!: pulumi.Output; + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + */ + public readonly privateIpV6!: pulumi.Output; /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -357,6 +362,7 @@ export class DataGuardAssociation extends pulumi.CustomResource { resourceInputs["peerSidPrefix"] = state ? state.peerSidPrefix : undefined; resourceInputs["peerVmClusterId"] = state ? state.peerVmClusterId : undefined; resourceInputs["privateIp"] = state ? state.privateIp : undefined; + resourceInputs["privateIpV6"] = state ? state.privateIpV6 : undefined; resourceInputs["protectionMode"] = state ? state.protectionMode : undefined; resourceInputs["role"] = state ? state.role : undefined; resourceInputs["shape"] = state ? state.shape : undefined; @@ -416,6 +422,7 @@ export class DataGuardAssociation extends pulumi.CustomResource { resourceInputs["peerSidPrefix"] = args ? args.peerSidPrefix : undefined; resourceInputs["peerVmClusterId"] = args ? args.peerVmClusterId : undefined; resourceInputs["privateIp"] = args ? args.privateIp : undefined; + resourceInputs["privateIpV6"] = args ? args.privateIpV6 : undefined; resourceInputs["protectionMode"] = args ? args.protectionMode : undefined; resourceInputs["shape"] = args ? args.shape : undefined; resourceInputs["storageVolumePerformanceMode"] = args ? args.storageVolumePerformanceMode : undefined; @@ -602,6 +609,10 @@ export interface DataGuardAssociationState { * The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. */ privateIp?: pulumi.Input; + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + */ + privateIpV6?: pulumi.Input; /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * @@ -793,6 +804,10 @@ export interface DataGuardAssociationArgs { * The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. */ privateIp?: pulumi.Input; + /** + * The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + */ + privateIpV6?: pulumi.Input; /** * (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. * diff --git a/sdk/nodejs/database/dbSystem.ts b/sdk/nodejs/database/dbSystem.ts index 5fedf110a5..711b61ca4f 100644 --- a/sdk/nodejs/database/dbSystem.ts +++ b/sdk/nodejs/database/dbSystem.ts @@ -260,6 +260,10 @@ export class DbSystem extends pulumi.CustomResource { * 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. Supported for VM BM shape. */ public readonly privateIp!: pulumi.Output; + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + */ + public readonly privateIpV6!: pulumi.Output; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. */ @@ -273,9 +277,13 @@ export class DbSystem extends pulumi.CustomResource { */ public /*out*/ readonly scanDnsRecordId!: pulumi.Output; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. */ public /*out*/ readonly scanIpIds!: pulumi.Output; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + */ + public /*out*/ readonly scanIpv6ids!: pulumi.Output; /** * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ @@ -339,9 +347,13 @@ export class DbSystem extends pulumi.CustomResource { */ public /*out*/ readonly version!: pulumi.Output; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. */ public /*out*/ readonly vipIds!: pulumi.Output; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + */ + public /*out*/ readonly vipv6ids!: pulumi.Output; /** * The OCID of the zone the DB system is associated with. */ @@ -396,10 +408,12 @@ export class DbSystem extends pulumi.CustomResource { resourceInputs["osVersion"] = state ? state.osVersion : undefined; resourceInputs["pointInTimeDataDiskCloneTimestamp"] = state ? state.pointInTimeDataDiskCloneTimestamp : undefined; resourceInputs["privateIp"] = state ? state.privateIp : undefined; + resourceInputs["privateIpV6"] = state ? state.privateIpV6 : undefined; resourceInputs["recoStorageSizeInGb"] = state ? state.recoStorageSizeInGb : undefined; resourceInputs["scanDnsName"] = state ? state.scanDnsName : undefined; resourceInputs["scanDnsRecordId"] = state ? state.scanDnsRecordId : undefined; resourceInputs["scanIpIds"] = state ? state.scanIpIds : undefined; + resourceInputs["scanIpv6ids"] = state ? state.scanIpv6ids : undefined; resourceInputs["securityAttributes"] = state ? state.securityAttributes : undefined; resourceInputs["shape"] = state ? state.shape : undefined; resourceInputs["source"] = state ? state.source : undefined; @@ -413,6 +427,7 @@ export class DbSystem extends pulumi.CustomResource { resourceInputs["timeZone"] = state ? state.timeZone : undefined; resourceInputs["version"] = state ? state.version : undefined; resourceInputs["vipIds"] = state ? state.vipIds : undefined; + resourceInputs["vipv6ids"] = state ? state.vipv6ids : undefined; resourceInputs["zoneId"] = state ? state.zoneId : undefined; } else { const args = argsOrState as DbSystemArgs | undefined; @@ -463,6 +478,7 @@ export class DbSystem extends pulumi.CustomResource { resourceInputs["nodeCount"] = args ? args.nodeCount : undefined; resourceInputs["nsgIds"] = args ? args.nsgIds : undefined; resourceInputs["privateIp"] = args ? args.privateIp : undefined; + resourceInputs["privateIpV6"] = args ? args.privateIpV6 : undefined; resourceInputs["recoStorageSizeInGb"] = args ? args.recoStorageSizeInGb : undefined; resourceInputs["securityAttributes"] = args ? args.securityAttributes : undefined; resourceInputs["shape"] = args ? args.shape : undefined; @@ -486,10 +502,12 @@ export class DbSystem extends pulumi.CustomResource { resourceInputs["scanDnsName"] = undefined /*out*/; resourceInputs["scanDnsRecordId"] = undefined /*out*/; resourceInputs["scanIpIds"] = undefined /*out*/; + resourceInputs["scanIpv6ids"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; resourceInputs["version"] = undefined /*out*/; resourceInputs["vipIds"] = undefined /*out*/; + resourceInputs["vipv6ids"] = undefined /*out*/; resourceInputs["zoneId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -674,6 +692,10 @@ export interface DbSystemState { * 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. Supported for VM BM shape. */ privateIp?: pulumi.Input; + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + */ + privateIpV6?: pulumi.Input; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. */ @@ -687,9 +709,13 @@ export interface DbSystemState { */ scanDnsRecordId?: pulumi.Input; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. */ scanIpIds?: pulumi.Input[]>; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + */ + scanIpv6ids?: pulumi.Input[]>; /** * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ @@ -753,9 +779,13 @@ export interface DbSystemState { */ version?: pulumi.Input; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. */ vipIds?: pulumi.Input[]>; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + */ + vipv6ids?: pulumi.Input[]>; /** * The OCID of the zone the DB system is associated with. */ @@ -899,6 +929,10 @@ export interface DbSystemArgs { * 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. Supported for VM BM shape. */ privateIp?: pulumi.Input; + /** + * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + */ + privateIpV6?: pulumi.Input; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. */ diff --git a/sdk/nodejs/database/getAutonomousContainerDatabase.ts b/sdk/nodejs/database/getAutonomousContainerDatabase.ts index 5963c6e281..c5dfbdcfbd 100644 --- a/sdk/nodejs/database/getAutonomousContainerDatabase.ts +++ b/sdk/nodejs/database/getAutonomousContainerDatabase.ts @@ -43,6 +43,10 @@ export interface GetAutonomousContainerDatabaseArgs { * A collection of values returned by getAutonomousContainerDatabase. */ export interface GetAutonomousContainerDatabaseResult { + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + */ + readonly associatedBackupConfigurationDetails: outputs.Database.GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail[]; readonly autonomousContainerDatabaseId: string; /** * **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`. @@ -64,6 +68,10 @@ export interface GetAutonomousContainerDatabaseResult { * Backup options for the Autonomous Container Database. */ readonly backupConfigs: outputs.Database.GetAutonomousContainerDatabaseBackupConfig[]; + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + */ + readonly backupDestinationPropertiesLists: outputs.Database.GetAutonomousContainerDatabaseBackupDestinationPropertiesList[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. */ @@ -205,6 +213,10 @@ export interface GetAutonomousContainerDatabaseResult { * CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. */ readonly reclaimableCpus: number; + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + */ + readonly recoveryApplianceDetails: outputs.Database.GetAutonomousContainerDatabaseRecoveryApplianceDetail[]; /** * The number of CPUs reserved in an Autonomous Container Database. */ diff --git a/sdk/nodejs/database/getAutonomousDatabase.ts b/sdk/nodejs/database/getAutonomousDatabase.ts index 8771d5765e..b44256f983 100644 --- a/sdk/nodejs/database/getAutonomousDatabase.ts +++ b/sdk/nodejs/database/getAutonomousDatabase.ts @@ -99,6 +99,13 @@ export interface GetAutonomousDatabaseResult { * The character set for the autonomous database. The default is AL32UTF8. Allowed values are: */ readonly characterSet: string; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * ======= + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * >>>>>>> theirs + */ + readonly cloneTableSpaceLists: number[]; readonly cloneType: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -345,6 +352,10 @@ export interface GetAutonomousDatabaseResult { * Details for the long-term backup schedule. */ readonly longTermBackupSchedules: outputs.Database.GetAutonomousDatabaseLongTermBackupSchedule[]; + /** + * The component chosen for maintenance. + */ + readonly maintenanceTargetComponent: string; /** * The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. */ diff --git a/sdk/nodejs/database/getAutonomousDatabases.ts b/sdk/nodejs/database/getAutonomousDatabases.ts index 611017c699..02860cee38 100644 --- a/sdk/nodejs/database/getAutonomousDatabases.ts +++ b/sdk/nodejs/database/getAutonomousDatabases.ts @@ -7,19 +7,6 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * ## - * - * *** - * ## 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. @@ -185,19 +172,6 @@ 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. diff --git a/sdk/nodejs/database/getBackupDestination.ts b/sdk/nodejs/database/getBackupDestination.ts index 4e6e138e46..02f6c82eba 100644 --- a/sdk/nodejs/database/getBackupDestination.ts +++ b/sdk/nodejs/database/getBackupDestination.ts @@ -99,14 +99,26 @@ export interface GetBackupDestinationResult { * The current lifecycle state of the backup destination. */ readonly state: string; + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + */ + readonly timeAtWhichStorageDetailsAreUpdated: string; /** * The date and time the backup destination was created. */ readonly timeCreated: string; + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + */ + readonly totalStorageSizeInGbs: number; /** * Type of the backup destination. */ readonly type: string; + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + */ + readonly utilizedStorageSizeInGbs: number; /** * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. */ diff --git a/sdk/nodejs/database/getDataGuardAssociation.ts b/sdk/nodejs/database/getDataGuardAssociation.ts index 86c3e8d990..c6b480b0f5 100644 --- a/sdk/nodejs/database/getDataGuardAssociation.ts +++ b/sdk/nodejs/database/getDataGuardAssociation.ts @@ -120,6 +120,7 @@ export interface GetDataGuardAssociationResult { readonly peerSidPrefix: string; readonly peerVmClusterId: string; readonly privateIp: string; + readonly privateIpV6: string; /** * The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. */ diff --git a/sdk/nodejs/database/getMaintenanceRuns.ts b/sdk/nodejs/database/getMaintenanceRuns.ts index ecfca817a5..399ef4ff18 100644 --- a/sdk/nodejs/database/getMaintenanceRuns.ts +++ b/sdk/nodejs/database/getMaintenanceRuns.ts @@ -20,6 +20,7 @@ import * as utilities from "../utilities"; * const testMaintenanceRuns = oci.Database.getMaintenanceRuns({ * compartmentId: compartmentId, * availabilityDomain: maintenanceRunAvailabilityDomain, + * isLocalAdg: maintenanceRunIsLocalAdg, * maintenanceSubtype: maintenanceRunMaintenanceSubtype, * maintenanceType: maintenanceRunMaintenanceType, * state: maintenanceRunState, @@ -34,6 +35,7 @@ export function getMaintenanceRuns(args: GetMaintenanceRunsArgs, opts?: pulumi.I "availabilityDomain": args.availabilityDomain, "compartmentId": args.compartmentId, "filters": args.filters, + "isLocalAdg": args.isLocalAdg, "maintenanceSubtype": args.maintenanceSubtype, "maintenanceType": args.maintenanceType, "state": args.state, @@ -55,6 +57,10 @@ export interface GetMaintenanceRunsArgs { */ compartmentId: string; filters?: inputs.Database.GetMaintenanceRunsFilter[]; + /** + * A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + */ + isLocalAdg?: boolean; /** * The sub-type of the maintenance run. */ @@ -91,6 +97,7 @@ export interface GetMaintenanceRunsResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; + readonly isLocalAdg?: boolean; /** * The list of maintenance_runs. */ @@ -130,6 +137,7 @@ export interface GetMaintenanceRunsResult { * const testMaintenanceRuns = oci.Database.getMaintenanceRuns({ * compartmentId: compartmentId, * availabilityDomain: maintenanceRunAvailabilityDomain, + * isLocalAdg: maintenanceRunIsLocalAdg, * maintenanceSubtype: maintenanceRunMaintenanceSubtype, * maintenanceType: maintenanceRunMaintenanceType, * state: maintenanceRunState, @@ -144,6 +152,7 @@ export function getMaintenanceRunsOutput(args: GetMaintenanceRunsOutputArgs, opt "availabilityDomain": args.availabilityDomain, "compartmentId": args.compartmentId, "filters": args.filters, + "isLocalAdg": args.isLocalAdg, "maintenanceSubtype": args.maintenanceSubtype, "maintenanceType": args.maintenanceType, "state": args.state, @@ -165,6 +174,10 @@ export interface GetMaintenanceRunsOutputArgs { */ compartmentId: pulumi.Input; filters?: pulumi.Input[]>; + /** + * A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + */ + isLocalAdg?: pulumi.Input; /** * The sub-type of the maintenance run. */ diff --git a/sdk/nodejs/filestorage/fileSystem.ts b/sdk/nodejs/filestorage/fileSystem.ts index 0b55cf258e..8af4b69d4a 100644 --- a/sdk/nodejs/filestorage/fileSystem.ts +++ b/sdk/nodejs/filestorage/fileSystem.ts @@ -191,6 +191,10 @@ export class FileSystem extends pulumi.CustomResource { * The current state of the file system. */ public /*out*/ readonly state!: pulumi.Output; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; /** * The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -230,6 +234,7 @@ export class FileSystem extends pulumi.CustomResource { resourceInputs["sourceDetails"] = state ? state.sourceDetails : undefined; resourceInputs["sourceSnapshotId"] = state ? state.sourceSnapshotId : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { const args = argsOrState as FileSystemArgs | undefined; @@ -260,6 +265,7 @@ export class FileSystem extends pulumi.CustomResource { resourceInputs["replicationTargetId"] = undefined /*out*/; resourceInputs["sourceDetails"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -358,6 +364,10 @@ export interface FileSystemState { * The current state of the file system. */ state?: pulumi.Input; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/filesystemSnapshotPolicy.ts b/sdk/nodejs/filestorage/filesystemSnapshotPolicy.ts index 183e820289..ba11924b6d 100644 --- a/sdk/nodejs/filestorage/filesystemSnapshotPolicy.ts +++ b/sdk/nodejs/filestorage/filesystemSnapshotPolicy.ts @@ -131,6 +131,10 @@ export class FilesystemSnapshotPolicy 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 state!: pulumi.Output; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -159,6 +163,7 @@ export class FilesystemSnapshotPolicy extends pulumi.CustomResource { resourceInputs["policyPrefix"] = state ? state.policyPrefix : undefined; resourceInputs["schedules"] = state ? state.schedules : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { const args = argsOrState as FilesystemSnapshotPolicyArgs | undefined; @@ -178,6 +183,7 @@ export class FilesystemSnapshotPolicy extends pulumi.CustomResource { resourceInputs["policyPrefix"] = args ? args.policyPrefix : undefined; resourceInputs["schedules"] = args ? args.schedules : undefined; resourceInputs["state"] = args ? args.state : undefined; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -232,6 +238,10 @@ export interface FilesystemSnapshotPolicyState { * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ state?: pulumi.Input; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/getFilesystemSnapshotPolicy.ts b/sdk/nodejs/filestorage/getFilesystemSnapshotPolicy.ts index dd7096673a..f1cdacf457 100644 --- a/sdk/nodejs/filestorage/getFilesystemSnapshotPolicy.ts +++ b/sdk/nodejs/filestorage/getFilesystemSnapshotPolicy.ts @@ -85,6 +85,10 @@ export interface GetFilesystemSnapshotPolicyResult { * The current state of this file system snapshot policy. */ readonly state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + readonly systemTags: {[key: string]: string}; /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/getOutboundConnector.ts b/sdk/nodejs/filestorage/getOutboundConnector.ts index 32288048b8..e6dab7d9d8 100644 --- a/sdk/nodejs/filestorage/getOutboundConnector.ts +++ b/sdk/nodejs/filestorage/getOutboundConnector.ts @@ -97,6 +97,10 @@ export interface GetOutboundConnectorResult { * The current state of this outbound connector. */ readonly state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + readonly systemTags: {[key: string]: string}; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/getReplication.ts b/sdk/nodejs/filestorage/getReplication.ts index e852d31527..b5a68fe888 100644 --- a/sdk/nodejs/filestorage/getReplication.ts +++ b/sdk/nodejs/filestorage/getReplication.ts @@ -109,6 +109,10 @@ export interface GetReplicationResult { * The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. */ readonly state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + readonly systemTags: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. */ diff --git a/sdk/nodejs/filestorage/getReplicationTarget.ts b/sdk/nodejs/filestorage/getReplicationTarget.ts index 87e1d1fffa..c8c5787dfd 100644 --- a/sdk/nodejs/filestorage/getReplicationTarget.ts +++ b/sdk/nodejs/filestorage/getReplicationTarget.ts @@ -98,6 +98,10 @@ export interface GetReplicationTargetResult { * The current state of this replication. */ readonly state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + readonly systemTags: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. */ diff --git a/sdk/nodejs/filestorage/getSnapshot.ts b/sdk/nodejs/filestorage/getSnapshot.ts index e087947bd6..bef4fe81ed 100644 --- a/sdk/nodejs/filestorage/getSnapshot.ts +++ b/sdk/nodejs/filestorage/getSnapshot.ts @@ -104,6 +104,10 @@ export interface GetSnapshotResult { * The current state of the snapshot. */ readonly state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + readonly systemTags: {[key: string]: string}; /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/mountTarget.ts b/sdk/nodejs/filestorage/mountTarget.ts index f828d1715b..59ecc3728d 100644 --- a/sdk/nodejs/filestorage/mountTarget.ts +++ b/sdk/nodejs/filestorage/mountTarget.ts @@ -221,6 +221,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; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: 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` */ @@ -264,6 +268,7 @@ export class MountTarget extends pulumi.CustomResource { resourceInputs["reservedStorageCapacity"] = state ? state.reservedStorageCapacity : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeBillingCycleEnd"] = state ? state.timeBillingCycleEnd : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { @@ -298,6 +303,7 @@ export class MountTarget extends pulumi.CustomResource { resourceInputs["privateIpIds"] = undefined /*out*/; resourceInputs["reservedStorageCapacity"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeBillingCycleEnd"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } @@ -404,6 +410,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; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: 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` */ diff --git a/sdk/nodejs/filestorage/outboundConnector.ts b/sdk/nodejs/filestorage/outboundConnector.ts index 531630650b..435821a516 100644 --- a/sdk/nodejs/filestorage/outboundConnector.ts +++ b/sdk/nodejs/filestorage/outboundConnector.ts @@ -152,6 +152,10 @@ export class OutboundConnector extends pulumi.CustomResource { * The current state of this outbound connector. */ public /*out*/ readonly state!: pulumi.Output; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -183,6 +187,7 @@ export class OutboundConnector extends pulumi.CustomResource { resourceInputs["passwordSecretId"] = state ? state.passwordSecretId : undefined; resourceInputs["passwordSecretVersion"] = state ? state.passwordSecretVersion : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { const args = argsOrState as OutboundConnectorArgs | undefined; @@ -214,6 +219,7 @@ export class OutboundConnector extends pulumi.CustomResource { resourceInputs["passwordSecretId"] = args ? args.passwordSecretId : undefined; resourceInputs["passwordSecretVersion"] = args ? args.passwordSecretVersion : undefined; resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -278,6 +284,10 @@ export interface OutboundConnectorState { * The current state of this outbound connector. */ state?: pulumi.Input; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/filestorage/replication.ts b/sdk/nodejs/filestorage/replication.ts index 3f649e53c2..8b297c7d76 100644 --- a/sdk/nodejs/filestorage/replication.ts +++ b/sdk/nodejs/filestorage/replication.ts @@ -161,6 +161,10 @@ export class Replication extends pulumi.CustomResource { * The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. */ public /*out*/ readonly state!: pulumi.Output; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * @@ -203,6 +207,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["replicationTargetId"] = state ? state.replicationTargetId : undefined; resourceInputs["sourceId"] = state ? state.sourceId : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["targetId"] = state ? state.targetId : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { @@ -233,6 +238,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["recoveryPointTime"] = undefined /*out*/; resourceInputs["replicationTargetId"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -305,6 +311,10 @@ export interface ReplicationState { * The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. */ state?: pulumi.Input; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. * diff --git a/sdk/nodejs/filestorage/snapshot.ts b/sdk/nodejs/filestorage/snapshot.ts index f58d87529f..af9ad0f5d0 100644 --- a/sdk/nodejs/filestorage/snapshot.ts +++ b/sdk/nodejs/filestorage/snapshot.ts @@ -137,6 +137,10 @@ export class Snapshot extends pulumi.CustomResource { * The current state of the snapshot. */ public /*out*/ readonly state!: pulumi.Output; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -169,6 +173,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["snapshotTime"] = state ? state.snapshotTime : undefined; resourceInputs["snapshotType"] = state ? state.snapshotType : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { const args = argsOrState as SnapshotArgs | undefined; @@ -189,6 +194,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["snapshotTime"] = undefined /*out*/; resourceInputs["snapshotType"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -264,6 +270,10 @@ export interface SnapshotState { * The current state of the snapshot. */ state?: pulumi.Input; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ diff --git a/sdk/nodejs/goldengate/connection.ts b/sdk/nodejs/goldengate/connection.ts index 665aa9e4a6..ac92e284b7 100644 --- a/sdk/nodejs/goldengate/connection.ts +++ b/sdk/nodejs/goldengate/connection.ts @@ -100,6 +100,7 @@ import * as utilities from "../utilities"; * serviceAccountKeyFileSecretId: testSecret.id, * sessionMode: connectionSessionMode, * shouldUseJndi: connectionShouldUseJndi, + * shouldUseResourcePrincipal: connectionShouldUseResourcePrincipal, * shouldValidateServerCertificate: connectionShouldValidateServerCertificate, * sslCa: connectionSslCa, * sslCert: connectionSslCert, @@ -114,9 +115,16 @@ import * as utilities from "../utilities"; * sslKeySecretId: testSecret.id, * sslMode: connectionSslMode, * sslServerCertificate: connectionSslServerCertificate, + * storageCredentialName: connectionStorageCredentialName, * streamPoolId: testStreamPool.id, * subnetId: testSubnet.id, * tenancyId: testTenancy.id, + * tenantId: testTenant.id, + * tlsCaFile: connectionTlsCaFile, + * tlsCertificateKeyFile: connectionTlsCertificateKeyFile, + * tlsCertificateKeyFilePassword: connectionTlsCertificateKeyFilePassword, + * tlsCertificateKeyFilePasswordSecretId: testSecret.id, + * tlsCertificateKeyFileSecretId: testSecret.id, * trustStore: connectionTrustStore, * trustStorePassword: connectionTrustStorePassword, * trustStorePasswordSecretId: testSecret.id, @@ -172,7 +180,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly accessKeyId!: pulumi.Output; /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. */ public readonly accountKey!: pulumi.Output; /** @@ -208,11 +216,11 @@ export class Connection extends pulumi.CustomResource { */ public readonly clientId!: pulumi.Output; /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. */ public readonly clientSecret!: pulumi.Output; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. */ public readonly clientSecretSecretId!: pulumi.Output; /** @@ -232,7 +240,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly connectionType!: pulumi.Output; /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ public readonly connectionUrl!: pulumi.Output; /** @@ -276,7 +284,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly doesUseSecretIds!: pulumi.Output; /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com */ public readonly endpoint!: pulumi.Output; /** @@ -310,7 +318,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly jndiProviderUrl!: pulumi.Output; /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. */ public readonly jndiSecurityCredentials!: pulumi.Output; /** @@ -326,11 +334,11 @@ export class Connection extends pulumi.CustomResource { */ public readonly keyId!: pulumi.Output; /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. */ public readonly keyStore!: pulumi.Output; /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. */ public readonly keyStorePassword!: pulumi.Output; /** @@ -354,7 +362,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly nsgIds!: pulumi.Output; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ public readonly password!: pulumi.Output; /** @@ -372,7 +380,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly privateIp!: pulumi.Output; /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. */ public readonly privateKeyFile!: pulumi.Output; /** @@ -380,7 +388,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly privateKeyFileSecretId!: pulumi.Output; /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. */ public readonly privateKeyPassphrase!: pulumi.Output; /** @@ -400,7 +408,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly redisClusterId!: pulumi.Output; /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. */ public readonly region!: pulumi.Output; /** @@ -408,7 +416,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly routingMethod!: pulumi.Output; /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. */ public readonly sasToken!: pulumi.Output; /** @@ -416,7 +424,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly sasTokenSecretId!: pulumi.Output; /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. */ public readonly secretAccessKey!: pulumi.Output; /** @@ -432,7 +440,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly servers!: pulumi.Output; /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. */ public readonly serviceAccountKeyFile!: pulumi.Output; /** @@ -447,6 +455,10 @@ export class Connection extends pulumi.CustomResource { * (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. */ public readonly shouldUseJndi!: pulumi.Output; + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + */ + public readonly shouldUseResourcePrincipal!: pulumi.Output; /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. */ @@ -460,7 +472,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly sslCert!: pulumi.Output; /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. */ public readonly sslClientKeystash!: pulumi.Output; /** @@ -468,7 +480,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly sslClientKeystashSecretId!: pulumi.Output; /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. */ public readonly sslClientKeystoredb!: pulumi.Output; /** @@ -480,11 +492,11 @@ export class Connection extends pulumi.CustomResource { */ public readonly sslCrl!: pulumi.Output; /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. */ public readonly sslKey!: pulumi.Output; /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. */ public readonly sslKeyPassword!: pulumi.Output; /** @@ -508,6 +520,10 @@ export class Connection extends pulumi.CustomResource { * Possible lifecycle states for connection. */ public /*out*/ readonly state!: pulumi.Output; + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + */ + public readonly storageCredentialName!: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. */ @@ -528,6 +544,10 @@ export class Connection extends pulumi.CustomResource { * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. */ public readonly tenancyId!: pulumi.Output; + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + */ + public readonly tenantId!: pulumi.Output; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ @@ -536,6 +556,27 @@ export class Connection extends pulumi.CustomResource { * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ public /*out*/ readonly timeUpdated!: pulumi.Output; + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + */ + public readonly tlsCaFile!: pulumi.Output; + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + */ + public readonly tlsCertificateKeyFile!: pulumi.Output; + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + */ + public readonly tlsCertificateKeyFilePassword!: pulumi.Output; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + */ + public readonly tlsCertificateKeyFilePasswordSecretId!: pulumi.Output; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + */ + public readonly tlsCertificateKeyFileSecretId!: pulumi.Output; /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -545,11 +586,11 @@ export class Connection extends pulumi.CustomResource { */ public readonly triggerRefresh!: pulumi.Output; /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. */ public readonly trustStore!: pulumi.Output; /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. */ public readonly trustStorePassword!: pulumi.Output; /** @@ -565,7 +606,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly url!: pulumi.Output; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. */ public readonly userId!: pulumi.Output; /** @@ -577,7 +618,7 @@ export class Connection extends pulumi.CustomResource { */ public readonly vaultId!: pulumi.Output; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. */ public readonly wallet!: pulumi.Output; /** @@ -668,6 +709,7 @@ export class Connection extends pulumi.CustomResource { resourceInputs["serviceAccountKeyFileSecretId"] = state ? state.serviceAccountKeyFileSecretId : undefined; resourceInputs["sessionMode"] = state ? state.sessionMode : undefined; resourceInputs["shouldUseJndi"] = state ? state.shouldUseJndi : undefined; + resourceInputs["shouldUseResourcePrincipal"] = state ? state.shouldUseResourcePrincipal : undefined; resourceInputs["shouldValidateServerCertificate"] = state ? state.shouldValidateServerCertificate : undefined; resourceInputs["sslCa"] = state ? state.sslCa : undefined; resourceInputs["sslCert"] = state ? state.sslCert : undefined; @@ -683,13 +725,20 @@ export class Connection extends pulumi.CustomResource { resourceInputs["sslMode"] = state ? state.sslMode : undefined; resourceInputs["sslServerCertificate"] = state ? state.sslServerCertificate : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["storageCredentialName"] = state ? state.storageCredentialName : undefined; resourceInputs["streamPoolId"] = state ? state.streamPoolId : undefined; resourceInputs["subnetId"] = state ? state.subnetId : undefined; resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["technologyType"] = state ? state.technologyType : undefined; resourceInputs["tenancyId"] = state ? state.tenancyId : undefined; + resourceInputs["tenantId"] = state ? state.tenantId : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + resourceInputs["tlsCaFile"] = state ? state.tlsCaFile : undefined; + resourceInputs["tlsCertificateKeyFile"] = state ? state.tlsCertificateKeyFile : undefined; + resourceInputs["tlsCertificateKeyFilePassword"] = state ? state.tlsCertificateKeyFilePassword : undefined; + resourceInputs["tlsCertificateKeyFilePasswordSecretId"] = state ? state.tlsCertificateKeyFilePasswordSecretId : undefined; + resourceInputs["tlsCertificateKeyFileSecretId"] = state ? state.tlsCertificateKeyFileSecretId : undefined; resourceInputs["triggerRefresh"] = state ? state.triggerRefresh : undefined; resourceInputs["trustStore"] = state ? state.trustStore : undefined; resourceInputs["trustStorePassword"] = state ? state.trustStorePassword : undefined; @@ -783,6 +832,7 @@ export class Connection extends pulumi.CustomResource { resourceInputs["serviceAccountKeyFileSecretId"] = args ? args.serviceAccountKeyFileSecretId : undefined; resourceInputs["sessionMode"] = args ? args.sessionMode : undefined; resourceInputs["shouldUseJndi"] = args ? args.shouldUseJndi : undefined; + resourceInputs["shouldUseResourcePrincipal"] = args ? args.shouldUseResourcePrincipal : undefined; resourceInputs["shouldValidateServerCertificate"] = args ? args.shouldValidateServerCertificate : undefined; resourceInputs["sslCa"] = args ? args.sslCa : undefined; resourceInputs["sslCert"] = args ? args.sslCert : undefined; @@ -797,10 +847,17 @@ export class Connection extends pulumi.CustomResource { resourceInputs["sslKeySecretId"] = args ? args.sslKeySecretId : undefined; resourceInputs["sslMode"] = args ? args.sslMode : undefined; resourceInputs["sslServerCertificate"] = args ? args.sslServerCertificate : undefined; + resourceInputs["storageCredentialName"] = args ? args.storageCredentialName : undefined; resourceInputs["streamPoolId"] = args ? args.streamPoolId : undefined; resourceInputs["subnetId"] = args ? args.subnetId : undefined; resourceInputs["technologyType"] = args ? args.technologyType : undefined; resourceInputs["tenancyId"] = args ? args.tenancyId : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["tlsCaFile"] = args ? args.tlsCaFile : undefined; + resourceInputs["tlsCertificateKeyFile"] = args ? args.tlsCertificateKeyFile : undefined; + resourceInputs["tlsCertificateKeyFilePassword"] = args?.tlsCertificateKeyFilePassword ? pulumi.secret(args.tlsCertificateKeyFilePassword) : undefined; + resourceInputs["tlsCertificateKeyFilePasswordSecretId"] = args?.tlsCertificateKeyFilePasswordSecretId ? pulumi.secret(args.tlsCertificateKeyFilePasswordSecretId) : undefined; + resourceInputs["tlsCertificateKeyFileSecretId"] = args ? args.tlsCertificateKeyFileSecretId : undefined; resourceInputs["triggerRefresh"] = args ? args.triggerRefresh : undefined; resourceInputs["trustStore"] = args?.trustStore ? pulumi.secret(args.trustStore) : undefined; resourceInputs["trustStorePassword"] = args?.trustStorePassword ? pulumi.secret(args.trustStorePassword) : undefined; @@ -820,7 +877,7 @@ export class Connection extends pulumi.CustomResource { resourceInputs["timeUpdated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const secretOpts = { additionalSecretOutputs: ["accountKey", "clientSecret", "jndiSecurityCredentials", "keyStore", "keyStorePassword", "password", "privateKeyFile", "privateKeyPassphrase", "sasToken", "secretAccessKey", "serviceAccountKeyFile", "sslClientKeystash", "sslClientKeystoredb", "sslKey", "sslKeyPassword", "trustStore", "trustStorePassword", "wallet"] }; + const secretOpts = { additionalSecretOutputs: ["accountKey", "clientSecret", "jndiSecurityCredentials", "keyStore", "keyStorePassword", "password", "privateKeyFile", "privateKeyPassphrase", "sasToken", "secretAccessKey", "serviceAccountKeyFile", "sslClientKeystash", "sslClientKeystoredb", "sslKey", "sslKeyPassword", "tlsCertificateKeyFilePassword", "tlsCertificateKeyFilePasswordSecretId", "trustStore", "trustStorePassword", "wallet"] }; opts = pulumi.mergeOptions(opts, secretOpts); super(Connection.__pulumiType, name, resourceInputs, opts); } @@ -835,7 +892,7 @@ export interface ConnectionState { */ accessKeyId?: pulumi.Input; /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. */ accountKey?: pulumi.Input; /** @@ -871,11 +928,11 @@ export interface ConnectionState { */ clientId?: pulumi.Input; /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. */ clientSecret?: pulumi.Input; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. */ clientSecretSecretId?: pulumi.Input; /** @@ -895,7 +952,7 @@ export interface ConnectionState { */ connectionType?: pulumi.Input; /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ connectionUrl?: pulumi.Input; /** @@ -939,7 +996,7 @@ export interface ConnectionState { */ doesUseSecretIds?: pulumi.Input; /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com */ endpoint?: pulumi.Input; /** @@ -973,7 +1030,7 @@ export interface ConnectionState { */ jndiProviderUrl?: pulumi.Input; /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. */ jndiSecurityCredentials?: pulumi.Input; /** @@ -989,11 +1046,11 @@ export interface ConnectionState { */ keyId?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. */ keyStore?: pulumi.Input; /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. */ keyStorePassword?: pulumi.Input; /** @@ -1017,7 +1074,7 @@ export interface ConnectionState { */ nsgIds?: pulumi.Input[]>; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ password?: pulumi.Input; /** @@ -1035,7 +1092,7 @@ export interface ConnectionState { */ privateIp?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. */ privateKeyFile?: pulumi.Input; /** @@ -1043,7 +1100,7 @@ export interface ConnectionState { */ privateKeyFileSecretId?: pulumi.Input; /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. */ privateKeyPassphrase?: pulumi.Input; /** @@ -1063,7 +1120,7 @@ export interface ConnectionState { */ redisClusterId?: pulumi.Input; /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. */ region?: pulumi.Input; /** @@ -1071,7 +1128,7 @@ export interface ConnectionState { */ routingMethod?: pulumi.Input; /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. */ sasToken?: pulumi.Input; /** @@ -1079,7 +1136,7 @@ export interface ConnectionState { */ sasTokenSecretId?: pulumi.Input; /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. */ secretAccessKey?: pulumi.Input; /** @@ -1095,7 +1152,7 @@ export interface ConnectionState { */ servers?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. */ serviceAccountKeyFile?: pulumi.Input; /** @@ -1110,6 +1167,10 @@ export interface ConnectionState { * (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. */ shouldUseJndi?: pulumi.Input; + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + */ + shouldUseResourcePrincipal?: pulumi.Input; /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. */ @@ -1123,7 +1184,7 @@ export interface ConnectionState { */ sslCert?: pulumi.Input; /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. */ sslClientKeystash?: pulumi.Input; /** @@ -1131,7 +1192,7 @@ export interface ConnectionState { */ sslClientKeystashSecretId?: pulumi.Input; /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. */ sslClientKeystoredb?: pulumi.Input; /** @@ -1143,11 +1204,11 @@ export interface ConnectionState { */ sslCrl?: pulumi.Input; /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. */ sslKey?: pulumi.Input; /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. */ sslKeyPassword?: pulumi.Input; /** @@ -1171,6 +1232,10 @@ export interface ConnectionState { * Possible lifecycle states for connection. */ state?: pulumi.Input; + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + */ + storageCredentialName?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. */ @@ -1191,6 +1256,10 @@ export interface ConnectionState { * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. */ tenancyId?: pulumi.Input; + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + */ + tenantId?: pulumi.Input; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ @@ -1199,6 +1268,27 @@ export interface ConnectionState { * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeUpdated?: pulumi.Input; + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + */ + tlsCaFile?: pulumi.Input; + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + */ + tlsCertificateKeyFile?: pulumi.Input; + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + */ + tlsCertificateKeyFilePassword?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + */ + tlsCertificateKeyFilePasswordSecretId?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + */ + tlsCertificateKeyFileSecretId?: pulumi.Input; /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -1208,11 +1298,11 @@ export interface ConnectionState { */ triggerRefresh?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. */ trustStore?: pulumi.Input; /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. */ trustStorePassword?: pulumi.Input; /** @@ -1228,7 +1318,7 @@ export interface ConnectionState { */ url?: pulumi.Input; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. */ userId?: pulumi.Input; /** @@ -1240,7 +1330,7 @@ export interface ConnectionState { */ vaultId?: pulumi.Input; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. */ wallet?: pulumi.Input; /** @@ -1258,7 +1348,7 @@ export interface ConnectionArgs { */ accessKeyId?: pulumi.Input; /** - * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + * (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. */ accountKey?: pulumi.Input; /** @@ -1294,11 +1384,11 @@ export interface ConnectionArgs { */ clientId?: pulumi.Input; /** - * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + * (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. */ clientSecret?: pulumi.Input; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. */ clientSecretSecretId?: pulumi.Input; /** @@ -1318,7 +1408,7 @@ export interface ConnectionArgs { */ connectionType: pulumi.Input; /** - * (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + * (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ connectionUrl?: pulumi.Input; /** @@ -1362,7 +1452,7 @@ export interface ConnectionArgs { */ doesUseSecretIds?: pulumi.Input; /** - * (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com */ endpoint?: pulumi.Input; /** @@ -1392,7 +1482,7 @@ export interface ConnectionArgs { */ jndiProviderUrl?: pulumi.Input; /** - * (Updatable) The password associated to the principal. + * (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. */ jndiSecurityCredentials?: pulumi.Input; /** @@ -1408,11 +1498,11 @@ export interface ConnectionArgs { */ keyId?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the KeyStore file. + * (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. */ keyStore?: pulumi.Input; /** - * (Updatable) The KeyStore password. + * (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. */ keyStorePassword?: pulumi.Input; /** @@ -1432,7 +1522,7 @@ export interface ConnectionArgs { */ nsgIds?: pulumi.Input[]>; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ password?: pulumi.Input; /** @@ -1450,7 +1540,7 @@ export interface ConnectionArgs { */ privateIp?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. */ privateKeyFile?: pulumi.Input; /** @@ -1458,7 +1548,7 @@ export interface ConnectionArgs { */ privateKeyFileSecretId?: pulumi.Input; /** - * (Updatable) Password if the private key file is encrypted. + * (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. */ privateKeyPassphrase?: pulumi.Input; /** @@ -1478,7 +1568,7 @@ export interface ConnectionArgs { */ redisClusterId?: pulumi.Input; /** - * (Updatable) The name of the region. e.g.: us-ashburn-1 + * (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. */ region?: pulumi.Input; /** @@ -1486,7 +1576,7 @@ export interface ConnectionArgs { */ routingMethod?: pulumi.Input; /** - * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + * (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. */ sasToken?: pulumi.Input; /** @@ -1494,7 +1584,7 @@ export interface ConnectionArgs { */ sasTokenSecretId?: pulumi.Input; /** - * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + * (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. */ secretAccessKey?: pulumi.Input; /** @@ -1510,7 +1600,7 @@ export interface ConnectionArgs { */ servers?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + * (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. */ serviceAccountKeyFile?: pulumi.Input; /** @@ -1525,6 +1615,10 @@ export interface ConnectionArgs { * (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. */ shouldUseJndi?: pulumi.Input; + /** + * (Updatable) Indicates that the user intents to connect to the instance through resource principal. + */ + shouldUseResourcePrincipal?: pulumi.Input; /** * (Updatable) If set to true, the driver validates the certificate that is sent by the database server. */ @@ -1538,7 +1632,7 @@ export interface ConnectionArgs { */ sslCert?: pulumi.Input; /** - * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + * (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. */ sslClientKeystash?: pulumi.Input; /** @@ -1546,7 +1640,7 @@ export interface ConnectionArgs { */ sslClientKeystashSecretId?: pulumi.Input; /** - * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + * (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. */ sslClientKeystoredb?: pulumi.Input; /** @@ -1558,11 +1652,11 @@ export interface ConnectionArgs { */ sslCrl?: pulumi.Input; /** - * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + * (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. */ sslKey?: pulumi.Input; /** - * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + * (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. */ sslKeyPassword?: pulumi.Input; /** @@ -1582,6 +1676,10 @@ export interface ConnectionArgs { * (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. */ sslServerCertificate?: pulumi.Input; + /** + * (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + */ + storageCredentialName?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. */ @@ -1598,6 +1696,31 @@ export interface ConnectionArgs { * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. */ tenancyId?: pulumi.Input; + /** + * (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + */ + tenantId?: pulumi.Input; + /** + * (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + */ + tlsCaFile?: pulumi.Input; + /** + * (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + */ + tlsCertificateKeyFile?: pulumi.Input; + /** + * (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + */ + tlsCertificateKeyFilePassword?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + */ + tlsCertificateKeyFilePasswordSecretId?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + */ + tlsCertificateKeyFileSecretId?: pulumi.Input; /** * (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). * @@ -1607,11 +1730,11 @@ export interface ConnectionArgs { */ triggerRefresh?: pulumi.Input; /** - * (Updatable) The base64 encoded content of the TrustStore file. + * (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. */ trustStore?: pulumi.Input; /** - * (Updatable) The TrustStore password. + * (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. */ trustStorePassword?: pulumi.Input; /** @@ -1627,7 +1750,7 @@ export interface ConnectionArgs { */ url?: pulumi.Input; /** - * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. */ userId?: pulumi.Input; /** @@ -1639,7 +1762,7 @@ export interface ConnectionArgs { */ vaultId?: pulumi.Input; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. */ wallet?: pulumi.Input; /** diff --git a/sdk/nodejs/goldengate/databaseRegistration.ts b/sdk/nodejs/goldengate/databaseRegistration.ts index 739a6dca12..b9eb190433 100644 --- a/sdk/nodejs/goldengate/databaseRegistration.ts +++ b/sdk/nodejs/goldengate/databaseRegistration.ts @@ -127,7 +127,7 @@ export class DatabaseRegistration extends pulumi.CustomResource { */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ public readonly password!: pulumi.Output; /** @@ -175,7 +175,7 @@ export class DatabaseRegistration extends pulumi.CustomResource { */ public readonly vaultId!: pulumi.Output; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * * ** IMPORTANT ** @@ -327,7 +327,7 @@ export interface DatabaseRegistrationState { */ lifecycleDetails?: pulumi.Input; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ password?: pulumi.Input; /** @@ -375,7 +375,7 @@ export interface DatabaseRegistrationState { */ vaultId?: pulumi.Input; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * * ** IMPORTANT ** @@ -433,7 +433,7 @@ export interface DatabaseRegistrationArgs { */ keyId?: pulumi.Input; /** - * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + * (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. */ password: pulumi.Input; /** @@ -457,7 +457,7 @@ export interface DatabaseRegistrationArgs { */ vaultId?: pulumi.Input; /** - * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + * (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. * * * ** IMPORTANT ** diff --git a/sdk/nodejs/goldengate/getConnection.ts b/sdk/nodejs/goldengate/getConnection.ts index 60495ca97a..c00fffd6ab 100644 --- a/sdk/nodejs/goldengate/getConnection.ts +++ b/sdk/nodejs/goldengate/getConnection.ts @@ -68,6 +68,9 @@ export interface GetConnectionResult { * Used authentication mechanism to be provided for the following connection types: * * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret */ readonly authenticationType: string; /** @@ -110,6 +113,7 @@ export interface GetConnectionResult { * * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ readonly connectionUrl: string; /** @@ -149,6 +153,9 @@ export interface GetConnectionResult { * Indicates that sensitive attributes are provided via Secrets. */ readonly doesUseSecretIds: boolean; + /** + * Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + */ readonly endpoint: string; readonly fingerprint: string; /** @@ -251,7 +258,7 @@ export interface GetConnectionResult { */ readonly redisClusterId: string; /** - * The name of the region. e.g.: us-ashburn-1 + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. */ readonly region: string; /** @@ -292,12 +299,16 @@ export interface GetConnectionResult { * If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. */ readonly shouldUseJndi: boolean; + /** + * Indicates that the user intents to connect to the instance through resource principal. + */ + readonly shouldUseResourcePrincipal: boolean; /** * If set to true, the driver validates the certificate that is sent by the database server. */ readonly shouldValidateServerCertificate: boolean; /** - * Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). */ readonly sslCa: string; readonly sslCert: string; @@ -332,6 +343,10 @@ export interface GetConnectionResult { * Possible lifecycle states for connection. */ readonly state: string; + /** + * Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + */ + readonly storageCredentialName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. */ @@ -352,6 +367,10 @@ export interface GetConnectionResult { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. */ readonly tenancyId: string; + /** + * Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + */ + readonly tenantId: string; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ @@ -360,6 +379,18 @@ export interface GetConnectionResult { * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeUpdated: string; + readonly tlsCaFile: string; + readonly tlsCertificateKeyFile: string; + readonly tlsCertificateKeyFilePassword: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + */ + readonly tlsCertificateKeyFilePasswordSecretId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + */ + readonly tlsCertificateKeyFileSecretId: string; readonly triggerRefresh: boolean; readonly trustStore: string; readonly trustStorePassword: string; @@ -368,7 +399,7 @@ export interface GetConnectionResult { */ readonly trustStorePasswordSecretId: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. */ readonly trustStoreSecretId: string; /** @@ -376,11 +407,11 @@ export interface GetConnectionResult { */ readonly url: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. */ readonly userId: string; /** - * The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. */ readonly username: string; /** diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index de1b6ff3a8..aa72b58e76 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -124,6 +124,7 @@ import * as servicemanagerproxy from "./servicemanagerproxy"; import * as servicemesh from "./servicemesh"; import * as stackmonitoring from "./stackmonitoring"; import * as streaming from "./streaming"; +import * as tenantmanagercontrolplane from "./tenantmanagercontrolplane"; import * as types from "./types"; import * as usageproxy from "./usageproxy"; import * as vault from "./vault"; @@ -249,6 +250,7 @@ export { servicemesh, stackmonitoring, streaming, + tenantmanagercontrolplane, types, usageproxy, vault, diff --git a/sdk/nodejs/jms/getFleetErrorAnalytics.ts b/sdk/nodejs/jms/getFleetErrorAnalytics.ts new file mode 100644 index 0000000000..9b2cbc5011 --- /dev/null +++ b/sdk/nodejs/jms/getFleetErrorAnalytics.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 inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + * + * Returns a high level summary of FleetErrors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testFleetErrorAnalytics = oci.Jms.getFleetErrorAnalytics({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: fleetErrorAnalyticCompartmentIdInSubtree, + * }); + * ``` + */ +export function getFleetErrorAnalytics(args?: GetFleetErrorAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getFleetErrorAnalytics. + */ +export interface GetFleetErrorAnalyticsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: boolean; + filters?: inputs.Jms.GetFleetErrorAnalyticsFilter[]; +} + +/** + * A collection of values returned by getFleetErrorAnalytics. + */ +export interface GetFleetErrorAnalyticsResult { + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + readonly filters?: outputs.Jms.GetFleetErrorAnalyticsFilter[]; + /** + * The list of fleet_error_aggregation_collection. + */ + readonly fleetErrorAggregationCollections: outputs.Jms.GetFleetErrorAnalyticsFleetErrorAggregationCollection[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + * + * Returns a high level summary of FleetErrors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testFleetErrorAnalytics = oci.Jms.getFleetErrorAnalytics({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: fleetErrorAnalyticCompartmentIdInSubtree, + * }); + * ``` + */ +export function getFleetErrorAnalyticsOutput(args?: GetFleetErrorAnalyticsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getFleetErrorAnalytics. + */ +export interface GetFleetErrorAnalyticsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/jms/getFleetErrors.ts b/sdk/nodejs/jms/getFleetErrors.ts new file mode 100644 index 0000000000..cf38b75ad4 --- /dev/null +++ b/sdk/nodejs/jms/getFleetErrors.ts @@ -0,0 +1,178 @@ +// *** WARNING: this file 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 Fleet Errors in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of fleet errors that describe all detected errors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testFleetErrors = oci.Jms.getFleetErrors({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: fleetErrorCompartmentIdInSubtree, + * fleetId: testFleet.id, + * timeFirstSeenGreaterThanOrEqualTo: fleetErrorTimeFirstSeenGreaterThanOrEqualTo, + * timeFirstSeenLessThanOrEqualTo: fleetErrorTimeFirstSeenLessThanOrEqualTo, + * timeLastSeenGreaterThanOrEqualTo: fleetErrorTimeLastSeenGreaterThanOrEqualTo, + * timeLastSeenLessThanOrEqualTo: fleetErrorTimeLastSeenLessThanOrEqualTo, + * }); + * ``` + */ +export function getFleetErrors(args?: GetFleetErrorsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Jms/getFleetErrors:getFleetErrors", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + "fleetId": args.fleetId, + "timeFirstSeenGreaterThanOrEqualTo": args.timeFirstSeenGreaterThanOrEqualTo, + "timeFirstSeenLessThanOrEqualTo": args.timeFirstSeenLessThanOrEqualTo, + "timeLastSeenGreaterThanOrEqualTo": args.timeLastSeenGreaterThanOrEqualTo, + "timeLastSeenLessThanOrEqualTo": args.timeLastSeenLessThanOrEqualTo, + }, opts); +} + +/** + * A collection of arguments for invoking getFleetErrors. + */ +export interface GetFleetErrorsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: boolean; + filters?: inputs.Jms.GetFleetErrorsFilter[]; + /** + * The ID of the Fleet. + */ + fleetId?: string; + /** + * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenGreaterThanOrEqualTo?: string; + /** + * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenLessThanOrEqualTo?: string; + /** + * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenGreaterThanOrEqualTo?: string; + /** + * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenLessThanOrEqualTo?: string; +} + +/** + * A collection of values returned by getFleetErrors. + */ +export interface GetFleetErrorsResult { + /** + * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + readonly filters?: outputs.Jms.GetFleetErrorsFilter[]; + /** + * The list of fleet_error_collection. + */ + readonly fleetErrorCollections: outputs.Jms.GetFleetErrorsFleetErrorCollection[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + readonly fleetId?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly timeFirstSeenGreaterThanOrEqualTo?: string; + readonly timeFirstSeenLessThanOrEqualTo?: string; + readonly timeLastSeenGreaterThanOrEqualTo?: string; + readonly timeLastSeenLessThanOrEqualTo?: string; +} +/** + * This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of fleet errors that describe all detected errors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testFleetErrors = oci.Jms.getFleetErrors({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: fleetErrorCompartmentIdInSubtree, + * fleetId: testFleet.id, + * timeFirstSeenGreaterThanOrEqualTo: fleetErrorTimeFirstSeenGreaterThanOrEqualTo, + * timeFirstSeenLessThanOrEqualTo: fleetErrorTimeFirstSeenLessThanOrEqualTo, + * timeLastSeenGreaterThanOrEqualTo: fleetErrorTimeLastSeenGreaterThanOrEqualTo, + * timeLastSeenLessThanOrEqualTo: fleetErrorTimeLastSeenLessThanOrEqualTo, + * }); + * ``` + */ +export function getFleetErrorsOutput(args?: GetFleetErrorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Jms/getFleetErrors:getFleetErrors", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + "fleetId": args.fleetId, + "timeFirstSeenGreaterThanOrEqualTo": args.timeFirstSeenGreaterThanOrEqualTo, + "timeFirstSeenLessThanOrEqualTo": args.timeFirstSeenLessThanOrEqualTo, + "timeLastSeenGreaterThanOrEqualTo": args.timeLastSeenGreaterThanOrEqualTo, + "timeLastSeenLessThanOrEqualTo": args.timeLastSeenLessThanOrEqualTo, + }, opts); +} + +/** + * A collection of arguments for invoking getFleetErrors. + */ +export interface GetFleetErrorsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The ID of the Fleet. + */ + fleetId?: pulumi.Input; + /** + * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenGreaterThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenLessThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenGreaterThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenLessThanOrEqualTo?: pulumi.Input; +} diff --git a/sdk/nodejs/jms/getFleetPerformanceTuningAnalysisResults.ts b/sdk/nodejs/jms/getFleetPerformanceTuningAnalysisResults.ts index c3c7ec2540..0467d4e01a 100644 --- a/sdk/nodejs/jms/getFleetPerformanceTuningAnalysisResults.ts +++ b/sdk/nodejs/jms/getFleetPerformanceTuningAnalysisResults.ts @@ -20,6 +20,7 @@ import * as utilities from "../utilities"; * const testFleetPerformanceTuningAnalysisResults = oci.Jms.getFleetPerformanceTuningAnalysisResults({ * fleetId: testFleet.id, * applicationId: fleetPerformanceTuningAnalysisResultApplicationId, + * applicationName: fleetPerformanceTuningAnalysisResultApplicationName, * hostName: fleetPerformanceTuningAnalysisResultHostName, * managedInstanceId: fleetPerformanceTuningAnalysisResultManagedInstanceId, * timeEnd: fleetPerformanceTuningAnalysisResultTimeEnd, @@ -31,6 +32,7 @@ export function getFleetPerformanceTuningAnalysisResults(args: GetFleetPerforman opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", { "applicationId": args.applicationId, + "applicationName": args.applicationName, "filters": args.filters, "fleetId": args.fleetId, "hostName": args.hostName, @@ -48,6 +50,10 @@ export interface GetFleetPerformanceTuningAnalysisResultsArgs { * The Fleet-unique identifier of the related application. */ applicationId?: string; + /** + * The name of the application. + */ + applicationName?: string; filters?: inputs.Jms.GetFleetPerformanceTuningAnalysisResultsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. @@ -79,6 +85,10 @@ export interface GetFleetPerformanceTuningAnalysisResultsResult { * The OCID of the application for which the report has been generated. */ readonly applicationId?: string; + /** + * The name of the application for which the report has been generated. + */ + readonly applicationName?: string; readonly filters?: outputs.Jms.GetFleetPerformanceTuningAnalysisResultsFilter[]; /** * The fleet OCID. @@ -117,6 +127,7 @@ export interface GetFleetPerformanceTuningAnalysisResultsResult { * const testFleetPerformanceTuningAnalysisResults = oci.Jms.getFleetPerformanceTuningAnalysisResults({ * fleetId: testFleet.id, * applicationId: fleetPerformanceTuningAnalysisResultApplicationId, + * applicationName: fleetPerformanceTuningAnalysisResultApplicationName, * hostName: fleetPerformanceTuningAnalysisResultHostName, * managedInstanceId: fleetPerformanceTuningAnalysisResultManagedInstanceId, * timeEnd: fleetPerformanceTuningAnalysisResultTimeEnd, @@ -128,6 +139,7 @@ export function getFleetPerformanceTuningAnalysisResultsOutput(args: GetFleetPer opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", { "applicationId": args.applicationId, + "applicationName": args.applicationName, "filters": args.filters, "fleetId": args.fleetId, "hostName": args.hostName, @@ -145,6 +157,10 @@ export interface GetFleetPerformanceTuningAnalysisResultsOutputArgs { * The Fleet-unique identifier of the related application. */ applicationId?: pulumi.Input; + /** + * The name of the application. + */ + applicationName?: pulumi.Input; filters?: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. diff --git a/sdk/nodejs/jms/getJmsPlugins.ts b/sdk/nodejs/jms/getJmsPlugins.ts index e6796114b0..44fdf3fc30 100644 --- a/sdk/nodejs/jms/getJmsPlugins.ts +++ b/sdk/nodejs/jms/getJmsPlugins.ts @@ -19,6 +19,7 @@ import * as utilities from "../utilities"; * * const testJmsPlugins = oci.Jms.getJmsPlugins({ * agentId: jmsPluginAgentId, + * agentType: jmsPluginAgentType, * availabilityStatus: jmsPluginAvailabilityStatus, * compartmentId: compartmentId, * compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree, @@ -36,6 +37,7 @@ export function getJmsPlugins(args?: GetJmsPluginsArgs, opts?: pulumi.InvokeOpti opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("oci:Jms/getJmsPlugins:getJmsPlugins", { "agentId": args.agentId, + "agentType": args.agentType, "availabilityStatus": args.availabilityStatus, "compartmentId": args.compartmentId, "compartmentIdInSubtree": args.compartmentIdInSubtree, @@ -57,6 +59,10 @@ export interface GetJmsPluginsArgs { * The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. */ agentId?: string; + /** + * Filter JmsPlugin with agent type. + */ + agentType?: string; /** * Filter JmsPlugin with its availability status. */ @@ -104,6 +110,10 @@ export interface GetJmsPluginsResult { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed. */ readonly agentId?: string; + /** + * The agent type. + */ + readonly agentType?: string; /** * The availability status. */ @@ -147,6 +157,7 @@ export interface GetJmsPluginsResult { * * const testJmsPlugins = oci.Jms.getJmsPlugins({ * agentId: jmsPluginAgentId, + * agentType: jmsPluginAgentType, * availabilityStatus: jmsPluginAvailabilityStatus, * compartmentId: compartmentId, * compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree, @@ -164,6 +175,7 @@ export function getJmsPluginsOutput(args?: GetJmsPluginsOutputArgs, opts?: pulum opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("oci:Jms/getJmsPlugins:getJmsPlugins", { "agentId": args.agentId, + "agentType": args.agentType, "availabilityStatus": args.availabilityStatus, "compartmentId": args.compartmentId, "compartmentIdInSubtree": args.compartmentIdInSubtree, @@ -185,6 +197,10 @@ export interface GetJmsPluginsOutputArgs { * The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. */ agentId?: pulumi.Input; + /** + * Filter JmsPlugin with agent type. + */ + agentType?: pulumi.Input; /** * Filter JmsPlugin with its availability status. */ diff --git a/sdk/nodejs/jms/getPluginErrorAnalytics.ts b/sdk/nodejs/jms/getPluginErrorAnalytics.ts new file mode 100644 index 0000000000..ea96745058 --- /dev/null +++ b/sdk/nodejs/jms/getPluginErrorAnalytics.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 inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + * + * Returns a high level summary of PluginErrors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testPluginErrorAnalytics = oci.Jms.getPluginErrorAnalytics({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: pluginErrorAnalyticCompartmentIdInSubtree, + * }); + * ``` + */ +export function getPluginErrorAnalytics(args?: GetPluginErrorAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getPluginErrorAnalytics. + */ +export interface GetPluginErrorAnalyticsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: boolean; + filters?: inputs.Jms.GetPluginErrorAnalyticsFilter[]; +} + +/** + * A collection of values returned by getPluginErrorAnalytics. + */ +export interface GetPluginErrorAnalyticsResult { + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + readonly filters?: outputs.Jms.GetPluginErrorAnalyticsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The list of plugin_error_aggregation_collection. + */ + readonly pluginErrorAggregationCollections: outputs.Jms.GetPluginErrorAnalyticsPluginErrorAggregationCollection[]; +} +/** + * This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + * + * Returns a high level summary of PluginErrors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testPluginErrorAnalytics = oci.Jms.getPluginErrorAnalytics({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: pluginErrorAnalyticCompartmentIdInSubtree, + * }); + * ``` + */ +export function getPluginErrorAnalyticsOutput(args?: GetPluginErrorAnalyticsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getPluginErrorAnalytics. + */ +export interface GetPluginErrorAnalyticsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/jms/getPluginErrors.ts b/sdk/nodejs/jms/getPluginErrors.ts new file mode 100644 index 0000000000..dae8ce2db2 --- /dev/null +++ b/sdk/nodejs/jms/getPluginErrors.ts @@ -0,0 +1,178 @@ +// *** WARNING: this file 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 Plugin Errors in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of plugin errors that describe all detected errors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testPluginErrors = oci.Jms.getPluginErrors({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree, + * managedInstanceId: testManagedInstance.id, + * timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo, + * timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo, + * timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo, + * timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo, + * }); + * ``` + */ +export function getPluginErrors(args?: GetPluginErrorsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Jms/getPluginErrors:getPluginErrors", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + "managedInstanceId": args.managedInstanceId, + "timeFirstSeenGreaterThanOrEqualTo": args.timeFirstSeenGreaterThanOrEqualTo, + "timeFirstSeenLessThanOrEqualTo": args.timeFirstSeenLessThanOrEqualTo, + "timeLastSeenGreaterThanOrEqualTo": args.timeLastSeenGreaterThanOrEqualTo, + "timeLastSeenLessThanOrEqualTo": args.timeLastSeenLessThanOrEqualTo, + }, opts); +} + +/** + * A collection of arguments for invoking getPluginErrors. + */ +export interface GetPluginErrorsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: boolean; + filters?: inputs.Jms.GetPluginErrorsFilter[]; + /** + * The Fleet-unique identifier of the managed instance. + */ + managedInstanceId?: string; + /** + * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenGreaterThanOrEqualTo?: string; + /** + * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenLessThanOrEqualTo?: string; + /** + * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenGreaterThanOrEqualTo?: string; + /** + * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenLessThanOrEqualTo?: string; +} + +/** + * A collection of values returned by getPluginErrors. + */ +export interface GetPluginErrorsResult { + /** + * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + readonly filters?: outputs.Jms.GetPluginErrorsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. + */ + readonly managedInstanceId?: string; + /** + * The list of plugin_error_collection. + */ + readonly pluginErrorCollections: outputs.Jms.GetPluginErrorsPluginErrorCollection[]; + readonly timeFirstSeenGreaterThanOrEqualTo?: string; + readonly timeFirstSeenLessThanOrEqualTo?: string; + readonly timeLastSeenGreaterThanOrEqualTo?: string; + readonly timeLastSeenLessThanOrEqualTo?: string; +} +/** + * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + * + * Returns a list of plugin errors that describe all detected errors. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testPluginErrors = oci.Jms.getPluginErrors({ + * compartmentId: compartmentId, + * compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree, + * managedInstanceId: testManagedInstance.id, + * timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo, + * timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo, + * timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo, + * timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo, + * }); + * ``` + */ +export function getPluginErrorsOutput(args?: GetPluginErrorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Jms/getPluginErrors:getPluginErrors", { + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "filters": args.filters, + "managedInstanceId": args.managedInstanceId, + "timeFirstSeenGreaterThanOrEqualTo": args.timeFirstSeenGreaterThanOrEqualTo, + "timeFirstSeenLessThanOrEqualTo": args.timeFirstSeenLessThanOrEqualTo, + "timeLastSeenGreaterThanOrEqualTo": args.timeLastSeenGreaterThanOrEqualTo, + "timeLastSeenLessThanOrEqualTo": args.timeLastSeenLessThanOrEqualTo, + }, opts); +} + +/** + * A collection of arguments for invoking getPluginErrors. + */ +export interface GetPluginErrorsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + */ + compartmentIdInSubtree?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The Fleet-unique identifier of the managed instance. + */ + managedInstanceId?: pulumi.Input; + /** + * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenGreaterThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeFirstSeenLessThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenGreaterThanOrEqualTo?: pulumi.Input; + /** + * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + */ + timeLastSeenLessThanOrEqualTo?: pulumi.Input; +} diff --git a/sdk/nodejs/jms/index.ts b/sdk/nodejs/jms/index.ts index b9709a0cac..60fd3a8991 100644 --- a/sdk/nodejs/jms/index.ts +++ b/sdk/nodejs/jms/index.ts @@ -65,6 +65,16 @@ export const getFleetDrsFiles: typeof import("./getFleetDrsFiles").getFleetDrsFi export const getFleetDrsFilesOutput: typeof import("./getFleetDrsFiles").getFleetDrsFilesOutput = null as any; utilities.lazyLoad(exports, ["getFleetDrsFiles","getFleetDrsFilesOutput"], () => require("./getFleetDrsFiles")); +export { GetFleetErrorAnalyticsArgs, GetFleetErrorAnalyticsResult, GetFleetErrorAnalyticsOutputArgs } from "./getFleetErrorAnalytics"; +export const getFleetErrorAnalytics: typeof import("./getFleetErrorAnalytics").getFleetErrorAnalytics = null as any; +export const getFleetErrorAnalyticsOutput: typeof import("./getFleetErrorAnalytics").getFleetErrorAnalyticsOutput = null as any; +utilities.lazyLoad(exports, ["getFleetErrorAnalytics","getFleetErrorAnalyticsOutput"], () => require("./getFleetErrorAnalytics")); + +export { GetFleetErrorsArgs, GetFleetErrorsResult, GetFleetErrorsOutputArgs } from "./getFleetErrors"; +export const getFleetErrors: typeof import("./getFleetErrors").getFleetErrors = null as any; +export const getFleetErrorsOutput: typeof import("./getFleetErrors").getFleetErrorsOutput = null as any; +utilities.lazyLoad(exports, ["getFleetErrors","getFleetErrorsOutput"], () => require("./getFleetErrors")); + export { GetFleetExportSettingArgs, GetFleetExportSettingResult, GetFleetExportSettingOutputArgs } from "./getFleetExportSetting"; export const getFleetExportSetting: typeof import("./getFleetExportSetting").getFleetExportSetting = null as any; export const getFleetExportSettingOutput: typeof import("./getFleetExportSetting").getFleetExportSettingOutput = null as any; @@ -195,6 +205,16 @@ export const getListJreUsage: typeof import("./getListJreUsage").getListJreUsage export const getListJreUsageOutput: typeof import("./getListJreUsage").getListJreUsageOutput = null as any; utilities.lazyLoad(exports, ["getListJreUsage","getListJreUsageOutput"], () => require("./getListJreUsage")); +export { GetPluginErrorAnalyticsArgs, GetPluginErrorAnalyticsResult, GetPluginErrorAnalyticsOutputArgs } from "./getPluginErrorAnalytics"; +export const getPluginErrorAnalytics: typeof import("./getPluginErrorAnalytics").getPluginErrorAnalytics = null as any; +export const getPluginErrorAnalyticsOutput: typeof import("./getPluginErrorAnalytics").getPluginErrorAnalyticsOutput = null as any; +utilities.lazyLoad(exports, ["getPluginErrorAnalytics","getPluginErrorAnalyticsOutput"], () => require("./getPluginErrorAnalytics")); + +export { GetPluginErrorsArgs, GetPluginErrorsResult, GetPluginErrorsOutputArgs } from "./getPluginErrors"; +export const getPluginErrors: typeof import("./getPluginErrors").getPluginErrors = null as any; +export const getPluginErrorsOutput: typeof import("./getPluginErrors").getPluginErrorsOutput = null as any; +utilities.lazyLoad(exports, ["getPluginErrors","getPluginErrorsOutput"], () => require("./getPluginErrors")); + export { GetSummarizeResourceInventoryArgs, GetSummarizeResourceInventoryResult, GetSummarizeResourceInventoryOutputArgs } from "./getSummarizeResourceInventory"; export const getSummarizeResourceInventory: typeof import("./getSummarizeResourceInventory").getSummarizeResourceInventory = null as any; export const getSummarizeResourceInventoryOutput: typeof import("./getSummarizeResourceInventory").getSummarizeResourceInventoryOutput = null as any; diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 359152cfae..c05260226a 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -62,6 +62,7 @@ export class Provider extends pulumi.ProviderResource { * Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. */ public readonly tenancyOcid!: pulumi.Output; + public readonly testTimeMaintenanceRebootDue!: pulumi.Output; /** * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if * auth is set to 'ApiKey', ignored otherwise. @@ -91,6 +92,7 @@ export class Provider extends pulumi.ProviderResource { resourceInputs["region"] = args ? args.region : undefined; resourceInputs["retryDurationSeconds"] = pulumi.output(args ? args.retryDurationSeconds : undefined).apply(JSON.stringify); resourceInputs["tenancyOcid"] = args ? args.tenancyOcid : undefined; + resourceInputs["testTimeMaintenanceRebootDue"] = args ? args.testTimeMaintenanceRebootDue : undefined; resourceInputs["userOcid"] = args ? args.userOcid : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -157,6 +159,7 @@ export interface ProviderArgs { * Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. */ tenancyOcid?: pulumi.Input; + testTimeMaintenanceRebootDue?: pulumi.Input; /** * (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if * auth is set to 'ApiKey', ignored otherwise. diff --git a/sdk/nodejs/stackmonitoring/getDefinedMonitoringTemplates.ts b/sdk/nodejs/stackmonitoring/getDefinedMonitoringTemplates.ts new file mode 100644 index 0000000000..c42f5006dc --- /dev/null +++ b/sdk/nodejs/stackmonitoring/getDefinedMonitoringTemplates.ts @@ -0,0 +1,121 @@ +// *** WARNING: this file 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 Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDefinedMonitoringTemplates = oci.StackMonitoring.getDefinedMonitoringTemplates({ + * compartmentId: compartmentId, + * displayName: definedMonitoringTemplateDisplayName, + * resourceTypes: definedMonitoringTemplateResourceTypes, + * }); + * ``` + */ +export function getDefinedMonitoringTemplates(args: GetDefinedMonitoringTemplatesArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "resourceTypes": args.resourceTypes, + }, opts); +} + +/** + * A collection of arguments for invoking getDefinedMonitoringTemplates. + */ +export interface GetDefinedMonitoringTemplatesArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + */ + compartmentId: string; + /** + * A filter to return monitoring template based on name. + */ + displayName?: string; + filters?: inputs.StackMonitoring.GetDefinedMonitoringTemplatesFilter[]; + /** + * Multiple resource types filter. + */ + resourceTypes?: string[]; +} + +/** + * A collection of values returned by getDefinedMonitoringTemplates. + */ +export interface GetDefinedMonitoringTemplatesResult { + readonly compartmentId: string; + /** + * The list of defined_monitoring_template_collection. + */ + readonly definedMonitoringTemplateCollections: outputs.StackMonitoring.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection[]; + /** + * The name of the definedMonitoringTemplate. + */ + readonly displayName?: string; + readonly filters?: outputs.StackMonitoring.GetDefinedMonitoringTemplatesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly resourceTypes?: string[]; +} +/** + * This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * List Defined Monitoring Templates. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDefinedMonitoringTemplates = oci.StackMonitoring.getDefinedMonitoringTemplates({ + * compartmentId: compartmentId, + * displayName: definedMonitoringTemplateDisplayName, + * resourceTypes: definedMonitoringTemplateResourceTypes, + * }); + * ``` + */ +export function getDefinedMonitoringTemplatesOutput(args: GetDefinedMonitoringTemplatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "resourceTypes": args.resourceTypes, + }, opts); +} + +/** + * A collection of arguments for invoking getDefinedMonitoringTemplates. + */ +export interface GetDefinedMonitoringTemplatesOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + */ + compartmentId: pulumi.Input; + /** + * A filter to return monitoring template based on name. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * Multiple resource types filter. + */ + resourceTypes?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/stackmonitoring/getMetricExtension.ts b/sdk/nodejs/stackmonitoring/getMetricExtension.ts index 85e115d896..ff7015822a 100644 --- a/sdk/nodejs/stackmonitoring/getMetricExtension.ts +++ b/sdk/nodejs/stackmonitoring/getMetricExtension.ts @@ -68,7 +68,7 @@ export interface GetMetricExtensionResult { */ readonly displayName: string; /** - * List of resource objects on which this metric extension is enabled. + * List of resource details objects having resourceIds on which this metric extension is enabled. */ readonly enabledOnResources: outputs.StackMonitoring.GetMetricExtensionEnabledOnResource[]; /** diff --git a/sdk/nodejs/stackmonitoring/getMonitoredResourceType.ts b/sdk/nodejs/stackmonitoring/getMonitoredResourceType.ts index 4ddc2007cf..da0b8dbaf9 100644 --- a/sdk/nodejs/stackmonitoring/getMonitoredResourceType.ts +++ b/sdk/nodejs/stackmonitoring/getMonitoredResourceType.ts @@ -43,6 +43,10 @@ export interface GetMonitoredResourceTypeArgs { * A collection of values returned by getMonitoredResourceType. */ export interface GetMonitoredResourceTypeResult { + /** + * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + */ + readonly additionalNamespaceMap: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. */ diff --git a/sdk/nodejs/stackmonitoring/getMonitoringTemplate.ts b/sdk/nodejs/stackmonitoring/getMonitoringTemplate.ts new file mode 100644 index 0000000000..32eab0b9e9 --- /dev/null +++ b/sdk/nodejs/stackmonitoring/getMonitoringTemplate.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file 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 Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplate = oci.StackMonitoring.getMonitoringTemplate({ + * monitoringTemplateId: testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id, + * }); + * ``` + */ +export function getMonitoringTemplate(args: GetMonitoringTemplateArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", { + "monitoringTemplateId": args.monitoringTemplateId, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplate. + */ +export interface GetMonitoringTemplateArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: string; +} + +/** + * A collection of values returned by getMonitoringTemplate. + */ +export interface GetMonitoringTemplateResult { + /** + * The OCID of the compartment containing the monitoringTemplate. + */ + 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}; + /** + * A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + readonly description: string; + /** + * A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + */ + readonly destinations: string[]; + /** + * A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The OCID of the resourceInstance/resourceType/resourceGroup + */ + readonly id: string; + /** + * Whether the alarm is enabled or disabled. Default value is enabled. + */ + readonly isAlarmsEnabled: boolean; + /** + * Whether the alarm notification is enabled or disabled, it will be Enabled by default. + */ + readonly isSplitNotificationEnabled: boolean; + /** + * List of members of this monitoring template. + */ + readonly members: outputs.StackMonitoring.GetMonitoringTemplateMember[]; + /** + * The format to use for alarm notifications. + */ + readonly messageFormat: string; + readonly monitoringTemplateId: string; + /** + * The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + */ + readonly repeatNotificationDuration: string; + /** + * The current lifecycle state of the monitoring template. + */ + readonly state: string; + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + */ + readonly status: 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}; + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + */ + readonly tenantId: string; + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + */ + readonly timeCreated: string; + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + */ + readonly timeUpdated: string; + /** + * Total Alarm Conditions + */ + readonly totalAlarmConditions: number; + /** + * Total Applied Alarm Conditions + */ + readonly totalAppliedAlarmConditions: number; +} +/** + * This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Monitoring Template by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplate = oci.StackMonitoring.getMonitoringTemplate({ + * monitoringTemplateId: testMonitoringTemplateOciStackMonitoringMonitoringTemplate.id, + * }); + * ``` + */ +export function getMonitoringTemplateOutput(args: GetMonitoringTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate", { + "monitoringTemplateId": args.monitoringTemplateId, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplate. + */ +export interface GetMonitoringTemplateOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmCondition.ts b/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmCondition.ts new file mode 100644 index 0000000000..a1bfae62f8 --- /dev/null +++ b/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmCondition.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file 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 Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition by identifier. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateAlarmCondition = oci.StackMonitoring.getMonitoringTemplateAlarmCondition({ + * alarmConditionId: testAlarmCondition.id, + * monitoringTemplateId: testMonitoringTemplate.id, + * }); + * ``` + */ +export function getMonitoringTemplateAlarmCondition(args: GetMonitoringTemplateAlarmConditionArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", { + "alarmConditionId": args.alarmConditionId, + "monitoringTemplateId": args.monitoringTemplateId, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplateAlarmCondition. + */ +export interface GetMonitoringTemplateAlarmConditionArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + */ + alarmConditionId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: string; +} + +/** + * A collection of values returned by getMonitoringTemplateAlarmCondition. + */ +export interface GetMonitoringTemplateAlarmConditionResult { + readonly alarmConditionId: string; + /** + * The OCID of the composite resource type like EBS/PEOPLE_SOFT. + */ + readonly compositeType: string; + /** + * Type of defined monitoring template. + */ + readonly conditionType: string; + /** + * Monitoring template conditions + */ + readonly conditions: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionCondition[]; + /** + * 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}; + /** + * 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + */ + readonly id: string; + /** + * The metric name. + */ + readonly metricName: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + readonly monitoringTemplateId: string; + /** + * The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + readonly namespace: string; + /** + * The resource type OCID. + */ + readonly resourceType: string; + /** + * The current lifecycle state of the monitoring template + */ + readonly state: string; + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + */ + readonly status: 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 date and time the alarm condition was created. Format defined by RFC3339. + */ + readonly timeCreated: string; + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Gets a Alarm Condition by identifier. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateAlarmCondition = oci.StackMonitoring.getMonitoringTemplateAlarmCondition({ + * alarmConditionId: testAlarmCondition.id, + * monitoringTemplateId: testMonitoringTemplate.id, + * }); + * ``` + */ +export function getMonitoringTemplateAlarmConditionOutput(args: GetMonitoringTemplateAlarmConditionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition", { + "alarmConditionId": args.alarmConditionId, + "monitoringTemplateId": args.monitoringTemplateId, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplateAlarmCondition. + */ +export interface GetMonitoringTemplateAlarmConditionOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + */ + alarmConditionId: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmConditions.ts b/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmConditions.ts new file mode 100644 index 0000000000..2215a4fdbd --- /dev/null +++ b/sdk/nodejs/stackmonitoring/getMonitoringTemplateAlarmConditions.ts @@ -0,0 +1,166 @@ +// *** WARNING: this file 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 Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateAlarmConditions = oci.StackMonitoring.getMonitoringTemplateAlarmConditions({ + * monitoringTemplateId: testMonitoringTemplate.id, + * metricNames: testMetric.name, + * resourceTypes: monitoringTemplateAlarmConditionResourceTypes, + * state: monitoringTemplateAlarmConditionState, + * status: monitoringTemplateAlarmConditionStatus, + * }); + * ``` + */ +export function getMonitoringTemplateAlarmConditions(args: GetMonitoringTemplateAlarmConditionsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", { + "alarmConditionId": args.alarmConditionId, + "compartmentId": args.compartmentId, + "filters": args.filters, + "metricNames": args.metricNames, + "monitoringTemplateId": args.monitoringTemplateId, + "resourceTypes": args.resourceTypes, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplateAlarmConditions. + */ +export interface GetMonitoringTemplateAlarmConditionsArgs { + alarmConditionId: string; + compartmentId?: string; + filters?: inputs.StackMonitoring.GetMonitoringTemplateAlarmConditionsFilter[]; + /** + * metricName filter. + */ + metricNames?: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: string; + /** + * Multiple resource types filter. + */ + resourceTypes?: string[]; + /** + * A filter to return alarm condition based on Lifecycle State. + */ + state?: string; + /** + * A filter to return alarm condition based on input status. + */ + status?: string; +} + +/** + * A collection of values returned by getMonitoringTemplateAlarmConditions. + */ +export interface GetMonitoringTemplateAlarmConditionsResult { + /** + * The list of alarm_condition_collection. + */ + readonly alarmConditionCollections: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionsAlarmConditionCollection[]; + readonly alarmConditionId: string; + readonly compartmentId?: string; + readonly filters?: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The metric name. + */ + readonly metricNames?: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + readonly monitoringTemplateId: string; + readonly resourceTypes?: string[]; + /** + * The current lifecycle state of the monitoring template + */ + readonly state?: string; + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + */ + readonly status?: string; +} +/** + * This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Alarm Conditions. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateAlarmConditions = oci.StackMonitoring.getMonitoringTemplateAlarmConditions({ + * monitoringTemplateId: testMonitoringTemplate.id, + * metricNames: testMetric.name, + * resourceTypes: monitoringTemplateAlarmConditionResourceTypes, + * state: monitoringTemplateAlarmConditionState, + * status: monitoringTemplateAlarmConditionStatus, + * }); + * ``` + */ +export function getMonitoringTemplateAlarmConditionsOutput(args: GetMonitoringTemplateAlarmConditionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions", { + "alarmConditionId": args.alarmConditionId, + "compartmentId": args.compartmentId, + "filters": args.filters, + "metricNames": args.metricNames, + "monitoringTemplateId": args.monitoringTemplateId, + "resourceTypes": args.resourceTypes, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplateAlarmConditions. + */ +export interface GetMonitoringTemplateAlarmConditionsOutputArgs { + alarmConditionId: pulumi.Input; + compartmentId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * metricName filter. + */ + metricNames?: pulumi.Input[]>; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: pulumi.Input; + /** + * Multiple resource types filter. + */ + resourceTypes?: pulumi.Input[]>; + /** + * A filter to return alarm condition based on Lifecycle State. + */ + state?: pulumi.Input; + /** + * A filter to return alarm condition based on input status. + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/getMonitoringTemplates.ts b/sdk/nodejs/stackmonitoring/getMonitoringTemplates.ts new file mode 100644 index 0000000000..5e8281578c --- /dev/null +++ b/sdk/nodejs/stackmonitoring/getMonitoringTemplates.ts @@ -0,0 +1,197 @@ +// *** WARNING: this file 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 Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplates = oci.StackMonitoring.getMonitoringTemplates({ + * compartmentId: compartmentId, + * displayName: monitoringTemplateDisplayName, + * metricNames: testMetric.name, + * monitoringTemplateId: testMonitoringTemplate.id, + * namespaces: monitoringTemplateNamespace, + * resourceTypes: monitoringTemplateResourceTypes, + * state: monitoringTemplateState, + * status: monitoringTemplateStatus, + * }); + * ``` + */ +export function getMonitoringTemplates(args?: GetMonitoringTemplatesArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "metricNames": args.metricNames, + "monitoringTemplateId": args.monitoringTemplateId, + "namespaces": args.namespaces, + "resourceTypes": args.resourceTypes, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplates. + */ +export interface GetMonitoringTemplatesArgs { + /** + * The ID of the compartment in which data is listed. + */ + compartmentId?: string; + /** + * A filter to return monitoring template based on name. + */ + displayName?: string; + filters?: inputs.StackMonitoring.GetMonitoringTemplatesFilter[]; + /** + * metricName filter. + */ + metricNames?: string[]; + /** + * A filter to return monitoring template based on input monitoringTemplateId + */ + monitoringTemplateId?: string; + /** + * namespace filter. + */ + namespaces?: string[]; + /** + * Multiple resource types filter. + */ + resourceTypes?: string[]; + /** + * A filter to return monitoring template based on Lifecycle State + */ + state?: string; + /** + * A filter to return monitoring template based on input status + */ + status?: string; +} + +/** + * A collection of values returned by getMonitoringTemplates. + */ +export interface GetMonitoringTemplatesResult { + /** + * The OCID of the compartment containing the monitoringTemplate. + */ + readonly compartmentId?: string; + /** + * A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly filters?: outputs.StackMonitoring.GetMonitoringTemplatesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly metricNames?: string[]; + /** + * The list of monitoring_template_collection. + */ + readonly monitoringTemplateCollections: outputs.StackMonitoring.GetMonitoringTemplatesMonitoringTemplateCollection[]; + readonly monitoringTemplateId?: string; + readonly namespaces?: string[]; + readonly resourceTypes?: string[]; + /** + * The current lifecycle state of the monitoring template. + */ + readonly state?: string; + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + */ + readonly status?: string; +} +/** + * This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Returns a list of Monitoring Templates. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplates = oci.StackMonitoring.getMonitoringTemplates({ + * compartmentId: compartmentId, + * displayName: monitoringTemplateDisplayName, + * metricNames: testMetric.name, + * monitoringTemplateId: testMonitoringTemplate.id, + * namespaces: monitoringTemplateNamespace, + * resourceTypes: monitoringTemplateResourceTypes, + * state: monitoringTemplateState, + * status: monitoringTemplateStatus, + * }); + * ``` + */ +export function getMonitoringTemplatesOutput(args?: GetMonitoringTemplatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "metricNames": args.metricNames, + "monitoringTemplateId": args.monitoringTemplateId, + "namespaces": args.namespaces, + "resourceTypes": args.resourceTypes, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getMonitoringTemplates. + */ +export interface GetMonitoringTemplatesOutputArgs { + /** + * The ID of the compartment in which data is listed. + */ + compartmentId?: pulumi.Input; + /** + * A filter to return monitoring template based on name. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * metricName filter. + */ + metricNames?: pulumi.Input[]>; + /** + * A filter to return monitoring template based on input monitoringTemplateId + */ + monitoringTemplateId?: pulumi.Input; + /** + * namespace filter. + */ + namespaces?: pulumi.Input[]>; + /** + * Multiple resource types filter. + */ + resourceTypes?: pulumi.Input[]>; + /** + * A filter to return monitoring template based on Lifecycle State + */ + state?: pulumi.Input; + /** + * A filter to return monitoring template based on input status + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/index.ts b/sdk/nodejs/stackmonitoring/index.ts index 724f920573..0edf2fd6c6 100644 --- a/sdk/nodejs/stackmonitoring/index.ts +++ b/sdk/nodejs/stackmonitoring/index.ts @@ -45,6 +45,11 @@ export const getConfigs: typeof import("./getConfigs").getConfigs = null as any; export const getConfigsOutput: typeof import("./getConfigs").getConfigsOutput = null as any; utilities.lazyLoad(exports, ["getConfigs","getConfigsOutput"], () => require("./getConfigs")); +export { GetDefinedMonitoringTemplatesArgs, GetDefinedMonitoringTemplatesResult, GetDefinedMonitoringTemplatesOutputArgs } from "./getDefinedMonitoringTemplates"; +export const getDefinedMonitoringTemplates: typeof import("./getDefinedMonitoringTemplates").getDefinedMonitoringTemplates = null as any; +export const getDefinedMonitoringTemplatesOutput: typeof import("./getDefinedMonitoringTemplates").getDefinedMonitoringTemplatesOutput = null as any; +utilities.lazyLoad(exports, ["getDefinedMonitoringTemplates","getDefinedMonitoringTemplatesOutput"], () => require("./getDefinedMonitoringTemplates")); + export { GetDiscoveryJobArgs, GetDiscoveryJobResult, GetDiscoveryJobOutputArgs } from "./getDiscoveryJob"; export const getDiscoveryJob: typeof import("./getDiscoveryJob").getDiscoveryJob = null as any; export const getDiscoveryJobOutput: typeof import("./getDiscoveryJob").getDiscoveryJobOutput = null as any; @@ -110,6 +115,26 @@ export const getMonitoredResources: typeof import("./getMonitoredResources").get export const getMonitoredResourcesOutput: typeof import("./getMonitoredResources").getMonitoredResourcesOutput = null as any; utilities.lazyLoad(exports, ["getMonitoredResources","getMonitoredResourcesOutput"], () => require("./getMonitoredResources")); +export { GetMonitoringTemplateArgs, GetMonitoringTemplateResult, GetMonitoringTemplateOutputArgs } from "./getMonitoringTemplate"; +export const getMonitoringTemplate: typeof import("./getMonitoringTemplate").getMonitoringTemplate = null as any; +export const getMonitoringTemplateOutput: typeof import("./getMonitoringTemplate").getMonitoringTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringTemplate","getMonitoringTemplateOutput"], () => require("./getMonitoringTemplate")); + +export { GetMonitoringTemplateAlarmConditionArgs, GetMonitoringTemplateAlarmConditionResult, GetMonitoringTemplateAlarmConditionOutputArgs } from "./getMonitoringTemplateAlarmCondition"; +export const getMonitoringTemplateAlarmCondition: typeof import("./getMonitoringTemplateAlarmCondition").getMonitoringTemplateAlarmCondition = null as any; +export const getMonitoringTemplateAlarmConditionOutput: typeof import("./getMonitoringTemplateAlarmCondition").getMonitoringTemplateAlarmConditionOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringTemplateAlarmCondition","getMonitoringTemplateAlarmConditionOutput"], () => require("./getMonitoringTemplateAlarmCondition")); + +export { GetMonitoringTemplateAlarmConditionsArgs, GetMonitoringTemplateAlarmConditionsResult, GetMonitoringTemplateAlarmConditionsOutputArgs } from "./getMonitoringTemplateAlarmConditions"; +export const getMonitoringTemplateAlarmConditions: typeof import("./getMonitoringTemplateAlarmConditions").getMonitoringTemplateAlarmConditions = null as any; +export const getMonitoringTemplateAlarmConditionsOutput: typeof import("./getMonitoringTemplateAlarmConditions").getMonitoringTemplateAlarmConditionsOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringTemplateAlarmConditions","getMonitoringTemplateAlarmConditionsOutput"], () => require("./getMonitoringTemplateAlarmConditions")); + +export { GetMonitoringTemplatesArgs, GetMonitoringTemplatesResult, GetMonitoringTemplatesOutputArgs } from "./getMonitoringTemplates"; +export const getMonitoringTemplates: typeof import("./getMonitoringTemplates").getMonitoringTemplates = null as any; +export const getMonitoringTemplatesOutput: typeof import("./getMonitoringTemplates").getMonitoringTemplatesOutput = null as any; +utilities.lazyLoad(exports, ["getMonitoringTemplates","getMonitoringTemplatesOutput"], () => require("./getMonitoringTemplates")); + export { GetProcessSetArgs, GetProcessSetResult, GetProcessSetOutputArgs } from "./getProcessSet"; export const getProcessSet: typeof import("./getProcessSet").getProcessSet = null as any; export const getProcessSetOutput: typeof import("./getProcessSet").getProcessSetOutput = null as any; @@ -185,6 +210,21 @@ export type MonitoredResourcesSearchAssociation = import("./monitoredResourcesSe export const MonitoredResourcesSearchAssociation: typeof import("./monitoredResourcesSearchAssociation").MonitoredResourcesSearchAssociation = null as any; utilities.lazyLoad(exports, ["MonitoredResourcesSearchAssociation"], () => require("./monitoredResourcesSearchAssociation")); +export { MonitoringTemplateArgs, MonitoringTemplateState } from "./monitoringTemplate"; +export type MonitoringTemplate = import("./monitoringTemplate").MonitoringTemplate; +export const MonitoringTemplate: typeof import("./monitoringTemplate").MonitoringTemplate = null as any; +utilities.lazyLoad(exports, ["MonitoringTemplate"], () => require("./monitoringTemplate")); + +export { MonitoringTemplateAlarmConditionArgs, MonitoringTemplateAlarmConditionState } from "./monitoringTemplateAlarmCondition"; +export type MonitoringTemplateAlarmCondition = import("./monitoringTemplateAlarmCondition").MonitoringTemplateAlarmCondition; +export const MonitoringTemplateAlarmCondition: typeof import("./monitoringTemplateAlarmCondition").MonitoringTemplateAlarmCondition = null as any; +utilities.lazyLoad(exports, ["MonitoringTemplateAlarmCondition"], () => require("./monitoringTemplateAlarmCondition")); + +export { MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState } from "./monitoringTemplateMonitoringTemplateOnGivenResourcesManagement"; +export type MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = import("./monitoringTemplateMonitoringTemplateOnGivenResourcesManagement").MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement; +export const MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement: typeof import("./monitoringTemplateMonitoringTemplateOnGivenResourcesManagement").MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = null as any; +utilities.lazyLoad(exports, ["MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement"], () => require("./monitoringTemplateMonitoringTemplateOnGivenResourcesManagement")); + export { ProcessSetArgs, ProcessSetState } from "./processSet"; export type ProcessSet = import("./processSet").ProcessSet; export const ProcessSet: typeof import("./processSet").ProcessSet = null as any; @@ -227,6 +267,12 @@ const _module = { return new MonitoredResourcesSearch(name, undefined, { urn }) case "oci:StackMonitoring/monitoredResourcesSearchAssociation:MonitoredResourcesSearchAssociation": return new MonitoredResourcesSearchAssociation(name, undefined, { urn }) + case "oci:StackMonitoring/monitoringTemplate:MonitoringTemplate": + return new MonitoringTemplate(name, undefined, { urn }) + case "oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition": + return new MonitoringTemplateAlarmCondition(name, undefined, { urn }) + case "oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement": + return new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(name, undefined, { urn }) case "oci:StackMonitoring/processSet:ProcessSet": return new ProcessSet(name, undefined, { urn }) default: @@ -250,4 +296,7 @@ pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoredResources pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoredResourcesListMember", _module) pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoredResourcesSearch", _module) pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoredResourcesSearchAssociation", _module) +pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoringTemplate", _module) +pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoringTemplateAlarmCondition", _module) +pulumi.runtime.registerResourceModule("oci", "StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement", _module) pulumi.runtime.registerResourceModule("oci", "StackMonitoring/processSet", _module) diff --git a/sdk/nodejs/stackmonitoring/metricExtension.ts b/sdk/nodejs/stackmonitoring/metricExtension.ts index 35fbcb101a..683d823cfb 100644 --- a/sdk/nodejs/stackmonitoring/metricExtension.ts +++ b/sdk/nodejs/stackmonitoring/metricExtension.ts @@ -131,7 +131,7 @@ export class MetricExtension extends pulumi.CustomResource { */ public readonly displayName!: pulumi.Output; /** - * List of resource objects on which this metric extension is enabled. + * List of resource details objects having resourceIds on which this metric extension is enabled. */ public /*out*/ readonly enabledOnResources!: pulumi.Output; /** @@ -299,7 +299,7 @@ export interface MetricExtensionState { */ displayName?: pulumi.Input; /** - * List of resource objects on which this metric extension is enabled. + * List of resource details objects having resourceIds on which this metric extension is enabled. */ enabledOnResources?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/stackmonitoring/monitoredResourceType.ts b/sdk/nodejs/stackmonitoring/monitoredResourceType.ts index d4e0239fb3..f36dac11e3 100644 --- a/sdk/nodejs/stackmonitoring/monitoredResourceType.ts +++ b/sdk/nodejs/stackmonitoring/monitoredResourceType.ts @@ -38,6 +38,7 @@ import * as utilities from "../utilities"; * validPropertiesForCreates: monitoredResourceTypeMetadataValidPropertiesForCreate, * validPropertiesForUpdates: monitoredResourceTypeMetadataValidPropertiesForUpdate, * validPropertyValues: monitoredResourceTypeMetadataValidPropertyValues, + * validSubResourceTypes: monitoredResourceTypeMetadataValidSubResourceTypes, * }, * metricNamespace: monitoredResourceTypeMetricNamespace, * resourceCategory: monitoredResourceTypeResourceCategory, @@ -81,6 +82,10 @@ export class MonitoredResourceType extends pulumi.CustomResource { return obj['__pulumiType'] === MonitoredResourceType.__pulumiType; } + /** + * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + */ + public /*out*/ readonly additionalNamespaceMap!: pulumi.Output<{[key: string]: string}>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. */ @@ -155,6 +160,7 @@ export class MonitoredResourceType extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as MonitoredResourceTypeState | undefined; + resourceInputs["additionalNamespaceMap"] = state ? state.additionalNamespaceMap : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["description"] = state ? state.description : undefined; @@ -184,6 +190,7 @@ export class MonitoredResourceType extends pulumi.CustomResource { resourceInputs["name"] = args ? args.name : undefined; resourceInputs["resourceCategory"] = args ? args.resourceCategory : undefined; resourceInputs["sourceType"] = args ? args.sourceType : undefined; + resourceInputs["additionalNamespaceMap"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; resourceInputs["systemTags"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; @@ -198,6 +205,10 @@ export class MonitoredResourceType extends pulumi.CustomResource { * Input properties used for looking up and filtering MonitoredResourceType resources. */ export interface MonitoredResourceTypeState { + /** + * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + */ + additionalNamespaceMap?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. */ diff --git a/sdk/nodejs/stackmonitoring/monitoringTemplate.ts b/sdk/nodejs/stackmonitoring/monitoringTemplate.ts new file mode 100644 index 0000000000..d42f6c7e3c --- /dev/null +++ b/sdk/nodejs/stackmonitoring/monitoringTemplate.ts @@ -0,0 +1,369 @@ +// *** WARNING: this file 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 Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Creates a new monitoring template for a given compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplate = new oci.stackmonitoring.MonitoringTemplate("test_monitoring_template", { + * compartmentId: compartmentId, + * destinations: monitoringTemplateDestinations, + * displayName: monitoringTemplateDisplayName, + * members: [{ + * id: monitoringTemplateMembersId, + * type: monitoringTemplateMembersType, + * compositeType: monitoringTemplateMembersCompositeType, + * }], + * definedTags: { + * "foo-namespace.bar-key": "value", + * }, + * description: monitoringTemplateDescription, + * freeformTags: { + * "bar-key": "value", + * }, + * isAlarmsEnabled: monitoringTemplateIsAlarmsEnabled, + * isSplitNotificationEnabled: monitoringTemplateIsSplitNotificationEnabled, + * messageFormat: monitoringTemplateMessageFormat, + * repeatNotificationDuration: monitoringTemplateRepeatNotificationDuration, + * }); + * ``` + * + * ## Import + * + * MonitoringTemplates can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "id" + * ``` + */ +export class MonitoringTemplate extends pulumi.CustomResource { + /** + * Get an existing MonitoringTemplate 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?: MonitoringTemplateState, opts?: pulumi.CustomResourceOptions): MonitoringTemplate { + return new MonitoringTemplate(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:StackMonitoring/monitoringTemplate:MonitoringTemplate'; + + /** + * Returns true if the given object is an instance of MonitoringTemplate. 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 MonitoringTemplate { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringTemplate.__pulumiType; + } + + /** + * The OCID of the compartment containing the monitoringTemplate. + */ + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + */ + public readonly destinations!: pulumi.Output; + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + */ + public readonly displayName!: pulumi.Output; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + */ + public readonly isAlarmsEnabled!: pulumi.Output; + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + */ + public readonly isSplitNotificationEnabled!: pulumi.Output; + /** + * (Updatable) List of members of this monitoring template + */ + public readonly members!: pulumi.Output; + /** + * (Updatable) The format to use for alarm notifications. + */ + public readonly messageFormat!: pulumi.Output; + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * + * ** IMPORTANT ** + * 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 repeatNotificationDuration!: pulumi.Output; + /** + * The current lifecycle state of the monitoring template. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + */ + public /*out*/ readonly status!: 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}>; + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + */ + public /*out*/ readonly tenantId!: pulumi.Output; + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + /** + * Total Alarm Conditions + */ + public /*out*/ readonly totalAlarmConditions!: pulumi.Output; + /** + * Total Applied Alarm Conditions + */ + public /*out*/ readonly totalAppliedAlarmConditions!: pulumi.Output; + + /** + * Create a MonitoringTemplate 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: MonitoringTemplateArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: MonitoringTemplateArgs | MonitoringTemplateState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as MonitoringTemplateState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["destinations"] = state ? state.destinations : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["isAlarmsEnabled"] = state ? state.isAlarmsEnabled : undefined; + resourceInputs["isSplitNotificationEnabled"] = state ? state.isSplitNotificationEnabled : undefined; + resourceInputs["members"] = state ? state.members : undefined; + resourceInputs["messageFormat"] = state ? state.messageFormat : undefined; + resourceInputs["repeatNotificationDuration"] = state ? state.repeatNotificationDuration : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["status"] = state ? state.status : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["tenantId"] = state ? state.tenantId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + resourceInputs["totalAlarmConditions"] = state ? state.totalAlarmConditions : undefined; + resourceInputs["totalAppliedAlarmConditions"] = state ? state.totalAppliedAlarmConditions : undefined; + } else { + const args = argsOrState as MonitoringTemplateArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.destinations === undefined) && !opts.urn) { + throw new Error("Missing required property 'destinations'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.members === undefined) && !opts.urn) { + throw new Error("Missing required property 'members'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["destinations"] = args ? args.destinations : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["isAlarmsEnabled"] = args ? args.isAlarmsEnabled : undefined; + resourceInputs["isSplitNotificationEnabled"] = args ? args.isSplitNotificationEnabled : undefined; + resourceInputs["members"] = args ? args.members : undefined; + resourceInputs["messageFormat"] = args ? args.messageFormat : undefined; + resourceInputs["repeatNotificationDuration"] = args ? args.repeatNotificationDuration : undefined; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + resourceInputs["totalAlarmConditions"] = undefined /*out*/; + resourceInputs["totalAppliedAlarmConditions"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MonitoringTemplate.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering MonitoringTemplate resources. + */ +export interface MonitoringTemplateState { + /** + * The OCID of the compartment containing the monitoringTemplate. + */ + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + */ + destinations?: pulumi.Input[]>; + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + */ + displayName?: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + */ + isAlarmsEnabled?: pulumi.Input; + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + */ + isSplitNotificationEnabled?: pulumi.Input; + /** + * (Updatable) List of members of this monitoring template + */ + members?: pulumi.Input[]>; + /** + * (Updatable) The format to use for alarm notifications. + */ + messageFormat?: pulumi.Input; + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + repeatNotificationDuration?: pulumi.Input; + /** + * The current lifecycle state of the monitoring template. + */ + state?: pulumi.Input; + /** + * The current status of the monitoring template i.e. whether it is Applied or NotApplied. + */ + status?: 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}>; + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + */ + tenantId?: pulumi.Input; + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + */ + timeCreated?: pulumi.Input; + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + */ + timeUpdated?: pulumi.Input; + /** + * Total Alarm Conditions + */ + totalAlarmConditions?: pulumi.Input; + /** + * Total Applied Alarm Conditions + */ + totalAppliedAlarmConditions?: pulumi.Input; +} + +/** + * The set of arguments for constructing a MonitoringTemplate resource. + */ +export interface MonitoringTemplateArgs { + /** + * The OCID of the compartment containing the monitoringTemplate. + */ + 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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + */ + destinations: pulumi.Input[]>; + /** + * (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + */ + displayName: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + */ + isAlarmsEnabled?: pulumi.Input; + /** + * (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + */ + isSplitNotificationEnabled?: pulumi.Input; + /** + * (Updatable) List of members of this monitoring template + */ + members: pulumi.Input[]>; + /** + * (Updatable) The format to use for alarm notifications. + */ + messageFormat?: pulumi.Input; + /** + * (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + repeatNotificationDuration?: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/monitoringTemplateAlarmCondition.ts b/sdk/nodejs/stackmonitoring/monitoringTemplateAlarmCondition.ts new file mode 100644 index 0000000000..3ffa3161b1 --- /dev/null +++ b/sdk/nodejs/stackmonitoring/monitoringTemplateAlarmCondition.ts @@ -0,0 +1,318 @@ +// *** WARNING: this file 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 Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Create a new alarm condition in same monitoringTemplate compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateAlarmCondition = new oci.stackmonitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition", { + * conditionType: monitoringTemplateAlarmConditionConditionType, + * conditions: [{ + * query: monitoringTemplateAlarmConditionConditionsQuery, + * severity: monitoringTemplateAlarmConditionConditionsSeverity, + * body: monitoringTemplateAlarmConditionConditionsBody, + * shouldAppendNote: monitoringTemplateAlarmConditionConditionsShouldAppendNote, + * shouldAppendUrl: monitoringTemplateAlarmConditionConditionsShouldAppendUrl, + * triggerDelay: monitoringTemplateAlarmConditionConditionsTriggerDelay, + * }], + * metricName: testMetric.name, + * monitoringTemplateId: testMonitoringTemplate.id, + * namespace: monitoringTemplateAlarmConditionNamespace, + * resourceType: monitoringTemplateAlarmConditionResourceType, + * compositeType: monitoringTemplateAlarmConditionCompositeType, + * definedTags: { + * "foo-namespace.bar-key": "value", + * }, + * freeformTags: { + * "bar-key": "value", + * }, + * }); + * ``` + * + * ## Import + * + * MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" + * ``` + */ +export class MonitoringTemplateAlarmCondition extends pulumi.CustomResource { + /** + * Get an existing MonitoringTemplateAlarmCondition 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?: MonitoringTemplateAlarmConditionState, opts?: pulumi.CustomResourceOptions): MonitoringTemplateAlarmCondition { + return new MonitoringTemplateAlarmCondition(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition'; + + /** + * Returns true if the given object is an instance of MonitoringTemplateAlarmCondition. 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 MonitoringTemplateAlarmCondition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringTemplateAlarmCondition.__pulumiType; + } + + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + */ + public readonly compositeType!: pulumi.Output; + /** + * (Updatable) Type of defined monitoring template. + */ + public readonly conditionType!: pulumi.Output; + /** + * (Updatable) Monitoring template conditions. + */ + public readonly conditions!: 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) 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) The metric name. + */ + public readonly metricName!: pulumi.Output; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + public readonly monitoringTemplateId!: pulumi.Output; + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + public readonly namespace!: pulumi.Output; + /** + * (Updatable) The resource group 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 resourceType!: pulumi.Output; + /** + * The current lifecycle state of the monitoring template + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + */ + public /*out*/ readonly status!: 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 date and time the alarm condition was created. Format defined by RFC3339. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a MonitoringTemplateAlarmCondition 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: MonitoringTemplateAlarmConditionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: MonitoringTemplateAlarmConditionArgs | MonitoringTemplateAlarmConditionState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as MonitoringTemplateAlarmConditionState | undefined; + resourceInputs["compositeType"] = state ? state.compositeType : undefined; + resourceInputs["conditionType"] = state ? state.conditionType : undefined; + resourceInputs["conditions"] = state ? state.conditions : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["metricName"] = state ? state.metricName : undefined; + resourceInputs["monitoringTemplateId"] = state ? state.monitoringTemplateId : undefined; + resourceInputs["namespace"] = state ? state.namespace : undefined; + resourceInputs["resourceType"] = state ? state.resourceType : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["status"] = state ? state.status : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as MonitoringTemplateAlarmConditionArgs | undefined; + if ((!args || args.conditionType === undefined) && !opts.urn) { + throw new Error("Missing required property 'conditionType'"); + } + if ((!args || args.conditions === undefined) && !opts.urn) { + throw new Error("Missing required property 'conditions'"); + } + if ((!args || args.metricName === undefined) && !opts.urn) { + throw new Error("Missing required property 'metricName'"); + } + if ((!args || args.monitoringTemplateId === undefined) && !opts.urn) { + throw new Error("Missing required property 'monitoringTemplateId'"); + } + if ((!args || args.namespace === undefined) && !opts.urn) { + throw new Error("Missing required property 'namespace'"); + } + if ((!args || args.resourceType === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceType'"); + } + resourceInputs["compositeType"] = args ? args.compositeType : undefined; + resourceInputs["conditionType"] = args ? args.conditionType : undefined; + resourceInputs["conditions"] = args ? args.conditions : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["metricName"] = args ? args.metricName : undefined; + resourceInputs["monitoringTemplateId"] = args ? args.monitoringTemplateId : undefined; + resourceInputs["namespace"] = args ? args.namespace : undefined; + resourceInputs["resourceType"] = args ? args.resourceType : undefined; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MonitoringTemplateAlarmCondition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering MonitoringTemplateAlarmCondition resources. + */ +export interface MonitoringTemplateAlarmConditionState { + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + */ + compositeType?: pulumi.Input; + /** + * (Updatable) Type of defined monitoring template. + */ + conditionType?: pulumi.Input; + /** + * (Updatable) Monitoring template conditions. + */ + conditions?: 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) 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 metric name. + */ + metricName?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId?: pulumi.Input; + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + namespace?: pulumi.Input; + /** + * (Updatable) The resource group 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 + */ + resourceType?: pulumi.Input; + /** + * The current lifecycle state of the monitoring template + */ + state?: pulumi.Input; + /** + * The current status of the monitoring template i.e. whether it is Published or Unpublished + */ + status?: 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 date and time the alarm condition was created. Format defined by RFC3339. + */ + timeCreated?: pulumi.Input; + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a MonitoringTemplateAlarmCondition resource. + */ +export interface MonitoringTemplateAlarmConditionArgs { + /** + * (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + */ + compositeType?: pulumi.Input; + /** + * (Updatable) Type of defined monitoring template. + */ + conditionType: pulumi.Input; + /** + * (Updatable) Monitoring template conditions. + */ + conditions: 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) 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 metric name. + */ + metricName: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: pulumi.Input; + /** + * (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + namespace: pulumi.Input; + /** + * (Updatable) The resource group 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 + */ + resourceType: pulumi.Input; +} diff --git a/sdk/nodejs/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.ts b/sdk/nodejs/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.ts new file mode 100644 index 0000000000..831f38cfd4 --- /dev/null +++ b/sdk/nodejs/stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. + * + * Apply the Monitoring Template identified by the id + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new oci.stackmonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management", { + * monitoringTemplateId: testMonitoringTemplate.id, + * enableMonitoringTemplateOnGivenResources: enableMonitoringTemplateOnGivenResources, + * }); + * ``` + */ +export class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement extends pulumi.CustomResource { + /** + * Get an existing MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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?: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState, opts?: pulumi.CustomResourceOptions): MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement { + return new MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement'; + + /** + * Returns true if the given object is an instance of MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement. 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.__pulumiType; + } + + /** + * (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 enableMonitoringTemplateOnGivenResources!: pulumi.Output; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + public readonly monitoringTemplateId!: pulumi.Output; + + /** + * Create a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs | MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState | undefined; + resourceInputs["enableMonitoringTemplateOnGivenResources"] = state ? state.enableMonitoringTemplateOnGivenResources : undefined; + resourceInputs["monitoringTemplateId"] = state ? state.monitoringTemplateId : undefined; + } else { + const args = argsOrState as MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs | undefined; + if ((!args || args.enableMonitoringTemplateOnGivenResources === undefined) && !opts.urn) { + throw new Error("Missing required property 'enableMonitoringTemplateOnGivenResources'"); + } + if ((!args || args.monitoringTemplateId === undefined) && !opts.urn) { + throw new Error("Missing required property 'monitoringTemplateId'"); + } + resourceInputs["enableMonitoringTemplateOnGivenResources"] = args ? args.enableMonitoringTemplateOnGivenResources : undefined; + resourceInputs["monitoringTemplateId"] = args ? args.monitoringTemplateId : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources. + */ +export interface MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState { + /** + * (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 + */ + enableMonitoringTemplateOnGivenResources?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource. + */ +export interface MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs { + /** + * (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 + */ + enableMonitoringTemplateOnGivenResources: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscription.ts b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscription.ts new file mode 100644 index 0000000000..91e49d146e --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscription.ts @@ -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! *** + +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 Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscription = oci.Tenantmanagercontrolplane.getAssignedSubscription({ + * assignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscription(args: GetAssignedSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", { + "assignedSubscriptionId": args.assignedSubscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscription. + */ +export interface GetAssignedSubscriptionArgs { + /** + * OCID of the assigned Oracle Cloud Subscription. + */ + assignedSubscriptionId: string; +} + +/** + * A collection of values returned by getAssignedSubscription. + */ +export interface GetAssignedSubscriptionResult { + readonly assignedSubscriptionId: string; + /** + * Subscription ID. + */ + readonly classicSubscriptionId: string; + /** + * The currency code for the customer associated with the subscription. + */ + readonly cloudAmountCurrency: string; + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + */ + readonly compartmentId: string; + /** + * Customer service identifier for the customer associated with the subscription. + */ + readonly csiNumber: string; + /** + * Currency code. For example USD, MXN. + */ + readonly currencyCode: string; + /** + * The country code for the customer associated with the subscription. + */ + readonly customerCountryCode: 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}; + /** + * Date and time when the SKU ended. + */ + readonly endDate: string; + /** + * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + */ + readonly entityVersion: 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 provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Specifies whether or not the subscription is legacy. + */ + readonly isClassicSubscription: boolean; + /** + * Specifies whether or not the subscription is a government subscription. + */ + readonly isGovernmentSubscription: boolean; + /** + * Service or component which is used to provision and manage the subscription. + */ + readonly managedBy: string; + /** + * List of subscription order OCIDs that contributed to this subscription. + */ + readonly orderIds: string[]; + /** + * Specifies any program that is associated with the subscription. + */ + readonly programType: string; + /** + * List of promotions related to the subscription. + */ + readonly promotions: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionPromotion[]; + /** + * Purchase entitlement ID associated with the subscription. + */ + readonly purchaseEntitlementId: string; + /** + * Region for the subscription. + */ + readonly regionAssignment: string; + /** + * The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + */ + readonly serviceName: string; + /** + * List of SKUs linked to the subscription. + */ + readonly skuses: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionSkus[]; + /** + * Subscription start time. + */ + readonly startDate: string; + /** + * Lifecycle state of the subscription. + */ + readonly state: string; + /** + * Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + */ + readonly subscriptionNumber: string; + /** + * Tier for the subscription, whether a free promotion subscription or a paid subscription. + */ + readonly subscriptionTier: string; + /** + * The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + readonly timeCreated: string; + /** + * The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the assigned subscription details by assigned subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscription = oci.Tenantmanagercontrolplane.getAssignedSubscription({ + * assignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscriptionOutput(args: GetAssignedSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription", { + "assignedSubscriptionId": args.assignedSubscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscription. + */ +export interface GetAssignedSubscriptionOutputArgs { + /** + * OCID of the assigned Oracle Cloud Subscription. + */ + assignedSubscriptionId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.ts b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.ts new file mode 100644 index 0000000000..e97969cf47 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptionLineItems.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscriptionLineItems = oci.Tenantmanagercontrolplane.getAssignedSubscriptionLineItems({ + * assignedSubscriptionId: testAssignedSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscriptionLineItems(args: GetAssignedSubscriptionLineItemsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", { + "assignedSubscriptionId": args.assignedSubscriptionId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscriptionLineItems. + */ +export interface GetAssignedSubscriptionLineItemsArgs { + /** + * OCID of the assigned Oracle Cloud Subscription. + */ + assignedSubscriptionId: string; + filters?: inputs.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsFilter[]; +} + +/** + * A collection of values returned by getAssignedSubscriptionLineItems. + */ +export interface GetAssignedSubscriptionLineItemsResult { + readonly assignedSubscriptionId: string; + /** + * The list of assigned_subscription_line_item_collection. + */ + readonly assignedSubscriptionLineItemCollections: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection[]; + readonly filters?: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List line item summaries that a assigned subscription owns. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscriptionLineItems = oci.Tenantmanagercontrolplane.getAssignedSubscriptionLineItems({ + * assignedSubscriptionId: testAssignedSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscriptionLineItemsOutput(args: GetAssignedSubscriptionLineItemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems", { + "assignedSubscriptionId": args.assignedSubscriptionId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscriptionLineItems. + */ +export interface GetAssignedSubscriptionLineItemsOutputArgs { + /** + * OCID of the assigned Oracle Cloud Subscription. + */ + assignedSubscriptionId: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptions.ts b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptions.ts new file mode 100644 index 0000000000..05b672daad --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getAssignedSubscriptions.ts @@ -0,0 +1,124 @@ +// *** WARNING: this file 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 Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscriptions = oci.Tenantmanagercontrolplane.getAssignedSubscriptions({ + * compartmentId: compartmentId, + * entityVersion: assignedSubscriptionEntityVersion, + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscriptions(args: GetAssignedSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", { + "compartmentId": args.compartmentId, + "entityVersion": args.entityVersion, + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscriptions. + */ +export interface GetAssignedSubscriptionsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * The version of the subscription entity. + */ + entityVersion?: string; + filters?: inputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsFilter[]; + /** + * The ID of the subscription to which the tenancy is associated. + */ + subscriptionId?: string; +} + +/** + * A collection of values returned by getAssignedSubscriptions. + */ +export interface GetAssignedSubscriptionsResult { + /** + * The list of assigned_subscription_collection. + */ + readonly assignedSubscriptionCollections: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsAssignedSubscriptionCollection[]; + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + */ + readonly compartmentId: string; + /** + * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + */ + readonly entityVersion?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly subscriptionId?: string; +} +/** + * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAssignedSubscriptions = oci.Tenantmanagercontrolplane.getAssignedSubscriptions({ + * compartmentId: compartmentId, + * entityVersion: assignedSubscriptionEntityVersion, + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getAssignedSubscriptionsOutput(args: GetAssignedSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions", { + "compartmentId": args.compartmentId, + "entityVersion": args.entityVersion, + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getAssignedSubscriptions. + */ +export interface GetAssignedSubscriptionsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + /** + * The version of the subscription entity. + */ + entityVersion?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The ID of the subscription to which the tenancy is associated. + */ + subscriptionId?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getDomain.ts b/sdk/nodejs/tenantmanagercontrolplane/getDomain.ts new file mode 100644 index 0000000000..34facda095 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getDomain.ts @@ -0,0 +1,121 @@ +// *** WARNING: this file 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 Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomain = oci.Tenantmanagercontrolplane.getDomain({ + * domainId: testDomainOciTenantmanagercontrolplaneDomain.id, + * }); + * ``` + */ +export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getDomain:getDomain", { + "domainId": args.domainId, + }, opts); +} + +/** + * A collection of arguments for invoking getDomain. + */ +export interface GetDomainArgs { + /** + * The domain OCID. + */ + domainId: string; +} + +/** + * A collection of values returned by getDomain. + */ +export interface GetDomainResult { + /** + * 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}; + readonly domainId: string; + /** + * The domain name. + */ + readonly domainName: 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 provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The OCID of the tenancy that has started the registration process for this domain. + */ + readonly ownerId: string; + /** + * Lifecycle state of the domain. + */ + readonly state: string; + /** + * Status of the domain. + */ + readonly status: 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}; + /** + * Date-time when this domain was created. An RFC 3339-formatted date and time string. + */ + readonly timeCreated: string; + /** + * Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + */ + readonly timeUpdated: string; + /** + * The code that the owner of the domain will need to add as a TXT record to their domain. + */ + readonly txtRecord: string; +} +/** + * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomain = oci.Tenantmanagercontrolplane.getDomain({ + * domainId: testDomainOciTenantmanagercontrolplaneDomain.id, + * }); + * ``` + */ +export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getDomain:getDomain", { + "domainId": args.domainId, + }, opts); +} + +/** + * A collection of arguments for invoking getDomain. + */ +export interface GetDomainOutputArgs { + /** + * The domain OCID. + */ + domainId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernance.ts b/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernance.ts new file mode 100644 index 0000000000..85c54c6b89 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernance.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file 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 Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomainGovernance = oci.Tenantmanagercontrolplane.getDomainGovernance({ + * domainGovernanceId: testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id, + * }); + * ``` + */ +export function getDomainGovernance(args: GetDomainGovernanceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", { + "domainGovernanceId": args.domainGovernanceId, + }, opts); +} + +/** + * A collection of arguments for invoking getDomainGovernance. + */ +export interface GetDomainGovernanceArgs { + /** + * The domain governance OCID. + */ + domainGovernanceId: string; +} + +/** + * A collection of values returned by getDomainGovernance. + */ +export interface GetDomainGovernanceResult { + /** + * 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}; + readonly domainGovernanceId: string; + /** + * The OCID of the domain associated with this domain governance entity. + */ + readonly domainId: 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 provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Indicates whether governance is enabled for this domain. + */ + readonly isGovernanceEnabled: boolean; + /** + * The ONS subscription associated with this domain governance entity. + */ + readonly onsSubscriptionId: string; + /** + * The ONS topic associated with this domain governance entity. + */ + readonly onsTopicId: string; + /** + * The OCID of the tenancy that owns this domain governance entity. + */ + readonly ownerId: string; + /** + * Lifecycle state of the domain governance entity. + */ + readonly state: string; + /** + * Email address to be used to notify the user, and that the ONS subscription will be created with. + */ + readonly subscriptionEmail: 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}; + /** + * Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + */ + readonly timeCreated: string; + /** + * Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the domain governance entity. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomainGovernance = oci.Tenantmanagercontrolplane.getDomainGovernance({ + * domainGovernanceId: testDomainGovernanceOciTenantmanagercontrolplaneDomainGovernance.id, + * }); + * ``` + */ +export function getDomainGovernanceOutput(args: GetDomainGovernanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance", { + "domainGovernanceId": args.domainGovernanceId, + }, opts); +} + +/** + * A collection of arguments for invoking getDomainGovernance. + */ +export interface GetDomainGovernanceOutputArgs { + /** + * The domain governance OCID. + */ + domainGovernanceId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernances.ts b/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernances.ts new file mode 100644 index 0000000000..ffd6a92c8a --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getDomainGovernances.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file 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 Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomainGovernances = oci.Tenantmanagercontrolplane.getDomainGovernances({ + * compartmentId: compartmentId, + * domainGovernanceId: testDomainGovernance.id, + * domainId: testDomain.id, + * name: domainGovernanceName, + * state: domainGovernanceState, + * }); + * ``` + */ +export function getDomainGovernances(args: GetDomainGovernancesArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", { + "compartmentId": args.compartmentId, + "domainGovernanceId": args.domainGovernanceId, + "domainId": args.domainId, + "filters": args.filters, + "name": args.name, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDomainGovernances. + */ +export interface GetDomainGovernancesArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * The domain governance OCID. + */ + domainGovernanceId?: string; + /** + * The domain OCID. + */ + domainId?: string; + filters?: inputs.Tenantmanagercontrolplane.GetDomainGovernancesFilter[]; + /** + * A filter to return only resources that exactly match the name given. + */ + name?: string; + /** + * The lifecycle state of the resource. + */ + state?: string; +} + +/** + * A collection of values returned by getDomainGovernances. + */ +export interface GetDomainGovernancesResult { + readonly compartmentId: string; + /** + * The list of domain_governance_collection. + */ + readonly domainGovernanceCollections: outputs.Tenantmanagercontrolplane.GetDomainGovernancesDomainGovernanceCollection[]; + readonly domainGovernanceId?: string; + /** + * The OCID of the domain associated with this domain governance entity. + */ + readonly domainId?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetDomainGovernancesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly name?: string; + /** + * Lifecycle state of the domain governance entity. + */ + readonly state?: string; +} +/** + * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domain governance entities. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomainGovernances = oci.Tenantmanagercontrolplane.getDomainGovernances({ + * compartmentId: compartmentId, + * domainGovernanceId: testDomainGovernance.id, + * domainId: testDomain.id, + * name: domainGovernanceName, + * state: domainGovernanceState, + * }); + * ``` + */ +export function getDomainGovernancesOutput(args: GetDomainGovernancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances", { + "compartmentId": args.compartmentId, + "domainGovernanceId": args.domainGovernanceId, + "domainId": args.domainId, + "filters": args.filters, + "name": args.name, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDomainGovernances. + */ +export interface GetDomainGovernancesOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + /** + * The domain governance OCID. + */ + domainGovernanceId?: pulumi.Input; + /** + * The domain OCID. + */ + domainId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only resources that exactly match the name given. + */ + name?: pulumi.Input; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getDomains.ts b/sdk/nodejs/tenantmanagercontrolplane/getDomains.ts new file mode 100644 index 0000000000..bb6215d930 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getDomains.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file 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 Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomains = oci.Tenantmanagercontrolplane.getDomains({ + * compartmentId: compartmentId, + * domainId: testDomain.id, + * name: domainName, + * state: domainState, + * status: domainStatus, + * }); + * ``` + */ +export function getDomains(args: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getDomains:getDomains", { + "compartmentId": args.compartmentId, + "domainId": args.domainId, + "filters": args.filters, + "name": args.name, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getDomains. + */ +export interface GetDomainsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * The domain OCID. + */ + domainId?: string; + filters?: inputs.Tenantmanagercontrolplane.GetDomainsFilter[]; + /** + * A filter to return only resources that exactly match the name given. + */ + name?: string; + /** + * The lifecycle state of the resource. + */ + state?: string; + /** + * The status of the domain. + */ + status?: string; +} + +/** + * A collection of values returned by getDomains. + */ +export interface GetDomainsResult { + readonly compartmentId: string; + /** + * The list of domain_collection. + */ + readonly domainCollections: outputs.Tenantmanagercontrolplane.GetDomainsDomainCollection[]; + readonly domainId?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetDomainsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly name?: string; + /** + * Lifecycle state of the domain. + */ + readonly state?: string; + /** + * Status of the domain. + */ + readonly status?: string; +} +/** + * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of domains. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDomains = oci.Tenantmanagercontrolplane.getDomains({ + * compartmentId: compartmentId, + * domainId: testDomain.id, + * name: domainName, + * state: domainState, + * status: domainStatus, + * }); + * ``` + */ +export function getDomainsOutput(args: GetDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getDomains:getDomains", { + "compartmentId": args.compartmentId, + "domainId": args.domainId, + "filters": args.filters, + "name": args.name, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getDomains. + */ +export interface GetDomainsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + /** + * The domain OCID. + */ + domainId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only resources that exactly match the name given. + */ + name?: pulumi.Input; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; + /** + * The status of the domain. + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getLink.ts b/sdk/nodejs/tenantmanagercontrolplane/getLink.ts new file mode 100644 index 0000000000..416dd8ac72 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getLink.ts @@ -0,0 +1,105 @@ +// *** WARNING: this file 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 Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testLink = oci.Tenantmanagercontrolplane.getLink({ + * linkId: testLinkOciTenantmanagercontrolplaneLink.id, + * }); + * ``` + */ +export function getLink(args: GetLinkArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getLink:getLink", { + "linkId": args.linkId, + }, opts); +} + +/** + * A collection of arguments for invoking getLink. + */ +export interface GetLinkArgs { + /** + * OCID of the link to retrieve. + */ + linkId: string; +} + +/** + * A collection of values returned by getLink. + */ +export interface GetLinkResult { + /** + * OCID of the child tenancy. + */ + readonly childTenancyId: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly linkId: string; + /** + * OCID of the parent tenancy. + */ + readonly parentTenancyId: string; + /** + * Lifecycle state of the link. + */ + readonly state: string; + /** + * Date-time when this link was created. + */ + readonly timeCreated: string; + /** + * Date-time when this link was terminated. + */ + readonly timeTerminated: string; + /** + * Date-time when this link was last updated. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the link. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testLink = oci.Tenantmanagercontrolplane.getLink({ + * linkId: testLinkOciTenantmanagercontrolplaneLink.id, + * }); + * ``` + */ +export function getLinkOutput(args: GetLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getLink:getLink", { + "linkId": args.linkId, + }, opts); +} + +/** + * A collection of arguments for invoking getLink. + */ +export interface GetLinkOutputArgs { + /** + * OCID of the link to retrieve. + */ + linkId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getLinks.ts b/sdk/nodejs/tenantmanagercontrolplane/getLinks.ts new file mode 100644 index 0000000000..211e9c77ef --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getLinks.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file 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 Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testLinks = oci.Tenantmanagercontrolplane.getLinks({ + * childTenancyId: testTenancy.id, + * parentTenancyId: testTenancy.id, + * state: linkState, + * }); + * ``` + */ +export function getLinks(args?: GetLinksArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getLinks:getLinks", { + "childTenancyId": args.childTenancyId, + "filters": args.filters, + "parentTenancyId": args.parentTenancyId, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getLinks. + */ +export interface GetLinksArgs { + /** + * The ID of the child tenancy this link is associated with. + */ + childTenancyId?: string; + filters?: inputs.Tenantmanagercontrolplane.GetLinksFilter[]; + /** + * The ID of the parent tenancy this link is associated with. + */ + parentTenancyId?: string; + /** + * The lifecycle state of the resource. + */ + state?: string; +} + +/** + * A collection of values returned by getLinks. + */ +export interface GetLinksResult { + /** + * OCID of the child tenancy. + */ + readonly childTenancyId?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetLinksFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The list of link_collection. + */ + readonly linkCollections: outputs.Tenantmanagercontrolplane.GetLinksLinkCollection[]; + /** + * OCID of the parent tenancy. + */ + readonly parentTenancyId?: string; + /** + * Lifecycle state of the link. + */ + readonly state?: string; +} +/** + * This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of links. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testLinks = oci.Tenantmanagercontrolplane.getLinks({ + * childTenancyId: testTenancy.id, + * parentTenancyId: testTenancy.id, + * state: linkState, + * }); + * ``` + */ +export function getLinksOutput(args?: GetLinksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getLinks:getLinks", { + "childTenancyId": args.childTenancyId, + "filters": args.filters, + "parentTenancyId": args.parentTenancyId, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getLinks. + */ +export interface GetLinksOutputArgs { + /** + * The ID of the child tenancy this link is associated with. + */ + childTenancyId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The ID of the parent tenancy this link is associated with. + */ + parentTenancyId?: pulumi.Input; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getOrganization.ts b/sdk/nodejs/tenantmanagercontrolplane/getOrganization.ts new file mode 100644 index 0000000000..3df55e8560 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getOrganization.ts @@ -0,0 +1,109 @@ +// *** WARNING: this file 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 Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganization = oci.Tenantmanagercontrolplane.getOrganization({ + * organizationId: testOrganizationOciTenantmanagercontrolplaneOrganization.id, + * }); + * ``` + */ +export function getOrganization(args: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", { + "organizationId": args.organizationId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganization. + */ +export interface GetOrganizationArgs { + /** + * OCID of the organization to retrieve. + */ + organizationId: string; +} + +/** + * A collection of values returned by getOrganization. + */ +export interface GetOrganizationResult { + /** + * OCID of the compartment containing the organization. Always a tenancy OCID. + */ + readonly compartmentId: string; + /** + * OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + */ + readonly defaultUcmSubscriptionId: string; + /** + * A display name for the organization. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly organizationId: string; + /** + * The name of the tenancy that is the organization parent. + */ + readonly parentName: string; + /** + * Lifecycle state of the organization. + */ + readonly state: string; + /** + * Date and time when the organization was created. + */ + readonly timeCreated: string; + /** + * Date and time when the organization was last updated. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganization = oci.Tenantmanagercontrolplane.getOrganization({ + * organizationId: testOrganizationOciTenantmanagercontrolplaneOrganization.id, + * }); + * ``` + */ +export function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getOrganization:getOrganization", { + "organizationId": args.organizationId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganization. + */ +export interface GetOrganizationOutputArgs { + /** + * OCID of the organization to retrieve. + */ + organizationId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancies.ts b/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancies.ts new file mode 100644 index 0000000000..767ab4e329 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancies.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizationTenancies = oci.Tenantmanagercontrolplane.getOrganizationTenancies({ + * organizationId: testOrganization.id, + * }); + * ``` + */ +export function getOrganizationTenancies(args: GetOrganizationTenanciesArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", { + "filters": args.filters, + "organizationId": args.organizationId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizationTenancies. + */ +export interface GetOrganizationTenanciesArgs { + filters?: inputs.Tenantmanagercontrolplane.GetOrganizationTenanciesFilter[]; + /** + * OCID of the organization. + */ + organizationId: string; +} + +/** + * A collection of values returned by getOrganizationTenancies. + */ +export interface GetOrganizationTenanciesResult { + readonly filters?: outputs.Tenantmanagercontrolplane.GetOrganizationTenanciesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly organizationId: string; + /** + * The list of organization_tenancy_collection. + */ + readonly organizationTenancyCollections: outputs.Tenantmanagercontrolplane.GetOrganizationTenanciesOrganizationTenancyCollection[]; +} +/** + * This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets a list of tenancies in the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizationTenancies = oci.Tenantmanagercontrolplane.getOrganizationTenancies({ + * organizationId: testOrganization.id, + * }); + * ``` + */ +export function getOrganizationTenanciesOutput(args: GetOrganizationTenanciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies", { + "filters": args.filters, + "organizationId": args.organizationId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizationTenancies. + */ +export interface GetOrganizationTenanciesOutputArgs { + filters?: pulumi.Input[]>; + /** + * OCID of the organization. + */ + organizationId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancy.ts b/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancy.ts new file mode 100644 index 0000000000..d18ffdbd2c --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getOrganizationTenancy.ts @@ -0,0 +1,125 @@ +// *** WARNING: this file 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 Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizationTenancy = oci.Tenantmanagercontrolplane.getOrganizationTenancy({ + * organizationId: testOrganization.id, + * tenancyId: testTenancy.id, + * }); + * ``` + */ +export function getOrganizationTenancy(args: GetOrganizationTenancyArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", { + "organizationId": args.organizationId, + "tenancyId": args.tenancyId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizationTenancy. + */ +export interface GetOrganizationTenancyArgs { + /** + * OCID of the organization. + */ + organizationId: string; + /** + * OCID of the tenancy to retrieve. + */ + tenancyId: string; +} + +/** + * A collection of values returned by getOrganizationTenancy. + */ +export interface GetOrganizationTenancyResult { + /** + * The governance status of the tenancy. + */ + readonly governanceStatus: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Parameter to indicate the tenancy is approved for transfer to another organization. + */ + readonly isApprovedForTransfer: boolean; + /** + * Name of the tenancy. + */ + readonly name: string; + readonly organizationId: string; + /** + * Role of the organization tenancy. + */ + readonly role: string; + /** + * Lifecycle state of the organization tenancy. + */ + readonly state: string; + /** + * OCID of the tenancy. + */ + readonly tenancyId: string; + /** + * Date and time when the tenancy joined the organization. + */ + readonly timeJoined: string; + /** + * Date and time when the tenancy left the organization. + */ + readonly timeLeft: string; +} +/** + * This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the organization's tenancy. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizationTenancy = oci.Tenantmanagercontrolplane.getOrganizationTenancy({ + * organizationId: testOrganization.id, + * tenancyId: testTenancy.id, + * }); + * ``` + */ +export function getOrganizationTenancyOutput(args: GetOrganizationTenancyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy", { + "organizationId": args.organizationId, + "tenancyId": args.tenancyId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizationTenancy. + */ +export interface GetOrganizationTenancyOutputArgs { + /** + * OCID of the organization. + */ + organizationId: pulumi.Input; + /** + * OCID of the tenancy to retrieve. + */ + tenancyId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getOrganizations.ts b/sdk/nodejs/tenantmanagercontrolplane/getOrganizations.ts new file mode 100644 index 0000000000..457f0e66f0 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getOrganizations.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file 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 Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizations = oci.Tenantmanagercontrolplane.getOrganizations({ + * compartmentId: compartmentId, + * }); + * ``` + */ +export function getOrganizations(args: GetOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", { + "compartmentId": args.compartmentId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizations. + */ +export interface GetOrganizationsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + filters?: inputs.Tenantmanagercontrolplane.GetOrganizationsFilter[]; +} + +/** + * A collection of values returned by getOrganizations. + */ +export interface GetOrganizationsResult { + /** + * OCID of the compartment containing the organization. Always a tenancy OCID. + */ + readonly compartmentId: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetOrganizationsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The list of organization_collection. + */ + readonly organizationCollections: outputs.Tenantmanagercontrolplane.GetOrganizationsOrganizationCollection[]; +} +/** + * This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists organizations associated with the caller. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testOrganizations = oci.Tenantmanagercontrolplane.getOrganizations({ + * compartmentId: compartmentId, + * }); + * ``` + */ +export function getOrganizationsOutput(args: GetOrganizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations", { + "compartmentId": args.compartmentId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizations. + */ +export interface GetOrganizationsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitation.ts b/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitation.ts new file mode 100644 index 0000000000..03f0369dcf --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitation.ts @@ -0,0 +1,133 @@ +// *** WARNING: this file 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 Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testRecipientInvitation = oci.Tenantmanagercontrolplane.getRecipientInvitation({ + * recipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id, + * }); + * ``` + */ +export function getRecipientInvitation(args: GetRecipientInvitationArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", { + "recipientInvitationId": args.recipientInvitationId, + }, opts); +} + +/** + * A collection of arguments for invoking getRecipientInvitation. + */ +export interface GetRecipientInvitationArgs { + /** + * OCID of the recipient invitation to retrieve. + */ + recipientInvitationId: string; +} + +/** + * A collection of values returned by getRecipientInvitation. + */ +export interface GetRecipientInvitationResult { + /** + * OCID of the recipient tenancy. + */ + 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}; + /** + * A user-created name to describe the invitation. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Email address of the recipient. + */ + readonly recipientEmailAddress: string; + readonly recipientInvitationId: string; + /** + * OCID of the corresponding sender invitation. + */ + readonly senderInvitationId: string; + /** + * OCID of the sender tenancy. + */ + readonly senderTenancyId: string; + /** + * Lifecycle state of the recipient invitation. + */ + readonly state: string; + /** + * Status of the recipient invitation. + */ + readonly status: string; + /** + * The list of subjects the invitation contains. + */ + readonly subjects: 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}; + /** + * Date and time when the recipient invitation was created. + */ + readonly timeCreated: string; + /** + * Date and time when the recipient invitation was last updated. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the recipient invitation. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testRecipientInvitation = oci.Tenantmanagercontrolplane.getRecipientInvitation({ + * recipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id, + * }); + * ``` + */ +export function getRecipientInvitationOutput(args: GetRecipientInvitationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation", { + "recipientInvitationId": args.recipientInvitationId, + }, opts); +} + +/** + * A collection of arguments for invoking getRecipientInvitation. + */ +export interface GetRecipientInvitationOutputArgs { + /** + * OCID of the recipient invitation to retrieve. + */ + recipientInvitationId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitations.ts b/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitations.ts new file mode 100644 index 0000000000..0df48e5e08 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getRecipientInvitations.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file 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 Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testRecipientInvitations = oci.Tenantmanagercontrolplane.getRecipientInvitations({ + * compartmentId: compartmentId, + * senderTenancyId: testTenancy.id, + * state: recipientInvitationState, + * status: recipientInvitationStatus, + * }); + * ``` + */ +export function getRecipientInvitations(args: GetRecipientInvitationsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "senderTenancyId": args.senderTenancyId, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getRecipientInvitations. + */ +export interface GetRecipientInvitationsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + filters?: inputs.Tenantmanagercontrolplane.GetRecipientInvitationsFilter[]; + /** + * The tenancy that sent the invitation. + */ + senderTenancyId?: string; + /** + * The lifecycle state of the resource. + */ + state?: string; + /** + * The status of the recipient invitation. + */ + status?: string; +} + +/** + * A collection of values returned by getRecipientInvitations. + */ +export interface GetRecipientInvitationsResult { + /** + * OCID of the recipient tenancy. + */ + readonly compartmentId: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetRecipientInvitationsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The list of recipient_invitation_collection. + */ + readonly recipientInvitationCollections: outputs.Tenantmanagercontrolplane.GetRecipientInvitationsRecipientInvitationCollection[]; + /** + * OCID of the sender tenancy. + */ + readonly senderTenancyId?: string; + /** + * Lifecycle state of the recipient invitation. + */ + readonly state?: string; + /** + * Status of the recipient invitation. + */ + readonly status?: string; +} +/** + * This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of recipient invitations. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testRecipientInvitations = oci.Tenantmanagercontrolplane.getRecipientInvitations({ + * compartmentId: compartmentId, + * senderTenancyId: testTenancy.id, + * state: recipientInvitationState, + * status: recipientInvitationStatus, + * }); + * ``` + */ +export function getRecipientInvitationsOutput(args: GetRecipientInvitationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "senderTenancyId": args.senderTenancyId, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getRecipientInvitations. + */ +export interface GetRecipientInvitationsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The tenancy that sent the invitation. + */ + senderTenancyId?: pulumi.Input; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; + /** + * The status of the recipient invitation. + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitation.ts b/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitation.ts new file mode 100644 index 0000000000..ef2407faf4 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitation.ts @@ -0,0 +1,133 @@ +// *** WARNING: this file 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 Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSenderInvitation = oci.Tenantmanagercontrolplane.getSenderInvitation({ + * senderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id, + * }); + * ``` + */ +export function getSenderInvitation(args: GetSenderInvitationArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", { + "senderInvitationId": args.senderInvitationId, + }, opts); +} + +/** + * A collection of arguments for invoking getSenderInvitation. + */ +export interface GetSenderInvitationArgs { + /** + * OCID of the sender invitation to retrieve. + */ + senderInvitationId: string; +} + +/** + * A collection of values returned by getSenderInvitation. + */ +export interface GetSenderInvitationResult { + /** + * OCID of the sender tenancy. + */ + 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}; + /** + * A user-created name to describe the invitation. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Email address of the recipient. + */ + readonly recipientEmailAddress: string; + /** + * OCID of the corresponding recipient invitation. + */ + readonly recipientInvitationId: string; + /** + * OCID of the recipient tenancy. + */ + readonly recipientTenancyId: string; + readonly senderInvitationId: string; + /** + * Lifecycle state of the sender invitation. + */ + readonly state: string; + /** + * Status of the sender invitation. + */ + readonly status: string; + /** + * The list of subjects the invitation contains. + */ + readonly subjects: 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}; + /** + * Date and time when the sender invitation was created. + */ + readonly timeCreated: string; + /** + * Date and time when the sender invitation was last updated. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets information about the sender invitation. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSenderInvitation = oci.Tenantmanagercontrolplane.getSenderInvitation({ + * senderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id, + * }); + * ``` + */ +export function getSenderInvitationOutput(args: GetSenderInvitationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation", { + "senderInvitationId": args.senderInvitationId, + }, opts); +} + +/** + * A collection of arguments for invoking getSenderInvitation. + */ +export interface GetSenderInvitationOutputArgs { + /** + * OCID of the sender invitation to retrieve. + */ + senderInvitationId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitations.ts b/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitations.ts new file mode 100644 index 0000000000..20001a5094 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSenderInvitations.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file 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 Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSenderInvitations = oci.Tenantmanagercontrolplane.getSenderInvitations({ + * compartmentId: compartmentId, + * displayName: senderInvitationDisplayName, + * recipientTenancyId: testTenancy.id, + * state: senderInvitationState, + * status: senderInvitationStatus, + * }); + * ``` + */ +export function getSenderInvitations(args: GetSenderInvitationsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "recipientTenancyId": args.recipientTenancyId, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getSenderInvitations. + */ +export interface GetSenderInvitationsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: string; + filters?: inputs.Tenantmanagercontrolplane.GetSenderInvitationsFilter[]; + /** + * The tenancy that the invitation is addressed to. + */ + recipientTenancyId?: string; + /** + * The lifecycle state of the resource. + */ + state?: string; + /** + * The status of the sender invitation. + */ + status?: string; +} + +/** + * A collection of values returned by getSenderInvitations. + */ +export interface GetSenderInvitationsResult { + /** + * OCID of the sender tenancy. + */ + readonly compartmentId: string; + /** + * A user-created name to describe the invitation. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetSenderInvitationsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * OCID of the recipient tenancy. + */ + readonly recipientTenancyId?: string; + /** + * The list of sender_invitation_collection. + */ + readonly senderInvitationCollections: outputs.Tenantmanagercontrolplane.GetSenderInvitationsSenderInvitationCollection[]; + /** + * Lifecycle state of the sender invitation. + */ + readonly state?: string; + /** + * Status of the sender invitation. + */ + readonly status?: string; +} +/** + * This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Return a (paginated) list of sender invitations. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSenderInvitations = oci.Tenantmanagercontrolplane.getSenderInvitations({ + * compartmentId: compartmentId, + * displayName: senderInvitationDisplayName, + * recipientTenancyId: testTenancy.id, + * state: senderInvitationState, + * status: senderInvitationStatus, + * }); + * ``` + */ +export function getSenderInvitationsOutput(args: GetSenderInvitationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "recipientTenancyId": args.recipientTenancyId, + "state": args.state, + "status": args.status, + }, opts); +} + +/** + * A collection of arguments for invoking getSenderInvitations. + */ +export interface GetSenderInvitationsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: pulumi.Input; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The tenancy that the invitation is addressed to. + */ + recipientTenancyId?: pulumi.Input; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; + /** + * The status of the sender invitation. + */ + status?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscription.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscription.ts new file mode 100644 index 0000000000..550b5ab24f --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscription.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file 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 Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscription = oci.Tenantmanagercontrolplane.getSubscription({ + * subscriptionId: testSubscriptionOciTenantmanagercontrolplaneSubscription.id, + * }); + * ``` + */ +export function getSubscription(args: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", { + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscription. + */ +export interface GetSubscriptionArgs { + /** + * OCID of the subscription. + */ + subscriptionId: string; +} + +/** + * A collection of values returned by getSubscription. + */ +export interface GetSubscriptionResult { + /** + * Classic subscription ID. + */ + readonly classicSubscriptionId: string; + /** + * The currency code for the customer associated with the subscription. + */ + readonly cloudAmountCurrency: string; + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + */ + readonly compartmentId: string; + /** + * Customer service identifier for the customer associated with the subscription. + */ + readonly csiNumber: string; + /** + * Currency code. For example USD, MXN. + */ + readonly currencyCode: string; + /** + * The country code for the customer associated with the subscription. + */ + readonly customerCountryCode: 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}; + /** + * Date and time when the SKU ended. + */ + readonly endDate: string; + /** + * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + */ + readonly entityVersion: 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 provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Specifies whether or not the subscription is from classic systems. + */ + readonly isClassicSubscription: boolean; + /** + * Specifies whether or not the subscription is a government subscription. + */ + readonly isGovernmentSubscription: boolean; + /** + * The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + */ + readonly paymentModel: string; + /** + * Specifies any program that is associated with the subscription. + */ + readonly programType: string; + /** + * List of promotions related to the subscription. + */ + readonly promotions: outputs.Tenantmanagercontrolplane.GetSubscriptionPromotion[]; + /** + * Purchase entitlement ID associated with the subscription. + */ + readonly purchaseEntitlementId: string; + /** + * Region for the subscription. + */ + readonly regionAssignment: string; + /** + * The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + */ + readonly serviceName: string; + /** + * List of SKUs linked to this subscription. + */ + readonly skuses: outputs.Tenantmanagercontrolplane.GetSubscriptionSkus[]; + /** + * Subscription start time. + */ + readonly startDate: string; + /** + * Lifecycle state of the subscription. + */ + readonly state: string; + readonly subscriptionId: string; + /** + * Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + */ + readonly subscriptionNumber: string; + /** + * Tier for the subscription, whether a free promotion subscription or a paid subscription. + */ + readonly subscriptionTier: string; + /** + * The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + readonly timeCreated: string; + /** + * The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Gets the subscription details by subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscription = oci.Tenantmanagercontrolplane.getSubscription({ + * subscriptionId: testSubscriptionOciTenantmanagercontrolplaneSubscription.id, + * }); + * ``` + */ +export function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscription:getSubscription", { + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscription. + */ +export interface GetSubscriptionOutputArgs { + /** + * OCID of the subscription. + */ + subscriptionId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionAvailableRegions.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionAvailableRegions.ts new file mode 100644 index 0000000000..233761b5a9 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionAvailableRegions.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionAvailableRegions = oci.Tenantmanagercontrolplane.getSubscriptionAvailableRegions({ + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptionAvailableRegions(args: GetSubscriptionAvailableRegionsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", { + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionAvailableRegions. + */ +export interface GetSubscriptionAvailableRegionsArgs { + filters?: inputs.Tenantmanagercontrolplane.GetSubscriptionAvailableRegionsFilter[]; + /** + * OCID of the subscription. + */ + subscriptionId: string; +} + +/** + * A collection of values returned by getSubscriptionAvailableRegions. + */ +export interface GetSubscriptionAvailableRegionsResult { + /** + * The list of available_region_collection. + */ + readonly availableRegionCollections: outputs.Tenantmanagercontrolplane.GetSubscriptionAvailableRegionsAvailableRegionCollection[]; + readonly filters?: outputs.Tenantmanagercontrolplane.GetSubscriptionAvailableRegionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly subscriptionId: string; +} +/** + * This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the available regions based on subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionAvailableRegions = oci.Tenantmanagercontrolplane.getSubscriptionAvailableRegions({ + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptionAvailableRegionsOutput(args: GetSubscriptionAvailableRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions", { + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionAvailableRegions. + */ +export interface GetSubscriptionAvailableRegionsOutputArgs { + filters?: pulumi.Input[]>; + /** + * OCID of the subscription. + */ + subscriptionId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionLineItems.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionLineItems.ts new file mode 100644 index 0000000000..0d6001a5ca --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionLineItems.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionLineItems = oci.Tenantmanagercontrolplane.getSubscriptionLineItems({ + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptionLineItems(args: GetSubscriptionLineItemsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", { + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionLineItems. + */ +export interface GetSubscriptionLineItemsArgs { + filters?: inputs.Tenantmanagercontrolplane.GetSubscriptionLineItemsFilter[]; + /** + * OCID of the subscription. + */ + subscriptionId: string; +} + +/** + * A collection of values returned by getSubscriptionLineItems. + */ +export interface GetSubscriptionLineItemsResult { + readonly filters?: outputs.Tenantmanagercontrolplane.GetSubscriptionLineItemsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly subscriptionId: string; + /** + * The list of subscription_line_item_collection. + */ + readonly subscriptionLineItemCollections: outputs.Tenantmanagercontrolplane.GetSubscriptionLineItemsSubscriptionLineItemCollection[]; +} +/** + * This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the line items in a subscription. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionLineItems = oci.Tenantmanagercontrolplane.getSubscriptionLineItems({ + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptionLineItemsOutput(args: GetSubscriptionLineItemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems", { + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionLineItems. + */ +export interface GetSubscriptionLineItemsOutputArgs { + filters?: pulumi.Input[]>; + /** + * OCID of the subscription. + */ + subscriptionId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMapping.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMapping.ts new file mode 100644 index 0000000000..278ef58b17 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMapping.ts @@ -0,0 +1,109 @@ +// *** WARNING: this file 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 Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionMapping = oci.Tenantmanagercontrolplane.getSubscriptionMapping({ + * subscriptionMappingId: testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id, + * }); + * ``` + */ +export function getSubscriptionMapping(args: GetSubscriptionMappingArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", { + "subscriptionMappingId": args.subscriptionMappingId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionMapping. + */ +export interface GetSubscriptionMappingArgs { + /** + * OCID of the subscriptionMappingId. + */ + subscriptionMappingId: string; +} + +/** + * A collection of values returned by getSubscriptionMapping. + */ +export interface GetSubscriptionMappingResult { + /** + * OCID of the compartment. Always a tenancy OCID. + */ + readonly compartmentId: string; + /** + * OCID of the mapping between subscription and compartment identified by the tenancy. + */ + readonly id: string; + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + */ + readonly isExplicitlyAssigned: boolean; + /** + * Lifecycle state of the subscriptionMapping. + */ + readonly state: string; + /** + * OCID of the subscription. + */ + readonly subscriptionId: string; + readonly subscriptionMappingId: string; + /** + * Date-time when subscription mapping was created. + */ + readonly timeCreated: string; + /** + * Date-time when subscription mapping was terminated. + */ + readonly timeTerminated: string; + /** + * Date-time when subscription mapping was updated. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Get the subscription mapping details by subscription mapping ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionMapping = oci.Tenantmanagercontrolplane.getSubscriptionMapping({ + * subscriptionMappingId: testSubscriptionMappingOciTenantmanagercontrolplaneSubscriptionMapping.id, + * }); + * ``` + */ +export function getSubscriptionMappingOutput(args: GetSubscriptionMappingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping", { + "subscriptionMappingId": args.subscriptionMappingId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionMapping. + */ +export interface GetSubscriptionMappingOutputArgs { + /** + * OCID of the subscriptionMappingId. + */ + subscriptionMappingId: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMappings.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMappings.ts new file mode 100644 index 0000000000..0e4cfec03e --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptionMappings.ts @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +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 Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionMappings = oci.Tenantmanagercontrolplane.getSubscriptionMappings({ + * subscriptionId: testSubscription.id, + * compartmentId: compartmentId, + * state: subscriptionMappingState, + * subscriptionMappingId: testSubscriptionMapping.id, + * }); + * ``` + */ +export function getSubscriptionMappings(args: GetSubscriptionMappingsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "state": args.state, + "subscriptionId": args.subscriptionId, + "subscriptionMappingId": args.subscriptionMappingId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionMappings. + */ +export interface GetSubscriptionMappingsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId?: string; + filters?: inputs.Tenantmanagercontrolplane.GetSubscriptionMappingsFilter[]; + /** + * The lifecycle state of the resource. + */ + state?: string; + /** + * OCID of the subscription. + */ + subscriptionId: string; + /** + * A unique ID for subscription and tenancy mapping. + */ + subscriptionMappingId?: string; +} + +/** + * A collection of values returned by getSubscriptionMappings. + */ +export interface GetSubscriptionMappingsResult { + /** + * OCID of the compartment. Always a tenancy OCID. + */ + readonly compartmentId?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetSubscriptionMappingsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Lifecycle state of the subscriptionMapping. + */ + readonly state?: string; + /** + * OCID of the subscription. + */ + readonly subscriptionId: string; + /** + * The list of subscription_mapping_collection. + */ + readonly subscriptionMappingCollections: outputs.Tenantmanagercontrolplane.GetSubscriptionMappingsSubscriptionMappingCollection[]; + readonly subscriptionMappingId?: string; +} +/** + * This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionMappings = oci.Tenantmanagercontrolplane.getSubscriptionMappings({ + * subscriptionId: testSubscription.id, + * compartmentId: compartmentId, + * state: subscriptionMappingState, + * subscriptionMappingId: testSubscriptionMapping.id, + * }); + * ``` + */ +export function getSubscriptionMappingsOutput(args: GetSubscriptionMappingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "state": args.state, + "subscriptionId": args.subscriptionId, + "subscriptionMappingId": args.subscriptionMappingId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptionMappings. + */ +export interface GetSubscriptionMappingsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The lifecycle state of the resource. + */ + state?: pulumi.Input; + /** + * OCID of the subscription. + */ + subscriptionId: pulumi.Input; + /** + * A unique ID for subscription and tenancy mapping. + */ + subscriptionMappingId?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/getSubscriptions.ts b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptions.ts new file mode 100644 index 0000000000..09b96ae781 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/getSubscriptions.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +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 Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptions = oci.Tenantmanagercontrolplane.getSubscriptions({ + * compartmentId: compartmentId, + * entityVersion: subscriptionEntityVersion, + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptions(args?: GetSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", { + "compartmentId": args.compartmentId, + "entityVersion": args.entityVersion, + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptions. + */ +export interface GetSubscriptionsArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * The version of the subscription entity. + */ + entityVersion?: string; + filters?: inputs.Tenantmanagercontrolplane.GetSubscriptionsFilter[]; + /** + * The ID of the subscription to which the tenancy is associated. + */ + subscriptionId?: string; +} + +/** + * A collection of values returned by getSubscriptions. + */ +export interface GetSubscriptionsResult { + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + */ + readonly compartmentId?: string; + /** + * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + */ + readonly entityVersion?: string; + readonly filters?: outputs.Tenantmanagercontrolplane.GetSubscriptionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The list of subscription_collection. + */ + readonly subscriptionCollections: outputs.Tenantmanagercontrolplane.GetSubscriptionsSubscriptionCollection[]; + readonly subscriptionId?: string; +} +/** + * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * List the subscriptions that a compartment owns. Only the root compartment is allowed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptions = oci.Tenantmanagercontrolplane.getSubscriptions({ + * compartmentId: compartmentId, + * entityVersion: subscriptionEntityVersion, + * subscriptionId: testSubscription.id, + * }); + * ``` + */ +export function getSubscriptionsOutput(args?: GetSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions", { + "compartmentId": args.compartmentId, + "entityVersion": args.entityVersion, + "filters": args.filters, + "subscriptionId": args.subscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getSubscriptions. + */ +export interface GetSubscriptionsOutputArgs { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * The version of the subscription entity. + */ + entityVersion?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The ID of the subscription to which the tenancy is associated. + */ + subscriptionId?: pulumi.Input; +} diff --git a/sdk/nodejs/tenantmanagercontrolplane/index.ts b/sdk/nodejs/tenantmanagercontrolplane/index.ts new file mode 100644 index 0000000000..c22c5a2925 --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/index.ts @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +// Export members: +export { GetAssignedSubscriptionArgs, GetAssignedSubscriptionResult, GetAssignedSubscriptionOutputArgs } from "./getAssignedSubscription"; +export const getAssignedSubscription: typeof import("./getAssignedSubscription").getAssignedSubscription = null as any; +export const getAssignedSubscriptionOutput: typeof import("./getAssignedSubscription").getAssignedSubscriptionOutput = null as any; +utilities.lazyLoad(exports, ["getAssignedSubscription","getAssignedSubscriptionOutput"], () => require("./getAssignedSubscription")); + +export { GetAssignedSubscriptionLineItemsArgs, GetAssignedSubscriptionLineItemsResult, GetAssignedSubscriptionLineItemsOutputArgs } from "./getAssignedSubscriptionLineItems"; +export const getAssignedSubscriptionLineItems: typeof import("./getAssignedSubscriptionLineItems").getAssignedSubscriptionLineItems = null as any; +export const getAssignedSubscriptionLineItemsOutput: typeof import("./getAssignedSubscriptionLineItems").getAssignedSubscriptionLineItemsOutput = null as any; +utilities.lazyLoad(exports, ["getAssignedSubscriptionLineItems","getAssignedSubscriptionLineItemsOutput"], () => require("./getAssignedSubscriptionLineItems")); + +export { GetAssignedSubscriptionsArgs, GetAssignedSubscriptionsResult, GetAssignedSubscriptionsOutputArgs } from "./getAssignedSubscriptions"; +export const getAssignedSubscriptions: typeof import("./getAssignedSubscriptions").getAssignedSubscriptions = null as any; +export const getAssignedSubscriptionsOutput: typeof import("./getAssignedSubscriptions").getAssignedSubscriptionsOutput = null as any; +utilities.lazyLoad(exports, ["getAssignedSubscriptions","getAssignedSubscriptionsOutput"], () => require("./getAssignedSubscriptions")); + +export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain"; +export const getDomain: typeof import("./getDomain").getDomain = null as any; +export const getDomainOutput: typeof import("./getDomain").getDomainOutput = null as any; +utilities.lazyLoad(exports, ["getDomain","getDomainOutput"], () => require("./getDomain")); + +export { GetDomainGovernanceArgs, GetDomainGovernanceResult, GetDomainGovernanceOutputArgs } from "./getDomainGovernance"; +export const getDomainGovernance: typeof import("./getDomainGovernance").getDomainGovernance = null as any; +export const getDomainGovernanceOutput: typeof import("./getDomainGovernance").getDomainGovernanceOutput = null as any; +utilities.lazyLoad(exports, ["getDomainGovernance","getDomainGovernanceOutput"], () => require("./getDomainGovernance")); + +export { GetDomainGovernancesArgs, GetDomainGovernancesResult, GetDomainGovernancesOutputArgs } from "./getDomainGovernances"; +export const getDomainGovernances: typeof import("./getDomainGovernances").getDomainGovernances = null as any; +export const getDomainGovernancesOutput: typeof import("./getDomainGovernances").getDomainGovernancesOutput = null as any; +utilities.lazyLoad(exports, ["getDomainGovernances","getDomainGovernancesOutput"], () => require("./getDomainGovernances")); + +export { GetDomainsArgs, GetDomainsResult, GetDomainsOutputArgs } from "./getDomains"; +export const getDomains: typeof import("./getDomains").getDomains = null as any; +export const getDomainsOutput: typeof import("./getDomains").getDomainsOutput = null as any; +utilities.lazyLoad(exports, ["getDomains","getDomainsOutput"], () => require("./getDomains")); + +export { GetLinkArgs, GetLinkResult, GetLinkOutputArgs } from "./getLink"; +export const getLink: typeof import("./getLink").getLink = null as any; +export const getLinkOutput: typeof import("./getLink").getLinkOutput = null as any; +utilities.lazyLoad(exports, ["getLink","getLinkOutput"], () => require("./getLink")); + +export { GetLinksArgs, GetLinksResult, GetLinksOutputArgs } from "./getLinks"; +export const getLinks: typeof import("./getLinks").getLinks = null as any; +export const getLinksOutput: typeof import("./getLinks").getLinksOutput = null as any; +utilities.lazyLoad(exports, ["getLinks","getLinksOutput"], () => require("./getLinks")); + +export { GetOrganizationArgs, GetOrganizationResult, GetOrganizationOutputArgs } from "./getOrganization"; +export const getOrganization: typeof import("./getOrganization").getOrganization = null as any; +export const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput = null as any; +utilities.lazyLoad(exports, ["getOrganization","getOrganizationOutput"], () => require("./getOrganization")); + +export { GetOrganizationTenanciesArgs, GetOrganizationTenanciesResult, GetOrganizationTenanciesOutputArgs } from "./getOrganizationTenancies"; +export const getOrganizationTenancies: typeof import("./getOrganizationTenancies").getOrganizationTenancies = null as any; +export const getOrganizationTenanciesOutput: typeof import("./getOrganizationTenancies").getOrganizationTenanciesOutput = null as any; +utilities.lazyLoad(exports, ["getOrganizationTenancies","getOrganizationTenanciesOutput"], () => require("./getOrganizationTenancies")); + +export { GetOrganizationTenancyArgs, GetOrganizationTenancyResult, GetOrganizationTenancyOutputArgs } from "./getOrganizationTenancy"; +export const getOrganizationTenancy: typeof import("./getOrganizationTenancy").getOrganizationTenancy = null as any; +export const getOrganizationTenancyOutput: typeof import("./getOrganizationTenancy").getOrganizationTenancyOutput = null as any; +utilities.lazyLoad(exports, ["getOrganizationTenancy","getOrganizationTenancyOutput"], () => require("./getOrganizationTenancy")); + +export { GetOrganizationsArgs, GetOrganizationsResult, GetOrganizationsOutputArgs } from "./getOrganizations"; +export const getOrganizations: typeof import("./getOrganizations").getOrganizations = null as any; +export const getOrganizationsOutput: typeof import("./getOrganizations").getOrganizationsOutput = null as any; +utilities.lazyLoad(exports, ["getOrganizations","getOrganizationsOutput"], () => require("./getOrganizations")); + +export { GetRecipientInvitationArgs, GetRecipientInvitationResult, GetRecipientInvitationOutputArgs } from "./getRecipientInvitation"; +export const getRecipientInvitation: typeof import("./getRecipientInvitation").getRecipientInvitation = null as any; +export const getRecipientInvitationOutput: typeof import("./getRecipientInvitation").getRecipientInvitationOutput = null as any; +utilities.lazyLoad(exports, ["getRecipientInvitation","getRecipientInvitationOutput"], () => require("./getRecipientInvitation")); + +export { GetRecipientInvitationsArgs, GetRecipientInvitationsResult, GetRecipientInvitationsOutputArgs } from "./getRecipientInvitations"; +export const getRecipientInvitations: typeof import("./getRecipientInvitations").getRecipientInvitations = null as any; +export const getRecipientInvitationsOutput: typeof import("./getRecipientInvitations").getRecipientInvitationsOutput = null as any; +utilities.lazyLoad(exports, ["getRecipientInvitations","getRecipientInvitationsOutput"], () => require("./getRecipientInvitations")); + +export { GetSenderInvitationArgs, GetSenderInvitationResult, GetSenderInvitationOutputArgs } from "./getSenderInvitation"; +export const getSenderInvitation: typeof import("./getSenderInvitation").getSenderInvitation = null as any; +export const getSenderInvitationOutput: typeof import("./getSenderInvitation").getSenderInvitationOutput = null as any; +utilities.lazyLoad(exports, ["getSenderInvitation","getSenderInvitationOutput"], () => require("./getSenderInvitation")); + +export { GetSenderInvitationsArgs, GetSenderInvitationsResult, GetSenderInvitationsOutputArgs } from "./getSenderInvitations"; +export const getSenderInvitations: typeof import("./getSenderInvitations").getSenderInvitations = null as any; +export const getSenderInvitationsOutput: typeof import("./getSenderInvitations").getSenderInvitationsOutput = null as any; +utilities.lazyLoad(exports, ["getSenderInvitations","getSenderInvitationsOutput"], () => require("./getSenderInvitations")); + +export { GetSubscriptionArgs, GetSubscriptionResult, GetSubscriptionOutputArgs } from "./getSubscription"; +export const getSubscription: typeof import("./getSubscription").getSubscription = null as any; +export const getSubscriptionOutput: typeof import("./getSubscription").getSubscriptionOutput = null as any; +utilities.lazyLoad(exports, ["getSubscription","getSubscriptionOutput"], () => require("./getSubscription")); + +export { GetSubscriptionAvailableRegionsArgs, GetSubscriptionAvailableRegionsResult, GetSubscriptionAvailableRegionsOutputArgs } from "./getSubscriptionAvailableRegions"; +export const getSubscriptionAvailableRegions: typeof import("./getSubscriptionAvailableRegions").getSubscriptionAvailableRegions = null as any; +export const getSubscriptionAvailableRegionsOutput: typeof import("./getSubscriptionAvailableRegions").getSubscriptionAvailableRegionsOutput = null as any; +utilities.lazyLoad(exports, ["getSubscriptionAvailableRegions","getSubscriptionAvailableRegionsOutput"], () => require("./getSubscriptionAvailableRegions")); + +export { GetSubscriptionLineItemsArgs, GetSubscriptionLineItemsResult, GetSubscriptionLineItemsOutputArgs } from "./getSubscriptionLineItems"; +export const getSubscriptionLineItems: typeof import("./getSubscriptionLineItems").getSubscriptionLineItems = null as any; +export const getSubscriptionLineItemsOutput: typeof import("./getSubscriptionLineItems").getSubscriptionLineItemsOutput = null as any; +utilities.lazyLoad(exports, ["getSubscriptionLineItems","getSubscriptionLineItemsOutput"], () => require("./getSubscriptionLineItems")); + +export { GetSubscriptionMappingArgs, GetSubscriptionMappingResult, GetSubscriptionMappingOutputArgs } from "./getSubscriptionMapping"; +export const getSubscriptionMapping: typeof import("./getSubscriptionMapping").getSubscriptionMapping = null as any; +export const getSubscriptionMappingOutput: typeof import("./getSubscriptionMapping").getSubscriptionMappingOutput = null as any; +utilities.lazyLoad(exports, ["getSubscriptionMapping","getSubscriptionMappingOutput"], () => require("./getSubscriptionMapping")); + +export { GetSubscriptionMappingsArgs, GetSubscriptionMappingsResult, GetSubscriptionMappingsOutputArgs } from "./getSubscriptionMappings"; +export const getSubscriptionMappings: typeof import("./getSubscriptionMappings").getSubscriptionMappings = null as any; +export const getSubscriptionMappingsOutput: typeof import("./getSubscriptionMappings").getSubscriptionMappingsOutput = null as any; +utilities.lazyLoad(exports, ["getSubscriptionMappings","getSubscriptionMappingsOutput"], () => require("./getSubscriptionMappings")); + +export { GetSubscriptionsArgs, GetSubscriptionsResult, GetSubscriptionsOutputArgs } from "./getSubscriptions"; +export const getSubscriptions: typeof import("./getSubscriptions").getSubscriptions = null as any; +export const getSubscriptionsOutput: typeof import("./getSubscriptions").getSubscriptionsOutput = null as any; +utilities.lazyLoad(exports, ["getSubscriptions","getSubscriptionsOutput"], () => require("./getSubscriptions")); + +export { SubscriptionMappingArgs, SubscriptionMappingState } from "./subscriptionMapping"; +export type SubscriptionMapping = import("./subscriptionMapping").SubscriptionMapping; +export const SubscriptionMapping: typeof import("./subscriptionMapping").SubscriptionMapping = null as any; +utilities.lazyLoad(exports, ["SubscriptionMapping"], () => require("./subscriptionMapping")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping": + return new SubscriptionMapping(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("oci", "Tenantmanagercontrolplane/subscriptionMapping", _module) diff --git a/sdk/nodejs/tenantmanagercontrolplane/subscriptionMapping.ts b/sdk/nodejs/tenantmanagercontrolplane/subscriptionMapping.ts new file mode 100644 index 0000000000..64f88e50cf --- /dev/null +++ b/sdk/nodejs/tenantmanagercontrolplane/subscriptionMapping.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 the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + * + * Assign the tenancy record identified by the compartment ID to the given subscription ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSubscriptionMapping = new oci.tenantmanagercontrolplane.SubscriptionMapping("test_subscription_mapping", { + * compartmentId: compartmentId, + * subscriptionId: testSubscription.id, + * }); + * ``` + * + * ## Import + * + * SubscriptionMappings can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" + * ``` + */ +export class SubscriptionMapping extends pulumi.CustomResource { + /** + * Get an existing SubscriptionMapping 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?: SubscriptionMappingState, opts?: pulumi.CustomResourceOptions): SubscriptionMapping { + return new SubscriptionMapping(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping'; + + /** + * Returns true if the given object is an instance of SubscriptionMapping. 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 SubscriptionMapping { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SubscriptionMapping.__pulumiType; + } + + /** + * OCID of the compartment. Always a tenancy OCID. + */ + public readonly compartmentId!: pulumi.Output; + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + */ + public /*out*/ readonly isExplicitlyAssigned!: pulumi.Output; + /** + * Lifecycle state of the subscriptionMapping. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * OCID of Subscription. + * + * + * ** IMPORTANT ** + * 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; + /** + * Date-time when subscription mapping was created. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * Date-time when subscription mapping was terminated. + */ + public /*out*/ readonly timeTerminated!: pulumi.Output; + /** + * Date-time when subscription mapping was updated. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a SubscriptionMapping 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: SubscriptionMappingArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SubscriptionMappingArgs | SubscriptionMappingState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SubscriptionMappingState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["isExplicitlyAssigned"] = state ? state.isExplicitlyAssigned : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subscriptionId"] = state ? state.subscriptionId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeTerminated"] = state ? state.timeTerminated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as SubscriptionMappingArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.subscriptionId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subscriptionId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["subscriptionId"] = args ? args.subscriptionId : undefined; + resourceInputs["isExplicitlyAssigned"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeTerminated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(SubscriptionMapping.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SubscriptionMapping resources. + */ +export interface SubscriptionMappingState { + /** + * OCID of the compartment. Always a tenancy OCID. + */ + compartmentId?: pulumi.Input; + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + */ + isExplicitlyAssigned?: pulumi.Input; + /** + * Lifecycle state of the subscriptionMapping. + */ + state?: pulumi.Input; + /** + * OCID of Subscription. + * + * + * ** IMPORTANT ** + * 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; + /** + * Date-time when subscription mapping was created. + */ + timeCreated?: pulumi.Input; + /** + * Date-time when subscription mapping was terminated. + */ + timeTerminated?: pulumi.Input; + /** + * Date-time when subscription mapping was updated. + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SubscriptionMapping resource. + */ +export interface SubscriptionMappingArgs { + /** + * OCID of the compartment. Always a tenancy OCID. + */ + compartmentId: pulumi.Input; + /** + * OCID of Subscription. + * + * + * ** IMPORTANT ** + * 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/tsconfig.json b/sdk/nodejs/tsconfig.json index b27eaff963..c91da28c67 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -1912,6 +1912,8 @@ "jms/getFleetDiagnoses.ts", "jms/getFleetDrsFile.ts", "jms/getFleetDrsFiles.ts", + "jms/getFleetErrorAnalytics.ts", + "jms/getFleetErrors.ts", "jms/getFleetExportSetting.ts", "jms/getFleetExportStatus.ts", "jms/getFleetJavaMigrationAnalysisResult.ts", @@ -1938,6 +1940,8 @@ "jms/getJmsPlugin.ts", "jms/getJmsPlugins.ts", "jms/getListJreUsage.ts", + "jms/getPluginErrorAnalytics.ts", + "jms/getPluginErrors.ts", "jms/getSummarizeResourceInventory.ts", "jms/index.ts", "jms/javaDownloadsJavaDownloadReport.ts", @@ -2654,6 +2658,7 @@ "stackmonitoring/getBaselineableMetricsEvaluate.ts", "stackmonitoring/getConfig.ts", "stackmonitoring/getConfigs.ts", + "stackmonitoring/getDefinedMonitoringTemplates.ts", "stackmonitoring/getDiscoveryJob.ts", "stackmonitoring/getDiscoveryJobLogs.ts", "stackmonitoring/getDiscoveryJobs.ts", @@ -2667,6 +2672,10 @@ "stackmonitoring/getMonitoredResourceType.ts", "stackmonitoring/getMonitoredResourceTypes.ts", "stackmonitoring/getMonitoredResources.ts", + "stackmonitoring/getMonitoringTemplate.ts", + "stackmonitoring/getMonitoringTemplateAlarmCondition.ts", + "stackmonitoring/getMonitoringTemplateAlarmConditions.ts", + "stackmonitoring/getMonitoringTemplates.ts", "stackmonitoring/getProcessSet.ts", "stackmonitoring/getProcessSets.ts", "stackmonitoring/index.ts", @@ -2683,6 +2692,9 @@ "stackmonitoring/monitoredResourcesListMember.ts", "stackmonitoring/monitoredResourcesSearch.ts", "stackmonitoring/monitoredResourcesSearchAssociation.ts", + "stackmonitoring/monitoringTemplate.ts", + "stackmonitoring/monitoringTemplateAlarmCondition.ts", + "stackmonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.ts", "stackmonitoring/processSet.ts", "streaming/connectHarness.ts", "streaming/getConnectHarness.ts", @@ -2694,6 +2706,31 @@ "streaming/index.ts", "streaming/stream.ts", "streaming/streamPool.ts", + "tenantmanagercontrolplane/getAssignedSubscription.ts", + "tenantmanagercontrolplane/getAssignedSubscriptionLineItems.ts", + "tenantmanagercontrolplane/getAssignedSubscriptions.ts", + "tenantmanagercontrolplane/getDomain.ts", + "tenantmanagercontrolplane/getDomainGovernance.ts", + "tenantmanagercontrolplane/getDomainGovernances.ts", + "tenantmanagercontrolplane/getDomains.ts", + "tenantmanagercontrolplane/getLink.ts", + "tenantmanagercontrolplane/getLinks.ts", + "tenantmanagercontrolplane/getOrganization.ts", + "tenantmanagercontrolplane/getOrganizationTenancies.ts", + "tenantmanagercontrolplane/getOrganizationTenancy.ts", + "tenantmanagercontrolplane/getOrganizations.ts", + "tenantmanagercontrolplane/getRecipientInvitation.ts", + "tenantmanagercontrolplane/getRecipientInvitations.ts", + "tenantmanagercontrolplane/getSenderInvitation.ts", + "tenantmanagercontrolplane/getSenderInvitations.ts", + "tenantmanagercontrolplane/getSubscription.ts", + "tenantmanagercontrolplane/getSubscriptionAvailableRegions.ts", + "tenantmanagercontrolplane/getSubscriptionLineItems.ts", + "tenantmanagercontrolplane/getSubscriptionMapping.ts", + "tenantmanagercontrolplane/getSubscriptionMappings.ts", + "tenantmanagercontrolplane/getSubscriptions.ts", + "tenantmanagercontrolplane/index.ts", + "tenantmanagercontrolplane/subscriptionMapping.ts", "types/index.ts", "types/input.ts", "types/output.ts", @@ -2712,7 +2749,7 @@ "usageproxy/subscriptionRedeemableUser.ts", "utilities.ts", "vault/getSecret.ts", - "vault/getSecretVersion.ts", + "vault/getSecretVersionSdkV2.ts", "vault/getSecrets.ts", "vault/index.ts", "vault/secret.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 0f200e34cd..b173efe3d9 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -10802,6 +10802,10 @@ export namespace ContainerEngine { } export interface ClusterEndpoint { + /** + * The IPv6 networking Kubernetes API server endpoint. + */ + ipv6endpoint?: pulumi.Input; /** * The non-native networking Kubernetes API server endpoint. */ @@ -10905,6 +10909,10 @@ export namespace ContainerEngine { * (Updatable) Configurable cluster admission controllers */ admissionControllerOptions?: pulumi.Input; + /** + * IP family to use for single stack or define the order of IP families for dual-stack + */ + ipFamilies?: pulumi.Input[]>; /** * Network configuration for Kubernetes. */ @@ -24698,6 +24706,49 @@ export namespace DataScience { } export namespace Database { + export interface AutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories?: pulumi.Input[]>; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + */ + dbrsPolicyId?: pulumi.Input; + /** + * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + */ + id?: pulumi.Input; + /** + * Proxy URL to connect to object store. + */ + internetProxy?: pulumi.Input; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays?: pulumi.Input; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs?: pulumi.Input; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated?: pulumi.Input; + /** + * Type of the database backup destination. + */ + type?: pulumi.Input; + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + */ + vpcPassword?: pulumi.Input; + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + */ + vpcUser?: pulumi.Input; + } + export interface AutonomousContainerDatabaseBackupConfig { /** * (Updatable) Backup destination details. @@ -24732,6 +24783,21 @@ export namespace Database { vpcUser?: pulumi.Input; } + export interface AutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories?: pulumi.Input[]>; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs?: pulumi.Input; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated?: pulumi.Input; + } + export interface AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig { /** * Backup destination details. @@ -24949,6 +25015,22 @@ export namespace Database { vpcUser?: pulumi.Input; } + export interface AutonomousContainerDatabaseRecoveryApplianceDetail { + /** + * The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + */ + allocatedStorageSizeInGbs?: pulumi.Input; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays?: pulumi.Input; + /** + * The time when the recovery appliance details are updated. + * ======= + */ + timeRecoveryApplianceDetailsUpdated?: pulumi.Input; + } + export interface AutonomousDatabaseApexDetail { /** * The Oracle APEX Application Development version. @@ -25282,6 +25364,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent?: pulumi.Input; /** * The current state of the Autonomous Database. */ @@ -25294,6 +25380,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged?: pulumi.Input; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin?: pulumi.Input; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd?: pulumi.Input; } export interface AutonomousDatabaseLongTermBackupSchedule { @@ -25415,6 +25509,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent?: pulumi.Input; /** * The current state of the Autonomous Database. */ @@ -25427,6 +25525,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged?: pulumi.Input; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin?: pulumi.Input; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd?: pulumi.Input; } export interface AutonomousExadataInfrastructureMaintenanceWindow { @@ -68710,6 +68816,30 @@ export namespace Jms { values: pulumi.Input[]>; } + export interface GetFleetErrorAnalyticsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetFleetErrorAnalyticsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetFleetErrorsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetFleetErrorsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface GetFleetJavaMigrationAnalysisResultsFilter { name: string; regex?: boolean; @@ -68860,6 +68990,30 @@ export namespace Jms { values: pulumi.Input[]>; } + export interface GetPluginErrorAnalyticsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetPluginErrorAnalyticsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetPluginErrorsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetPluginErrorsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface JavaDownloadsJavaDownloadReportCreatedBy { /** * Display name for the Java download report. @@ -81951,6 +82105,18 @@ export namespace StackMonitoring { values: pulumi.Input[]>; } + export interface GetDefinedMonitoringTemplatesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDefinedMonitoringTemplatesFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface GetDiscoveryJobLogsFilter { name: string; regex?: boolean; @@ -82071,6 +82237,30 @@ export namespace StackMonitoring { values: pulumi.Input[]>; } + export interface GetMonitoringTemplateAlarmConditionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetMonitoringTemplateAlarmConditionsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetMonitoringTemplatesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetMonitoringTemplatesFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface GetProcessSetsFilter { name: string; regex?: boolean; @@ -82596,6 +82786,10 @@ export namespace StackMonitoring { * (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` */ validPropertyValues?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + */ + validSubResourceTypes?: pulumi.Input[]>; } export interface MonitoredResourceTypeMetadataUniquePropertySet { @@ -82845,6 +83039,48 @@ export namespace StackMonitoring { value?: pulumi.Input; } + export interface MonitoringTemplateAlarmConditionCondition { + /** + * (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + */ + body?: pulumi.Input; + /** + * (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + */ + query: pulumi.Input; + /** + * (Updatable) Severity - Critical/Warning + */ + severity: pulumi.Input; + /** + * (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendNote?: pulumi.Input; + /** + * (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendUrl?: pulumi.Input; + /** + * (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + */ + triggerDelay?: pulumi.Input; + } + + export interface MonitoringTemplateMember { + /** + * (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + */ + compositeType?: pulumi.Input; + /** + * (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + */ + id: pulumi.Input; + /** + * (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + */ + type: pulumi.Input; + } + export interface ProcessSetSpecification { /** * (Updatable) List of Process Set specification details. @@ -82981,6 +83217,183 @@ export namespace Streaming { } } +export namespace Tenantmanagercontrolplane { + export interface GetAssignedSubscriptionLineItemsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAssignedSubscriptionLineItemsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetAssignedSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAssignedSubscriptionsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDomainGovernancesFilter { + /** + * A filter to return only resources that exactly match the name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDomainGovernancesFilterArgs { + /** + * A filter to return only resources that exactly match the name given. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDomainsFilter { + /** + * A filter to return only resources that exactly match the name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDomainsFilterArgs { + /** + * A filter to return only resources that exactly match the name given. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetLinksFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetLinksFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetOrganizationTenanciesFilter { + /** + * Name of the tenancy. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetOrganizationTenanciesFilterArgs { + /** + * Name of the tenancy. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetOrganizationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetOrganizationsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetRecipientInvitationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetRecipientInvitationsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetSenderInvitationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSenderInvitationsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetSubscriptionAvailableRegionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionAvailableRegionsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetSubscriptionLineItemsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionLineItemsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetSubscriptionMappingsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionMappingsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + +} + export namespace UsageProxy { export interface GetResourceQuotasFilter { /** @@ -83162,6 +83575,25 @@ export namespace Vault { stage?: pulumi.Input; } + export interface SecretSecretGenerationContext { + /** + * (Updatable) Name of random bytes generation template for generating random byte type secret. + */ + generationTemplate: pulumi.Input; + /** + * (Updatable) Name of the predefined secret generation type. + */ + generationType: pulumi.Input; + /** + * (Updatable) Length of the passphrase to be generated + */ + passphraseLength?: pulumi.Input; + /** + * (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + */ + secretTemplate?: pulumi.Input; + } + export interface SecretSecretRule { /** * (Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 3cfd15b1cf..0e68c9660c 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -36647,6 +36647,10 @@ export namespace ContainerEngine { } export interface ClusterEndpoint { + /** + * The IPv6 networking Kubernetes API server endpoint. + */ + ipv6endpoint: string; /** * The non-native networking Kubernetes API server endpoint. */ @@ -36750,6 +36754,10 @@ export namespace ContainerEngine { * (Updatable) Configurable cluster admission controllers */ admissionControllerOptions: outputs.ContainerEngine.ClusterOptionsAdmissionControllerOptions; + /** + * IP family to use for single stack or define the order of IP families for dual-stack + */ + ipFamilies: string[]; /** * Network configuration for Kubernetes. */ @@ -37496,6 +37504,10 @@ export namespace ContainerEngine { } export interface GetClusterEndpoint { + /** + * The IPv6 networking Kubernetes API server endpoint. + */ + ipv6endpoint: string; /** * The non-native networking Kubernetes API server endpoint. */ @@ -37599,6 +37611,10 @@ export namespace ContainerEngine { * Configurable cluster admission controllers */ admissionControllerOptions: outputs.ContainerEngine.GetClusterOptionAdmissionControllerOption[]; + /** + * IP family to use for single stack or define the order of IP families for dual-stack + */ + ipFamilies: string[]; /** * Network configuration for Kubernetes. */ @@ -37831,6 +37847,10 @@ export namespace ContainerEngine { } export interface GetClustersClusterEndpoint { + /** + * The IPv6 networking Kubernetes API server endpoint. + */ + ipv6endpoint: string; /** * The non-native networking Kubernetes API server endpoint. */ @@ -37934,6 +37954,10 @@ export namespace ContainerEngine { * Configurable cluster admission controllers */ admissionControllerOptions: outputs.ContainerEngine.GetClustersClusterOptionAdmissionControllerOption[]; + /** + * IP family to use for single stack or define the order of IP families for dual-stack + */ + ipFamilies: string[]; /** * Network configuration for Kubernetes. */ @@ -83659,6 +83683,49 @@ export namespace DataScience { } export namespace Database { + export interface AutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + */ + dbrsPolicyId: string; + /** + * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + */ + id: string; + /** + * Proxy URL to connect to object store. + */ + internetProxy: string; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + /** + * Type of the database backup destination. + */ + type: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + */ + vpcPassword: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + */ + vpcUser: string; + } + export interface AutonomousContainerDatabaseBackupConfig { /** * (Updatable) Backup destination details. @@ -83693,6 +83760,21 @@ export namespace Database { vpcUser: string; } + export interface AutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + } + export interface AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig { /** * Backup destination details. @@ -83910,6 +83992,22 @@ export namespace Database { vpcUser: string; } + export interface AutonomousContainerDatabaseRecoveryApplianceDetail { + /** + * The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + */ + allocatedStorageSizeInGbs: number; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The time when the recovery appliance details are updated. + * ======= + */ + timeRecoveryApplianceDetailsUpdated: string; + } + export interface AutonomousDatabaseApexDetail { /** * The Oracle APEX Application Development version. @@ -84243,6 +84341,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The current state of the Autonomous Database. */ @@ -84255,6 +84357,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface AutonomousDatabaseLongTermBackupSchedule { @@ -84376,6 +84486,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The current state of the Autonomous Database. */ @@ -84388,6 +84502,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface AutonomousExadataInfrastructureMaintenanceWindow { @@ -86749,13 +86871,56 @@ export namespace Database { values: string[]; } + export interface GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + */ + dbrsPolicyId: string; + /** + * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + */ + id: string; + /** + * Proxy URL to connect to object store. + */ + internetProxy: string; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + /** + * Type of the database backup destination. + */ + type: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + */ + vpcPassword: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + */ + vpcUser: string; + } + export interface GetAutonomousContainerDatabaseBackupConfig { /** * Backup destination details. */ backupDestinationDetails: outputs.Database.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]; /** - * Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * Number of days between the current and earliest point of recoverability covered by automatic backups. */ recoveryWindowInDays: number; } @@ -86783,6 +86948,21 @@ export namespace Database { vpcUser: string; } + export interface GetAutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + } + export interface GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig { backupDestinationDetails: outputs.Database.GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]; recoveryWindowInDays: number; @@ -87055,7 +87235,7 @@ export namespace Database { */ backupDestinationDetails: outputs.Database.GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]; /** - * Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * Number of days between the current and earliest point of recoverability covered by automatic backups. */ recoveryWindowInDays: number; } @@ -87083,6 +87263,21 @@ export namespace Database { vpcUser: string; } + export interface GetAutonomousContainerDatabaseRecoveryApplianceDetail { + /** + * The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + */ + allocatedStorageSizeInGbs: number; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The time when the recovery appliance details are updated. + */ + timeRecoveryApplianceDetailsUpdated: string; + } + export interface GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage { /** * The user-friendly name for the Autonomous Container Database. The name does not need to be unique. @@ -87151,6 +87346,10 @@ export namespace Database { } export interface GetAutonomousContainerDatabasesAutonomousContainerDatabase { + /** + * A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + */ + associatedBackupConfigurationDetails: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail[]; /** * The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -87171,6 +87370,10 @@ export namespace Database { * Backup options for the Autonomous Container Database. */ backupConfigs: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig[]; + /** + * This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + */ + backupDestinationPropertiesLists: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList[]; /** * The cloud Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -87309,6 +87512,10 @@ export namespace Database { * CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. */ reclaimableCpus: number; + /** + * Information about the recovery appliance configuration associated with the Autonomous Container Database. + */ + recoveryApplianceDetails: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail[]; /** * The number of CPUs reserved in an Autonomous Container Database. */ @@ -87360,13 +87567,56 @@ export namespace Database { vmFailoverReservation: number; } + export interface GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetail { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + */ + dbrsPolicyId: string; + /** + * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + */ + id: string; + /** + * Proxy URL to connect to object store. + */ + internetProxy: string; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + /** + * Type of the database backup destination. + */ + type: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + */ + vpcPassword: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + */ + vpcUser: string; + } + export interface GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfig { /** * Backup destination details. */ backupDestinationDetails: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]; /** - * Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * Number of days between the current and earliest point of recoverability covered by automatic backups. */ recoveryWindowInDays: number; } @@ -87394,6 +87644,21 @@ export namespace Database { vpcUser: string; } + export interface GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesList { + /** + * The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + */ + backupDestinationAttachHistories: string[]; + /** + * The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + */ + spaceUtilizedInGbs: number; + /** + * The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; + } + export interface GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntry { /** * The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. @@ -87543,7 +87808,7 @@ export namespace Database { */ backupDestinationDetails: outputs.Database.GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]; /** - * Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + * Number of days between the current and earliest point of recoverability covered by automatic backups. */ recoveryWindowInDays: number; } @@ -87571,6 +87836,21 @@ export namespace Database { vpcUser: string; } + export interface GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetail { + /** + * The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + */ + allocatedStorageSizeInGbs: number; + /** + * Number of days between the current and earliest point of recoverability covered by automatic backups. + */ + recoveryWindowInDays: number; + /** + * The time when the recovery appliance details are updated. + */ + timeRecoveryApplianceDetailsUpdated: string; + } + export interface GetAutonomousContainerDatabasesFilter { /** * Name of the month of the year. @@ -88157,6 +88437,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The current state of the Autonomous Database. */ @@ -88169,6 +88453,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabaseLongTermBackupSchedule { @@ -88397,6 +88689,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The current state of the Autonomous Database. */ @@ -88409,6 +88705,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabasesAutonomousDatabase { @@ -88468,6 +88772,13 @@ export namespace Database { * The character set for the autonomous database. The default is AL32UTF8. Allowed values are: */ characterSet: string; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * ======= + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * >>>>>>> theirs + */ + cloneTableSpaceLists: number[]; cloneType: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. @@ -88708,6 +89019,10 @@ export namespace Database { * Details for the long-term backup schedule. */ longTermBackupSchedules: outputs.Database.GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule[]; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. */ @@ -89257,6 +89572,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ @@ -89269,6 +89588,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule { @@ -89390,6 +89717,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ @@ -89402,6 +89733,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabasesClonesAutonomousDatabase { @@ -89455,6 +89794,13 @@ export namespace Database { * The character set for the autonomous database. The default is AL32UTF8. Allowed values are: */ characterSet: string; + /** + * A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + * ======= + * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + * >>>>>>> theirs + */ + cloneTableSpaceLists: number[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. */ @@ -89679,6 +90025,10 @@ export namespace Database { * Details for the long-term backup schedule. */ longTermBackupSchedules: outputs.Database.GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule[]; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. */ @@ -90205,6 +90555,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ @@ -90217,6 +90571,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule { @@ -90332,6 +90694,10 @@ export namespace Database { * Additional information about the current lifecycle state. */ lifecycleDetails: string; + /** + * The component chosen for maintenance. + */ + maintenanceTargetComponent: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ @@ -90344,6 +90710,14 @@ export namespace Database { * The date and time the Disaster Recovery role was switched for the standby Autonomous Database. */ timeDisasterRecoveryRoleChanged: string; + /** + * The date and time when maintenance will begin. + */ + timeMaintenanceBegin: string; + /** + * The date and time when maintenance will end. + */ + timeMaintenanceEnd: string; } export interface GetAutonomousDatabasesClonesFilter { @@ -91503,14 +91877,26 @@ export namespace Database { * The current lifecycle state of the backup destination. */ state: string; + /** + * The time when the total storage size and the utilized storage size of the backup destination are updated. + */ + timeAtWhichStorageDetailsAreUpdated: string; /** * The date and time the backup destination was created. */ timeCreated: string; + /** + * The total storage size of the backup destination in GBs, rounded to the nearest integer. + */ + totalStorageSizeInGbs: number; /** * A filter to return only resources that match the given type of the Backup Destination. */ type: string; + /** + * The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + */ + utilizedStorageSizeInGbs: number; /** * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. */ @@ -93129,6 +93515,7 @@ export namespace Database { peerSidPrefix: string; peerVmClusterId: string; privateIp: string; + privateIpV6: string; /** * The protection mode of this Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. */ @@ -96020,6 +96407,7 @@ export namespace Database { */ pointInTimeDataDiskCloneTimestamp: string; privateIp: string; + privateIpV6: string; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. */ @@ -96033,9 +96421,13 @@ export namespace Database { */ scanDnsRecordId: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. */ scanIpIds: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + */ + scanIpv6ids: string[]; /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ @@ -96084,9 +96476,13 @@ export namespace Database { */ version: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. */ vipIds: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + */ + vipv6ids: string[]; /** * The OCID of the zone the DB system is associated with. */ @@ -125223,6 +125619,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -125307,6 +125707,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -125521,6 +125925,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; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: 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` */ @@ -125698,6 +126106,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -125816,6 +126228,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. */ @@ -125898,6 +126314,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. */ @@ -126016,6 +126436,10 @@ export namespace FileStorage { * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state: string; + /** + * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + */ + systemTags: {[key: string]: string}; /** * The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ @@ -136435,6 +136859,9 @@ export namespace GoldenGate { * Used authentication mechanism to be provided for the following connection types: * * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS * * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * * DATABRICKS - Required fields by authentication types: + * * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * * OAUTH_M2M: user must enter clientId and clientSecret */ authenticationType: string; /** @@ -136476,6 +136903,7 @@ export namespace GoldenGate { * * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' * * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ connectionUrl: string; /** @@ -136516,7 +136944,7 @@ export namespace GoldenGate { */ doesUseSecretIds: boolean; /** - * Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + * Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com */ endpoint: string; fingerprint: string; @@ -136620,7 +137048,7 @@ export namespace GoldenGate { */ redisClusterId: string; /** - * The name of the region. e.g.: us-ashburn-1 + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. */ region: string; /** @@ -136661,12 +137089,16 @@ export namespace GoldenGate { * If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. */ shouldUseJndi: boolean; + /** + * Indicates that the user intents to connect to the instance through resource principal. + */ + shouldUseResourcePrincipal: boolean; /** * If set to true, the driver validates the certificate that is sent by the database server. */ shouldValidateServerCertificate: boolean; /** - * Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + * Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). */ sslCa: string; sslCert: string; @@ -136701,6 +137133,10 @@ export namespace GoldenGate { * A filter to return only connections having the 'lifecycleState' given. */ state: string; + /** + * Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + */ + storageCredentialName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. */ @@ -136721,6 +137157,10 @@ export namespace GoldenGate { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. */ tenancyId: string; + /** + * Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + */ + tenantId: string; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ @@ -136729,6 +137169,18 @@ export namespace GoldenGate { * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeUpdated: string; + tlsCaFile: string; + tlsCertificateKeyFile: string; + tlsCertificateKeyFilePassword: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + */ + tlsCertificateKeyFilePasswordSecretId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + */ + tlsCertificateKeyFileSecretId: string; triggerRefresh: boolean; trustStore: string; trustStorePassword: string; @@ -136745,11 +137197,11 @@ export namespace GoldenGate { */ url: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. */ userId: string; /** - * The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + * The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. */ username: string; /** @@ -196451,6 +196903,96 @@ export namespace Jms { values: string[]; } + export interface GetFleetErrorAnalyticsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetFleetErrorAnalyticsFleetErrorAggregationCollection { + /** + * A list of FleetErrorAggregationSummary. + */ + items: outputs.Jms.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem[]; + } + + export interface GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem { + /** + * List of fleet error aggregations. + */ + fleetErrorAggregations: outputs.Jms.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation[]; + /** + * Count of fleets with no problems. + */ + healthyFleetCount: number; + } + + export interface GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation { + /** + * Number of FleetErrors encountered for the specific reason. + */ + fleetErrorAnalyticCount: number; + /** + * Enum that uniquely identifies the fleet error. + */ + reason: string; + } + + export interface GetFleetErrorsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetFleetErrorsFleetErrorCollection { + /** + * A list of FleetErrorSummary. + */ + items: outputs.Jms.GetFleetErrorsFleetErrorCollectionItem[]; + } + + export interface GetFleetErrorsFleetErrorCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId: string; + /** + * List of fleet error details. + */ + errors: outputs.Jms.GetFleetErrorsFleetErrorCollectionItemError[]; + /** + * The ID of the Fleet. + */ + fleetId: string; + /** + * The display name of the Fleet. + */ + fleetName: string; + /** + * The timestamp of the first time an error was detected. + */ + timeFirstSeen: string; + /** + * The timestamp of the last time an error was detected. + */ + timeLastSeen: string; + } + + export interface GetFleetErrorsFleetErrorCollectionItemError { + /** + * Optional string containing additional details. + */ + details: string; + /** + * The fleet error reason. + */ + reason: string; + /** + * The timestamp of the last time an error was detected. + */ + timeLastSeen: string; + } + export interface GetFleetInventoryLog { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. @@ -196578,7 +197120,7 @@ export namespace Jms { */ applicationInstallationPath: string; /** - * The name of the application for which the report has been generated. + * The name of the application. */ applicationName: string; /** @@ -196917,7 +197459,7 @@ export namespace Jms { export interface GetInstallationSitesInstallationSiteCollectionItemItemJre { /** - * The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + * The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. */ distribution: string; /** @@ -196939,6 +197481,10 @@ export namespace Jms { * The architecture of the operating system as provided by the Java system property os.arch. */ architecture: string; + /** + * The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + */ + distribution: string; /** * The operating system type, such as Windows, Linux or macOS */ @@ -198007,7 +198553,7 @@ export namespace Jms { */ agentId: string; /** - * The agent type. + * Filter JmsPlugin with agent type. */ agentType: string; /** @@ -198174,6 +198720,100 @@ export namespace Jms { version: string; } + export interface GetPluginErrorAnalyticsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetPluginErrorAnalyticsPluginErrorAggregationCollection { + /** + * A list of PluginErrorAggregationSummary. + */ + items: outputs.Jms.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem[]; + } + + export interface GetPluginErrorAnalyticsPluginErrorAggregationCollectionItem { + /** + * Count of plugins with no problems. + */ + healthyPluginCount: number; + /** + * List of plugin aggregation errors. + */ + pluginErrorAggregations: outputs.Jms.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation[]; + } + + export interface GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregation { + /** + * Number of FleetErrors encountered for the specific reason. + */ + pluginErrorAnalyticCount: number; + /** + * Enum that uniquely identifies the plugin error. + */ + reason: string; + } + + export interface GetPluginErrorsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetPluginErrorsPluginErrorCollection { + /** + * A list of PluginErrorSummary. + */ + items: outputs.Jms.GetPluginErrorsPluginErrorCollectionItem[]; + } + + export interface GetPluginErrorsPluginErrorCollectionItem { + /** + * The agent type. + */ + agentType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId: string; + /** + * List of plugin error details. + */ + errors: outputs.Jms.GetPluginErrorsPluginErrorCollectionItemError[]; + /** + * The HostName or Compute Instance name of the Managed Instance running the plugin. + */ + hostName: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + managedInstanceId: string; + /** + * The timestamp of the first time an error was detected. + */ + timeFirstSeen: string; + /** + * The timestamp of the last time an error was detected. + */ + timeLastSeen: string; + } + + export interface GetPluginErrorsPluginErrorCollectionItemError { + /** + * Optional string containing additional details. + */ + details: string; + /** + * The plugin error reason. + */ + reason: string; + /** + * The timestamp of the last time an error was detected. + */ + timeLastSeen: string; + } + export interface JavaDownloadsJavaDownloadReportCreatedBy { /** * Display name for the Java download report. @@ -242310,6 +242950,100 @@ export namespace StackMonitoring { values: string[]; } + export interface GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollection { + /** + * List of defined Monitoring Template. + */ + items: outputs.StackMonitoring.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem[]; + } + + export interface GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItem { + /** + * Type of composite resource type OCID like EBS/PEOPLE_SOFT. + */ + compositeType: string; + /** + * Defined Monitoring template alarm conditions + */ + definedAlarmConditions: outputs.StackMonitoring.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition[]; + /** + * A filter to return monitoring template based on name. + */ + displayName: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + */ + id: string; + /** + * The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + namespace: string; + /** + * The resource types OCID. + */ + resourceType: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + */ + timeCreated: string; + /** + * The date and time the monitoringTemplate was updated. Format defined by RFC3339. + */ + timeUpdated: string; + } + + export interface GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmCondition { + /** + * Type of defined monitoring template. + */ + conditionType: string; + /** + * Monitoring template conditions. + */ + conditions: outputs.StackMonitoring.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition[]; + /** + * The metric name. + */ + metricName: string; + } + + export interface GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionCondition { + /** + * The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + */ + body: string; + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. + */ + query: string; + /** + * Severity - Critical/Warning + */ + severity: string; + /** + * Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendNote: boolean; + /** + * Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendUrl: boolean; + /** + * The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + */ + triggerDelay: string; + } + + export interface GetDefinedMonitoringTemplatesFilter { + name: string; + regex?: boolean; + values: string[]; + } + export interface GetDiscoveryJobDiscoveryDetail { /** * The OCID of Management Agent @@ -242822,7 +243556,7 @@ export namespace StackMonitoring { */ displayName: string; /** - * List of resource objects on which this metric extension is enabled. + * List of resource details objects having resourceIds on which this metric extension is enabled. */ enabledOnResources: outputs.StackMonitoring.GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource[]; /** @@ -243461,6 +244195,10 @@ export namespace StackMonitoring { * List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` */ validPropertyValues: {[key: string]: string}; + /** + * List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + */ + validSubResourceTypes: string[]; } export interface GetMonitoredResourceTypeMetadataUniquePropertySet { @@ -243484,6 +244222,10 @@ export namespace StackMonitoring { } export interface GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem { + /** + * Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + */ + additionalNamespaceMap: {[key: string]: string}; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. */ @@ -243576,6 +244318,10 @@ export namespace StackMonitoring { * List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` */ validPropertyValues: {[key: string]: string}; + /** + * List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + */ + validSubResourceTypes: string[]; } export interface GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet { @@ -243885,6 +244631,256 @@ export namespace StackMonitoring { value: string; } + export interface GetMonitoringTemplateAlarmConditionCondition { + /** + * The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + */ + body: string; + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. + */ + query: string; + /** + * Severity - Critical/Warning + */ + severity: string; + /** + * Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendNote: boolean; + /** + * Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendUrl: boolean; + /** + * The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + */ + triggerDelay: string; + } + + export interface GetMonitoringTemplateAlarmConditionsAlarmConditionCollection { + items: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem[]; + } + + export interface GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItem { + /** + * The OCID of the composite resource type like EBS/PEOPLE_SOFT. + */ + compositeType: string; + /** + * Type of defined monitoring template. + */ + conditionType: string; + /** + * Monitoring template conditions + */ + conditions: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition[]; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: 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}; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + */ + id: string; + /** + * metricName filter. + */ + metricName: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + */ + monitoringTemplateId: string; + /** + * The stack monitoring service or application emitting the metric that is evaluated by the alarm. + */ + namespace: string; + /** + * The resource type OCID. + */ + resourceType: string; + /** + * A filter to return alarm condition based on Lifecycle State. + */ + state: string; + /** + * A filter to return alarm condition based on input status. + */ + status: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * The date and time the alarm condition was created. Format defined by RFC3339. + */ + timeCreated: string; + /** + * The date and time the alarm condition was updated. Format defined by RFC3339. + */ + timeUpdated: string; + } + + export interface GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemCondition { + /** + * The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + */ + body: string; + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. + */ + query: string; + /** + * Severity - Critical/Warning + */ + severity: string; + /** + * Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendNote: boolean; + /** + * Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendUrl: boolean; + /** + * The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + */ + triggerDelay: string; + } + + export interface GetMonitoringTemplateAlarmConditionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetMonitoringTemplateMember { + /** + * The OCID of the composite resource type like EBS or Peoplesoft. + */ + compositeType: string; + /** + * The OCID of the resourceInstance/resourceType/resourceGroup + */ + id: string; + /** + * Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + */ + type: string; + } + + export interface GetMonitoringTemplatesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetMonitoringTemplatesMonitoringTemplateCollection { + items: outputs.StackMonitoring.GetMonitoringTemplatesMonitoringTemplateCollectionItem[]; + } + + export interface GetMonitoringTemplatesMonitoringTemplateCollectionItem { + /** + * The ID of the compartment in which data is listed. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: string}; + /** + * A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + description: string; + /** + * A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + */ + destinations: string[]; + /** + * A filter to return monitoring template based on name. + */ + 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}; + /** + * The OCID of the resourceInstance/resourceType/resourceGroup + */ + id: string; + /** + * Whether the alarm is enabled or disabled. Default value is enabled. + */ + isAlarmsEnabled: boolean; + /** + * Whether the alarm notification is enabled or disabled, it will be Enabled by default. + */ + isSplitNotificationEnabled: boolean; + /** + * List of members of this monitoring template. + */ + members: outputs.StackMonitoring.GetMonitoringTemplatesMonitoringTemplateCollectionItemMember[]; + /** + * The format to use for alarm notifications. + */ + messageFormat: string; + /** + * The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + */ + repeatNotificationDuration: string; + /** + * A filter to return monitoring template based on Lifecycle State + */ + state: string; + /** + * A filter to return monitoring template based on input status + */ + status: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + */ + tenantId: string; + /** + * The date and time the monitoringTemplate was created. Format defined by RFC3339. + */ + timeCreated: string; + /** + * The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + */ + timeUpdated: string; + /** + * Total Alarm Conditions + */ + totalAlarmConditions: number; + /** + * Total Applied Alarm Conditions + */ + totalAppliedAlarmConditions: number; + } + + export interface GetMonitoringTemplatesMonitoringTemplateCollectionItemMember { + /** + * The OCID of the composite resource type like EBS or Peoplesoft. + */ + compositeType: string; + /** + * The OCID of the resourceInstance/resourceType/resourceGroup + */ + id: string; + /** + * Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + */ + type: string; + } + export interface GetProcessSetSpecification { /** * List of Process Set specification details. @@ -244510,6 +245506,10 @@ export namespace StackMonitoring { * (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` */ validPropertyValues: {[key: string]: string}; + /** + * (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + */ + validSubResourceTypes: string[]; } export interface MonitoredResourceTypeMetadataUniquePropertySet { @@ -244759,6 +245759,48 @@ export namespace StackMonitoring { value: string; } + export interface MonitoringTemplateAlarmConditionCondition { + /** + * (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + */ + body: string; + /** + * (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + */ + query: string; + /** + * (Updatable) Severity - Critical/Warning + */ + severity: string; + /** + * (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendNote: boolean; + /** + * (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + */ + shouldAppendUrl: boolean; + /** + * (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + */ + triggerDelay: string; + } + + export interface MonitoringTemplateMember { + /** + * (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + */ + compositeType: string; + /** + * (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + */ + id: string; + /** + * (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + */ + type: string; + } + export interface ProcessSetSpecification { /** * (Updatable) List of Process Set specification details. @@ -245101,6 +246143,1126 @@ export namespace Streaming { } +export namespace Tenantmanagercontrolplane { + export interface GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollection { + /** + * Array containing line item summaries in an assigned subscription. + */ + items: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem[]; + } + + export interface GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItem { + /** + * Billing model supported by the associated line item. + */ + billingModel: string; + /** + * Subscription line item identifier. + */ + id: string; + /** + * Product code. + */ + productCode: string; + /** + * Product number. + */ + quantity: number; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + */ + timeEnded: string; + /** + * The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + */ + timeStarted: string; + } + + export interface GetAssignedSubscriptionLineItemsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAssignedSubscriptionPromotion { + /** + * If a subscription is present, indicates the total amount of promotional subscription credits. + */ + amount: number; + /** + * Currency unit associated with the promotion. + */ + currencyUnit: string; + /** + * Specifies how long the promotion related to the subscription, if any, is valid in duration units. + */ + duration: number; + /** + * Unit for the duration. + */ + durationUnit: string; + /** + * Speficies whether or not the customer intends to pay after the promotion has expired. + */ + isIntentToPay: boolean; + /** + * If a subscription is present, indicates the current status of the subscription promotion. + */ + status: string; + /** + * Date and time when the promotion ends. + */ + timeExpired: string; + /** + * Date and time when the promotion starts. + */ + timeStarted: string; + } + + export interface GetAssignedSubscriptionSkus { + /** + * Description of the stock units. + */ + description: string; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * Sales order line identifier. + */ + gsiOrderLineId: string; + /** + * Specifies if an additional test instance can be provisioned by the SaaS application. + */ + isAdditionalInstance: boolean; + /** + * Specifies if the SKU is considered as a parent or child. + */ + isBaseServiceComponent: boolean; + /** + * Description of the covered product belonging to this SKU. + */ + licensePartDescription: string; + /** + * Base metric for billing the service. + */ + metricName: string; + /** + * Quantity of the stock units. + */ + quantity: number; + /** + * Stock Keeping Unit (SKU) ID. + */ + sku: string; + /** + * Subscription start time. + */ + startDate: string; + } + + export interface GetAssignedSubscriptionsAssignedSubscriptionCollection { + items: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsAssignedSubscriptionCollectionItem[]; + } + + export interface GetAssignedSubscriptionsAssignedSubscriptionCollectionItem { + /** + * Subscription ID. + */ + classicSubscriptionId: string; + /** + * The currency code for the customer associated with the subscription. + */ + cloudAmountCurrency: string; + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Customer service identifier for the customer associated with the subscription. + */ + csiNumber: string; + /** + * Currency code. For example USD, MXN. + */ + currencyCode: string; + /** + * The country code for the customer associated with the subscription. + */ + customerCountryCode: 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}; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * The version of the subscription entity. + */ + entityVersion: 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}; + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + */ + id: string; + /** + * Specifies whether or not the subscription is legacy. + */ + isClassicSubscription: boolean; + /** + * Specifies whether or not the subscription is a government subscription. + */ + isGovernmentSubscription: boolean; + /** + * Service or component which is used to provision and manage the subscription. + */ + managedBy: string; + /** + * List of subscription order OCIDs that contributed to this subscription. + */ + orderIds: string[]; + /** + * Specifies any program that is associated with the subscription. + */ + programType: string; + /** + * List of promotions related to the subscription. + */ + promotions: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion[]; + /** + * Purchase entitlement ID associated with the subscription. + */ + purchaseEntitlementId: string; + /** + * Region for the subscription. + */ + regionAssignment: string; + /** + * The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + */ + serviceName: string; + /** + * List of SKUs linked to the subscription. + */ + skuses: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus[]; + /** + * Subscription start time. + */ + startDate: string; + /** + * Lifecycle state of the subscription. + */ + state: string; + /** + * Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + */ + subscriptionNumber: string; + /** + * Tier for the subscription, whether a free promotion subscription or a paid subscription. + */ + subscriptionTier: string; + /** + * The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + timeCreated: string; + /** + * The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + timeUpdated: string; + } + + export interface GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotion { + /** + * If a subscription is present, indicates the total amount of promotional subscription credits. + */ + amount: number; + /** + * Currency unit associated with the promotion. + */ + currencyUnit: string; + /** + * Specifies how long the promotion related to the subscription, if any, is valid in duration units. + */ + duration: number; + /** + * Unit for the duration. + */ + durationUnit: string; + /** + * Speficies whether or not the customer intends to pay after the promotion has expired. + */ + isIntentToPay: boolean; + /** + * If a subscription is present, indicates the current status of the subscription promotion. + */ + status: string; + /** + * Date and time when the promotion ends. + */ + timeExpired: string; + /** + * Date and time when the promotion starts. + */ + timeStarted: string; + } + + export interface GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkus { + /** + * Description of the stock units. + */ + description: string; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * Sales order line identifier. + */ + gsiOrderLineId: string; + /** + * Specifies if an additional test instance can be provisioned by the SaaS application. + */ + isAdditionalInstance: boolean; + /** + * Specifies if the SKU is considered as a parent or child. + */ + isBaseServiceComponent: boolean; + /** + * Description of the covered product belonging to this SKU. + */ + licensePartDescription: string; + /** + * Base metric for billing the service. + */ + metricName: string; + /** + * Quantity of the stock units. + */ + quantity: number; + /** + * Stock Keeping Unit (SKU) ID. + */ + sku: string; + /** + * Subscription start time. + */ + startDate: string; + } + + export interface GetAssignedSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDomainGovernancesDomainGovernanceCollection { + items: outputs.Tenantmanagercontrolplane.GetDomainGovernancesDomainGovernanceCollectionItem[]; + } + + export interface GetDomainGovernancesDomainGovernanceCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: string}; + /** + * The domain OCID. + */ + domainId: 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}; + /** + * The OCID of the domain governance entity. + */ + id: string; + /** + * Indicates whether governance is enabled for this domain. + */ + isGovernanceEnabled: boolean; + /** + * The ONS subscription associated with this domain governance entity. + */ + onsSubscriptionId: string; + /** + * The ONS topic associated with this domain governance entity. + */ + onsTopicId: string; + /** + * The OCID of the tenancy that owns this domain governance entity. + */ + ownerId: string; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * Email address to be used to notify the user, and that the ONS subscription will be created with. + */ + subscriptionEmail: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + */ + timeCreated: string; + /** + * Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + */ + timeUpdated: string; + } + + export interface GetDomainGovernancesFilter { + /** + * A filter to return only resources that exactly match the name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDomainsDomainCollection { + items: outputs.Tenantmanagercontrolplane.GetDomainsDomainCollectionItem[]; + } + + export interface GetDomainsDomainCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: string}; + /** + * The domain name. + */ + domainName: 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}; + /** + * The OCID of the domain. + */ + id: string; + isGovernanceEnabled: boolean; + /** + * The OCID of the tenancy that has started the registration process for this domain. + */ + ownerId: string; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * The status of the domain. + */ + status: string; + subscriptionEmail: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * Date-time when this domain was created. An RFC 3339-formatted date and time string. + */ + timeCreated: string; + /** + * Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + */ + timeUpdated: string; + /** + * The code that the owner of the domain will need to add as a TXT record to their domain. + */ + txtRecord: string; + } + + export interface GetDomainsFilter { + /** + * A filter to return only resources that exactly match the name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetLinksFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetLinksLinkCollection { + items: outputs.Tenantmanagercontrolplane.GetLinksLinkCollectionItem[]; + } + + export interface GetLinksLinkCollectionItem { + /** + * The ID of the child tenancy this link is associated with. + */ + childTenancyId: string; + /** + * OCID of the link. + */ + id: string; + /** + * The ID of the parent tenancy this link is associated with. + */ + parentTenancyId: string; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * Date-time when this link was created. + */ + timeCreated: string; + /** + * Date-time when this link was terminated. + */ + timeTerminated: string; + /** + * Date-time when this link was last updated. + */ + timeUpdated: string; + } + + export interface GetOrganizationTenanciesFilter { + /** + * Name of the tenancy. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetOrganizationTenanciesOrganizationTenancyCollection { + items: outputs.Tenantmanagercontrolplane.GetOrganizationTenanciesOrganizationTenancyCollectionItem[]; + } + + export interface GetOrganizationTenanciesOrganizationTenancyCollectionItem { + /** + * The governance status of the tenancy. + */ + governanceStatus: string; + /** + * Parameter to indicate the tenancy is approved for transfer to another organization. + */ + isApprovedForTransfer: boolean; + /** + * Name of the tenancy. + */ + name: string; + /** + * Role of the organization tenancy. + */ + role: string; + /** + * Lifecycle state of the organization tenancy. + */ + state: string; + /** + * OCID of the tenancy. + */ + tenancyId: string; + /** + * Date and time when the tenancy joined the organization. + */ + timeJoined: string; + /** + * Date and time when the tenancy left the organization. + */ + timeLeft: string; + } + + export interface GetOrganizationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetOrganizationsOrganizationCollection { + items: outputs.Tenantmanagercontrolplane.GetOrganizationsOrganizationCollectionItem[]; + } + + export interface GetOrganizationsOrganizationCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + */ + defaultUcmSubscriptionId: string; + /** + * A display name for the organization. Avoid entering confidential information. + */ + displayName: string; + /** + * OCID of the organization. + */ + id: string; + /** + * The name of the tenancy that is the organization parent. + */ + parentName: string; + /** + * Lifecycle state of the organization. + */ + state: string; + /** + * Date and time when the organization was created. + */ + timeCreated: string; + /** + * Date and time when the organization was last updated. + */ + timeUpdated: string; + } + + export interface GetRecipientInvitationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetRecipientInvitationsRecipientInvitationCollection { + items: outputs.Tenantmanagercontrolplane.GetRecipientInvitationsRecipientInvitationCollectionItem[]; + } + + export interface GetRecipientInvitationsRecipientInvitationCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: string}; + /** + * A user-created name to describe the invitation. Avoid entering confidential information. + */ + 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}; + /** + * OCID of the recipient invitation. + */ + id: string; + /** + * Email address of the recipient. + */ + recipientEmailAddress: string; + /** + * OCID of the corresponding sender invitation. + */ + senderInvitationId: string; + /** + * The tenancy that sent the invitation. + */ + senderTenancyId: string; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * The status of the recipient invitation. + */ + status: string; + /** + * The list of subjects the invitation contains. + */ + subjects: string[]; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * Date and time when the recipient invitation was created. + */ + timeCreated: string; + /** + * Date and time when the recipient invitation was last updated. + */ + timeUpdated: string; + } + + export interface GetSenderInvitationsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSenderInvitationsSenderInvitationCollection { + items: outputs.Tenantmanagercontrolplane.GetSenderInvitationsSenderInvitationCollectionItem[]; + } + + export interface GetSenderInvitationsSenderInvitationCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: string}; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags: {[key: string]: string}; + /** + * OCID of the sender invitation. + */ + id: string; + /** + * Email address of the recipient. + */ + recipientEmailAddress: string; + /** + * OCID of the corresponding recipient invitation. + */ + recipientInvitationId: string; + /** + * The tenancy that the invitation is addressed to. + */ + recipientTenancyId: string; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * The status of the sender invitation. + */ + status: string; + /** + * The list of subjects the invitation contains. + */ + subjects: string[]; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * Date and time when the sender invitation was created. + */ + timeCreated: string; + /** + * Date and time when the sender invitation was last updated. + */ + timeUpdated: string; + } + + export interface GetSubscriptionAvailableRegionsAvailableRegionCollection { + /** + * Array containing available region items. + */ + items: outputs.Tenantmanagercontrolplane.GetSubscriptionAvailableRegionsAvailableRegionCollectionItem[]; + } + + export interface GetSubscriptionAvailableRegionsAvailableRegionCollectionItem { + /** + * Region availability for the subscription. + */ + regionName: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + } + + export interface GetSubscriptionAvailableRegionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionLineItemsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionLineItemsSubscriptionLineItemCollection { + /** + * Array containing line item summaries in a subscription. + */ + items: outputs.Tenantmanagercontrolplane.GetSubscriptionLineItemsSubscriptionLineItemCollectionItem[]; + } + + export interface GetSubscriptionLineItemsSubscriptionLineItemCollectionItem { + /** + * Billing model supported by the associated line item. + */ + billingModel: string; + /** + * Subscription line item identifier. + */ + id: string; + /** + * Product code. + */ + productCode: string; + /** + * Product number. + */ + quantity: number; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: string}; + /** + * The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + */ + timeEnded: string; + /** + * The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + */ + timeStarted: string; + } + + export interface GetSubscriptionMappingsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionMappingsSubscriptionMappingCollection { + items: outputs.Tenantmanagercontrolplane.GetSubscriptionMappingsSubscriptionMappingCollectionItem[]; + } + + export interface GetSubscriptionMappingsSubscriptionMappingCollectionItem { + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * OCID of the mapping between subscription and compartment identified by the tenancy. + */ + id: string; + /** + * Denotes if the subscription is explicity assigned to the root compartment or tenancy. + */ + isExplicitlyAssigned: boolean; + /** + * The lifecycle state of the resource. + */ + state: string; + /** + * OCID of the subscription. + */ + subscriptionId: string; + /** + * Date-time when subscription mapping was created. + */ + timeCreated: string; + /** + * Date-time when subscription mapping was terminated. + */ + timeTerminated: string; + /** + * Date-time when subscription mapping was updated. + */ + timeUpdated: string; + } + + export interface GetSubscriptionPromotion { + /** + * If a subscription is present, indicates the total amount of promotional subscription credits. + */ + amount: number; + /** + * Currency unit associated with the promotion. + */ + currencyUnit: string; + /** + * Specifies how long the promotion related to the subscription, if any, is valid in duration units. + */ + duration: number; + /** + * Unit for the duration. + */ + durationUnit: string; + /** + * Speficies whether or not the customer intends to pay after the promotion has expired. + */ + isIntentToPay: boolean; + /** + * If a subscription is present, indicates the current status of the subscription promotion. + */ + status: string; + /** + * Date and time when the promotion ends. + */ + timeExpired: string; + /** + * Date and time when the promotion starts. + */ + timeStarted: string; + } + + export interface GetSubscriptionSkus { + /** + * Description of the stock units. + */ + description: string; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * Sales order line identifier. + */ + gsiOrderLineId: string; + /** + * Specifies if an additional test instance can be provisioned by the SaaS application. + */ + isAdditionalInstance: boolean; + /** + * Specifies if the SKU is considered as a parent or child. + */ + isBaseServiceComponent: boolean; + /** + * Description of the covered product belonging to this SKU. + */ + licensePartDescription: string; + /** + * Base metric for billing the service. + */ + metricName: string; + /** + * Quantity of the stock units. + */ + quantity: number; + /** + * Stock Keeping Unit (SKU) ID. + */ + sku: string; + /** + * Subscription start time. + */ + startDate: string; + } + + export interface GetSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetSubscriptionsSubscriptionCollection { + items: outputs.Tenantmanagercontrolplane.GetSubscriptionsSubscriptionCollectionItem[]; + } + + export interface GetSubscriptionsSubscriptionCollectionItem { + /** + * Classic subscription ID. + */ + classicSubscriptionId: string; + /** + * The currency code for the customer associated with the subscription. + */ + cloudAmountCurrency: string; + /** + * The ID of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Customer service identifier for the customer associated with the subscription. + */ + csiNumber: string; + /** + * Currency code. For example USD, MXN. + */ + currencyCode: string; + /** + * The country code for the customer associated with the subscription. + */ + customerCountryCode: 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}; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * The version of the subscription entity. + */ + entityVersion: 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}; + /** + * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + */ + id: string; + /** + * Specifies whether or not the subscription is from classic systems. + */ + isClassicSubscription: boolean; + /** + * Specifies whether or not the subscription is a government subscription. + */ + isGovernmentSubscription: boolean; + /** + * The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + */ + paymentModel: string; + /** + * Specifies any program that is associated with the subscription. + */ + programType: string; + /** + * List of promotions related to the subscription. + */ + promotions: outputs.Tenantmanagercontrolplane.GetSubscriptionsSubscriptionCollectionItemPromotion[]; + /** + * Purchase entitlement ID associated with the subscription. + */ + purchaseEntitlementId: string; + /** + * Region for the subscription. + */ + regionAssignment: string; + /** + * The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + */ + serviceName: string; + /** + * List of SKUs linked to this subscription. + */ + skuses: outputs.Tenantmanagercontrolplane.GetSubscriptionsSubscriptionCollectionItemSkus[]; + /** + * Subscription start time. + */ + startDate: string; + /** + * Lifecycle state of the subscription. + */ + state: string; + /** + * Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + */ + subscriptionNumber: string; + /** + * Tier for the subscription, whether a free promotion subscription or a paid subscription. + */ + subscriptionTier: string; + /** + * The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + timeCreated: string; + /** + * The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + */ + timeUpdated: string; + } + + export interface GetSubscriptionsSubscriptionCollectionItemPromotion { + /** + * If a subscription is present, indicates the total amount of promotional subscription credits. + */ + amount: number; + /** + * Currency unit associated with the promotion. + */ + currencyUnit: string; + /** + * Specifies how long the promotion related to the subscription, if any, is valid in duration units. + */ + duration: number; + /** + * Unit for the duration. + */ + durationUnit: string; + /** + * Speficies whether or not the customer intends to pay after the promotion has expired. + */ + isIntentToPay: boolean; + /** + * If a subscription is present, indicates the current status of the subscription promotion. + */ + status: string; + /** + * Date and time when the promotion ends. + */ + timeExpired: string; + /** + * Date and time when the promotion starts. + */ + timeStarted: string; + } + + export interface GetSubscriptionsSubscriptionCollectionItemSkus { + /** + * Description of the stock units. + */ + description: string; + /** + * Date and time when the SKU ended. + */ + endDate: string; + /** + * Sales order line identifier. + */ + gsiOrderLineId: string; + /** + * Specifies if an additional test instance can be provisioned by the SaaS application. + */ + isAdditionalInstance: boolean; + /** + * Specifies if the SKU is considered as a parent or child. + */ + isBaseServiceComponent: boolean; + /** + * Description of the covered product belonging to this SKU. + */ + licensePartDescription: string; + /** + * Base metric for billing the service. + */ + metricName: string; + /** + * Quantity of the stock units. + */ + quantity: number; + /** + * Stock Keeping Unit (SKU) ID. + */ + sku: string; + /** + * Subscription start time. + */ + startDate: string; + } + +} + export namespace UsageProxy { export interface GetResourceQuotasFilter { /** @@ -245778,6 +247940,25 @@ export namespace Vault { stage: string; } + export interface GetSecretSecretGenerationContext { + /** + * Name of random bytes generation template for generating random byte type secret. + */ + generationTemplate: string; + /** + * Name of the predefined secret generation type. + */ + generationType: string; + /** + * Length of the passphrase to be generated + */ + passphraseLength: number; + /** + * SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + */ + secretTemplate: string; + } + export interface GetSecretSecretRule { /** * A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. @@ -245827,6 +248008,7 @@ export namespace Vault { * A brief description of the secret. Avoid entering confidential information. */ description: string; + enableAutoGeneration: boolean; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -245835,6 +248017,10 @@ export namespace Vault { * The OCID of the secret. */ id: string; + /** + * The value of this flag determines whether or not secret content will be generated automatically. + */ + isAutoGenerationEnabled: boolean; /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. */ @@ -245864,6 +248050,10 @@ export namespace Vault { */ rotationStatus: string; secretContents: outputs.Vault.GetSecretsSecretSecretContent[]; + /** + * Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + */ + secretGenerationContexts: outputs.Vault.GetSecretsSecretSecretGenerationContext[]; /** * The user-friendly name of the secret. Avoid entering confidential information. */ @@ -245934,6 +248124,25 @@ export namespace Vault { stage: string; } + export interface GetSecretsSecretSecretGenerationContext { + /** + * Name of random bytes generation template for generating random byte type secret. + */ + generationTemplate: string; + /** + * Name of the predefined secret generation type. + */ + generationType: string; + /** + * Length of the passphrase to be generated + */ + passphraseLength: number; + /** + * SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + */ + secretTemplate: string; + } + export interface GetSecretsSecretSecretRule { /** * A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. @@ -246006,6 +248215,25 @@ export namespace Vault { stage: string; } + export interface SecretSecretGenerationContext { + /** + * (Updatable) Name of random bytes generation template for generating random byte type secret. + */ + generationTemplate: string; + /** + * (Updatable) Name of the predefined secret generation type. + */ + generationType: string; + /** + * (Updatable) Length of the passphrase to be generated + */ + passphraseLength?: number; + /** + * (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + */ + secretTemplate?: string; + } + export interface SecretSecretRule { /** * (Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted. diff --git a/sdk/nodejs/vault/getSecret.ts b/sdk/nodejs/vault/getSecret.ts index f63fa99256..4513ccdf46 100644 --- a/sdk/nodejs/vault/getSecret.ts +++ b/sdk/nodejs/vault/getSecret.ts @@ -59,6 +59,7 @@ export interface GetSecretResult { * A brief description of the secret. Avoid entering confidential information. */ readonly description: string; + readonly enableAutoGeneration: boolean; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -67,6 +68,10 @@ export interface GetSecretResult { * The OCID of the secret. */ readonly id: string; + /** + * The value of this flag determines whether or not secret content will be generated automatically. + */ + readonly isAutoGenerationEnabled: boolean; /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. */ @@ -96,6 +101,10 @@ export interface GetSecretResult { */ readonly rotationStatus: string; readonly secretContents: outputs.Vault.GetSecretSecretContent[]; + /** + * Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + */ + readonly secretGenerationContexts: outputs.Vault.GetSecretSecretGenerationContext[]; readonly secretId: string; /** * The user-friendly name of the secret. Avoid entering confidential information. diff --git a/sdk/nodejs/vault/getSecretVersion.ts b/sdk/nodejs/vault/getSecretVersion.ts deleted file mode 100644 index 2b26fbf24f..0000000000 --- a/sdk/nodejs/vault/getSecretVersion.ts +++ /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! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../utilities"; - -/** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testSecretVersion = oci.Vault.getSecretVersion({ - * secretId: testSecret.id, - * secretVersionNumber: secretVersionSecretVersionNumber, - * }); - * ``` - */ -export function getSecretVersion(args: GetSecretVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:Vault/getSecretVersion:getSecretVersion", { - "secretId": args.secretId, - "secretVersionNumber": args.secretVersionNumber, - }, opts); -} - -/** - * A collection of arguments for invoking getSecretVersion. - */ -export interface GetSecretVersionArgs { - /** - * The OCID of the secret. - */ - secretId: string; - /** - * The version number of the secret. - */ - secretVersionNumber: string; -} - -/** - * A collection of values returned by getSecretVersion. - */ -export interface GetSecretVersionResult { - /** - * The content type of the secret version's secret contents. - */ - readonly contentType: string; - /** - * The provider-assigned unique ID for this managed resource. - */ - readonly id: string; - /** - * The name of the secret version. A name is unique across versions of a secret. - */ - readonly name: string; - /** - * The OCID of the secret. - */ - readonly secretId: string; - readonly secretVersionNumber: string; - /** - * A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - */ - readonly stages: string[]; - /** - * A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - */ - readonly timeCreated: string; - /** - * An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - */ - readonly timeOfCurrentVersionExpiry: string; - /** - * An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - */ - readonly timeOfDeletion: string; - /** - * The version number of the secret. - */ - readonly versionNumber: string; -} -/** - * This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - * - * Gets information about the specified version of a secret. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testSecretVersion = oci.Vault.getSecretVersion({ - * secretId: testSecret.id, - * secretVersionNumber: secretVersionSecretVersionNumber, - * }); - * ``` - */ -export function getSecretVersionOutput(args: GetSecretVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invokeOutput("oci:Vault/getSecretVersion:getSecretVersion", { - "secretId": args.secretId, - "secretVersionNumber": args.secretVersionNumber, - }, opts); -} - -/** - * A collection of arguments for invoking getSecretVersion. - */ -export interface GetSecretVersionOutputArgs { - /** - * The OCID of the secret. - */ - secretId: pulumi.Input; - /** - * The version number of the secret. - */ - secretVersionNumber: pulumi.Input; -} diff --git a/sdk/nodejs/vault/getSecretVersionSdkV2.ts b/sdk/nodejs/vault/getSecretVersionSdkV2.ts new file mode 100644 index 0000000000..0e877b3f8a --- /dev/null +++ b/sdk/nodejs/vault/getSecretVersionSdkV2.ts @@ -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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +export function getSecretVersionSdkV2(args: GetSecretVersionSdkV2Args, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", { + "secretId": args.secretId, + "secretVersionNumber": args.secretVersionNumber, + }, opts); +} + +/** + * A collection of arguments for invoking getSecretVersionSdkV2. + */ +export interface GetSecretVersionSdkV2Args { + secretId: string; + secretVersionNumber: string; +} + +/** + * A collection of values returned by getSecretVersionSdkV2. + */ +export interface GetSecretVersionSdkV2Result { + readonly contentType: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly isContentAutoGenerated: boolean; + readonly name: string; + readonly secretId: string; + readonly secretVersionNumber: string; + readonly stages: string[]; + readonly timeCreated: string; + readonly timeOfCurrentVersionExpiry: string; + readonly timeOfDeletion: string; + readonly versionNumber: string; +} +export function getSecretVersionSdkV2Output(args: GetSecretVersionSdkV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2", { + "secretId": args.secretId, + "secretVersionNumber": args.secretVersionNumber, + }, opts); +} + +/** + * A collection of arguments for invoking getSecretVersionSdkV2. + */ +export interface GetSecretVersionSdkV2OutputArgs { + secretId: pulumi.Input; + secretVersionNumber: pulumi.Input; +} diff --git a/sdk/nodejs/vault/index.ts b/sdk/nodejs/vault/index.ts index 914f6d476a..b4b958ac37 100644 --- a/sdk/nodejs/vault/index.ts +++ b/sdk/nodejs/vault/index.ts @@ -10,10 +10,10 @@ export const getSecret: typeof import("./getSecret").getSecret = null as any; export const getSecretOutput: typeof import("./getSecret").getSecretOutput = null as any; utilities.lazyLoad(exports, ["getSecret","getSecretOutput"], () => require("./getSecret")); -export { GetSecretVersionArgs, GetSecretVersionResult, GetSecretVersionOutputArgs } from "./getSecretVersion"; -export const getSecretVersion: typeof import("./getSecretVersion").getSecretVersion = null as any; -export const getSecretVersionOutput: typeof import("./getSecretVersion").getSecretVersionOutput = null as any; -utilities.lazyLoad(exports, ["getSecretVersion","getSecretVersionOutput"], () => require("./getSecretVersion")); +export { GetSecretVersionSdkV2Args, GetSecretVersionSdkV2Result, GetSecretVersionSdkV2OutputArgs } from "./getSecretVersionSdkV2"; +export const getSecretVersionSdkV2: typeof import("./getSecretVersionSdkV2").getSecretVersionSdkV2 = null as any; +export const getSecretVersionSdkV2Output: typeof import("./getSecretVersionSdkV2").getSecretVersionSdkV2Output = null as any; +utilities.lazyLoad(exports, ["getSecretVersionSdkV2","getSecretVersionSdkV2Output"], () => require("./getSecretVersionSdkV2")); export { GetSecretsArgs, GetSecretsResult, GetSecretsOutputArgs } from "./getSecrets"; export const getSecrets: typeof import("./getSecrets").getSecrets = null as any; diff --git a/sdk/nodejs/vault/secret.ts b/sdk/nodejs/vault/secret.ts index ac44cdf6b8..bfb591c1bc 100644 --- a/sdk/nodejs/vault/secret.ts +++ b/sdk/nodejs/vault/secret.ts @@ -63,10 +63,18 @@ export class Secret extends pulumi.CustomResource { * (Updatable) A brief description of the secret. Avoid entering confidential information. */ public readonly description!: pulumi.Output; + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + */ + public readonly enableAutoGeneration!: 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}>; + /** + * The value of this flag determines whether or not secret content will be generated automatically. + */ + public /*out*/ readonly isAutoGenerationEnabled!: pulumi.Output; /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. */ @@ -99,6 +107,10 @@ export class Secret extends pulumi.CustomResource { * (Updatable) The content of the secret and metadata to help identify it. */ public readonly secretContent!: pulumi.Output; + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + */ + public readonly secretGenerationContext!: pulumi.Output; /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. */ @@ -149,7 +161,9 @@ export class Secret extends pulumi.CustomResource { resourceInputs["currentVersionNumber"] = state ? state.currentVersionNumber : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["enableAutoGeneration"] = state ? state.enableAutoGeneration : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["isAutoGenerationEnabled"] = state ? state.isAutoGenerationEnabled : undefined; resourceInputs["keyId"] = state ? state.keyId : undefined; resourceInputs["lastRotationTime"] = state ? state.lastRotationTime : undefined; resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; @@ -158,6 +172,7 @@ export class Secret extends pulumi.CustomResource { resourceInputs["rotationConfig"] = state ? state.rotationConfig : undefined; resourceInputs["rotationStatus"] = state ? state.rotationStatus : undefined; resourceInputs["secretContent"] = state ? state.secretContent : undefined; + resourceInputs["secretGenerationContext"] = state ? state.secretGenerationContext : undefined; resourceInputs["secretName"] = state ? state.secretName : undefined; resourceInputs["secretRules"] = state ? state.secretRules : undefined; resourceInputs["state"] = state ? state.state : undefined; @@ -182,15 +197,18 @@ export class Secret extends pulumi.CustomResource { resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["enableAutoGeneration"] = args ? args.enableAutoGeneration : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["keyId"] = args ? args.keyId : undefined; resourceInputs["metadata"] = args ? args.metadata : undefined; resourceInputs["rotationConfig"] = args ? args.rotationConfig : undefined; resourceInputs["secretContent"] = args ? args.secretContent : undefined; + resourceInputs["secretGenerationContext"] = args ? args.secretGenerationContext : undefined; resourceInputs["secretName"] = args ? args.secretName : undefined; resourceInputs["secretRules"] = args ? args.secretRules : undefined; resourceInputs["vaultId"] = args ? args.vaultId : undefined; resourceInputs["currentVersionNumber"] = undefined /*out*/; + resourceInputs["isAutoGenerationEnabled"] = undefined /*out*/; resourceInputs["lastRotationTime"] = undefined /*out*/; resourceInputs["lifecycleDetails"] = undefined /*out*/; resourceInputs["nextRotationTime"] = undefined /*out*/; @@ -225,10 +243,18 @@ export interface SecretState { * (Updatable) A brief description of the secret. Avoid entering confidential information. */ description?: pulumi.Input; + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + */ + enableAutoGeneration?: 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 value of this flag determines whether or not secret content will be generated automatically. + */ + isAutoGenerationEnabled?: pulumi.Input; /** * The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. */ @@ -261,6 +287,10 @@ export interface SecretState { * (Updatable) The content of the secret and metadata to help identify it. */ secretContent?: pulumi.Input; + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + */ + secretGenerationContext?: pulumi.Input; /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. */ @@ -311,6 +341,10 @@ export interface SecretArgs { * (Updatable) A brief description of the secret. Avoid entering confidential information. */ description?: pulumi.Input; + /** + * (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + */ + enableAutoGeneration?: 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"}` */ @@ -331,6 +365,10 @@ export interface SecretArgs { * (Updatable) The content of the secret and metadata to help identify it. */ secretContent?: pulumi.Input; + /** + * (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + */ + secretGenerationContext?: pulumi.Input; /** * A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. */ diff --git a/sdk/python/pulumi_oci/__init__.py b/sdk/python/pulumi_oci/__init__.py index ef669756dc..fdebef9e31 100644 --- a/sdk/python/pulumi_oci/__init__.py +++ b/sdk/python/pulumi_oci/__init__.py @@ -233,6 +233,8 @@ stackmonitoring = __stackmonitoring import pulumi_oci.streaming as __streaming streaming = __streaming + import pulumi_oci.tenantmanagercontrolplane as __tenantmanagercontrolplane + tenantmanagercontrolplane = __tenantmanagercontrolplane import pulumi_oci.usageproxy as __usageproxy usageproxy = __usageproxy import pulumi_oci.vault as __vault @@ -366,6 +368,7 @@ servicemesh = _utilities.lazy_import('pulumi_oci.servicemesh') stackmonitoring = _utilities.lazy_import('pulumi_oci.stackmonitoring') streaming = _utilities.lazy_import('pulumi_oci.streaming') + tenantmanagercontrolplane = _utilities.lazy_import('pulumi_oci.tenantmanagercontrolplane') usageproxy = _utilities.lazy_import('pulumi_oci.usageproxy') vault = _utilities.lazy_import('pulumi_oci.vault') vbs = _utilities.lazy_import('pulumi_oci.vbs') @@ -6364,6 +6367,30 @@ "oci:StackMonitoring/monitoredResourcesSearchAssociation:MonitoredResourcesSearchAssociation": "MonitoredResourcesSearchAssociation" } }, + { + "pkg": "oci", + "mod": "StackMonitoring/monitoringTemplate", + "fqn": "pulumi_oci.stackmonitoring", + "classes": { + "oci:StackMonitoring/monitoringTemplate:MonitoringTemplate": "MonitoringTemplate" + } + }, + { + "pkg": "oci", + "mod": "StackMonitoring/monitoringTemplateAlarmCondition", + "fqn": "pulumi_oci.stackmonitoring", + "classes": { + "oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition": "MonitoringTemplateAlarmCondition" + } + }, + { + "pkg": "oci", + "mod": "StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement", + "fqn": "pulumi_oci.stackmonitoring", + "classes": { + "oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement": "MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement" + } + }, { "pkg": "oci", "mod": "StackMonitoring/processSet", @@ -6396,6 +6423,14 @@ "oci:Streaming/streamPool:StreamPool": "StreamPool" } }, + { + "pkg": "oci", + "mod": "Tenantmanagercontrolplane/subscriptionMapping", + "fqn": "pulumi_oci.tenantmanagercontrolplane", + "classes": { + "oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping": "SubscriptionMapping" + } + }, { "pkg": "oci", "mod": "UsageProxy/subscriptionRedeemableUser", diff --git a/sdk/python/pulumi_oci/config/__init__.pyi b/sdk/python/pulumi_oci/config/__init__.pyi index 34ff634710..f874c00e68 100644 --- a/sdk/python/pulumi_oci/config/__init__.pyi +++ b/sdk/python/pulumi_oci/config/__init__.pyi @@ -79,6 +79,8 @@ tenancyOcid: Optional[str] Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. """ +testTimeMaintenanceRebootDue: Optional[str] + userOcid: Optional[str] """ (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if diff --git a/sdk/python/pulumi_oci/config/vars.py b/sdk/python/pulumi_oci/config/vars.py index 4cca2e385a..bf2a6d427b 100644 --- a/sdk/python/pulumi_oci/config/vars.py +++ b/sdk/python/pulumi_oci/config/vars.py @@ -109,6 +109,10 @@ def tenancy_ocid(self) -> Optional[str]: """ return __config__.get('tenancyOcid') + @property + def test_time_maintenance_reboot_due(self) -> Optional[str]: + return __config__.get('testTimeMaintenanceRebootDue') + @property def user_ocid(self) -> Optional[str]: """ diff --git a/sdk/python/pulumi_oci/containerengine/_inputs.py b/sdk/python/pulumi_oci/containerengine/_inputs.py index 1692da5c20..e45adaeefd 100644 --- a/sdk/python/pulumi_oci/containerengine/_inputs.py +++ b/sdk/python/pulumi_oci/containerengine/_inputs.py @@ -292,6 +292,10 @@ def cni_type(self, value: pulumi.Input[str]): if not MYPY: class ClusterEndpointArgsDict(TypedDict): + ipv6endpoint: NotRequired[pulumi.Input[str]] + """ + The IPv6 networking Kubernetes API server endpoint. + """ kubernetes: NotRequired[pulumi.Input[str]] """ The non-native networking Kubernetes API server endpoint. @@ -314,16 +318,20 @@ class ClusterEndpointArgsDict(TypedDict): @pulumi.input_type class ClusterEndpointArgs: def __init__(__self__, *, + ipv6endpoint: Optional[pulumi.Input[str]] = None, kubernetes: Optional[pulumi.Input[str]] = None, private_endpoint: Optional[pulumi.Input[str]] = None, public_endpoint: Optional[pulumi.Input[str]] = None, vcn_hostname_endpoint: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] ipv6endpoint: The IPv6 networking Kubernetes API server endpoint. :param pulumi.Input[str] kubernetes: The non-native networking Kubernetes API server endpoint. :param pulumi.Input[str] private_endpoint: The private native networking Kubernetes API server endpoint. :param pulumi.Input[str] public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param pulumi.Input[str] vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + if ipv6endpoint is not None: + pulumi.set(__self__, "ipv6endpoint", ipv6endpoint) if kubernetes is not None: pulumi.set(__self__, "kubernetes", kubernetes) if private_endpoint is not None: @@ -333,6 +341,18 @@ def __init__(__self__, *, if vcn_hostname_endpoint is not None: pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + @property + @pulumi.getter + def ipv6endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The IPv6 networking Kubernetes API server endpoint. + """ + return pulumi.get(self, "ipv6endpoint") + + @ipv6endpoint.setter + def ipv6endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ipv6endpoint", value) + @property @pulumi.getter def kubernetes(self) -> Optional[pulumi.Input[str]]: @@ -759,6 +779,10 @@ class ClusterOptionsArgsDict(TypedDict): """ (Updatable) Configurable cluster admission controllers """ + ip_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + IP family to use for single stack or define the order of IP families for dual-stack + """ kubernetes_network_config: NotRequired[pulumi.Input['ClusterOptionsKubernetesNetworkConfigArgsDict']] """ Network configuration for Kubernetes. @@ -791,6 +815,7 @@ class ClusterOptionsArgs: def __init__(__self__, *, add_ons: Optional[pulumi.Input['ClusterOptionsAddOnsArgs']] = None, admission_controller_options: Optional[pulumi.Input['ClusterOptionsAdmissionControllerOptionsArgs']] = None, + ip_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, kubernetes_network_config: Optional[pulumi.Input['ClusterOptionsKubernetesNetworkConfigArgs']] = None, open_id_connect_discovery: Optional[pulumi.Input['ClusterOptionsOpenIdConnectDiscoveryArgs']] = None, open_id_connect_token_authentication_config: Optional[pulumi.Input['ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs']] = None, @@ -800,6 +825,7 @@ def __init__(__self__, *, """ :param pulumi.Input['ClusterOptionsAddOnsArgs'] add_ons: Configurable cluster add-ons :param pulumi.Input['ClusterOptionsAdmissionControllerOptionsArgs'] admission_controller_options: (Updatable) Configurable cluster admission controllers + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_families: IP family to use for single stack or define the order of IP families for dual-stack :param pulumi.Input['ClusterOptionsKubernetesNetworkConfigArgs'] kubernetes_network_config: Network configuration for Kubernetes. :param pulumi.Input['ClusterOptionsOpenIdConnectDiscoveryArgs'] open_id_connect_discovery: (Updatable) The property that define the status of the OIDC Discovery feature for a cluster. :param pulumi.Input['ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs'] open_id_connect_token_authentication_config: (Updatable) The properties that configure OIDC token authentication in kube-apiserver. For more information, see [Configuring the API Server](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-flags). @@ -811,6 +837,8 @@ def __init__(__self__, *, pulumi.set(__self__, "add_ons", add_ons) if admission_controller_options is not None: pulumi.set(__self__, "admission_controller_options", admission_controller_options) + if ip_families is not None: + pulumi.set(__self__, "ip_families", ip_families) if kubernetes_network_config is not None: pulumi.set(__self__, "kubernetes_network_config", kubernetes_network_config) if open_id_connect_discovery is not None: @@ -848,6 +876,18 @@ def admission_controller_options(self) -> Optional[pulumi.Input['ClusterOptionsA def admission_controller_options(self, value: Optional[pulumi.Input['ClusterOptionsAdmissionControllerOptionsArgs']]): pulumi.set(self, "admission_controller_options", value) + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + IP family to use for single stack or define the order of IP families for dual-stack + """ + return pulumi.get(self, "ip_families") + + @ip_families.setter + def ip_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ip_families", value) + @property @pulumi.getter(name="kubernetesNetworkConfig") def kubernetes_network_config(self) -> Optional[pulumi.Input['ClusterOptionsKubernetesNetworkConfigArgs']]: diff --git a/sdk/python/pulumi_oci/containerengine/cluster.py b/sdk/python/pulumi_oci/containerengine/cluster.py index 622edc0f10..fdf61182b6 100644 --- a/sdk/python/pulumi_oci/containerengine/cluster.py +++ b/sdk/python/pulumi_oci/containerengine/cluster.py @@ -590,6 +590,7 @@ def __init__(__self__, "admission_controller_options": { "is_pod_security_policy_enabled": cluster_options_admission_controller_options_is_pod_security_policy_enabled, }, + "ip_families": cluster_options_ip_families, "kubernetes_network_config": { "pods_cidr": cluster_options_kubernetes_network_config_pods_cidr, "services_cidr": cluster_options_kubernetes_network_config_services_cidr, @@ -711,6 +712,7 @@ def __init__(__self__, "admission_controller_options": { "is_pod_security_policy_enabled": cluster_options_admission_controller_options_is_pod_security_policy_enabled, }, + "ip_families": cluster_options_ip_families, "kubernetes_network_config": { "pods_cidr": cluster_options_kubernetes_network_config_pods_cidr, "services_cidr": cluster_options_kubernetes_network_config_services_cidr, diff --git a/sdk/python/pulumi_oci/containerengine/outputs.py b/sdk/python/pulumi_oci/containerengine/outputs.py index 62492e3bf1..c3ea7946a2 100644 --- a/sdk/python/pulumi_oci/containerengine/outputs.py +++ b/sdk/python/pulumi_oci/containerengine/outputs.py @@ -298,16 +298,20 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + ipv6endpoint: Optional[str] = None, kubernetes: Optional[str] = None, private_endpoint: Optional[str] = None, public_endpoint: Optional[str] = None, vcn_hostname_endpoint: Optional[str] = None): """ + :param str ipv6endpoint: The IPv6 networking Kubernetes API server endpoint. :param str kubernetes: The non-native networking Kubernetes API server endpoint. :param str private_endpoint: The private native networking Kubernetes API server endpoint. :param str public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param str vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + if ipv6endpoint is not None: + pulumi.set(__self__, "ipv6endpoint", ipv6endpoint) if kubernetes is not None: pulumi.set(__self__, "kubernetes", kubernetes) if private_endpoint is not None: @@ -317,6 +321,14 @@ def __init__(__self__, *, if vcn_hostname_endpoint is not None: pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + @property + @pulumi.getter + def ipv6endpoint(self) -> Optional[str]: + """ + The IPv6 networking Kubernetes API server endpoint. + """ + return pulumi.get(self, "ipv6endpoint") + @property @pulumi.getter def kubernetes(self) -> Optional[str]: @@ -670,6 +682,8 @@ def __key_warning(key: str): suggest = "add_ons" elif key == "admissionControllerOptions": suggest = "admission_controller_options" + elif key == "ipFamilies": + suggest = "ip_families" elif key == "kubernetesNetworkConfig": suggest = "kubernetes_network_config" elif key == "openIdConnectDiscovery": @@ -697,6 +711,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, add_ons: Optional['outputs.ClusterOptionsAddOns'] = None, admission_controller_options: Optional['outputs.ClusterOptionsAdmissionControllerOptions'] = None, + ip_families: Optional[Sequence[str]] = None, kubernetes_network_config: Optional['outputs.ClusterOptionsKubernetesNetworkConfig'] = None, open_id_connect_discovery: Optional['outputs.ClusterOptionsOpenIdConnectDiscovery'] = None, open_id_connect_token_authentication_config: Optional['outputs.ClusterOptionsOpenIdConnectTokenAuthenticationConfig'] = None, @@ -706,6 +721,7 @@ def __init__(__self__, *, """ :param 'ClusterOptionsAddOnsArgs' add_ons: Configurable cluster add-ons :param 'ClusterOptionsAdmissionControllerOptionsArgs' admission_controller_options: (Updatable) Configurable cluster admission controllers + :param Sequence[str] ip_families: IP family to use for single stack or define the order of IP families for dual-stack :param 'ClusterOptionsKubernetesNetworkConfigArgs' kubernetes_network_config: Network configuration for Kubernetes. :param 'ClusterOptionsOpenIdConnectDiscoveryArgs' open_id_connect_discovery: (Updatable) The property that define the status of the OIDC Discovery feature for a cluster. :param 'ClusterOptionsOpenIdConnectTokenAuthenticationConfigArgs' open_id_connect_token_authentication_config: (Updatable) The properties that configure OIDC token authentication in kube-apiserver. For more information, see [Configuring the API Server](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-flags). @@ -717,6 +733,8 @@ def __init__(__self__, *, pulumi.set(__self__, "add_ons", add_ons) if admission_controller_options is not None: pulumi.set(__self__, "admission_controller_options", admission_controller_options) + if ip_families is not None: + pulumi.set(__self__, "ip_families", ip_families) if kubernetes_network_config is not None: pulumi.set(__self__, "kubernetes_network_config", kubernetes_network_config) if open_id_connect_discovery is not None: @@ -746,6 +764,14 @@ def admission_controller_options(self) -> Optional['outputs.ClusterOptionsAdmiss """ return pulumi.get(self, "admission_controller_options") + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Optional[Sequence[str]]: + """ + IP family to use for single stack or define the order of IP families for dual-stack + """ + return pulumi.get(self, "ip_families") + @property @pulumi.getter(name="kubernetesNetworkConfig") def kubernetes_network_config(self) -> Optional['outputs.ClusterOptionsKubernetesNetworkConfig']: @@ -4506,21 +4532,32 @@ def cni_type(self) -> str: @pulumi.output_type class GetClusterEndpointResult(dict): def __init__(__self__, *, + ipv6endpoint: str, kubernetes: str, private_endpoint: str, public_endpoint: str, vcn_hostname_endpoint: str): """ + :param str ipv6endpoint: The IPv6 networking Kubernetes API server endpoint. :param str kubernetes: The non-native networking Kubernetes API server endpoint. :param str private_endpoint: The private native networking Kubernetes API server endpoint. :param str public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param str vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + pulumi.set(__self__, "ipv6endpoint", ipv6endpoint) pulumi.set(__self__, "kubernetes", kubernetes) pulumi.set(__self__, "private_endpoint", private_endpoint) pulumi.set(__self__, "public_endpoint", public_endpoint) pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + @property + @pulumi.getter + def ipv6endpoint(self) -> str: + """ + The IPv6 networking Kubernetes API server endpoint. + """ + return pulumi.get(self, "ipv6endpoint") + @property @pulumi.getter def kubernetes(self) -> str: @@ -4763,6 +4800,7 @@ class GetClusterOptionResult(dict): def __init__(__self__, *, add_ons: Sequence['outputs.GetClusterOptionAddOnResult'], admission_controller_options: Sequence['outputs.GetClusterOptionAdmissionControllerOptionResult'], + ip_families: Sequence[str], kubernetes_network_configs: Sequence['outputs.GetClusterOptionKubernetesNetworkConfigResult'], open_id_connect_discoveries: Sequence['outputs.GetClusterOptionOpenIdConnectDiscoveryResult'], open_id_connect_token_authentication_configs: Sequence['outputs.GetClusterOptionOpenIdConnectTokenAuthenticationConfigResult'], @@ -4772,6 +4810,7 @@ def __init__(__self__, *, """ :param Sequence['GetClusterOptionAddOnArgs'] add_ons: Configurable cluster add-ons :param Sequence['GetClusterOptionAdmissionControllerOptionArgs'] admission_controller_options: Configurable cluster admission controllers + :param Sequence[str] ip_families: IP family to use for single stack or define the order of IP families for dual-stack :param Sequence['GetClusterOptionKubernetesNetworkConfigArgs'] kubernetes_network_configs: Network configuration for Kubernetes. :param Sequence['GetClusterOptionPersistentVolumeConfigArgs'] persistent_volume_configs: Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC) :param Sequence['GetClusterOptionServiceLbConfigArgs'] service_lb_configs: Configuration to be applied to load balancers created by Kubernetes services @@ -4779,6 +4818,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "add_ons", add_ons) pulumi.set(__self__, "admission_controller_options", admission_controller_options) + pulumi.set(__self__, "ip_families", ip_families) pulumi.set(__self__, "kubernetes_network_configs", kubernetes_network_configs) pulumi.set(__self__, "open_id_connect_discoveries", open_id_connect_discoveries) pulumi.set(__self__, "open_id_connect_token_authentication_configs", open_id_connect_token_authentication_configs) @@ -4802,6 +4842,14 @@ def admission_controller_options(self) -> Sequence['outputs.GetClusterOptionAdmi """ return pulumi.get(self, "admission_controller_options") + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Sequence[str]: + """ + IP family to use for single stack or define the order of IP families for dual-stack + """ + return pulumi.get(self, "ip_families") + @property @pulumi.getter(name="kubernetesNetworkConfigs") def kubernetes_network_configs(self) -> Sequence['outputs.GetClusterOptionKubernetesNetworkConfigResult']: @@ -5473,21 +5521,32 @@ def cni_type(self) -> str: @pulumi.output_type class GetClustersClusterEndpointResult(dict): def __init__(__self__, *, + ipv6endpoint: str, kubernetes: str, private_endpoint: str, public_endpoint: str, vcn_hostname_endpoint: str): """ + :param str ipv6endpoint: The IPv6 networking Kubernetes API server endpoint. :param str kubernetes: The non-native networking Kubernetes API server endpoint. :param str private_endpoint: The private native networking Kubernetes API server endpoint. :param str public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param str vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + pulumi.set(__self__, "ipv6endpoint", ipv6endpoint) pulumi.set(__self__, "kubernetes", kubernetes) pulumi.set(__self__, "private_endpoint", private_endpoint) pulumi.set(__self__, "public_endpoint", public_endpoint) pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + @property + @pulumi.getter + def ipv6endpoint(self) -> str: + """ + The IPv6 networking Kubernetes API server endpoint. + """ + return pulumi.get(self, "ipv6endpoint") + @property @pulumi.getter def kubernetes(self) -> str: @@ -5730,6 +5789,7 @@ class GetClustersClusterOptionResult(dict): def __init__(__self__, *, add_ons: Sequence['outputs.GetClustersClusterOptionAddOnResult'], admission_controller_options: Sequence['outputs.GetClustersClusterOptionAdmissionControllerOptionResult'], + ip_families: Sequence[str], kubernetes_network_configs: Sequence['outputs.GetClustersClusterOptionKubernetesNetworkConfigResult'], open_id_connect_discoveries: Sequence['outputs.GetClustersClusterOptionOpenIdConnectDiscoveryResult'], open_id_connect_token_authentication_configs: Sequence['outputs.GetClustersClusterOptionOpenIdConnectTokenAuthenticationConfigResult'], @@ -5739,6 +5799,7 @@ def __init__(__self__, *, """ :param Sequence['GetClustersClusterOptionAddOnArgs'] add_ons: Configurable cluster add-ons :param Sequence['GetClustersClusterOptionAdmissionControllerOptionArgs'] admission_controller_options: Configurable cluster admission controllers + :param Sequence[str] ip_families: IP family to use for single stack or define the order of IP families for dual-stack :param Sequence['GetClustersClusterOptionKubernetesNetworkConfigArgs'] kubernetes_network_configs: Network configuration for Kubernetes. :param Sequence['GetClustersClusterOptionOpenIdConnectDiscoveryArgs'] open_id_connect_discoveries: The property that define the status of the OIDC Discovery feature for a cluster. :param Sequence['GetClustersClusterOptionOpenIdConnectTokenAuthenticationConfigArgs'] open_id_connect_token_authentication_configs: The properties that configure OIDC token authentication in kube-apiserver. For more information, see [Configuring the API Server](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-flags). @@ -5748,6 +5809,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "add_ons", add_ons) pulumi.set(__self__, "admission_controller_options", admission_controller_options) + pulumi.set(__self__, "ip_families", ip_families) pulumi.set(__self__, "kubernetes_network_configs", kubernetes_network_configs) pulumi.set(__self__, "open_id_connect_discoveries", open_id_connect_discoveries) pulumi.set(__self__, "open_id_connect_token_authentication_configs", open_id_connect_token_authentication_configs) @@ -5771,6 +5833,14 @@ def admission_controller_options(self) -> Sequence['outputs.GetClustersClusterOp """ return pulumi.get(self, "admission_controller_options") + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Sequence[str]: + """ + IP family to use for single stack or define the order of IP families for dual-stack + """ + return pulumi.get(self, "ip_families") + @property @pulumi.getter(name="kubernetesNetworkConfigs") def kubernetes_network_configs(self) -> Sequence['outputs.GetClustersClusterOptionKubernetesNetworkConfigResult']: diff --git a/sdk/python/pulumi_oci/database/_inputs.py b/sdk/python/pulumi_oci/database/_inputs.py index 70b1007e58..5b263748ee 100644 --- a/sdk/python/pulumi_oci/database/_inputs.py +++ b/sdk/python/pulumi_oci/database/_inputs.py @@ -15,10 +15,14 @@ from .. import _utilities __all__ = [ + 'AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs', + 'AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgsDict', 'AutonomousContainerDatabaseBackupConfigArgs', 'AutonomousContainerDatabaseBackupConfigArgsDict', 'AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs', 'AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgsDict', + 'AutonomousContainerDatabaseBackupDestinationPropertiesListArgs', + 'AutonomousContainerDatabaseBackupDestinationPropertiesListArgsDict', 'AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs', 'AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgsDict', 'AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs', @@ -41,6 +45,8 @@ 'AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgsDict', 'AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs', 'AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgsDict', + 'AutonomousContainerDatabaseRecoveryApplianceDetailArgs', + 'AutonomousContainerDatabaseRecoveryApplianceDetailArgsDict', 'AutonomousDatabaseApexDetailArgs', 'AutonomousDatabaseApexDetailArgsDict', 'AutonomousDatabaseBackupBackupDestinationDetailsArgs', @@ -559,6 +565,218 @@ MYPY = False +if not MYPY: + class AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgsDict(TypedDict): + backup_destination_attach_histories: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + dbrs_policy_id: NotRequired[pulumi.Input[str]] + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + """ + id: NotRequired[pulumi.Input[str]] + """ + The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + """ + internet_proxy: NotRequired[pulumi.Input[str]] + """ + Proxy URL to connect to object store. + """ + recovery_window_in_days: NotRequired[pulumi.Input[int]] + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + space_utilized_in_gbs: NotRequired[pulumi.Input[int]] + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + time_at_which_storage_details_are_updated: NotRequired[pulumi.Input[str]] + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + type: NotRequired[pulumi.Input[str]] + """ + Type of the database backup destination. + """ + vpc_password: NotRequired[pulumi.Input[str]] + """ + For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + """ + vpc_user: NotRequired[pulumi.Input[str]] + """ + For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ +elif False: + AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs: + def __init__(__self__, *, + backup_destination_attach_histories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + internet_proxy: Optional[pulumi.Input[str]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + space_utilized_in_gbs: Optional[pulumi.Input[int]] = None, + time_at_which_storage_details_are_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vpc_password: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param pulumi.Input[str] dbrs_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + :param pulumi.Input[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 pulumi.Input[str] internet_proxy: Proxy URL to connect to object store. + :param pulumi.Input[int] recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param pulumi.Input[int] space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param pulumi.Input[str] time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + :param pulumi.Input[str] type: Type of the database backup destination. + :param pulumi.Input[str] vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + :param pulumi.Input[str] vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + if backup_destination_attach_histories is not None: + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + if dbrs_policy_id is not None: + pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + if id is not None: + pulumi.set(__self__, "id", id) + if internet_proxy is not None: + pulumi.set(__self__, "internet_proxy", internet_proxy) + if recovery_window_in_days is not None: + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + if space_utilized_in_gbs is not None: + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + if time_at_which_storage_details_are_updated is not None: + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + if type is not None: + pulumi.set(__self__, "type", type) + if vpc_password is not None: + pulumi.set(__self__, "vpc_password", vpc_password) + if vpc_user is not None: + pulumi.set(__self__, "vpc_user", vpc_user) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @backup_destination_attach_histories.setter + def backup_destination_attach_histories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "backup_destination_attach_histories", value) + + @property + @pulumi.getter(name="dbrsPolicyId") + def dbrs_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + """ + return pulumi.get(self, "dbrs_policy_id") + + @dbrs_policy_id.setter + def dbrs_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dbrs_policy_id", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="internetProxy") + def internet_proxy(self) -> Optional[pulumi.Input[str]]: + """ + Proxy URL to connect to object store. + """ + return pulumi.get(self, "internet_proxy") + + @internet_proxy.setter + def internet_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "internet_proxy", value) + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> Optional[pulumi.Input[int]]: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @recovery_window_in_days.setter + def recovery_window_in_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "recovery_window_in_days", value) + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @space_utilized_in_gbs.setter + def space_utilized_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "space_utilized_in_gbs", value) + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> Optional[pulumi.Input[str]]: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @time_at_which_storage_details_are_updated.setter + def time_at_which_storage_details_are_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_at_which_storage_details_are_updated", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the database backup destination. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="vpcPassword") + def vpc_password(self) -> Optional[pulumi.Input[str]]: + """ + For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_password") + + @vpc_password.setter + def vpc_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vpc_password", value) + + @property + @pulumi.getter(name="vpcUser") + def vpc_user(self) -> Optional[pulumi.Input[str]]: + """ + For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_user") + + @vpc_user.setter + def vpc_user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vpc_user", value) + + if not MYPY: class AutonomousContainerDatabaseBackupConfigArgsDict(TypedDict): backup_destination_details: NotRequired[pulumi.Input['AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgsDict']] @@ -722,6 +940,78 @@ def vpc_user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_user", value) +if not MYPY: + class AutonomousContainerDatabaseBackupDestinationPropertiesListArgsDict(TypedDict): + backup_destination_attach_histories: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + space_utilized_in_gbs: NotRequired[pulumi.Input[int]] + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + time_at_which_storage_details_are_updated: NotRequired[pulumi.Input[str]] + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ +elif False: + AutonomousContainerDatabaseBackupDestinationPropertiesListArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AutonomousContainerDatabaseBackupDestinationPropertiesListArgs: + def __init__(__self__, *, + backup_destination_attach_histories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + space_utilized_in_gbs: Optional[pulumi.Input[int]] = None, + time_at_which_storage_details_are_updated: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param pulumi.Input[int] space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param pulumi.Input[str] time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + if backup_destination_attach_histories is not None: + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + if space_utilized_in_gbs is not None: + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + if time_at_which_storage_details_are_updated is not None: + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @backup_destination_attach_histories.setter + def backup_destination_attach_histories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "backup_destination_attach_histories", value) + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @space_utilized_in_gbs.setter + def space_utilized_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "space_utilized_in_gbs", value) + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> Optional[pulumi.Input[str]]: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @time_at_which_storage_details_are_updated.setter + def time_at_which_storage_details_are_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_at_which_storage_details_are_updated", value) + + if not MYPY: class AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgsDict(TypedDict): backup_destination_details: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgsDict']]]] @@ -1762,6 +2052,81 @@ def vpc_user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_user", value) +if not MYPY: + class AutonomousContainerDatabaseRecoveryApplianceDetailArgsDict(TypedDict): + allocated_storage_size_in_gbs: NotRequired[pulumi.Input[int]] + """ + The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + """ + recovery_window_in_days: NotRequired[pulumi.Input[int]] + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + time_recovery_appliance_details_updated: NotRequired[pulumi.Input[str]] + """ + The time when the recovery appliance details are updated. + ======= + """ +elif False: + AutonomousContainerDatabaseRecoveryApplianceDetailArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AutonomousContainerDatabaseRecoveryApplianceDetailArgs: + def __init__(__self__, *, + allocated_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + time_recovery_appliance_details_updated: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] allocated_storage_size_in_gbs: The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + :param pulumi.Input[int] recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param pulumi.Input[str] time_recovery_appliance_details_updated: The time when the recovery appliance details are updated. + ======= + """ + if allocated_storage_size_in_gbs is not None: + pulumi.set(__self__, "allocated_storage_size_in_gbs", allocated_storage_size_in_gbs) + if recovery_window_in_days is not None: + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + if time_recovery_appliance_details_updated is not None: + pulumi.set(__self__, "time_recovery_appliance_details_updated", time_recovery_appliance_details_updated) + + @property + @pulumi.getter(name="allocatedStorageSizeInGbs") + def allocated_storage_size_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "allocated_storage_size_in_gbs") + + @allocated_storage_size_in_gbs.setter + def allocated_storage_size_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "allocated_storage_size_in_gbs", value) + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> Optional[pulumi.Input[int]]: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @recovery_window_in_days.setter + def recovery_window_in_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "recovery_window_in_days", value) + + @property + @pulumi.getter(name="timeRecoveryApplianceDetailsUpdated") + def time_recovery_appliance_details_updated(self) -> Optional[pulumi.Input[str]]: + """ + The time when the recovery appliance details are updated. + ======= + """ + return pulumi.get(self, "time_recovery_appliance_details_updated") + + @time_recovery_appliance_details_updated.setter + def time_recovery_appliance_details_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_recovery_appliance_details_updated", value) + + if not MYPY: class AutonomousDatabaseApexDetailArgsDict(TypedDict): apex_version: NotRequired[pulumi.Input[str]] @@ -3338,6 +3703,10 @@ class AutonomousDatabaseLocalStandbyDbArgsDict(TypedDict): """ Additional information about the current lifecycle state. """ + maintenance_target_component: NotRequired[pulumi.Input[str]] + """ + The component chosen for maintenance. + """ state: NotRequired[pulumi.Input[str]] """ The current state of the Autonomous Database. @@ -3350,6 +3719,14 @@ class AutonomousDatabaseLocalStandbyDbArgsDict(TypedDict): """ The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + time_maintenance_begin: NotRequired[pulumi.Input[str]] + """ + The date and time when maintenance will begin. + """ + time_maintenance_end: NotRequired[pulumi.Input[str]] + """ + The date and time when maintenance will end. + """ elif False: AutonomousDatabaseLocalStandbyDbArgsDict: TypeAlias = Mapping[str, Any] @@ -3359,16 +3736,22 @@ 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, + maintenance_target_component: 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): + time_disaster_recovery_role_changed: Optional[pulumi.Input[str]] = None, + time_maintenance_begin: Optional[pulumi.Input[str]] = None, + time_maintenance_end: 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] maintenance_target_component: The component chosen for maintenance. :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. + :param pulumi.Input[str] time_maintenance_begin: The date and time when maintenance will begin. + :param pulumi.Input[str] time_maintenance_end: The date and time when maintenance will end. """ if availability_domain is not None: pulumi.set(__self__, "availability_domain", availability_domain) @@ -3376,12 +3759,18 @@ def __init__(__self__, *, pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if maintenance_target_component is not None: + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if state is not None: pulumi.set(__self__, "state", state) if time_data_guard_role_changed is not None: pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + if time_maintenance_begin is not None: + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + if time_maintenance_end is not None: + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -3419,6 +3808,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="maintenanceTargetComponent") + def maintenance_target_component(self) -> Optional[pulumi.Input[str]]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + + @maintenance_target_component.setter + def maintenance_target_component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_target_component", value) + @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -3455,6 +3856,30 @@ def time_disaster_recovery_role_changed(self) -> Optional[pulumi.Input[str]]: def time_disaster_recovery_role_changed(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_disaster_recovery_role_changed", value) + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> Optional[pulumi.Input[str]]: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @time_maintenance_begin.setter + def time_maintenance_begin(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_maintenance_begin", value) + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> Optional[pulumi.Input[str]]: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + + @time_maintenance_end.setter + def time_maintenance_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_maintenance_end", value) + if not MYPY: class AutonomousDatabaseLongTermBackupScheduleArgsDict(TypedDict): @@ -3980,6 +4405,10 @@ class AutonomousDatabaseStandbyDbArgsDict(TypedDict): """ Additional information about the current lifecycle state. """ + maintenance_target_component: NotRequired[pulumi.Input[str]] + """ + The component chosen for maintenance. + """ state: NotRequired[pulumi.Input[str]] """ The current state of the Autonomous Database. @@ -3992,6 +4421,14 @@ class AutonomousDatabaseStandbyDbArgsDict(TypedDict): """ The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + time_maintenance_begin: NotRequired[pulumi.Input[str]] + """ + The date and time when maintenance will begin. + """ + time_maintenance_end: NotRequired[pulumi.Input[str]] + """ + The date and time when maintenance will end. + """ elif False: AutonomousDatabaseStandbyDbArgsDict: TypeAlias = Mapping[str, Any] @@ -4001,16 +4438,22 @@ 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, + maintenance_target_component: 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): + time_disaster_recovery_role_changed: Optional[pulumi.Input[str]] = None, + time_maintenance_begin: Optional[pulumi.Input[str]] = None, + time_maintenance_end: 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] maintenance_target_component: The component chosen for maintenance. :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. + :param pulumi.Input[str] time_maintenance_begin: The date and time when maintenance will begin. + :param pulumi.Input[str] time_maintenance_end: The date and time when maintenance will end. """ if availability_domain is not None: pulumi.set(__self__, "availability_domain", availability_domain) @@ -4018,12 +4461,18 @@ def __init__(__self__, *, pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if maintenance_target_component is not None: + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if state is not None: pulumi.set(__self__, "state", state) if time_data_guard_role_changed is not None: pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + if time_maintenance_begin is not None: + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + if time_maintenance_end is not None: + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -4061,6 +4510,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="maintenanceTargetComponent") + def maintenance_target_component(self) -> Optional[pulumi.Input[str]]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + + @maintenance_target_component.setter + def maintenance_target_component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_target_component", value) + @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -4097,6 +4558,30 @@ def time_disaster_recovery_role_changed(self) -> Optional[pulumi.Input[str]]: def time_disaster_recovery_role_changed(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_disaster_recovery_role_changed", value) + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> Optional[pulumi.Input[str]]: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @time_maintenance_begin.setter + def time_maintenance_begin(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_maintenance_begin", value) + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> Optional[pulumi.Input[str]]: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + + @time_maintenance_end.setter + def time_maintenance_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_maintenance_end", value) + if not MYPY: class AutonomousExadataInfrastructureMaintenanceWindowArgsDict(TypedDict): diff --git a/sdk/python/pulumi_oci/database/autonomous_container_database.py b/sdk/python/pulumi_oci/database/autonomous_container_database.py index 7863970b60..cdd77fded3 100644 --- a/sdk/python/pulumi_oci/database/autonomous_container_database.py +++ b/sdk/python/pulumi_oci/database/autonomous_container_database.py @@ -613,11 +613,13 @@ def vm_failover_reservation(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class _AutonomousContainerDatabaseState: def __init__(__self__, *, + associated_backup_configuration_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs']]]] = None, autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, availability_domain: Optional[pulumi.Input[str]] = None, available_cpus: Optional[pulumi.Input[float]] = None, backup_config: Optional[pulumi.Input['AutonomousContainerDatabaseBackupConfigArgs']] = None, + backup_destination_properties_lists: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs']]]] = None, cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, compute_model: Optional[pulumi.Input[str]] = None, @@ -662,6 +664,7 @@ def __init__(__self__, *, provisionable_cpuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, provisioned_cpus: Optional[pulumi.Input[float]] = None, reclaimable_cpus: Optional[pulumi.Input[float]] = None, + recovery_appliance_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseRecoveryApplianceDetailArgs']]]] = None, reserved_cpus: Optional[pulumi.Input[float]] = None, role: Optional[pulumi.Input[str]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, @@ -677,11 +680,13 @@ def __init__(__self__, *, vm_failover_reservation: Optional[pulumi.Input[int]] = None): """ Input properties used for looking up and filtering AutonomousContainerDatabase resources. + :param pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs']]] associated_backup_configuration_details: A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. :param pulumi.Input[str] autonomous_exadata_infrastructure_id: **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :param pulumi.Input[str] autonomous_vm_cluster_id: The OCID of the Autonomous VM Cluster. :param pulumi.Input[str] availability_domain: The availability domain of the Autonomous Container Database :param pulumi.Input[float] available_cpus: Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. :param pulumi.Input['AutonomousContainerDatabaseBackupConfigArgs'] backup_config: (Updatable) Backup options for the Autonomous Container Database. + :param pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs']]] backup_destination_properties_lists: This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. :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[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database. :param pulumi.Input[str] compute_model: The compute model of the Autonomous Container Database. For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. ECPU compute model is the recommended model and OCPU compute model is legacy. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -722,9 +727,12 @@ def __init__(__self__, *, :param pulumi.Input[str] protection_mode: The protection mode of this Autonomous Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. :param pulumi.Input[Sequence[pulumi.Input[float]]] provisionable_cpuses: An array of CPU values that can be used to successfully provision a single Autonomous Database. :param pulumi.Input[float] provisioned_cpus: The number of CPUs provisioned in an Autonomous Container Database. + <<<<<<< ours :param pulumi.Input[float] reclaimable_cpus: For Autonomous Databases on Dedicated Exadata Infrastructure: * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + >>>>>>> theirs + :param pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseRecoveryApplianceDetailArgs']]] recovery_appliance_details: Information about the recovery appliance configuration associated with the Autonomous Container Database. :param pulumi.Input[float] reserved_cpus: The number of CPUs reserved in an Autonomous Container Database. * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -744,6 +752,8 @@ def __init__(__self__, *, :param pulumi.Input[str] version_preference: (Updatable) The next maintenance version preference. :param pulumi.Input[int] vm_failover_reservation: The percentage of CPUs to reserve for a single node Autonomous Database, in increments of 25. """ + if associated_backup_configuration_details is not None: + pulumi.set(__self__, "associated_backup_configuration_details", associated_backup_configuration_details) if autonomous_exadata_infrastructure_id is not None: pulumi.set(__self__, "autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) if autonomous_vm_cluster_id is not None: @@ -754,6 +764,8 @@ def __init__(__self__, *, pulumi.set(__self__, "available_cpus", available_cpus) if backup_config is not None: pulumi.set(__self__, "backup_config", backup_config) + if backup_destination_properties_lists is not None: + pulumi.set(__self__, "backup_destination_properties_lists", backup_destination_properties_lists) if cloud_autonomous_vm_cluster_id is not None: pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) if compartment_id is not None: @@ -842,6 +854,8 @@ def __init__(__self__, *, pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) if reclaimable_cpus is not None: pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + if recovery_appliance_details is not None: + pulumi.set(__self__, "recovery_appliance_details", recovery_appliance_details) if reserved_cpus is not None: pulumi.set(__self__, "reserved_cpus", reserved_cpus) if role is not None: @@ -869,6 +883,18 @@ def __init__(__self__, *, if vm_failover_reservation is not None: pulumi.set(__self__, "vm_failover_reservation", vm_failover_reservation) + @property + @pulumi.getter(name="associatedBackupConfigurationDetails") + def associated_backup_configuration_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs']]]]: + """ + A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + """ + return pulumi.get(self, "associated_backup_configuration_details") + + @associated_backup_configuration_details.setter + def associated_backup_configuration_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs']]]]): + pulumi.set(self, "associated_backup_configuration_details", value) + @property @pulumi.getter(name="autonomousExadataInfrastructureId") def autonomous_exadata_infrastructure_id(self) -> Optional[pulumi.Input[str]]: @@ -929,6 +955,18 @@ def backup_config(self) -> Optional[pulumi.Input['AutonomousContainerDatabaseBac def backup_config(self, value: Optional[pulumi.Input['AutonomousContainerDatabaseBackupConfigArgs']]): pulumi.set(self, "backup_config", value) + @property + @pulumi.getter(name="backupDestinationPropertiesLists") + def backup_destination_properties_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs']]]]: + """ + This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + """ + return pulumi.get(self, "backup_destination_properties_lists") + + @backup_destination_properties_lists.setter + def backup_destination_properties_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs']]]]): + pulumi.set(self, "backup_destination_properties_lists", value) + @property @pulumi.getter(name="cloudAutonomousVmClusterId") def cloud_autonomous_vm_cluster_id(self) -> Optional[pulumi.Input[str]]: @@ -1429,6 +1467,7 @@ def provisionable_cpuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu def provisioned_cpus(self) -> Optional[pulumi.Input[float]]: """ The number of CPUs provisioned in an Autonomous Container Database. + <<<<<<< ours """ return pulumi.get(self, "provisioned_cpus") @@ -1443,6 +1482,7 @@ def reclaimable_cpus(self) -> Optional[pulumi.Input[float]]: For Autonomous Databases on Dedicated Exadata Infrastructure: * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + >>>>>>> theirs """ return pulumi.get(self, "reclaimable_cpus") @@ -1450,6 +1490,18 @@ def reclaimable_cpus(self) -> Optional[pulumi.Input[float]]: def reclaimable_cpus(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "reclaimable_cpus", value) + @property + @pulumi.getter(name="recoveryApplianceDetails") + def recovery_appliance_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseRecoveryApplianceDetailArgs']]]]: + """ + Information about the recovery appliance configuration associated with the Autonomous Container Database. + """ + return pulumi.get(self, "recovery_appliance_details") + + @recovery_appliance_details.setter + def recovery_appliance_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseRecoveryApplianceDetailArgs']]]]): + pulumi.set(self, "recovery_appliance_details", value) + @property @pulumi.getter(name="reservedCpus") def reserved_cpus(self) -> Optional[pulumi.Input[float]]: @@ -1829,8 +1881,10 @@ def _internal_init(__self__, __props__.__dict__["vault_id"] = vault_id __props__.__dict__["version_preference"] = version_preference __props__.__dict__["vm_failover_reservation"] = vm_failover_reservation + __props__.__dict__["associated_backup_configuration_details"] = None __props__.__dict__["availability_domain"] = None __props__.__dict__["available_cpus"] = None + __props__.__dict__["backup_destination_properties_lists"] = None __props__.__dict__["compute_model"] = None __props__.__dict__["dst_file_version"] = None __props__.__dict__["infrastructure_type"] = None @@ -1847,6 +1901,7 @@ def _internal_init(__self__, __props__.__dict__["provisionable_cpuses"] = None __props__.__dict__["provisioned_cpus"] = None __props__.__dict__["reclaimable_cpus"] = None + __props__.__dict__["recovery_appliance_details"] = None __props__.__dict__["reserved_cpus"] = None __props__.__dict__["role"] = None __props__.__dict__["state"] = None @@ -1864,11 +1919,13 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + associated_backup_configuration_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs', 'AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgsDict']]]]] = None, autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, availability_domain: Optional[pulumi.Input[str]] = None, available_cpus: Optional[pulumi.Input[float]] = None, backup_config: Optional[pulumi.Input[Union['AutonomousContainerDatabaseBackupConfigArgs', 'AutonomousContainerDatabaseBackupConfigArgsDict']]] = None, + backup_destination_properties_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs', 'AutonomousContainerDatabaseBackupDestinationPropertiesListArgsDict']]]]] = None, cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, compute_model: Optional[pulumi.Input[str]] = None, @@ -1913,6 +1970,7 @@ def get(resource_name: str, provisionable_cpuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, provisioned_cpus: Optional[pulumi.Input[float]] = None, reclaimable_cpus: Optional[pulumi.Input[float]] = None, + recovery_appliance_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousContainerDatabaseRecoveryApplianceDetailArgs', 'AutonomousContainerDatabaseRecoveryApplianceDetailArgsDict']]]]] = None, reserved_cpus: Optional[pulumi.Input[float]] = None, role: Optional[pulumi.Input[str]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, @@ -1933,11 +1991,13 @@ 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[Union['AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs', 'AutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgsDict']]]] associated_backup_configuration_details: A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. :param pulumi.Input[str] autonomous_exadata_infrastructure_id: **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :param pulumi.Input[str] autonomous_vm_cluster_id: The OCID of the Autonomous VM Cluster. :param pulumi.Input[str] availability_domain: The availability domain of the Autonomous Container Database :param pulumi.Input[float] available_cpus: Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. :param pulumi.Input[Union['AutonomousContainerDatabaseBackupConfigArgs', 'AutonomousContainerDatabaseBackupConfigArgsDict']] backup_config: (Updatable) Backup options for the Autonomous Container Database. + :param pulumi.Input[Sequence[pulumi.Input[Union['AutonomousContainerDatabaseBackupDestinationPropertiesListArgs', 'AutonomousContainerDatabaseBackupDestinationPropertiesListArgsDict']]]] backup_destination_properties_lists: This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. :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[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database. :param pulumi.Input[str] compute_model: The compute model of the Autonomous Container Database. For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. ECPU compute model is the recommended model and OCPU compute model is legacy. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -1978,9 +2038,12 @@ def get(resource_name: str, :param pulumi.Input[str] protection_mode: The protection mode of this Autonomous Data Guard association. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. :param pulumi.Input[Sequence[pulumi.Input[float]]] provisionable_cpuses: An array of CPU values that can be used to successfully provision a single Autonomous Database. :param pulumi.Input[float] provisioned_cpus: The number of CPUs provisioned in an Autonomous Container Database. + <<<<<<< ours :param pulumi.Input[float] reclaimable_cpus: For Autonomous Databases on Dedicated Exadata Infrastructure: * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + >>>>>>> theirs + :param pulumi.Input[Sequence[pulumi.Input[Union['AutonomousContainerDatabaseRecoveryApplianceDetailArgs', 'AutonomousContainerDatabaseRecoveryApplianceDetailArgsDict']]]] recovery_appliance_details: Information about the recovery appliance configuration associated with the Autonomous Container Database. :param pulumi.Input[float] reserved_cpus: The number of CPUs reserved in an Autonomous Container Database. * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -2004,11 +2067,13 @@ def get(resource_name: str, __props__ = _AutonomousContainerDatabaseState.__new__(_AutonomousContainerDatabaseState) + __props__.__dict__["associated_backup_configuration_details"] = associated_backup_configuration_details __props__.__dict__["autonomous_exadata_infrastructure_id"] = autonomous_exadata_infrastructure_id __props__.__dict__["autonomous_vm_cluster_id"] = autonomous_vm_cluster_id __props__.__dict__["availability_domain"] = availability_domain __props__.__dict__["available_cpus"] = available_cpus __props__.__dict__["backup_config"] = backup_config + __props__.__dict__["backup_destination_properties_lists"] = backup_destination_properties_lists __props__.__dict__["cloud_autonomous_vm_cluster_id"] = cloud_autonomous_vm_cluster_id __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["compute_model"] = compute_model @@ -2053,6 +2118,7 @@ def get(resource_name: str, __props__.__dict__["provisionable_cpuses"] = provisionable_cpuses __props__.__dict__["provisioned_cpus"] = provisioned_cpus __props__.__dict__["reclaimable_cpus"] = reclaimable_cpus + __props__.__dict__["recovery_appliance_details"] = recovery_appliance_details __props__.__dict__["reserved_cpus"] = reserved_cpus __props__.__dict__["role"] = role __props__.__dict__["rotate_key_trigger"] = rotate_key_trigger @@ -2068,6 +2134,14 @@ def get(resource_name: str, __props__.__dict__["vm_failover_reservation"] = vm_failover_reservation return AutonomousContainerDatabase(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="associatedBackupConfigurationDetails") + def associated_backup_configuration_details(self) -> pulumi.Output[Sequence['outputs.AutonomousContainerDatabaseAssociatedBackupConfigurationDetail']]: + """ + A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + """ + return pulumi.get(self, "associated_backup_configuration_details") + @property @pulumi.getter(name="autonomousExadataInfrastructureId") def autonomous_exadata_infrastructure_id(self) -> pulumi.Output[str]: @@ -2108,6 +2182,14 @@ def backup_config(self) -> pulumi.Output['outputs.AutonomousContainerDatabaseBac """ return pulumi.get(self, "backup_config") + @property + @pulumi.getter(name="backupDestinationPropertiesLists") + def backup_destination_properties_lists(self) -> pulumi.Output[Sequence['outputs.AutonomousContainerDatabaseBackupDestinationPropertiesList']]: + """ + This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + """ + return pulumi.get(self, "backup_destination_properties_lists") + @property @pulumi.getter(name="cloudAutonomousVmClusterId") def cloud_autonomous_vm_cluster_id(self) -> pulumi.Output[str]: @@ -2440,6 +2522,7 @@ def provisionable_cpuses(self) -> pulumi.Output[Sequence[float]]: def provisioned_cpus(self) -> pulumi.Output[float]: """ The number of CPUs provisioned in an Autonomous Container Database. + <<<<<<< ours """ return pulumi.get(self, "provisioned_cpus") @@ -2450,9 +2533,18 @@ def reclaimable_cpus(self) -> pulumi.Output[float]: For Autonomous Databases on Dedicated Exadata Infrastructure: * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. + >>>>>>> theirs """ return pulumi.get(self, "reclaimable_cpus") + @property + @pulumi.getter(name="recoveryApplianceDetails") + def recovery_appliance_details(self) -> pulumi.Output[Sequence['outputs.AutonomousContainerDatabaseRecoveryApplianceDetail']]: + """ + Information about the recovery appliance configuration associated with the Autonomous Container Database. + """ + return pulumi.get(self, "recovery_appliance_details") + @property @pulumi.getter(name="reservedCpus") def reserved_cpus(self) -> pulumi.Output[float]: diff --git a/sdk/python/pulumi_oci/database/autonomous_database.py b/sdk/python/pulumi_oci/database/autonomous_database.py index 4d3a4fb1ed..50adb63ba9 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database.py +++ b/sdk/python/pulumi_oci/database/autonomous_database.py @@ -34,6 +34,7 @@ def __init__(__self__, *, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, byol_compute_count_limit: Optional[pulumi.Input[float]] = None, character_set: Optional[pulumi.Input[str]] = None, + clone_table_space_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, clone_type: Optional[pulumi.Input[str]] = None, compute_count: Optional[pulumi.Input[float]] = None, compute_model: Optional[pulumi.Input[str]] = None, @@ -123,8 +124,11 @@ def __init__(__self__, *, For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + :param pulumi.Input[Sequence[pulumi.Input[int]]] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. :param pulumi.Input[str] clone_type: The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. :param pulumi.Input[float] compute_count: (Updatable) The compute amount available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. For an Autonomous Database Serverless instance, the 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. @@ -294,6 +298,8 @@ def __init__(__self__, *, pulumi.set(__self__, "byol_compute_count_limit", byol_compute_count_limit) if character_set is not None: pulumi.set(__self__, "character_set", character_set) + if clone_table_space_lists is not None: + pulumi.set(__self__, "clone_table_space_lists", clone_table_space_lists) if clone_type is not None: pulumi.set(__self__, "clone_type", clone_type) if compute_count is not None: @@ -591,6 +597,7 @@ def character_set(self) -> Optional[pulumi.Input[str]]: For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS """ return pulumi.get(self, "character_set") @@ -599,11 +606,24 @@ def character_set(self) -> Optional[pulumi.Input[str]]: def character_set(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "character_set", value) + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + """ + return pulumi.get(self, "clone_table_space_lists") + + @clone_table_space_lists.setter + def clone_table_space_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): + pulumi.set(self, "clone_table_space_lists", value) + @property @pulumi.getter(name="cloneType") def clone_type(self) -> Optional[pulumi.Input[str]]: """ The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. """ @@ -1556,6 +1576,7 @@ def __init__(__self__, *, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, byol_compute_count_limit: Optional[pulumi.Input[float]] = None, character_set: Optional[pulumi.Input[str]] = None, + clone_table_space_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, clone_type: Optional[pulumi.Input[str]] = None, cluster_placement_group_id: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, @@ -1617,6 +1638,7 @@ def __init__(__self__, *, local_disaster_recovery_type: Optional[pulumi.Input[str]] = None, local_standby_dbs: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLocalStandbyDbArgs']]]] = None, long_term_backup_schedules: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLongTermBackupScheduleArgs']]]] = None, + maintenance_target_component: Optional[pulumi.Input[str]] = None, max_cpu_core_count: Optional[pulumi.Input[int]] = None, memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, ncharacter_set: Optional[pulumi.Input[str]] = None, @@ -1705,8 +1727,11 @@ def __init__(__self__, *, For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + :param pulumi.Input[Sequence[pulumi.Input[int]]] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. :param pulumi.Input[str] clone_type: The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. :param pulumi.Input[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. @@ -1792,9 +1817,10 @@ def __init__(__self__, *, :param pulumi.Input[str] license_model: (Updatable) The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on [dedicated Exadata infrastructure](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adbddoverview.htm), this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using [shared Exadata infrastructure](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adboverview.htm#AEI), if a value is not specified, the system will supply the value of `BRING_YOUR_OWN_LICENSE`. It is a required field when `db_workload` is AJD and needs to be set to `LICENSE_INCLUDED` as AJD does not support default `license_model` value `BRING_YOUR_OWN_LICENSE`. :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state. :param pulumi.Input[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 pulumi.Input[str] local_disaster_recovery_type: Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. - :param pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLocalStandbyDbArgs']]] local_standby_dbs: Autonomous Data Guard local (same region) standby database details. + :param pulumi.Input[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 pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLocalStandbyDbArgs']]] local_standby_dbs: Autonomous Data Guard standby database details. :param pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLongTermBackupScheduleArgs']]] long_term_backup_schedules: Details for the long-term backup schedule. + :param pulumi.Input[str] maintenance_target_component: The component chosen for maintenance. :param pulumi.Input[int] max_cpu_core_count: (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. :param pulumi.Input[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. This parameter is not used for Autonomous database Serverless. :param pulumi.Input[str] ncharacter_set: The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. @@ -1940,6 +1966,8 @@ def __init__(__self__, *, pulumi.set(__self__, "byol_compute_count_limit", byol_compute_count_limit) if character_set is not None: pulumi.set(__self__, "character_set", character_set) + if clone_table_space_lists is not None: + pulumi.set(__self__, "clone_table_space_lists", clone_table_space_lists) if clone_type is not None: pulumi.set(__self__, "clone_type", clone_type) if cluster_placement_group_id is not None: @@ -2065,6 +2093,8 @@ def __init__(__self__, *, pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) if long_term_backup_schedules is not None: pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) + if maintenance_target_component is not None: + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if max_cpu_core_count is not None: pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) if memory_per_oracle_compute_unit_in_gbs is not None: @@ -2397,6 +2427,7 @@ def character_set(self) -> Optional[pulumi.Input[str]]: For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS """ return pulumi.get(self, "character_set") @@ -2405,11 +2436,24 @@ def character_set(self) -> Optional[pulumi.Input[str]]: def character_set(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "character_set", value) + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + """ + return pulumi.get(self, "clone_table_space_lists") + + @clone_table_space_lists.setter + def clone_table_space_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): + pulumi.set(self, "clone_table_space_lists", value) + @property @pulumi.getter(name="cloneType") def clone_type(self) -> Optional[pulumi.Input[str]]: """ The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. """ @@ -3134,7 +3178,7 @@ def local_adg_auto_failover_max_data_loss_limit(self, value: Optional[pulumi.Inp @pulumi.getter(name="localDisasterRecoveryType") def local_disaster_recovery_type(self) -> Optional[pulumi.Input[str]]: """ - Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + 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. """ return pulumi.get(self, "local_disaster_recovery_type") @@ -3146,7 +3190,7 @@ def local_disaster_recovery_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="localStandbyDbs") def local_standby_dbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLocalStandbyDbArgs']]]]: """ - Autonomous Data Guard local (same region) standby database details. + Autonomous Data Guard standby database details. """ return pulumi.get(self, "local_standby_dbs") @@ -3166,6 +3210,18 @@ def long_term_backup_schedules(self) -> Optional[pulumi.Input[Sequence[pulumi.In def long_term_backup_schedules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLongTermBackupScheduleArgs']]]]): pulumi.set(self, "long_term_backup_schedules", value) + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> Optional[pulumi.Input[str]]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + + @maintenance_target_component.setter + def maintenance_target_component(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_target_component", value) + @property @pulumi.getter(name="maxCpuCoreCount") def max_cpu_core_count(self) -> Optional[pulumi.Input[int]]: @@ -4024,6 +4080,7 @@ def __init__(__self__, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, byol_compute_count_limit: Optional[pulumi.Input[float]] = None, character_set: Optional[pulumi.Input[str]] = None, + clone_table_space_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, clone_type: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, compute_count: Optional[pulumi.Input[float]] = None, @@ -4129,8 +4186,11 @@ def __init__(__self__, For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + :param pulumi.Input[Sequence[pulumi.Input[int]]] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. :param pulumi.Input[str] clone_type: The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Autonomous Database. @@ -4325,6 +4385,7 @@ def _internal_init(__self__, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, byol_compute_count_limit: Optional[pulumi.Input[float]] = None, character_set: Optional[pulumi.Input[str]] = None, + clone_table_space_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, clone_type: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, compute_count: Optional[pulumi.Input[float]] = None, @@ -4419,6 +4480,7 @@ def _internal_init(__self__, __props__.__dict__["backup_retention_period_in_days"] = backup_retention_period_in_days __props__.__dict__["byol_compute_count_limit"] = byol_compute_count_limit __props__.__dict__["character_set"] = character_set + __props__.__dict__["clone_table_space_lists"] = clone_table_space_lists __props__.__dict__["clone_type"] = clone_type if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -4523,6 +4585,7 @@ def _internal_init(__self__, __props__.__dict__["lifecycle_details"] = None __props__.__dict__["local_disaster_recovery_type"] = None __props__.__dict__["local_standby_dbs"] = None + __props__.__dict__["maintenance_target_component"] = None __props__.__dict__["memory_per_oracle_compute_unit_in_gbs"] = None __props__.__dict__["net_services_architecture"] = None __props__.__dict__["next_long_term_backup_time_stamp"] = None @@ -4586,6 +4649,7 @@ def get(resource_name: str, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, byol_compute_count_limit: Optional[pulumi.Input[float]] = None, character_set: Optional[pulumi.Input[str]] = None, + clone_table_space_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, clone_type: Optional[pulumi.Input[str]] = None, cluster_placement_group_id: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, @@ -4647,6 +4711,7 @@ def get(resource_name: str, local_disaster_recovery_type: Optional[pulumi.Input[str]] = None, local_standby_dbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseLocalStandbyDbArgs', 'AutonomousDatabaseLocalStandbyDbArgsDict']]]]] = None, long_term_backup_schedules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseLongTermBackupScheduleArgs', 'AutonomousDatabaseLongTermBackupScheduleArgsDict']]]]] = None, + maintenance_target_component: Optional[pulumi.Input[str]] = None, max_cpu_core_count: Optional[pulumi.Input[int]] = None, memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, ncharacter_set: Optional[pulumi.Input[str]] = None, @@ -4740,8 +4805,11 @@ def get(resource_name: str, For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + :param pulumi.Input[Sequence[pulumi.Input[int]]] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. :param pulumi.Input[str] clone_type: The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. :param pulumi.Input[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. @@ -4827,9 +4895,10 @@ def get(resource_name: str, :param pulumi.Input[str] license_model: (Updatable) The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on [dedicated Exadata infrastructure](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adbddoverview.htm), this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using [shared Exadata infrastructure](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adboverview.htm#AEI), if a value is not specified, the system will supply the value of `BRING_YOUR_OWN_LICENSE`. It is a required field when `db_workload` is AJD and needs to be set to `LICENSE_INCLUDED` as AJD does not support default `license_model` value `BRING_YOUR_OWN_LICENSE`. :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state. :param pulumi.Input[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 pulumi.Input[str] local_disaster_recovery_type: Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. - :param pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseLocalStandbyDbArgs', 'AutonomousDatabaseLocalStandbyDbArgsDict']]]] local_standby_dbs: Autonomous Data Guard local (same region) standby database details. + :param pulumi.Input[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 pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseLocalStandbyDbArgs', 'AutonomousDatabaseLocalStandbyDbArgsDict']]]] local_standby_dbs: Autonomous Data Guard standby database details. :param pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseLongTermBackupScheduleArgs', 'AutonomousDatabaseLongTermBackupScheduleArgsDict']]]] long_term_backup_schedules: Details for the long-term backup schedule. + :param pulumi.Input[str] maintenance_target_component: The component chosen for maintenance. :param pulumi.Input[int] max_cpu_core_count: (Updatable) **Deprecated.** The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. :param pulumi.Input[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. This parameter is not used for Autonomous database Serverless. :param pulumi.Input[str] ncharacter_set: The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. @@ -4962,6 +5031,7 @@ def get(resource_name: str, __props__.__dict__["backup_retention_period_in_days"] = backup_retention_period_in_days __props__.__dict__["byol_compute_count_limit"] = byol_compute_count_limit __props__.__dict__["character_set"] = character_set + __props__.__dict__["clone_table_space_lists"] = clone_table_space_lists __props__.__dict__["clone_type"] = clone_type __props__.__dict__["cluster_placement_group_id"] = cluster_placement_group_id __props__.__dict__["compartment_id"] = compartment_id @@ -5023,6 +5093,7 @@ def get(resource_name: str, __props__.__dict__["local_disaster_recovery_type"] = local_disaster_recovery_type __props__.__dict__["local_standby_dbs"] = local_standby_dbs __props__.__dict__["long_term_backup_schedules"] = long_term_backup_schedules + __props__.__dict__["maintenance_target_component"] = maintenance_target_component __props__.__dict__["max_cpu_core_count"] = max_cpu_core_count __props__.__dict__["memory_per_oracle_compute_unit_in_gbs"] = memory_per_oracle_compute_unit_in_gbs __props__.__dict__["ncharacter_set"] = ncharacter_set @@ -5225,15 +5296,25 @@ def character_set(self) -> pulumi.Output[str]: For an Autonomous Database on dedicated infrastructure, the allowed values are: + <<<<<<< ours AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS """ return pulumi.get(self, "character_set") + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> pulumi.Output[Sequence[int]]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + """ + return pulumi.get(self, "clone_table_space_lists") + @property @pulumi.getter(name="cloneType") def clone_type(self) -> pulumi.Output[str]: """ The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter. + >>>>>>> theirs * `FULL` - This option creates a new database that includes all source database data. * `METADATA` - This option creates a new database that includes the source database schema and select metadata, but not the source database data. """ @@ -5726,7 +5807,7 @@ def local_adg_auto_failover_max_data_loss_limit(self) -> pulumi.Output[int]: @pulumi.getter(name="localDisasterRecoveryType") def local_disaster_recovery_type(self) -> pulumi.Output[str]: """ - Indicates the local disaster recovery (DR) type of the Serverless 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 (`BACKUP_BASED`) DR type provides lower cost DR with a slower RTO during failover or switchover. + 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. """ return pulumi.get(self, "local_disaster_recovery_type") @@ -5734,7 +5815,7 @@ def local_disaster_recovery_type(self) -> pulumi.Output[str]: @pulumi.getter(name="localStandbyDbs") def local_standby_dbs(self) -> pulumi.Output[Sequence['outputs.AutonomousDatabaseLocalStandbyDb']]: """ - Autonomous Data Guard local (same region) standby database details. + Autonomous Data Guard standby database details. """ return pulumi.get(self, "local_standby_dbs") @@ -5746,6 +5827,14 @@ def long_term_backup_schedules(self) -> pulumi.Output[Sequence['outputs.Autonomo """ return pulumi.get(self, "long_term_backup_schedules") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> pulumi.Output[str]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter(name="maxCpuCoreCount") def max_cpu_core_count(self) -> pulumi.Output[int]: diff --git a/sdk/python/pulumi_oci/database/backup_destination.py b/sdk/python/pulumi_oci/database/backup_destination.py index 2a69cd96f2..a31276f955 100644 --- a/sdk/python/pulumi_oci/database/backup_destination.py +++ b/sdk/python/pulumi_oci/database/backup_destination.py @@ -195,8 +195,11 @@ def __init__(__self__, *, nfs_server_export: Optional[pulumi.Input[str]] = None, nfs_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, state: Optional[pulumi.Input[str]] = None, + time_at_which_storage_details_are_updated: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, + total_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, type: Optional[pulumi.Input[str]] = None, + utilized_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, vpc_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ Input properties used for looking up and filtering BackupDestination resources. @@ -213,8 +216,11 @@ def __init__(__self__, *, :param pulumi.Input[str] nfs_server_export: Specifies the directory on which to mount the file system :param pulumi.Input[Sequence[pulumi.Input[str]]] nfs_servers: Host names or IP addresses for NFS Auto mount. :param pulumi.Input[str] state: The current lifecycle state of the backup destination. + :param pulumi.Input[str] time_at_which_storage_details_are_updated: The time when the total storage size and the utilized storage size of the backup destination are updated. :param pulumi.Input[str] time_created: The date and time the backup destination was created. + :param pulumi.Input[int] total_storage_size_in_gbs: The total storage size of the backup destination in GBs, rounded to the nearest integer. :param pulumi.Input[str] type: Type of the backup destination. + :param pulumi.Input[int] utilized_storage_size_in_gbs: The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_users: (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. @@ -250,10 +256,16 @@ def __init__(__self__, *, pulumi.set(__self__, "nfs_servers", nfs_servers) if state is not None: pulumi.set(__self__, "state", state) + if time_at_which_storage_details_are_updated is not None: + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) if time_created is not None: pulumi.set(__self__, "time_created", time_created) + if total_storage_size_in_gbs is not None: + pulumi.set(__self__, "total_storage_size_in_gbs", total_storage_size_in_gbs) if type is not None: pulumi.set(__self__, "type", type) + if utilized_storage_size_in_gbs is not None: + pulumi.set(__self__, "utilized_storage_size_in_gbs", utilized_storage_size_in_gbs) if vpc_users is not None: pulumi.set(__self__, "vpc_users", vpc_users) @@ -414,6 +426,18 @@ def state(self) -> Optional[pulumi.Input[str]]: def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> Optional[pulumi.Input[str]]: + """ + The time when the total storage size and the utilized storage size of the backup destination are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @time_at_which_storage_details_are_updated.setter + def time_at_which_storage_details_are_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_at_which_storage_details_are_updated", value) + @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: @@ -426,6 +450,18 @@ def time_created(self) -> Optional[pulumi.Input[str]]: def time_created(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_created", value) + @property + @pulumi.getter(name="totalStorageSizeInGbs") + def total_storage_size_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The total storage size of the backup destination in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "total_storage_size_in_gbs") + + @total_storage_size_in_gbs.setter + def total_storage_size_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_storage_size_in_gbs", value) + @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: @@ -438,6 +474,18 @@ def type(self) -> Optional[pulumi.Input[str]]: def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) + @property + @pulumi.getter(name="utilizedStorageSizeInGbs") + def utilized_storage_size_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + """ + return pulumi.get(self, "utilized_storage_size_in_gbs") + + @utilized_storage_size_in_gbs.setter + def utilized_storage_size_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "utilized_storage_size_in_gbs", value) + @property @pulumi.getter(name="vpcUsers") def vpc_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -622,7 +670,10 @@ def _internal_init(__self__, __props__.__dict__["nfs_server_export"] = None __props__.__dict__["nfs_servers"] = None __props__.__dict__["state"] = None + __props__.__dict__["time_at_which_storage_details_are_updated"] = None __props__.__dict__["time_created"] = None + __props__.__dict__["total_storage_size_in_gbs"] = None + __props__.__dict__["utilized_storage_size_in_gbs"] = None super(BackupDestination, __self__).__init__( 'oci:Database/backupDestination:BackupDestination', resource_name, @@ -646,8 +697,11 @@ def get(resource_name: str, nfs_server_export: Optional[pulumi.Input[str]] = None, nfs_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, state: Optional[pulumi.Input[str]] = None, + time_at_which_storage_details_are_updated: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, + total_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, type: Optional[pulumi.Input[str]] = None, + utilized_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, vpc_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'BackupDestination': """ Get an existing BackupDestination resource's state with the given name, id, and optional extra @@ -669,8 +723,11 @@ def get(resource_name: str, :param pulumi.Input[str] nfs_server_export: Specifies the directory on which to mount the file system :param pulumi.Input[Sequence[pulumi.Input[str]]] nfs_servers: Host names or IP addresses for NFS Auto mount. :param pulumi.Input[str] state: The current lifecycle state of the backup destination. + :param pulumi.Input[str] time_at_which_storage_details_are_updated: The time when the total storage size and the utilized storage size of the backup destination are updated. :param pulumi.Input[str] time_created: The date and time the backup destination was created. + :param pulumi.Input[int] total_storage_size_in_gbs: The total storage size of the backup destination in GBs, rounded to the nearest integer. :param pulumi.Input[str] type: Type of the backup destination. + :param pulumi.Input[int] utilized_storage_size_in_gbs: The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_users: (Updatable) The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. @@ -694,8 +751,11 @@ def get(resource_name: str, __props__.__dict__["nfs_server_export"] = nfs_server_export __props__.__dict__["nfs_servers"] = nfs_servers __props__.__dict__["state"] = state + __props__.__dict__["time_at_which_storage_details_are_updated"] = time_at_which_storage_details_are_updated __props__.__dict__["time_created"] = time_created + __props__.__dict__["total_storage_size_in_gbs"] = total_storage_size_in_gbs __props__.__dict__["type"] = type + __props__.__dict__["utilized_storage_size_in_gbs"] = utilized_storage_size_in_gbs __props__.__dict__["vpc_users"] = vpc_users return BackupDestination(resource_name, opts=opts, __props__=__props__) @@ -804,6 +864,14 @@ def state(self) -> pulumi.Output[str]: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> pulumi.Output[str]: + """ + The time when the total storage size and the utilized storage size of the backup destination are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: @@ -812,6 +880,14 @@ def time_created(self) -> pulumi.Output[str]: """ return pulumi.get(self, "time_created") + @property + @pulumi.getter(name="totalStorageSizeInGbs") + def total_storage_size_in_gbs(self) -> pulumi.Output[int]: + """ + The total storage size of the backup destination in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "total_storage_size_in_gbs") + @property @pulumi.getter def type(self) -> pulumi.Output[str]: @@ -820,6 +896,14 @@ def type(self) -> pulumi.Output[str]: """ return pulumi.get(self, "type") + @property + @pulumi.getter(name="utilizedStorageSizeInGbs") + def utilized_storage_size_in_gbs(self) -> pulumi.Output[int]: + """ + The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + """ + return pulumi.get(self, "utilized_storage_size_in_gbs") + @property @pulumi.getter(name="vpcUsers") def vpc_users(self) -> pulumi.Output[Optional[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 126afe86c2..196a5ada1b 100644 --- a/sdk/python/pulumi_oci/database/data_guard_association.py +++ b/sdk/python/pulumi_oci/database/data_guard_association.py @@ -53,6 +53,7 @@ def __init__(__self__, *, peer_sid_prefix: Optional[pulumi.Input[str]] = None, peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, shape: Optional[pulumi.Input[str]] = None, storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, @@ -119,6 +120,7 @@ def __init__(__self__, *, :param pulumi.Input[str] peer_sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param pulumi.Input[str] peer_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster in which to create the standby database. You must supply this value if creationType is `ExistingVmCluster`. :param pulumi.Input[str] private_ip: The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. + :param pulumi.Input[str] private_ip_v6: The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. :param pulumi.Input[str] shape: The virtual machine DB system shape to launch for the standby database in the Data Guard association. The shape determines the number of CPU cores and the amount of memory available for the DB system. Only virtual machine shapes are valid options. If you do not supply this parameter, the default shape is the shape of the primary DB system. To get a list of all shapes, use the [ListDbSystemShapes](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbSystemShapeSummary/ListDbSystemShapes) operation. @@ -187,6 +189,8 @@ def __init__(__self__, *, pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) if private_ip is not None: pulumi.set(__self__, "private_ip", private_ip) + if private_ip_v6 is not None: + pulumi.set(__self__, "private_ip_v6", private_ip_v6) if shape is not None: pulumi.set(__self__, "shape", shape) if storage_volume_performance_mode is not None: @@ -604,6 +608,18 @@ def private_ip(self) -> Optional[pulumi.Input[str]]: def private_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_ip", value) + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> Optional[pulumi.Input[str]]: + """ + The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + + @private_ip_v6.setter + def private_ip_v6(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_ip_v6", value) + @property @pulumi.getter def shape(self) -> Optional[pulumi.Input[str]]: @@ -697,6 +713,7 @@ def __init__(__self__, *, peer_sid_prefix: Optional[pulumi.Input[str]] = None, peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, protection_mode: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, shape: Optional[pulumi.Input[str]] = None, @@ -763,6 +780,7 @@ def __init__(__self__, *, :param pulumi.Input[str] peer_sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param pulumi.Input[str] peer_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster in which to create the standby database. You must supply this value if creationType is `ExistingVmCluster`. :param pulumi.Input[str] private_ip: The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. + :param pulumi.Input[str] private_ip_v6: The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. :param pulumi.Input[str] protection_mode: (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -859,6 +877,8 @@ def __init__(__self__, *, pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) if private_ip is not None: pulumi.set(__self__, "private_ip", private_ip) + if private_ip_v6 is not None: + pulumi.set(__self__, "private_ip_v6", private_ip_v6) if protection_mode is not None: pulumi.set(__self__, "protection_mode", protection_mode) if role is not None: @@ -1325,6 +1345,18 @@ def private_ip(self) -> Optional[pulumi.Input[str]]: def private_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_ip", value) + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> Optional[pulumi.Input[str]]: + """ + The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + + @private_ip_v6.setter + def private_ip_v6(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_ip_v6", value) + @property @pulumi.getter(name="protectionMode") def protection_mode(self) -> Optional[pulumi.Input[str]]: @@ -1483,6 +1515,7 @@ def __init__(__self__, peer_sid_prefix: Optional[pulumi.Input[str]] = None, peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, protection_mode: Optional[pulumi.Input[str]] = None, shape: Optional[pulumi.Input[str]] = None, storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, @@ -1543,6 +1576,7 @@ def __init__(__self__, peer_sid_prefix=data_guard_association_peer_sid_prefix, peer_vm_cluster_id=test_vm_cluster["id"], private_ip=data_guard_association_private_ip, + private_ip_v6=data_guard_association_private_ip_v6, shape=data_guard_association_shape, storage_volume_performance_mode=data_guard_association_storage_volume_performance_mode, subnet_id=test_subnet["id"], @@ -1604,6 +1638,7 @@ def __init__(__self__, :param pulumi.Input[str] peer_sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param pulumi.Input[str] peer_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster in which to create the standby database. You must supply this value if creationType is `ExistingVmCluster`. :param pulumi.Input[str] private_ip: The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. + :param pulumi.Input[str] private_ip_v6: The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. :param pulumi.Input[str] protection_mode: (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -1684,6 +1719,7 @@ def __init__(__self__, peer_sid_prefix=data_guard_association_peer_sid_prefix, peer_vm_cluster_id=test_vm_cluster["id"], private_ip=data_guard_association_private_ip, + private_ip_v6=data_guard_association_private_ip_v6, shape=data_guard_association_shape, storage_volume_performance_mode=data_guard_association_storage_volume_performance_mode, subnet_id=test_subnet["id"], @@ -1739,6 +1775,7 @@ def _internal_init(__self__, peer_sid_prefix: Optional[pulumi.Input[str]] = None, peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, protection_mode: Optional[pulumi.Input[str]] = None, shape: Optional[pulumi.Input[str]] = None, storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, @@ -1792,6 +1829,7 @@ def _internal_init(__self__, __props__.__dict__["peer_sid_prefix"] = peer_sid_prefix __props__.__dict__["peer_vm_cluster_id"] = peer_vm_cluster_id __props__.__dict__["private_ip"] = private_ip + __props__.__dict__["private_ip_v6"] = private_ip_v6 if protection_mode is None and not opts.urn: raise TypeError("Missing required property 'protection_mode'") __props__.__dict__["protection_mode"] = protection_mode @@ -1859,6 +1897,7 @@ def get(resource_name: str, peer_sid_prefix: Optional[pulumi.Input[str]] = None, peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, protection_mode: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, shape: Optional[pulumi.Input[str]] = None, @@ -1930,6 +1969,7 @@ def get(resource_name: str, :param pulumi.Input[str] peer_sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param pulumi.Input[str] peer_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster in which to create the standby database. You must supply this value if creationType is `ExistingVmCluster`. :param pulumi.Input[str] private_ip: The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet. + :param pulumi.Input[str] private_ip_v6: The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. :param pulumi.Input[str] protection_mode: (Updatable) The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) in the Oracle Data Guard documentation. **IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. @@ -1994,6 +2034,7 @@ def get(resource_name: str, __props__.__dict__["peer_sid_prefix"] = peer_sid_prefix __props__.__dict__["peer_vm_cluster_id"] = peer_vm_cluster_id __props__.__dict__["private_ip"] = private_ip + __props__.__dict__["private_ip_v6"] = private_ip_v6 __props__.__dict__["protection_mode"] = protection_mode __props__.__dict__["role"] = role __props__.__dict__["shape"] = shape @@ -2308,6 +2349,14 @@ def private_ip(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "private_ip") + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> pulumi.Output[str]: + """ + The IPv6 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + @property @pulumi.getter(name="protectionMode") def protection_mode(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/database/db_system.py b/sdk/python/pulumi_oci/database/db_system.py index 572efb8df1..5245878e7f 100644 --- a/sdk/python/pulumi_oci/database/db_system.py +++ b/sdk/python/pulumi_oci/database/db_system.py @@ -50,6 +50,7 @@ def __init__(__self__, *, node_count: Optional[pulumi.Input[int]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, source: Optional[pulumi.Input[str]] = None, @@ -127,6 +128,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:** * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. :param pulumi.Input[str] private_ip: 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. Supported for VM BM shape. + :param pulumi.Input[str] private_ip_v6: A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. :param pulumi.Input[int] reco_storage_size_in_gb: The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATABASE` for creating a new database from an existing database, including archive redo log data. The default is `NONE`. @@ -190,6 +192,8 @@ def __init__(__self__, *, pulumi.set(__self__, "nsg_ids", nsg_ids) if private_ip is not None: pulumi.set(__self__, "private_ip", private_ip) + if private_ip_v6 is not None: + pulumi.set(__self__, "private_ip_v6", private_ip_v6) if reco_storage_size_in_gb is not None: pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) if security_attributes is not None: @@ -592,6 +596,18 @@ def private_ip(self) -> Optional[pulumi.Input[str]]: def private_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_ip", value) + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> Optional[pulumi.Input[str]]: + """ + A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + + @private_ip_v6.setter + def private_ip_v6(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_ip_v6", value) + @property @pulumi.getter(name="recoStorageSizeInGb") def reco_storage_size_in_gb(self) -> Optional[pulumi.Input[int]]: @@ -720,10 +736,12 @@ def __init__(__self__, *, os_version: Optional[pulumi.Input[str]] = None, point_in_time_data_disk_clone_timestamp: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, scan_dns_name: Optional[pulumi.Input[str]] = None, scan_dns_record_id: Optional[pulumi.Input[str]] = None, scan_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_ipv6ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, shape: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, @@ -737,6 +755,7 @@ def __init__(__self__, *, time_zone: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, vip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vipv6ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, zone_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering DbSystem resources. @@ -805,10 +824,12 @@ def __init__(__self__, *, :param pulumi.Input[str] os_version: The most recent OS Patch Version applied on the DB system. :param pulumi.Input[str] point_in_time_data_disk_clone_timestamp: The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] private_ip: 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. Supported for VM BM shape. + :param pulumi.Input[str] private_ip_v6: A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. :param pulumi.Input[int] reco_storage_size_in_gb: The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. :param pulumi.Input[str] scan_dns_name: The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. :param pulumi.Input[str] scan_dns_record_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` :param pulumi.Input[str] shape: (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. * For virtual machine shapes, the number of CPU cores and memory @@ -835,7 +856,8 @@ def __init__(__self__, *, ** IMPORTANT ** 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] version: The Oracle Database version of the DB system. - :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] vipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param pulumi.Input[str] zone_id: The OCID of the zone the DB system is associated with. """ if availability_domain is not None: @@ -910,6 +932,8 @@ def __init__(__self__, *, pulumi.set(__self__, "point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) if private_ip is not None: pulumi.set(__self__, "private_ip", private_ip) + if private_ip_v6 is not None: + pulumi.set(__self__, "private_ip_v6", private_ip_v6) if reco_storage_size_in_gb is not None: pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) if scan_dns_name is not None: @@ -918,6 +942,8 @@ def __init__(__self__, *, pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) if scan_ip_ids is not None: pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) + if scan_ipv6ids is not None: + pulumi.set(__self__, "scan_ipv6ids", scan_ipv6ids) if security_attributes is not None: pulumi.set(__self__, "security_attributes", security_attributes) if shape is not None: @@ -944,6 +970,8 @@ def __init__(__self__, *, pulumi.set(__self__, "version", version) if vip_ids is not None: pulumi.set(__self__, "vip_ids", vip_ids) + if vipv6ids is not None: + pulumi.set(__self__, "vipv6ids", vipv6ids) if zone_id is not None: pulumi.set(__self__, "zone_id", zone_id) @@ -1408,6 +1436,18 @@ def private_ip(self) -> Optional[pulumi.Input[str]]: def private_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_ip", value) + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> Optional[pulumi.Input[str]]: + """ + A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + + @private_ip_v6.setter + def private_ip_v6(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_ip_v6", value) + @property @pulumi.getter(name="recoStorageSizeInGb") def reco_storage_size_in_gb(self) -> Optional[pulumi.Input[int]]: @@ -1448,7 +1488,7 @@ def scan_dns_record_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="scanIpIds") def scan_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. """ return pulumi.get(self, "scan_ip_ids") @@ -1456,6 +1496,18 @@ def scan_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def scan_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "scan_ip_ids", value) + @property + @pulumi.getter(name="scanIpv6ids") + def scan_ipv6ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + """ + return pulumi.get(self, "scan_ipv6ids") + + @scan_ipv6ids.setter + def scan_ipv6ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "scan_ipv6ids", value) + @property @pulumi.getter(name="securityAttributes") def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -1618,7 +1670,7 @@ def version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="vipIds") def vip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. """ return pulumi.get(self, "vip_ids") @@ -1626,6 +1678,18 @@ def vip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def vip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "vip_ids", value) + @property + @pulumi.getter + def vipv6ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + """ + return pulumi.get(self, "vipv6ids") + + @vipv6ids.setter + def vipv6ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "vipv6ids", value) + @property @pulumi.getter(name="zoneId") def zone_id(self) -> Optional[pulumi.Input[str]]: @@ -1670,6 +1734,7 @@ def __init__(__self__, node_count: Optional[pulumi.Input[int]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, shape: Optional[pulumi.Input[str]] = None, @@ -1791,6 +1856,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:** * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. :param pulumi.Input[str] private_ip: 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. Supported for VM BM shape. + :param pulumi.Input[str] private_ip_v6: A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. :param pulumi.Input[int] reco_storage_size_in_gb: The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` :param pulumi.Input[str] shape: (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. @@ -1916,6 +1982,7 @@ def _internal_init(__self__, node_count: Optional[pulumi.Input[int]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, shape: Optional[pulumi.Input[str]] = None, @@ -1969,6 +2036,7 @@ def _internal_init(__self__, __props__.__dict__["node_count"] = node_count __props__.__dict__["nsg_ids"] = nsg_ids __props__.__dict__["private_ip"] = private_ip + __props__.__dict__["private_ip_v6"] = private_ip_v6 __props__.__dict__["reco_storage_size_in_gb"] = reco_storage_size_in_gb __props__.__dict__["security_attributes"] = security_attributes if shape is None and not opts.urn: @@ -1998,10 +2066,12 @@ def _internal_init(__self__, __props__.__dict__["scan_dns_name"] = None __props__.__dict__["scan_dns_record_id"] = None __props__.__dict__["scan_ip_ids"] = None + __props__.__dict__["scan_ipv6ids"] = None __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None __props__.__dict__["version"] = None __props__.__dict__["vip_ids"] = None + __props__.__dict__["vipv6ids"] = None __props__.__dict__["zone_id"] = None super(DbSystem, __self__).__init__( 'oci:Database/dbSystem:DbSystem', @@ -2049,10 +2119,12 @@ def get(resource_name: str, os_version: Optional[pulumi.Input[str]] = None, point_in_time_data_disk_clone_timestamp: Optional[pulumi.Input[str]] = None, private_ip: Optional[pulumi.Input[str]] = None, + private_ip_v6: Optional[pulumi.Input[str]] = None, reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, scan_dns_name: Optional[pulumi.Input[str]] = None, scan_dns_record_id: Optional[pulumi.Input[str]] = None, scan_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_ipv6ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, shape: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, @@ -2066,6 +2138,7 @@ def get(resource_name: str, time_zone: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, vip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vipv6ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, zone_id: Optional[pulumi.Input[str]] = None) -> 'DbSystem': """ Get an existing DbSystem resource's state with the given name, id, and optional extra @@ -2139,10 +2212,12 @@ def get(resource_name: str, :param pulumi.Input[str] os_version: The most recent OS Patch Version applied on the DB system. :param pulumi.Input[str] point_in_time_data_disk_clone_timestamp: The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] private_ip: 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. Supported for VM BM shape. + :param pulumi.Input[str] private_ip_v6: A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. :param pulumi.Input[int] reco_storage_size_in_gb: The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. :param pulumi.Input[str] scan_dns_name: The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. :param pulumi.Input[str] scan_dns_record_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scan_ipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` :param pulumi.Input[str] shape: (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system. * For virtual machine shapes, the number of CPU cores and memory @@ -2169,7 +2244,8 @@ def get(resource_name: str, ** IMPORTANT ** 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] version: The Oracle Database version of the DB system. - :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] vipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param pulumi.Input[str] zone_id: The OCID of the zone the DB system is associated with. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -2212,10 +2288,12 @@ def get(resource_name: str, __props__.__dict__["os_version"] = os_version __props__.__dict__["point_in_time_data_disk_clone_timestamp"] = point_in_time_data_disk_clone_timestamp __props__.__dict__["private_ip"] = private_ip + __props__.__dict__["private_ip_v6"] = private_ip_v6 __props__.__dict__["reco_storage_size_in_gb"] = reco_storage_size_in_gb __props__.__dict__["scan_dns_name"] = scan_dns_name __props__.__dict__["scan_dns_record_id"] = scan_dns_record_id __props__.__dict__["scan_ip_ids"] = scan_ip_ids + __props__.__dict__["scan_ipv6ids"] = scan_ipv6ids __props__.__dict__["security_attributes"] = security_attributes __props__.__dict__["shape"] = shape __props__.__dict__["source"] = source @@ -2229,6 +2307,7 @@ def get(resource_name: str, __props__.__dict__["time_zone"] = time_zone __props__.__dict__["version"] = version __props__.__dict__["vip_ids"] = vip_ids + __props__.__dict__["vipv6ids"] = vipv6ids __props__.__dict__["zone_id"] = zone_id return DbSystem(resource_name, opts=opts, __props__=__props__) @@ -2549,6 +2628,14 @@ def private_ip(self) -> pulumi.Output[str]: """ return pulumi.get(self, "private_ip") + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> pulumi.Output[str]: + """ + A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet. + """ + return pulumi.get(self, "private_ip_v6") + @property @pulumi.getter(name="recoStorageSizeInGb") def reco_storage_size_in_gb(self) -> pulumi.Output[int]: @@ -2577,10 +2664,18 @@ def scan_dns_record_id(self) -> pulumi.Output[str]: @pulumi.getter(name="scanIpIds") def scan_ip_ids(self) -> pulumi.Output[Sequence[str]]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. """ return pulumi.get(self, "scan_ip_ids") + @property + @pulumi.getter(name="scanIpv6ids") + def scan_ipv6ids(self) -> pulumi.Output[Sequence[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + """ + return pulumi.get(self, "scan_ipv6ids") + @property @pulumi.getter(name="securityAttributes") def security_attributes(self) -> pulumi.Output[Mapping[str, str]]: @@ -2695,10 +2790,18 @@ def version(self) -> pulumi.Output[str]: @pulumi.getter(name="vipIds") def vip_ids(self) -> pulumi.Output[Sequence[str]]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. """ return pulumi.get(self, "vip_ids") + @property + @pulumi.getter + def vipv6ids(self) -> pulumi.Output[Sequence[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + """ + return pulumi.get(self, "vipv6ids") + @property @pulumi.getter(name="zoneId") def zone_id(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database.py index af3b1ec329..2c31f77cca 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database.py @@ -27,7 +27,10 @@ class GetAutonomousContainerDatabaseResult: """ A collection of values returned by getAutonomousContainerDatabase. """ - def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata_infrastructure_id=None, autonomous_vm_cluster_id=None, availability_domain=None, available_cpus=None, backup_configs=None, cloud_autonomous_vm_cluster_id=None, compartment_id=None, compute_model=None, database_software_image_id=None, db_name=None, db_split_threshold=None, db_unique_name=None, db_version=None, defined_tags=None, display_name=None, distribution_affinity=None, dst_file_version=None, fast_start_fail_over_lag_limit_in_seconds=None, freeform_tags=None, id=None, infrastructure_type=None, is_automatic_failover_enabled=None, is_dst_file_update_enabled=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, key_version_id=None, kms_key_id=None, largest_provisionable_autonomous_database_in_cpus=None, last_maintenance_run_id=None, lifecycle_details=None, list_one_off_patches=None, maintenance_window_details=None, maintenance_windows=None, memory_per_oracle_compute_unit_in_gbs=None, net_services_architecture=None, next_maintenance_run_id=None, patch_id=None, patch_model=None, peer_autonomous_container_database_backup_configs=None, peer_autonomous_container_database_compartment_id=None, peer_autonomous_container_database_display_name=None, peer_autonomous_exadata_infrastructure_id=None, peer_autonomous_vm_cluster_id=None, peer_cloud_autonomous_vm_cluster_id=None, peer_db_unique_name=None, protection_mode=None, provisionable_cpuses=None, provisioned_cpus=None, reclaimable_cpus=None, reserved_cpus=None, role=None, rotate_key_trigger=None, service_level_agreement_type=None, standby_maintenance_buffer_in_days=None, state=None, time_created=None, time_of_last_backup=None, time_snapshot_standby_revert=None, total_cpus=None, vault_id=None, version_preference=None, vm_failover_reservation=None): + def __init__(__self__, associated_backup_configuration_details=None, autonomous_container_database_id=None, autonomous_exadata_infrastructure_id=None, autonomous_vm_cluster_id=None, availability_domain=None, available_cpus=None, backup_configs=None, backup_destination_properties_lists=None, cloud_autonomous_vm_cluster_id=None, compartment_id=None, compute_model=None, database_software_image_id=None, db_name=None, db_split_threshold=None, db_unique_name=None, db_version=None, defined_tags=None, display_name=None, distribution_affinity=None, dst_file_version=None, fast_start_fail_over_lag_limit_in_seconds=None, freeform_tags=None, id=None, infrastructure_type=None, is_automatic_failover_enabled=None, is_dst_file_update_enabled=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, key_version_id=None, kms_key_id=None, largest_provisionable_autonomous_database_in_cpus=None, last_maintenance_run_id=None, lifecycle_details=None, list_one_off_patches=None, maintenance_window_details=None, maintenance_windows=None, memory_per_oracle_compute_unit_in_gbs=None, net_services_architecture=None, next_maintenance_run_id=None, patch_id=None, patch_model=None, peer_autonomous_container_database_backup_configs=None, peer_autonomous_container_database_compartment_id=None, peer_autonomous_container_database_display_name=None, peer_autonomous_exadata_infrastructure_id=None, peer_autonomous_vm_cluster_id=None, peer_cloud_autonomous_vm_cluster_id=None, peer_db_unique_name=None, protection_mode=None, provisionable_cpuses=None, provisioned_cpus=None, reclaimable_cpus=None, recovery_appliance_details=None, reserved_cpus=None, role=None, rotate_key_trigger=None, service_level_agreement_type=None, standby_maintenance_buffer_in_days=None, state=None, time_created=None, time_of_last_backup=None, time_snapshot_standby_revert=None, total_cpus=None, vault_id=None, version_preference=None, vm_failover_reservation=None): + if associated_backup_configuration_details and not isinstance(associated_backup_configuration_details, list): + raise TypeError("Expected argument 'associated_backup_configuration_details' to be a list") + pulumi.set(__self__, "associated_backup_configuration_details", associated_backup_configuration_details) if autonomous_container_database_id and not isinstance(autonomous_container_database_id, str): raise TypeError("Expected argument 'autonomous_container_database_id' to be a str") pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) @@ -46,6 +49,9 @@ def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata if backup_configs and not isinstance(backup_configs, list): raise TypeError("Expected argument 'backup_configs' to be a list") pulumi.set(__self__, "backup_configs", backup_configs) + if backup_destination_properties_lists and not isinstance(backup_destination_properties_lists, list): + raise TypeError("Expected argument 'backup_destination_properties_lists' to be a list") + pulumi.set(__self__, "backup_destination_properties_lists", backup_destination_properties_lists) if cloud_autonomous_vm_cluster_id and not isinstance(cloud_autonomous_vm_cluster_id, str): raise TypeError("Expected argument 'cloud_autonomous_vm_cluster_id' to be a str") pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) @@ -181,6 +187,9 @@ def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata if reclaimable_cpus and not isinstance(reclaimable_cpus, float): raise TypeError("Expected argument 'reclaimable_cpus' to be a float") pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + if recovery_appliance_details and not isinstance(recovery_appliance_details, list): + raise TypeError("Expected argument 'recovery_appliance_details' to be a list") + pulumi.set(__self__, "recovery_appliance_details", recovery_appliance_details) if reserved_cpus and not isinstance(reserved_cpus, float): raise TypeError("Expected argument 'reserved_cpus' to be a float") pulumi.set(__self__, "reserved_cpus", reserved_cpus) @@ -221,6 +230,14 @@ def __init__(__self__, autonomous_container_database_id=None, autonomous_exadata raise TypeError("Expected argument 'vm_failover_reservation' to be a int") pulumi.set(__self__, "vm_failover_reservation", vm_failover_reservation) + @property + @pulumi.getter(name="associatedBackupConfigurationDetails") + def associated_backup_configuration_details(self) -> Sequence['outputs.GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult']: + """ + A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + """ + return pulumi.get(self, "associated_backup_configuration_details") + @property @pulumi.getter(name="autonomousContainerDatabaseId") def autonomous_container_database_id(self) -> str: @@ -266,6 +283,14 @@ def backup_configs(self) -> Sequence['outputs.GetAutonomousContainerDatabaseBack """ return pulumi.get(self, "backup_configs") + @property + @pulumi.getter(name="backupDestinationPropertiesLists") + def backup_destination_properties_lists(self) -> Sequence['outputs.GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult']: + """ + This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + """ + return pulumi.get(self, "backup_destination_properties_lists") + @property @pulumi.getter(name="cloudAutonomousVmClusterId") def cloud_autonomous_vm_cluster_id(self) -> str: @@ -587,6 +612,14 @@ def reclaimable_cpus(self) -> float: """ return pulumi.get(self, "reclaimable_cpus") + @property + @pulumi.getter(name="recoveryApplianceDetails") + def recovery_appliance_details(self) -> Sequence['outputs.GetAutonomousContainerDatabaseRecoveryApplianceDetailResult']: + """ + Information about the recovery appliance configuration associated with the Autonomous Container Database. + """ + return pulumi.get(self, "recovery_appliance_details") + @property @pulumi.getter(name="reservedCpus") def reserved_cpus(self) -> float: @@ -695,12 +728,14 @@ def __await__(self): if False: yield self return GetAutonomousContainerDatabaseResult( + associated_backup_configuration_details=self.associated_backup_configuration_details, autonomous_container_database_id=self.autonomous_container_database_id, autonomous_exadata_infrastructure_id=self.autonomous_exadata_infrastructure_id, autonomous_vm_cluster_id=self.autonomous_vm_cluster_id, availability_domain=self.availability_domain, available_cpus=self.available_cpus, backup_configs=self.backup_configs, + backup_destination_properties_lists=self.backup_destination_properties_lists, cloud_autonomous_vm_cluster_id=self.cloud_autonomous_vm_cluster_id, compartment_id=self.compartment_id, compute_model=self.compute_model, @@ -746,6 +781,7 @@ def __await__(self): provisionable_cpuses=self.provisionable_cpuses, provisioned_cpus=self.provisioned_cpus, reclaimable_cpus=self.reclaimable_cpus, + recovery_appliance_details=self.recovery_appliance_details, reserved_cpus=self.reserved_cpus, role=self.role, rotate_key_trigger=self.rotate_key_trigger, @@ -786,12 +822,14 @@ def get_autonomous_container_database(autonomous_container_database_id: Optional __ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousContainerDatabase:getAutonomousContainerDatabase', __args__, opts=opts, typ=GetAutonomousContainerDatabaseResult).value return AwaitableGetAutonomousContainerDatabaseResult( + associated_backup_configuration_details=pulumi.get(__ret__, 'associated_backup_configuration_details'), autonomous_container_database_id=pulumi.get(__ret__, 'autonomous_container_database_id'), autonomous_exadata_infrastructure_id=pulumi.get(__ret__, 'autonomous_exadata_infrastructure_id'), autonomous_vm_cluster_id=pulumi.get(__ret__, 'autonomous_vm_cluster_id'), availability_domain=pulumi.get(__ret__, 'availability_domain'), available_cpus=pulumi.get(__ret__, 'available_cpus'), backup_configs=pulumi.get(__ret__, 'backup_configs'), + backup_destination_properties_lists=pulumi.get(__ret__, 'backup_destination_properties_lists'), cloud_autonomous_vm_cluster_id=pulumi.get(__ret__, 'cloud_autonomous_vm_cluster_id'), compartment_id=pulumi.get(__ret__, 'compartment_id'), compute_model=pulumi.get(__ret__, 'compute_model'), @@ -837,6 +875,7 @@ def get_autonomous_container_database(autonomous_container_database_id: Optional provisionable_cpuses=pulumi.get(__ret__, 'provisionable_cpuses'), provisioned_cpus=pulumi.get(__ret__, 'provisioned_cpus'), reclaimable_cpus=pulumi.get(__ret__, 'reclaimable_cpus'), + recovery_appliance_details=pulumi.get(__ret__, 'recovery_appliance_details'), reserved_cpus=pulumi.get(__ret__, 'reserved_cpus'), role=pulumi.get(__ret__, 'role'), rotate_key_trigger=pulumi.get(__ret__, 'rotate_key_trigger'), @@ -874,12 +913,14 @@ def get_autonomous_container_database_output(autonomous_container_database_id: O opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('oci:Database/getAutonomousContainerDatabase:getAutonomousContainerDatabase', __args__, opts=opts, typ=GetAutonomousContainerDatabaseResult) return __ret__.apply(lambda __response__: GetAutonomousContainerDatabaseResult( + associated_backup_configuration_details=pulumi.get(__response__, 'associated_backup_configuration_details'), autonomous_container_database_id=pulumi.get(__response__, 'autonomous_container_database_id'), autonomous_exadata_infrastructure_id=pulumi.get(__response__, 'autonomous_exadata_infrastructure_id'), autonomous_vm_cluster_id=pulumi.get(__response__, 'autonomous_vm_cluster_id'), availability_domain=pulumi.get(__response__, 'availability_domain'), available_cpus=pulumi.get(__response__, 'available_cpus'), backup_configs=pulumi.get(__response__, 'backup_configs'), + backup_destination_properties_lists=pulumi.get(__response__, 'backup_destination_properties_lists'), cloud_autonomous_vm_cluster_id=pulumi.get(__response__, 'cloud_autonomous_vm_cluster_id'), compartment_id=pulumi.get(__response__, 'compartment_id'), compute_model=pulumi.get(__response__, 'compute_model'), @@ -925,6 +966,7 @@ def get_autonomous_container_database_output(autonomous_container_database_id: O provisionable_cpuses=pulumi.get(__response__, 'provisionable_cpuses'), provisioned_cpus=pulumi.get(__response__, 'provisioned_cpus'), reclaimable_cpus=pulumi.get(__response__, 'reclaimable_cpus'), + recovery_appliance_details=pulumi.get(__response__, 'recovery_appliance_details'), reserved_cpus=pulumi.get(__response__, 'reserved_cpus'), role=pulumi.get(__response__, 'role'), rotate_key_trigger=pulumi.get(__response__, 'rotate_key_trigger'), diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database.py b/sdk/python/pulumi_oci/database/get_autonomous_database.py index ce4da633b2..4fba47537a 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database.py @@ -27,7 +27,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, 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, encryption_key_history_entries=None, encryption_keys=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_backup_retention_locked=None, is_data_guard_enabled=None, is_dedicated=None, is_dev_tier=None, is_disconnect_peer=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, key_version_id=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_id=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, security_attributes=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_undeleted=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_table_space_lists=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, encryption_key_history_entries=None, encryption_keys=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_backup_retention_locked=None, is_data_guard_enabled=None, is_dedicated=None, is_dev_tier=None, is_disconnect_peer=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, key_version_id=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, maintenance_target_component=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_id=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, security_attributes=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_undeleted=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) @@ -79,6 +79,9 @@ def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password 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 clone_table_space_lists and not isinstance(clone_table_space_lists, list): + raise TypeError("Expected argument 'clone_table_space_lists' to be a list") + pulumi.set(__self__, "clone_table_space_lists", clone_table_space_lists) if clone_type and not isinstance(clone_type, str): raise TypeError("Expected argument 'clone_type' to be a str") pulumi.set(__self__, "clone_type", clone_type) @@ -265,6 +268,9 @@ def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password if long_term_backup_schedules and not isinstance(long_term_backup_schedules, list): raise TypeError("Expected argument 'long_term_backup_schedules' to be a list") pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) + if maintenance_target_component and not isinstance(maintenance_target_component, str): + raise TypeError("Expected argument 'maintenance_target_component' to be a str") + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if max_cpu_core_count and not isinstance(max_cpu_core_count, int): raise TypeError("Expected argument 'max_cpu_core_count' to be a int") pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) @@ -591,6 +597,17 @@ def character_set(self) -> str: """ return pulumi.get(self, "character_set") + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> Sequence[int]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + ======= + AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + >>>>>>> theirs + """ + return pulumi.get(self, "clone_table_space_lists") + @property @pulumi.getter(name="cloneType") def clone_type(self) -> str: @@ -1083,6 +1100,14 @@ def long_term_backup_schedules(self) -> Sequence['outputs.GetAutonomousDatabaseL """ return pulumi.get(self, "long_term_backup_schedules") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter(name="maxCpuCoreCount") def max_cpu_core_count(self) -> int: @@ -1615,6 +1640,7 @@ def __await__(self): backup_retention_period_in_days=self.backup_retention_period_in_days, byol_compute_count_limit=self.byol_compute_count_limit, character_set=self.character_set, + clone_table_space_lists=self.clone_table_space_lists, clone_type=self.clone_type, cluster_placement_group_id=self.cluster_placement_group_id, compartment_id=self.compartment_id, @@ -1677,6 +1703,7 @@ def __await__(self): local_disaster_recovery_type=self.local_disaster_recovery_type, local_standby_dbs=self.local_standby_dbs, long_term_backup_schedules=self.long_term_backup_schedules, + maintenance_target_component=self.maintenance_target_component, max_cpu_core_count=self.max_cpu_core_count, memory_per_oracle_compute_unit_in_gbs=self.memory_per_oracle_compute_unit_in_gbs, ncharacter_set=self.ncharacter_set, @@ -1788,6 +1815,7 @@ def get_autonomous_database(autonomous_database_id: Optional[str] = None, backup_retention_period_in_days=pulumi.get(__ret__, 'backup_retention_period_in_days'), byol_compute_count_limit=pulumi.get(__ret__, 'byol_compute_count_limit'), character_set=pulumi.get(__ret__, 'character_set'), + clone_table_space_lists=pulumi.get(__ret__, 'clone_table_space_lists'), clone_type=pulumi.get(__ret__, 'clone_type'), cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'), compartment_id=pulumi.get(__ret__, 'compartment_id'), @@ -1850,6 +1878,7 @@ def get_autonomous_database(autonomous_database_id: Optional[str] = None, local_disaster_recovery_type=pulumi.get(__ret__, 'local_disaster_recovery_type'), local_standby_dbs=pulumi.get(__ret__, 'local_standby_dbs'), long_term_backup_schedules=pulumi.get(__ret__, 'long_term_backup_schedules'), + maintenance_target_component=pulumi.get(__ret__, 'maintenance_target_component'), max_cpu_core_count=pulumi.get(__ret__, 'max_cpu_core_count'), memory_per_oracle_compute_unit_in_gbs=pulumi.get(__ret__, 'memory_per_oracle_compute_unit_in_gbs'), ncharacter_set=pulumi.get(__ret__, 'ncharacter_set'), @@ -1958,6 +1987,7 @@ def get_autonomous_database_output(autonomous_database_id: Optional[pulumi.Input backup_retention_period_in_days=pulumi.get(__response__, 'backup_retention_period_in_days'), byol_compute_count_limit=pulumi.get(__response__, 'byol_compute_count_limit'), character_set=pulumi.get(__response__, 'character_set'), + clone_table_space_lists=pulumi.get(__response__, 'clone_table_space_lists'), clone_type=pulumi.get(__response__, 'clone_type'), cluster_placement_group_id=pulumi.get(__response__, 'cluster_placement_group_id'), compartment_id=pulumi.get(__response__, 'compartment_id'), @@ -2020,6 +2050,7 @@ def get_autonomous_database_output(autonomous_database_id: Optional[pulumi.Input local_disaster_recovery_type=pulumi.get(__response__, 'local_disaster_recovery_type'), local_standby_dbs=pulumi.get(__response__, 'local_standby_dbs'), long_term_backup_schedules=pulumi.get(__response__, 'long_term_backup_schedules'), + maintenance_target_component=pulumi.get(__response__, 'maintenance_target_component'), max_cpu_core_count=pulumi.get(__response__, 'max_cpu_core_count'), memory_per_oracle_compute_unit_in_gbs=pulumi.get(__response__, 'memory_per_oracle_compute_unit_in_gbs'), ncharacter_set=pulumi.get(__response__, 'ncharacter_set'), diff --git a/sdk/python/pulumi_oci/database/get_autonomous_databases.py b/sdk/python/pulumi_oci/database/get_autonomous_databases.py index b96ef77004..58a0cd1868 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_databases.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_databases.py @@ -239,19 +239,6 @@ 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. @@ -342,19 +329,6 @@ def get_autonomous_databases_output(autonomous_container_database_id: Optional[p state: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = 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. diff --git a/sdk/python/pulumi_oci/database/get_backup_destination.py b/sdk/python/pulumi_oci/database/get_backup_destination.py index 21b8509a43..c2a90ccac0 100644 --- a/sdk/python/pulumi_oci/database/get_backup_destination.py +++ b/sdk/python/pulumi_oci/database/get_backup_destination.py @@ -27,7 +27,7 @@ class GetBackupDestinationResult: """ A collection of values returned by getBackupDestination. """ - def __init__(__self__, associated_databases=None, backup_destination_id=None, compartment_id=None, connection_string=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, local_mount_point_path=None, mount_type_details=None, nfs_mount_type=None, nfs_server_export=None, nfs_servers=None, state=None, time_created=None, type=None, vpc_users=None): + def __init__(__self__, associated_databases=None, backup_destination_id=None, compartment_id=None, connection_string=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, local_mount_point_path=None, mount_type_details=None, nfs_mount_type=None, nfs_server_export=None, nfs_servers=None, state=None, time_at_which_storage_details_are_updated=None, time_created=None, total_storage_size_in_gbs=None, type=None, utilized_storage_size_in_gbs=None, vpc_users=None): if associated_databases and not isinstance(associated_databases, list): raise TypeError("Expected argument 'associated_databases' to be a list") pulumi.set(__self__, "associated_databases", associated_databases) @@ -73,12 +73,21 @@ def __init__(__self__, associated_databases=None, backup_destination_id=None, co if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) + if time_at_which_storage_details_are_updated and not isinstance(time_at_which_storage_details_are_updated, str): + raise TypeError("Expected argument 'time_at_which_storage_details_are_updated' to be a str") + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) 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 total_storage_size_in_gbs and not isinstance(total_storage_size_in_gbs, int): + raise TypeError("Expected argument 'total_storage_size_in_gbs' to be a int") + pulumi.set(__self__, "total_storage_size_in_gbs", total_storage_size_in_gbs) if type and not isinstance(type, str): raise TypeError("Expected argument 'type' to be a str") pulumi.set(__self__, "type", type) + if utilized_storage_size_in_gbs and not isinstance(utilized_storage_size_in_gbs, int): + raise TypeError("Expected argument 'utilized_storage_size_in_gbs' to be a int") + pulumi.set(__self__, "utilized_storage_size_in_gbs", utilized_storage_size_in_gbs) if vpc_users and not isinstance(vpc_users, list): raise TypeError("Expected argument 'vpc_users' to be a list") pulumi.set(__self__, "vpc_users", vpc_users) @@ -198,6 +207,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The time when the total storage size and the utilized storage size of the backup destination are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -206,6 +223,14 @@ def time_created(self) -> str: """ return pulumi.get(self, "time_created") + @property + @pulumi.getter(name="totalStorageSizeInGbs") + def total_storage_size_in_gbs(self) -> int: + """ + The total storage size of the backup destination in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "total_storage_size_in_gbs") + @property @pulumi.getter def type(self) -> str: @@ -214,6 +239,14 @@ def type(self) -> str: """ return pulumi.get(self, "type") + @property + @pulumi.getter(name="utilizedStorageSizeInGbs") + def utilized_storage_size_in_gbs(self) -> int: + """ + The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + """ + return pulumi.get(self, "utilized_storage_size_in_gbs") + @property @pulumi.getter(name="vpcUsers") def vpc_users(self) -> Sequence[str]: @@ -244,8 +277,11 @@ def __await__(self): nfs_server_export=self.nfs_server_export, nfs_servers=self.nfs_servers, state=self.state, + time_at_which_storage_details_are_updated=self.time_at_which_storage_details_are_updated, time_created=self.time_created, + total_storage_size_in_gbs=self.total_storage_size_in_gbs, type=self.type, + utilized_storage_size_in_gbs=self.utilized_storage_size_in_gbs, vpc_users=self.vpc_users) @@ -289,8 +325,11 @@ def get_backup_destination(backup_destination_id: Optional[str] = None, nfs_server_export=pulumi.get(__ret__, 'nfs_server_export'), nfs_servers=pulumi.get(__ret__, 'nfs_servers'), state=pulumi.get(__ret__, 'state'), + time_at_which_storage_details_are_updated=pulumi.get(__ret__, 'time_at_which_storage_details_are_updated'), time_created=pulumi.get(__ret__, 'time_created'), + total_storage_size_in_gbs=pulumi.get(__ret__, 'total_storage_size_in_gbs'), type=pulumi.get(__ret__, 'type'), + utilized_storage_size_in_gbs=pulumi.get(__ret__, 'utilized_storage_size_in_gbs'), vpc_users=pulumi.get(__ret__, 'vpc_users')) def get_backup_destination_output(backup_destination_id: Optional[pulumi.Input[str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBackupDestinationResult]: @@ -331,6 +370,9 @@ def get_backup_destination_output(backup_destination_id: Optional[pulumi.Input[s nfs_server_export=pulumi.get(__response__, 'nfs_server_export'), nfs_servers=pulumi.get(__response__, 'nfs_servers'), state=pulumi.get(__response__, 'state'), + time_at_which_storage_details_are_updated=pulumi.get(__response__, 'time_at_which_storage_details_are_updated'), time_created=pulumi.get(__response__, 'time_created'), + total_storage_size_in_gbs=pulumi.get(__response__, 'total_storage_size_in_gbs'), type=pulumi.get(__response__, 'type'), + utilized_storage_size_in_gbs=pulumi.get(__response__, 'utilized_storage_size_in_gbs'), vpc_users=pulumi.get(__response__, 'vpc_users'))) 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 762db46c58..5bc2707bfd 100644 --- a/sdk/python/pulumi_oci/database/get_data_guard_association.py +++ b/sdk/python/pulumi_oci/database/get_data_guard_association.py @@ -27,7 +27,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, db_system_security_attributes=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, migrate_trigger=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, db_system_security_attributes=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, migrate_trigger=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, private_ip_v6=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) @@ -142,6 +142,9 @@ def __init__(__self__, apply_lag=None, apply_rate=None, availability_domain=None 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 private_ip_v6 and not isinstance(private_ip_v6, str): + raise TypeError("Expected argument 'private_ip_v6' to be a str") + pulumi.set(__self__, "private_ip_v6", private_ip_v6) if protection_mode and not isinstance(protection_mode, str): raise TypeError("Expected argument 'protection_mode' to be a str") pulumi.set(__self__, "protection_mode", protection_mode) @@ -393,6 +396,11 @@ def peer_vm_cluster_id(self) -> str: def private_ip(self) -> str: return pulumi.get(self, "private_ip") + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> str: + return pulumi.get(self, "private_ip_v6") + @property @pulumi.getter(name="protectionMode") def protection_mode(self) -> str: @@ -498,6 +506,7 @@ def __await__(self): peer_sid_prefix=self.peer_sid_prefix, peer_vm_cluster_id=self.peer_vm_cluster_id, private_ip=self.private_ip, + private_ip_v6=self.private_ip_v6, protection_mode=self.protection_mode, role=self.role, shape=self.shape, @@ -576,6 +585,7 @@ def get_data_guard_association(data_guard_association_id: Optional[str] = None, peer_sid_prefix=pulumi.get(__ret__, 'peer_sid_prefix'), peer_vm_cluster_id=pulumi.get(__ret__, 'peer_vm_cluster_id'), private_ip=pulumi.get(__ret__, 'private_ip'), + private_ip_v6=pulumi.get(__ret__, 'private_ip_v6'), protection_mode=pulumi.get(__ret__, 'protection_mode'), role=pulumi.get(__ret__, 'role'), shape=pulumi.get(__ret__, 'shape'), @@ -651,6 +661,7 @@ def get_data_guard_association_output(data_guard_association_id: Optional[pulumi peer_sid_prefix=pulumi.get(__response__, 'peer_sid_prefix'), peer_vm_cluster_id=pulumi.get(__response__, 'peer_vm_cluster_id'), private_ip=pulumi.get(__response__, 'private_ip'), + private_ip_v6=pulumi.get(__response__, 'private_ip_v6'), protection_mode=pulumi.get(__response__, 'protection_mode'), role=pulumi.get(__response__, 'role'), shape=pulumi.get(__response__, 'shape'), diff --git a/sdk/python/pulumi_oci/database/get_maintenance_runs.py b/sdk/python/pulumi_oci/database/get_maintenance_runs.py index f7d3db337d..728bf0f5ce 100644 --- a/sdk/python/pulumi_oci/database/get_maintenance_runs.py +++ b/sdk/python/pulumi_oci/database/get_maintenance_runs.py @@ -28,7 +28,7 @@ class GetMaintenanceRunsResult: """ A collection of values returned by getMaintenanceRuns. """ - def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, maintenance_runs=None, maintenance_subtype=None, maintenance_type=None, state=None, target_resource_id=None, target_resource_type=None): + def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, is_local_adg=None, maintenance_runs=None, maintenance_subtype=None, maintenance_type=None, state=None, target_resource_id=None, target_resource_type=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) @@ -41,6 +41,9 @@ def __init__(__self__, availability_domain=None, compartment_id=None, filters=No if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if is_local_adg and not isinstance(is_local_adg, bool): + raise TypeError("Expected argument 'is_local_adg' to be a bool") + pulumi.set(__self__, "is_local_adg", is_local_adg) if maintenance_runs and not isinstance(maintenance_runs, list): raise TypeError("Expected argument 'maintenance_runs' to be a list") pulumi.set(__self__, "maintenance_runs", maintenance_runs) @@ -86,6 +89,11 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isLocalAdg") + def is_local_adg(self) -> Optional[bool]: + return pulumi.get(self, "is_local_adg") + @property @pulumi.getter(name="maintenanceRuns") def maintenance_runs(self) -> Sequence['outputs.GetMaintenanceRunsMaintenanceRunResult']: @@ -145,6 +153,7 @@ def __await__(self): compartment_id=self.compartment_id, filters=self.filters, id=self.id, + is_local_adg=self.is_local_adg, maintenance_runs=self.maintenance_runs, maintenance_subtype=self.maintenance_subtype, maintenance_type=self.maintenance_type, @@ -156,6 +165,7 @@ def __await__(self): def get_maintenance_runs(availability_domain: Optional[str] = None, compartment_id: Optional[str] = None, filters: Optional[Sequence[Union['GetMaintenanceRunsFilterArgs', 'GetMaintenanceRunsFilterArgsDict']]] = None, + is_local_adg: Optional[bool] = None, maintenance_subtype: Optional[str] = None, maintenance_type: Optional[str] = None, state: Optional[str] = None, @@ -175,6 +185,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None, test_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id, availability_domain=maintenance_run_availability_domain, + is_local_adg=maintenance_run_is_local_adg, maintenance_subtype=maintenance_run_maintenance_subtype, maintenance_type=maintenance_run_maintenance_type, state=maintenance_run_state, @@ -185,6 +196,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None, :param str availability_domain: A filter to return only resources that match the given availability domain exactly. :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param bool is_local_adg: A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. :param str maintenance_subtype: The sub-type of the maintenance run. :param str maintenance_type: The maintenance type. :param str state: A filter to return only resources that match the given lifecycle state exactly. @@ -195,6 +207,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None, __args__['availabilityDomain'] = availability_domain __args__['compartmentId'] = compartment_id __args__['filters'] = filters + __args__['isLocalAdg'] = is_local_adg __args__['maintenanceSubtype'] = maintenance_subtype __args__['maintenanceType'] = maintenance_type __args__['state'] = state @@ -208,6 +221,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None, compartment_id=pulumi.get(__ret__, 'compartment_id'), filters=pulumi.get(__ret__, 'filters'), id=pulumi.get(__ret__, 'id'), + is_local_adg=pulumi.get(__ret__, 'is_local_adg'), maintenance_runs=pulumi.get(__ret__, 'maintenance_runs'), maintenance_subtype=pulumi.get(__ret__, 'maintenance_subtype'), maintenance_type=pulumi.get(__ret__, 'maintenance_type'), @@ -217,6 +231,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None, def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None, compartment_id: Optional[pulumi.Input[str]] = None, filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMaintenanceRunsFilterArgs', 'GetMaintenanceRunsFilterArgsDict']]]]] = None, + is_local_adg: Optional[pulumi.Input[Optional[bool]]] = None, maintenance_subtype: Optional[pulumi.Input[Optional[str]]] = None, maintenance_type: Optional[pulumi.Input[Optional[str]]] = None, state: Optional[pulumi.Input[Optional[str]]] = None, @@ -236,6 +251,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio test_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id, availability_domain=maintenance_run_availability_domain, + is_local_adg=maintenance_run_is_local_adg, maintenance_subtype=maintenance_run_maintenance_subtype, maintenance_type=maintenance_run_maintenance_type, state=maintenance_run_state, @@ -246,6 +262,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio :param str availability_domain: A filter to return only resources that match the given availability domain exactly. :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param bool is_local_adg: A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. :param str maintenance_subtype: The sub-type of the maintenance run. :param str maintenance_type: The maintenance type. :param str state: A filter to return only resources that match the given lifecycle state exactly. @@ -256,6 +273,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio __args__['availabilityDomain'] = availability_domain __args__['compartmentId'] = compartment_id __args__['filters'] = filters + __args__['isLocalAdg'] = is_local_adg __args__['maintenanceSubtype'] = maintenance_subtype __args__['maintenanceType'] = maintenance_type __args__['state'] = state @@ -268,6 +286,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio compartment_id=pulumi.get(__response__, 'compartment_id'), filters=pulumi.get(__response__, 'filters'), id=pulumi.get(__response__, 'id'), + is_local_adg=pulumi.get(__response__, 'is_local_adg'), maintenance_runs=pulumi.get(__response__, 'maintenance_runs'), maintenance_subtype=pulumi.get(__response__, 'maintenance_subtype'), maintenance_type=pulumi.get(__response__, 'maintenance_type'), diff --git a/sdk/python/pulumi_oci/database/outputs.py b/sdk/python/pulumi_oci/database/outputs.py index 9bf5e4f4f5..f58bd2a068 100644 --- a/sdk/python/pulumi_oci/database/outputs.py +++ b/sdk/python/pulumi_oci/database/outputs.py @@ -16,8 +16,10 @@ from . import outputs __all__ = [ + 'AutonomousContainerDatabaseAssociatedBackupConfigurationDetail', 'AutonomousContainerDatabaseBackupConfig', 'AutonomousContainerDatabaseBackupConfigBackupDestinationDetails', + 'AutonomousContainerDatabaseBackupDestinationPropertiesList', 'AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig', 'AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail', 'AutonomousContainerDatabaseKeyHistoryEntry', @@ -29,6 +31,7 @@ 'AutonomousContainerDatabaseMaintenanceWindowMonth', 'AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig', 'AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail', + 'AutonomousContainerDatabaseRecoveryApplianceDetail', 'AutonomousDatabaseApexDetail', 'AutonomousDatabaseBackupBackupDestinationDetails', 'AutonomousDatabaseBackupConfig', @@ -210,8 +213,10 @@ 'GetApplicationVipsFilterResult', 'GetAutonomousCharacterSetsAutonomousDatabaseCharacterSetResult', 'GetAutonomousCharacterSetsFilterResult', + 'GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult', 'GetAutonomousContainerDatabaseBackupConfigResult', 'GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult', + 'GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult', 'GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigResult', 'GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult', 'GetAutonomousContainerDatabaseDataguardAssociationsAutonomousContainerDatabaseDataguardAssociationResult', @@ -227,13 +232,16 @@ 'GetAutonomousContainerDatabaseMaintenanceWindowMonthResult', 'GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult', 'GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult', + 'GetAutonomousContainerDatabaseRecoveryApplianceDetailResult', 'GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageResult', 'GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionResult', 'GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedAppResult', 'GetAutonomousContainerDatabaseVersionsFilterResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult', + 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult', + 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDaysOfWeekResult', @@ -243,6 +251,7 @@ 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowMonthResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult', 'GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult', + 'GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult', 'GetAutonomousContainerDatabasesFilterResult', 'GetAutonomousContainerPatchesAutonomousPatchResult', 'GetAutonomousContainerPatchesFilterResult', @@ -712,6 +721,164 @@ 'GetVmClustersVmClusterFileSystemConfigurationDetailResult', ] +@pulumi.output_type +class AutonomousContainerDatabaseAssociatedBackupConfigurationDetail(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupDestinationAttachHistories": + suggest = "backup_destination_attach_histories" + elif key == "dbrsPolicyId": + suggest = "dbrs_policy_id" + elif key == "internetProxy": + suggest = "internet_proxy" + elif key == "recoveryWindowInDays": + suggest = "recovery_window_in_days" + elif key == "spaceUtilizedInGbs": + suggest = "space_utilized_in_gbs" + elif key == "timeAtWhichStorageDetailsAreUpdated": + suggest = "time_at_which_storage_details_are_updated" + elif key == "vpcPassword": + suggest = "vpc_password" + elif key == "vpcUser": + suggest = "vpc_user" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutonomousContainerDatabaseAssociatedBackupConfigurationDetail. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutonomousContainerDatabaseAssociatedBackupConfigurationDetail.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_destination_attach_histories: Optional[Sequence[str]] = None, + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + internet_proxy: Optional[str] = None, + recovery_window_in_days: Optional[int] = None, + space_utilized_in_gbs: Optional[int] = None, + time_at_which_storage_details_are_updated: Optional[str] = None, + type: Optional[str] = None, + vpc_password: Optional[str] = None, + vpc_user: Optional[str] = None): + """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param str dbrs_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + :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 str internet_proxy: Proxy URL to connect to object store. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + :param str type: Type of the database backup destination. + :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + if backup_destination_attach_histories is not None: + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + if dbrs_policy_id is not None: + pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + if id is not None: + pulumi.set(__self__, "id", id) + if internet_proxy is not None: + pulumi.set(__self__, "internet_proxy", internet_proxy) + if recovery_window_in_days is not None: + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + if space_utilized_in_gbs is not None: + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + if time_at_which_storage_details_are_updated is not None: + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + if type is not None: + pulumi.set(__self__, "type", type) + if vpc_password is not None: + pulumi.set(__self__, "vpc_password", vpc_password) + if vpc_user is not None: + pulumi.set(__self__, "vpc_user", vpc_user) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Optional[Sequence[str]]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="dbrsPolicyId") + def dbrs_policy_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + """ + return pulumi.get(self, "dbrs_policy_id") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="internetProxy") + def internet_proxy(self) -> Optional[str]: + """ + Proxy URL to connect to object store. + """ + return pulumi.get(self, "internet_proxy") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> Optional[int]: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> Optional[int]: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> Optional[str]: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Type of the database backup destination. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vpcPassword") + def vpc_password(self) -> Optional[str]: + """ + For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_password") + + @property + @pulumi.getter(name="vpcUser") + def vpc_user(self) -> Optional[str]: + """ + For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_user") + + @pulumi.output_type class AutonomousContainerDatabaseBackupConfig(dict): @staticmethod @@ -849,6 +1016,70 @@ def vpc_user(self) -> Optional[str]: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class AutonomousContainerDatabaseBackupDestinationPropertiesList(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupDestinationAttachHistories": + suggest = "backup_destination_attach_histories" + elif key == "spaceUtilizedInGbs": + suggest = "space_utilized_in_gbs" + elif key == "timeAtWhichStorageDetailsAreUpdated": + suggest = "time_at_which_storage_details_are_updated" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutonomousContainerDatabaseBackupDestinationPropertiesList. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutonomousContainerDatabaseBackupDestinationPropertiesList.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutonomousContainerDatabaseBackupDestinationPropertiesList.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_destination_attach_histories: Optional[Sequence[str]] = None, + space_utilized_in_gbs: Optional[int] = None, + time_at_which_storage_details_are_updated: Optional[str] = None): + """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + if backup_destination_attach_histories is not None: + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + if space_utilized_in_gbs is not None: + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + if time_at_which_storage_details_are_updated is not None: + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Optional[Sequence[str]]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> Optional[int]: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> Optional[str]: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @pulumi.output_type class AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig(dict): @staticmethod @@ -1639,6 +1870,72 @@ def vpc_user(self) -> Optional[str]: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class AutonomousContainerDatabaseRecoveryApplianceDetail(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allocatedStorageSizeInGbs": + suggest = "allocated_storage_size_in_gbs" + elif key == "recoveryWindowInDays": + suggest = "recovery_window_in_days" + elif key == "timeRecoveryApplianceDetailsUpdated": + suggest = "time_recovery_appliance_details_updated" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutonomousContainerDatabaseRecoveryApplianceDetail. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutonomousContainerDatabaseRecoveryApplianceDetail.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutonomousContainerDatabaseRecoveryApplianceDetail.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allocated_storage_size_in_gbs: Optional[int] = None, + recovery_window_in_days: Optional[int] = None, + time_recovery_appliance_details_updated: Optional[str] = None): + """ + :param int allocated_storage_size_in_gbs: The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param str time_recovery_appliance_details_updated: The time when the recovery appliance details are updated. + ======= + """ + if allocated_storage_size_in_gbs is not None: + pulumi.set(__self__, "allocated_storage_size_in_gbs", allocated_storage_size_in_gbs) + if recovery_window_in_days is not None: + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + if time_recovery_appliance_details_updated is not None: + pulumi.set(__self__, "time_recovery_appliance_details_updated", time_recovery_appliance_details_updated) + + @property + @pulumi.getter(name="allocatedStorageSizeInGbs") + def allocated_storage_size_in_gbs(self) -> Optional[int]: + """ + The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "allocated_storage_size_in_gbs") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> Optional[int]: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="timeRecoveryApplianceDetailsUpdated") + def time_recovery_appliance_details_updated(self) -> Optional[str]: + """ + The time when the recovery appliance details are updated. + ======= + """ + return pulumi.get(self, "time_recovery_appliance_details_updated") + + @pulumi.output_type class AutonomousDatabaseApexDetail(dict): @staticmethod @@ -2867,10 +3164,16 @@ def __key_warning(key: str): suggest = "lag_time_in_seconds" elif key == "lifecycleDetails": suggest = "lifecycle_details" + elif key == "maintenanceTargetComponent": + suggest = "maintenance_target_component" elif key == "timeDataGuardRoleChanged": suggest = "time_data_guard_role_changed" elif key == "timeDisasterRecoveryRoleChanged": suggest = "time_disaster_recovery_role_changed" + elif key == "timeMaintenanceBegin": + suggest = "time_maintenance_begin" + elif key == "timeMaintenanceEnd": + suggest = "time_maintenance_end" if suggest: pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseLocalStandbyDb. Access the value via the '{suggest}' property getter instead.") @@ -2887,16 +3190,22 @@ def __init__(__self__, *, availability_domain: Optional[str] = None, lag_time_in_seconds: Optional[int] = None, lifecycle_details: Optional[str] = None, + maintenance_target_component: Optional[str] = None, state: Optional[str] = None, time_data_guard_role_changed: Optional[str] = None, - time_disaster_recovery_role_changed: Optional[str] = None): + time_disaster_recovery_role_changed: Optional[str] = None, + time_maintenance_begin: Optional[str] = None, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ if availability_domain is not None: pulumi.set(__self__, "availability_domain", availability_domain) @@ -2904,12 +3213,18 @@ def __init__(__self__, *, pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if maintenance_target_component is not None: + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if state is not None: pulumi.set(__self__, "state", state) if time_data_guard_role_changed is not None: pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + if time_maintenance_begin is not None: + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + if time_maintenance_end is not None: + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -2935,6 +3250,14 @@ def lifecycle_details(self) -> Optional[str]: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> Optional[str]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> Optional[str]: @@ -2959,6 +3282,22 @@ def time_disaster_recovery_role_changed(self) -> Optional[str]: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> Optional[str]: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> Optional[str]: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class AutonomousDatabaseLongTermBackupSchedule(dict): @@ -3392,10 +3731,16 @@ def __key_warning(key: str): suggest = "lag_time_in_seconds" elif key == "lifecycleDetails": suggest = "lifecycle_details" + elif key == "maintenanceTargetComponent": + suggest = "maintenance_target_component" elif key == "timeDataGuardRoleChanged": suggest = "time_data_guard_role_changed" elif key == "timeDisasterRecoveryRoleChanged": suggest = "time_disaster_recovery_role_changed" + elif key == "timeMaintenanceBegin": + suggest = "time_maintenance_begin" + elif key == "timeMaintenanceEnd": + suggest = "time_maintenance_end" if suggest: pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseStandbyDb. Access the value via the '{suggest}' property getter instead.") @@ -3412,16 +3757,22 @@ def __init__(__self__, *, availability_domain: Optional[str] = None, lag_time_in_seconds: Optional[int] = None, lifecycle_details: Optional[str] = None, + maintenance_target_component: Optional[str] = None, state: Optional[str] = None, time_data_guard_role_changed: Optional[str] = None, - time_disaster_recovery_role_changed: Optional[str] = None): + time_disaster_recovery_role_changed: Optional[str] = None, + time_maintenance_begin: Optional[str] = None, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ if availability_domain is not None: pulumi.set(__self__, "availability_domain", availability_domain) @@ -3429,12 +3780,18 @@ def __init__(__self__, *, pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if maintenance_target_component is not None: + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) if state is not None: pulumi.set(__self__, "state", state) if time_data_guard_role_changed is not None: pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + if time_maintenance_begin is not None: + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + if time_maintenance_end is not None: + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -3460,6 +3817,14 @@ def lifecycle_details(self) -> Optional[str]: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> Optional[str]: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> Optional[str]: @@ -3484,6 +3849,22 @@ def time_disaster_recovery_role_changed(self) -> Optional[str]: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> Optional[str]: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> Optional[str]: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class AutonomousExadataInfrastructureMaintenanceWindow(dict): @@ -15089,55 +15470,57 @@ def regex(self) -> Optional[bool]: @pulumi.output_type -class GetAutonomousContainerDatabaseBackupConfigResult(dict): - def __init__(__self__, *, - backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], - recovery_window_in_days: int): - """ - :param Sequence['GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. - :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. - """ - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - - @property - @pulumi.getter(name="backupDestinationDetails") - def backup_destination_details(self) -> Sequence['outputs.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult']: - """ - Backup destination details. - """ - return pulumi.get(self, "backup_destination_details") - - @property - @pulumi.getter(name="recoveryWindowInDays") - def recovery_window_in_days(self) -> int: - """ - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. - """ - return pulumi.get(self, "recovery_window_in_days") - - -@pulumi.output_type -class GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult(dict): +class GetAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult(dict): def __init__(__self__, *, + backup_destination_attach_histories: Sequence[str], + dbrs_policy_id: str, id: str, internet_proxy: str, + recovery_window_in_days: int, + space_utilized_in_gbs: int, + time_at_which_storage_details_are_updated: str, type: str, vpc_password: str, vpc_user: str): """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param str dbrs_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. :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 str internet_proxy: Proxy URL to connect to object store. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. :param str type: Type of the database backup destination. :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) pulumi.set(__self__, "id", id) pulumi.set(__self__, "internet_proxy", internet_proxy) + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) pulumi.set(__self__, "type", type) pulumi.set(__self__, "vpc_password", vpc_password) pulumi.set(__self__, "vpc_user", vpc_user) + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Sequence[str]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="dbrsPolicyId") + def dbrs_policy_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + """ + return pulumi.get(self, "dbrs_policy_id") + @property @pulumi.getter def id(self) -> str: @@ -15154,6 +15537,30 @@ def internet_proxy(self) -> str: """ return pulumi.get(self, "internet_proxy") + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> int: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> int: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + @property @pulumi.getter def type(self) -> str: @@ -15179,6 +15586,137 @@ def vpc_user(self) -> str: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class GetAutonomousContainerDatabaseBackupConfigResult(dict): + def __init__(__self__, *, + backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int): + """ + :param Sequence['GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + pulumi.set(__self__, "backup_destination_details", backup_destination_details) + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + + @property + @pulumi.getter(name="backupDestinationDetails") + def backup_destination_details(self) -> Sequence['outputs.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult']: + """ + Backup destination details. + """ + return pulumi.get(self, "backup_destination_details") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> int: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + +@pulumi.output_type +class GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult(dict): + def __init__(__self__, *, + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str): + """ + :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 str internet_proxy: Proxy URL to connect to object store. + :param str type: Type of the database backup destination. + :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "internet_proxy", internet_proxy) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "vpc_password", vpc_password) + pulumi.set(__self__, "vpc_user", vpc_user) + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="internetProxy") + def internet_proxy(self) -> str: + """ + Proxy URL to connect to object store. + """ + return pulumi.get(self, "internet_proxy") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the database backup destination. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vpcPassword") + def vpc_password(self) -> str: + """ + For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_password") + + @property + @pulumi.getter(name="vpcUser") + def vpc_user(self) -> str: + """ + For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_user") + + +@pulumi.output_type +class GetAutonomousContainerDatabaseBackupDestinationPropertiesListResult(dict): + def __init__(__self__, *, + backup_destination_attach_histories: Sequence[str], + space_utilized_in_gbs: int, + time_at_which_storage_details_are_updated: str): + """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Sequence[str]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> int: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @pulumi.output_type class GetAutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigResult(dict): def __init__(__self__, *, @@ -16001,7 +16539,7 @@ def __init__(__self__, *, recovery_window_in_days: int): """ :param Sequence['GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. - :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. """ pulumi.set(__self__, "backup_destination_details", backup_destination_details) pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) @@ -16018,7 +16556,7 @@ def backup_destination_details(self) -> Sequence['outputs.GetAutonomousContainer @pulumi.getter(name="recoveryWindowInDays") def recovery_window_in_days(self) -> int: """ - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + Number of days between the current and earliest point of recoverability covered by automatic backups. """ return pulumi.get(self, "recovery_window_in_days") @@ -16085,6 +16623,46 @@ def vpc_user(self) -> str: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class GetAutonomousContainerDatabaseRecoveryApplianceDetailResult(dict): + def __init__(__self__, *, + allocated_storage_size_in_gbs: int, + recovery_window_in_days: int, + time_recovery_appliance_details_updated: str): + """ + :param int allocated_storage_size_in_gbs: The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param str time_recovery_appliance_details_updated: The time when the recovery appliance details are updated. + """ + pulumi.set(__self__, "allocated_storage_size_in_gbs", allocated_storage_size_in_gbs) + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + pulumi.set(__self__, "time_recovery_appliance_details_updated", time_recovery_appliance_details_updated) + + @property + @pulumi.getter(name="allocatedStorageSizeInGbs") + def allocated_storage_size_in_gbs(self) -> int: + """ + The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "allocated_storage_size_in_gbs") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> int: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="timeRecoveryApplianceDetailsUpdated") + def time_recovery_appliance_details_updated(self) -> str: + """ + The time when the recovery appliance details are updated. + """ + return pulumi.get(self, "time_recovery_appliance_details_updated") + + @pulumi.output_type class GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageResult(dict): def __init__(__self__, *, @@ -16279,11 +16857,13 @@ def regex(self) -> Optional[bool]: @pulumi.output_type class GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult(dict): def __init__(__self__, *, + associated_backup_configuration_details: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult'], autonomous_exadata_infrastructure_id: str, autonomous_vm_cluster_id: str, availability_domain: str, available_cpus: float, backup_configs: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult'], + backup_destination_properties_lists: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult'], cloud_autonomous_vm_cluster_id: str, compartment_id: str, compute_model: str, @@ -16329,6 +16909,7 @@ def __init__(__self__, *, provisionable_cpuses: Sequence[float], provisioned_cpus: float, reclaimable_cpus: float, + recovery_appliance_details: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult'], reserved_cpus: float, role: str, rotate_key_trigger: bool, @@ -16343,11 +16924,13 @@ def __init__(__self__, *, version_preference: str, vm_failover_reservation: int): """ + :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailArgs'] associated_backup_configuration_details: A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. :param str autonomous_exadata_infrastructure_id: The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str autonomous_vm_cluster_id: The Autonomous VM Cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str availability_domain: A filter to return only resources that match the given availability domain exactly. :param float available_cpus: Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigArgs'] backup_configs: Backup options for the Autonomous Container Database. + :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListArgs'] backup_destination_properties_lists: This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. :param str cloud_autonomous_vm_cluster_id: The cloud Autonomous VM Cluster [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 compute_model: The compute model of the Autonomous Container Database. For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. ECPU compute model is the recommended model and OCPU compute model is legacy. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -16379,6 +16962,7 @@ def __init__(__self__, *, :param Sequence[float] provisionable_cpuses: An array of CPU values that can be used to successfully provision a single Autonomous Database. :param float provisioned_cpus: The number of CPUs provisioned in an Autonomous Container Database. :param float reclaimable_cpus: CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. + :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailArgs'] recovery_appliance_details: Information about the recovery appliance configuration associated with the Autonomous Container Database. :param float reserved_cpus: The number of CPUs reserved in an Autonomous Container Database. :param str role: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. :param str service_level_agreement_type: A filter to return only resources that match the given service level agreement type exactly. @@ -16392,11 +16976,13 @@ def __init__(__self__, *, :param str version_preference: The next maintenance version preference. :param int vm_failover_reservation: The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, 25%, and 50%, with 50% being the default option. """ + pulumi.set(__self__, "associated_backup_configuration_details", associated_backup_configuration_details) pulumi.set(__self__, "autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) pulumi.set(__self__, "availability_domain", availability_domain) pulumi.set(__self__, "available_cpus", available_cpus) pulumi.set(__self__, "backup_configs", backup_configs) + pulumi.set(__self__, "backup_destination_properties_lists", backup_destination_properties_lists) pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) pulumi.set(__self__, "compartment_id", compartment_id) pulumi.set(__self__, "compute_model", compute_model) @@ -16442,6 +17028,7 @@ def __init__(__self__, *, pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + pulumi.set(__self__, "recovery_appliance_details", recovery_appliance_details) pulumi.set(__self__, "reserved_cpus", reserved_cpus) pulumi.set(__self__, "role", role) pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) @@ -16456,6 +17043,14 @@ def __init__(__self__, *, pulumi.set(__self__, "version_preference", version_preference) pulumi.set(__self__, "vm_failover_reservation", vm_failover_reservation) + @property + @pulumi.getter(name="associatedBackupConfigurationDetails") + def associated_backup_configuration_details(self) -> Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult']: + """ + A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups. + """ + return pulumi.get(self, "associated_backup_configuration_details") + @property @pulumi.getter(name="autonomousExadataInfrastructureId") def autonomous_exadata_infrastructure_id(self) -> str: @@ -16496,6 +17091,14 @@ def backup_configs(self) -> Sequence['outputs.GetAutonomousContainerDatabasesAut """ return pulumi.get(self, "backup_configs") + @property + @pulumi.getter(name="backupDestinationPropertiesLists") + def backup_destination_properties_lists(self) -> Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult']: + """ + This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration. + """ + return pulumi.get(self, "backup_destination_properties_lists") + @property @pulumi.getter(name="cloudAutonomousVmClusterId") def cloud_autonomous_vm_cluster_id(self) -> str: @@ -16814,6 +17417,14 @@ def reclaimable_cpus(self) -> float: """ return pulumi.get(self, "reclaimable_cpus") + @property + @pulumi.getter(name="recoveryApplianceDetails") + def recovery_appliance_details(self) -> Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult']: + """ + Information about the recovery appliance configuration associated with the Autonomous Container Database. + """ + return pulumi.get(self, "recovery_appliance_details") + @property @pulumi.getter(name="reservedCpus") def reserved_cpus(self) -> float: @@ -16916,6 +17527,123 @@ def vm_failover_reservation(self) -> int: return pulumi.get(self, "vm_failover_reservation") +@pulumi.output_type +class GetAutonomousContainerDatabasesAutonomousContainerDatabaseAssociatedBackupConfigurationDetailResult(dict): + def __init__(__self__, *, + backup_destination_attach_histories: Sequence[str], + dbrs_policy_id: str, + id: str, + internet_proxy: str, + recovery_window_in_days: int, + space_utilized_in_gbs: int, + time_at_which_storage_details_are_updated: str, + type: str, + vpc_password: str, + vpc_user: str): + """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param str dbrs_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + :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 str internet_proxy: Proxy URL to connect to object store. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + :param str type: Type of the database backup destination. + :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "internet_proxy", internet_proxy) + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "vpc_password", vpc_password) + pulumi.set(__self__, "vpc_user", vpc_user) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Sequence[str]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="dbrsPolicyId") + def dbrs_policy_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + """ + return pulumi.get(self, "dbrs_policy_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="internetProxy") + def internet_proxy(self) -> str: + """ + Proxy URL to connect to object store. + """ + return pulumi.get(self, "internet_proxy") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> int: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> int: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the database backup destination. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vpcPassword") + def vpc_password(self) -> str: + """ + For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_password") + + @property + @pulumi.getter(name="vpcUser") + def vpc_user(self) -> str: + """ + For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + """ + return pulumi.get(self, "vpc_user") + + @pulumi.output_type class GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult(dict): def __init__(__self__, *, @@ -16923,7 +17651,7 @@ def __init__(__self__, *, recovery_window_in_days: int): """ :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. - :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. """ pulumi.set(__self__, "backup_destination_details", backup_destination_details) pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) @@ -16940,7 +17668,7 @@ def backup_destination_details(self) -> Sequence['outputs.GetAutonomousContainer @pulumi.getter(name="recoveryWindowInDays") def recovery_window_in_days(self) -> int: """ - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + Number of days between the current and earliest point of recoverability covered by automatic backups. """ return pulumi.get(self, "recovery_window_in_days") @@ -17007,6 +17735,46 @@ def vpc_user(self) -> str: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupDestinationPropertiesListResult(dict): + def __init__(__self__, *, + backup_destination_attach_histories: Sequence[str], + space_utilized_in_gbs: int, + time_at_which_storage_details_are_updated: str): + """ + :param Sequence[str] backup_destination_attach_histories: The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + :param int space_utilized_in_gbs: The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + :param str time_at_which_storage_details_are_updated: The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + pulumi.set(__self__, "backup_destination_attach_histories", backup_destination_attach_histories) + pulumi.set(__self__, "space_utilized_in_gbs", space_utilized_in_gbs) + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) + + @property + @pulumi.getter(name="backupDestinationAttachHistories") + def backup_destination_attach_histories(self) -> Sequence[str]: + """ + The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups. + """ + return pulumi.get(self, "backup_destination_attach_histories") + + @property + @pulumi.getter(name="spaceUtilizedInGbs") + def space_utilized_in_gbs(self) -> int: + """ + The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer. + """ + return pulumi.get(self, "space_utilized_in_gbs") + + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The latest timestamp when the backup destination details, such as 'spaceUtilized,' are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + + @pulumi.output_type class GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryResult(dict): def __init__(__self__, *, @@ -17397,7 +18165,7 @@ def __init__(__self__, *, recovery_window_in_days: int): """ :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. - :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. """ pulumi.set(__self__, "backup_destination_details", backup_destination_details) pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) @@ -17414,7 +18182,7 @@ def backup_destination_details(self) -> Sequence['outputs.GetAutonomousContainer @pulumi.getter(name="recoveryWindowInDays") def recovery_window_in_days(self) -> int: """ - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. + Number of days between the current and earliest point of recoverability covered by automatic backups. """ return pulumi.get(self, "recovery_window_in_days") @@ -17481,6 +18249,46 @@ def vpc_user(self) -> str: return pulumi.get(self, "vpc_user") +@pulumi.output_type +class GetAutonomousContainerDatabasesAutonomousContainerDatabaseRecoveryApplianceDetailResult(dict): + def __init__(__self__, *, + allocated_storage_size_in_gbs: int, + recovery_window_in_days: int, + time_recovery_appliance_details_updated: str): + """ + :param int allocated_storage_size_in_gbs: The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + :param int recovery_window_in_days: Number of days between the current and earliest point of recoverability covered by automatic backups. + :param str time_recovery_appliance_details_updated: The time when the recovery appliance details are updated. + """ + pulumi.set(__self__, "allocated_storage_size_in_gbs", allocated_storage_size_in_gbs) + pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + pulumi.set(__self__, "time_recovery_appliance_details_updated", time_recovery_appliance_details_updated) + + @property + @pulumi.getter(name="allocatedStorageSizeInGbs") + def allocated_storage_size_in_gbs(self) -> int: + """ + The storage size of the backup destination allocated for an Autonomous Container Database to store backups on the recovery appliance, in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "allocated_storage_size_in_gbs") + + @property + @pulumi.getter(name="recoveryWindowInDays") + def recovery_window_in_days(self) -> int: + """ + Number of days between the current and earliest point of recoverability covered by automatic backups. + """ + return pulumi.get(self, "recovery_window_in_days") + + @property + @pulumi.getter(name="timeRecoveryApplianceDetailsUpdated") + def time_recovery_appliance_details_updated(self) -> str: + """ + The time when the recovery appliance details are updated. + """ + return pulumi.get(self, "time_recovery_appliance_details_updated") + + @pulumi.output_type class GetAutonomousContainerDatabasesFilterResult(dict): def __init__(__self__, *, @@ -19091,23 +19899,32 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -19133,6 +19950,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -19157,6 +19982,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabaseLongTermBackupScheduleResult(dict): @@ -19775,23 +20616,32 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -19817,6 +20667,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -19841,6 +20699,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabasesAutonomousDatabaseResult(dict): @@ -19862,6 +20736,7 @@ def __init__(__self__, *, backup_retention_period_in_days: int, byol_compute_count_limit: float, character_set: str, + clone_table_space_lists: Sequence[int], clone_type: str, cluster_placement_group_id: str, compartment_id: str, @@ -19924,6 +20799,7 @@ def __init__(__self__, *, local_disaster_recovery_type: str, local_standby_dbs: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult'], long_term_backup_schedules: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult'], + maintenance_target_component: str, max_cpu_core_count: int, memory_per_oracle_compute_unit_in_gbs: int, ncharacter_set: str, @@ -20005,6 +20881,10 @@ def __init__(__self__, *, :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 Sequence[int] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + ======= + AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + >>>>>>> theirs :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 float compute_count: Compute used by database tools. @@ -20064,6 +20944,7 @@ def __init__(__self__, *, :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['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 str maintenance_target_component: The component chosen for maintenance. :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 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. @@ -20141,6 +21022,7 @@ def __init__(__self__, *, pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) pulumi.set(__self__, "byol_compute_count_limit", byol_compute_count_limit) pulumi.set(__self__, "character_set", character_set) + pulumi.set(__self__, "clone_table_space_lists", clone_table_space_lists) pulumi.set(__self__, "clone_type", clone_type) pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id) pulumi.set(__self__, "compartment_id", compartment_id) @@ -20203,6 +21085,7 @@ def __init__(__self__, *, pulumi.set(__self__, "local_disaster_recovery_type", local_disaster_recovery_type) pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) pulumi.set(__self__, "ncharacter_set", ncharacter_set) @@ -20395,6 +21278,17 @@ def character_set(self) -> str: """ return pulumi.get(self, "character_set") + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> Sequence[int]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + ======= + AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + >>>>>>> theirs + """ + return pulumi.get(self, "clone_table_space_lists") + @property @pulumi.getter(name="cloneType") def clone_type(self) -> str: @@ -20881,6 +21775,14 @@ def long_term_backup_schedules(self) -> Sequence['outputs.GetAutonomousDatabases """ return pulumi.get(self, "long_term_backup_schedules") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter(name="maxCpuCoreCount") def max_cpu_core_count(self) -> int: @@ -22195,23 +23097,32 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :param str state: A filter to return only resources that match the given lifecycle state exactly. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -22237,6 +23148,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -22261,6 +23180,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult(dict): @@ -22552,23 +23487,32 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: 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 maintenance_target_component: The component chosen for maintenance. :param str state: A filter to return only resources that match the given lifecycle state exactly. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -22594,6 +23538,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -22618,6 +23570,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabasesClonesAutonomousDatabaseResult(dict): @@ -22636,6 +23604,7 @@ def __init__(__self__, *, backup_retention_period_in_days: int, byol_compute_count_limit: float, character_set: str, + clone_table_space_lists: Sequence[int], cluster_placement_group_id: str, compartment_id: str, compute_count: float, @@ -22691,6 +23660,7 @@ def __init__(__self__, *, local_disaster_recovery_type: str, local_standby_dbs: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult'], long_term_backup_schedules: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult'], + maintenance_target_component: str, max_cpu_core_count: int, memory_per_oracle_compute_unit_in_gbs: int, ncharacter_set: str, @@ -22758,6 +23728,10 @@ def __init__(__self__, *, :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. :param str character_set: The character set for the autonomous database. The default is AL32UTF8. Allowed values are: + :param Sequence[int] clone_table_space_lists: A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + ======= + AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + >>>>>>> theirs :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 float compute_count: Compute used by database tools. @@ -22817,6 +23791,7 @@ def __init__(__self__, *, :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.* `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 str maintenance_target_component: The component chosen for maintenance. :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. :param str ncharacter_set: The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. @@ -22889,6 +23864,7 @@ def __init__(__self__, *, pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) pulumi.set(__self__, "byol_compute_count_limit", byol_compute_count_limit) pulumi.set(__self__, "character_set", character_set) + pulumi.set(__self__, "clone_table_space_lists", clone_table_space_lists) pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id) pulumi.set(__self__, "compartment_id", compartment_id) pulumi.set(__self__, "compute_count", compute_count) @@ -22944,6 +23920,7 @@ def __init__(__self__, *, pulumi.set(__self__, "local_disaster_recovery_type", local_disaster_recovery_type) pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) + pulumi.set(__self__, "maintenance_target_component", maintenance_target_component) pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) pulumi.set(__self__, "ncharacter_set", ncharacter_set) @@ -23105,6 +24082,17 @@ def character_set(self) -> str: """ return pulumi.get(self, "character_set") + @property + @pulumi.getter(name="cloneTableSpaceLists") + def clone_table_space_lists(self) -> Sequence[int]: + """ + A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup. + ======= + AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS + >>>>>>> theirs + """ + return pulumi.get(self, "clone_table_space_lists") + @property @pulumi.getter(name="clusterPlacementGroupId") def cluster_placement_group_id(self) -> str: @@ -23549,6 +24537,14 @@ def long_term_backup_schedules(self) -> Sequence['outputs.GetAutonomousDatabases """ return pulumi.get(self, "long_term_backup_schedules") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter(name="maxCpuCoreCount") def max_cpu_core_count(self) -> int: @@ -24792,22 +25788,31 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: str): """ :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 maintenance_target_component: The component chosen for maintenance. :param str state: A filter to return only resources that match the given lifecycle state exactly. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -24830,6 +25835,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -24854,6 +25867,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult(dict): @@ -25141,22 +26170,31 @@ def __init__(__self__, *, availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, + maintenance_target_component: str, state: str, time_data_guard_role_changed: str, - time_disaster_recovery_role_changed: str): + time_disaster_recovery_role_changed: str, + time_maintenance_begin: str, + time_maintenance_end: str): """ :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 maintenance_target_component: The component chosen for maintenance. :param str state: A filter to return only resources that match the given lifecycle state exactly. :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. + :param str time_maintenance_begin: The date and time when maintenance will begin. + :param str time_maintenance_end: The date and time when maintenance will end. """ 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__, "maintenance_target_component", maintenance_target_component) 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) + pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) @property @pulumi.getter(name="availabilityDomain") @@ -25179,6 +26217,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="maintenanceTargetComponent") + def maintenance_target_component(self) -> str: + """ + The component chosen for maintenance. + """ + return pulumi.get(self, "maintenance_target_component") + @property @pulumi.getter def state(self) -> str: @@ -25203,6 +26249,22 @@ def time_disaster_recovery_role_changed(self) -> str: """ return pulumi.get(self, "time_disaster_recovery_role_changed") + @property + @pulumi.getter(name="timeMaintenanceBegin") + def time_maintenance_begin(self) -> str: + """ + The date and time when maintenance will begin. + """ + return pulumi.get(self, "time_maintenance_begin") + + @property + @pulumi.getter(name="timeMaintenanceEnd") + def time_maintenance_end(self) -> str: + """ + The date and time when maintenance will end. + """ + return pulumi.get(self, "time_maintenance_end") + @pulumi.output_type class GetAutonomousDatabasesClonesFilterResult(dict): @@ -28406,8 +29468,11 @@ def __init__(__self__, *, nfs_server_export: str, nfs_servers: Sequence[str], state: str, + time_at_which_storage_details_are_updated: str, time_created: str, + total_storage_size_in_gbs: int, type: str, + utilized_storage_size_in_gbs: int, vpc_users: Sequence[str]): """ :param Sequence['GetBackupDestinationsBackupDestinationAssociatedDatabaseArgs'] associated_databases: List of databases associated with the backup destination. @@ -28423,8 +29488,11 @@ def __init__(__self__, *, :param str nfs_server_export: Specifies the directory on which to mount the file system :param Sequence[str] nfs_servers: Host names or IP addresses for NFS Auto mount. :param str state: The current lifecycle state of the backup destination. + :param str time_at_which_storage_details_are_updated: The time when the total storage size and the utilized storage size of the backup destination are updated. :param str time_created: The date and time the backup destination was created. + :param int total_storage_size_in_gbs: The total storage size of the backup destination in GBs, rounded to the nearest integer. :param str type: A filter to return only resources that match the given type of the Backup Destination. + :param int utilized_storage_size_in_gbs: The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. :param Sequence[str] vpc_users: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. """ pulumi.set(__self__, "associated_databases", associated_databases) @@ -28441,8 +29509,11 @@ def __init__(__self__, *, pulumi.set(__self__, "nfs_server_export", nfs_server_export) pulumi.set(__self__, "nfs_servers", nfs_servers) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "time_at_which_storage_details_are_updated", time_at_which_storage_details_are_updated) pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "total_storage_size_in_gbs", total_storage_size_in_gbs) pulumi.set(__self__, "type", type) + pulumi.set(__self__, "utilized_storage_size_in_gbs", utilized_storage_size_in_gbs) pulumi.set(__self__, "vpc_users", vpc_users) @property @@ -28555,6 +29626,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="timeAtWhichStorageDetailsAreUpdated") + def time_at_which_storage_details_are_updated(self) -> str: + """ + The time when the total storage size and the utilized storage size of the backup destination are updated. + """ + return pulumi.get(self, "time_at_which_storage_details_are_updated") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -28563,6 +29642,14 @@ def time_created(self) -> str: """ return pulumi.get(self, "time_created") + @property + @pulumi.getter(name="totalStorageSizeInGbs") + def total_storage_size_in_gbs(self) -> int: + """ + The total storage size of the backup destination in GBs, rounded to the nearest integer. + """ + return pulumi.get(self, "total_storage_size_in_gbs") + @property @pulumi.getter def type(self) -> str: @@ -28571,6 +29658,14 @@ def type(self) -> str: """ return pulumi.get(self, "type") + @property + @pulumi.getter(name="utilizedStorageSizeInGbs") + def utilized_storage_size_in_gbs(self) -> int: + """ + The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer. + """ + return pulumi.get(self, "utilized_storage_size_in_gbs") + @property @pulumi.getter(name="vpcUsers") def vpc_users(self) -> Sequence[str]: @@ -32906,6 +34001,7 @@ def __init__(__self__, *, peer_sid_prefix: str, peer_vm_cluster_id: str, private_ip: str, + private_ip_v6: str, protection_mode: str, role: str, shape: str, @@ -32970,6 +34066,7 @@ def __init__(__self__, *, pulumi.set(__self__, "peer_sid_prefix", peer_sid_prefix) pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) pulumi.set(__self__, "private_ip", private_ip) + pulumi.set(__self__, "private_ip_v6", private_ip_v6) pulumi.set(__self__, "protection_mode", protection_mode) pulumi.set(__self__, "role", role) pulumi.set(__self__, "shape", shape) @@ -33198,6 +34295,11 @@ def peer_vm_cluster_id(self) -> str: def private_ip(self) -> str: return pulumi.get(self, "private_ip") + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> str: + return pulumi.get(self, "private_ip_v6") + @property @pulumi.getter(name="protectionMode") def protection_mode(self) -> str: @@ -41324,10 +42426,12 @@ def __init__(__self__, *, os_version: str, point_in_time_data_disk_clone_timestamp: str, private_ip: str, + private_ip_v6: str, reco_storage_size_in_gb: int, scan_dns_name: str, scan_dns_record_id: str, scan_ip_ids: Sequence[str], + scan_ipv6ids: Sequence[str], security_attributes: Mapping[str, str], shape: str, source: str, @@ -41341,6 +42445,7 @@ def __init__(__self__, *, time_zone: str, version: str, vip_ids: Sequence[str], + vipv6ids: Sequence[str], zone_id: str): """ :param str availability_domain: A filter to return only resources that match the given availability domain exactly. @@ -41379,7 +42484,8 @@ def __init__(__self__, *, :param int reco_storage_size_in_gb: The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems. :param str scan_dns_name: The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. :param str scan_dns_record_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system. - :param Sequence[str] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param Sequence[str] scan_ip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + :param Sequence[str] scan_ipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. :param Mapping[str, str] security_attributes: Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` :param str shape: The shape of the DB system. The shape determines resources to allocate to the DB system. * For virtual machine shapes, the number of CPU cores and memory @@ -41393,7 +42499,8 @@ def __init__(__self__, *, :param str time_created: The date and time the DB system was created. :param str time_zone: The time zone of the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). :param str version: The Oracle Database version of the DB system. - :param Sequence[str] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + :param Sequence[str] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. + :param Sequence[str] vipv6ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param str zone_id: The OCID of the zone the DB system is associated with. """ pulumi.set(__self__, "availability_domain", availability_domain) @@ -41433,10 +42540,12 @@ def __init__(__self__, *, pulumi.set(__self__, "os_version", os_version) pulumi.set(__self__, "point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) pulumi.set(__self__, "private_ip", private_ip) + pulumi.set(__self__, "private_ip_v6", private_ip_v6) pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) pulumi.set(__self__, "scan_dns_name", scan_dns_name) pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) + pulumi.set(__self__, "scan_ipv6ids", scan_ipv6ids) pulumi.set(__self__, "security_attributes", security_attributes) pulumi.set(__self__, "shape", shape) pulumi.set(__self__, "source", source) @@ -41450,6 +42559,7 @@ def __init__(__self__, *, pulumi.set(__self__, "time_zone", time_zone) pulumi.set(__self__, "version", version) pulumi.set(__self__, "vip_ids", vip_ids) + pulumi.set(__self__, "vipv6ids", vipv6ids) pulumi.set(__self__, "zone_id", zone_id) @property @@ -41734,6 +42844,11 @@ def point_in_time_data_disk_clone_timestamp(self) -> str: def private_ip(self) -> str: return pulumi.get(self, "private_ip") + @property + @pulumi.getter(name="privateIpV6") + def private_ip_v6(self) -> str: + return pulumi.get(self, "private_ip_v6") + @property @pulumi.getter(name="recoStorageSizeInGb") def reco_storage_size_in_gb(self) -> int: @@ -41762,10 +42877,18 @@ def scan_dns_record_id(self) -> str: @pulumi.getter(name="scanIpIds") def scan_ip_ids(self) -> Sequence[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. """ return pulumi.get(self, "scan_ip_ids") + @property + @pulumi.getter(name="scanIpv6ids") + def scan_ipv6ids(self) -> Sequence[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + """ + return pulumi.get(self, "scan_ipv6ids") + @property @pulumi.getter(name="securityAttributes") def security_attributes(self) -> Mapping[str, str]: @@ -41865,10 +42988,18 @@ def version(self) -> str: @pulumi.getter(name="vipIds") def vip_ids(self) -> Sequence[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster. """ return pulumi.get(self, "vip_ids") + @property + @pulumi.getter + def vipv6ids(self) -> Sequence[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. + """ + return pulumi.get(self, "vipv6ids") + @property @pulumi.getter(name="zoneId") def zone_id(self) -> str: diff --git a/sdk/python/pulumi_oci/filestorage/file_system.py b/sdk/python/pulumi_oci/filestorage/file_system.py index bee6bb278c..486ff765c3 100644 --- a/sdk/python/pulumi_oci/filestorage/file_system.py +++ b/sdk/python/pulumi_oci/filestorage/file_system.py @@ -248,6 +248,7 @@ def __init__(__self__, *, source_details: Optional[pulumi.Input[Sequence[pulumi.Input['FileSystemSourceDetailArgs']]]] = None, source_snapshot_id: 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): """ Input properties used for looking up and filtering FileSystem resources. @@ -277,6 +278,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['FileSystemSourceDetailArgs']]] source_details: Source information for the file system. :param pulumi.Input[str] source_snapshot_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). :param pulumi.Input[str] state: The current state of the file system. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ if availability_domain is not None: @@ -321,6 +323,8 @@ def __init__(__self__, *, pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) 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) @@ -579,6 +583,18 @@ def state(self) -> Optional[pulumi.Input[str]]: 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. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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]]: @@ -835,6 +851,7 @@ def _internal_init(__self__, __props__.__dict__["replication_target_id"] = None __props__.__dict__["source_details"] = None __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None super(FileSystem, __self__).__init__( 'oci:FileStorage/fileSystem:FileSystem', @@ -867,6 +884,7 @@ def get(resource_name: str, source_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FileSystemSourceDetailArgs', 'FileSystemSourceDetailArgsDict']]]]] = None, source_snapshot_id: 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) -> 'FileSystem': """ Get an existing FileSystem resource's state with the given name, id, and optional extra @@ -901,6 +919,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[Union['FileSystemSourceDetailArgs', 'FileSystemSourceDetailArgsDict']]]] source_details: Source information for the file system. :param pulumi.Input[str] source_snapshot_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). :param pulumi.Input[str] state: The current state of the file system. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -928,6 +947,7 @@ def get(resource_name: str, __props__.__dict__["source_details"] = source_details __props__.__dict__["source_snapshot_id"] = source_snapshot_id __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created return FileSystem(resource_name, opts=opts, __props__=__props__) @@ -1102,6 +1122,14 @@ 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]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py b/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py index c5a57303ac..7a3dfc6e96 100644 --- a/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py +++ b/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py @@ -205,6 +205,7 @@ def __init__(__self__, *, policy_prefix: Optional[pulumi.Input[str]] = None, schedules: Optional[pulumi.Input[Sequence[pulumi.Input['FilesystemSnapshotPolicyScheduleArgs']]]] = 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): """ Input properties used for looking up and filtering FilesystemSnapshotPolicy resources. @@ -223,6 +224,7 @@ def __init__(__self__, *, ** IMPORTANT ** 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: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ if availability_domain is not None: @@ -245,6 +247,8 @@ def __init__(__self__, *, pulumi.set(__self__, "schedules", schedules) 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) @@ -371,6 +375,18 @@ def state(self) -> Optional[pulumi.Input[str]]: 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. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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]]: @@ -578,6 +594,7 @@ def _internal_init(__self__, __props__.__dict__["policy_prefix"] = policy_prefix __props__.__dict__["schedules"] = schedules __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None super(FilesystemSnapshotPolicy, __self__).__init__( 'oci:FileStorage/filesystemSnapshotPolicy:FilesystemSnapshotPolicy', @@ -599,6 +616,7 @@ def get(resource_name: str, policy_prefix: Optional[pulumi.Input[str]] = None, schedules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FilesystemSnapshotPolicyScheduleArgs', 'FilesystemSnapshotPolicyScheduleArgsDict']]]]] = 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) -> 'FilesystemSnapshotPolicy': """ Get an existing FilesystemSnapshotPolicy resource's state with the given name, id, and optional extra @@ -622,6 +640,7 @@ def get(resource_name: str, ** IMPORTANT ** 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: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -638,6 +657,7 @@ def get(resource_name: str, __props__.__dict__["policy_prefix"] = policy_prefix __props__.__dict__["schedules"] = schedules __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created return FilesystemSnapshotPolicy(resource_name, opts=opts, __props__=__props__) @@ -724,6 +744,14 @@ 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]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py index 2d3dd74c8d..569029d6ad 100644 --- a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +++ b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py @@ -27,7 +27,7 @@ class GetFilesystemSnapshotPolicyResult: """ A collection of values returned by getFilesystemSnapshotPolicy. """ - def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, policy_prefix=None, schedules=None, state=None, time_created=None): + def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, policy_prefix=None, schedules=None, state=None, system_tags=None, time_created=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) @@ -64,6 +64,9 @@ def __init__(__self__, availability_domain=None, compartment_id=None, defined_ta 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) @@ -158,6 +161,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -185,6 +196,7 @@ def __await__(self): policy_prefix=self.policy_prefix, schedules=self.schedules, state=self.state, + system_tags=self.system_tags, time_created=self.time_created) @@ -225,6 +237,7 @@ def get_filesystem_snapshot_policy(filesystem_snapshot_policy_id: Optional[str] policy_prefix=pulumi.get(__ret__, 'policy_prefix'), schedules=pulumi.get(__ret__, 'schedules'), state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created')) def get_filesystem_snapshot_policy_output(filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFilesystemSnapshotPolicyResult]: @@ -262,4 +275,5 @@ def get_filesystem_snapshot_policy_output(filesystem_snapshot_policy_id: Optiona policy_prefix=pulumi.get(__response__, 'policy_prefix'), schedules=pulumi.get(__response__, 'schedules'), state=pulumi.get(__response__, 'state'), + system_tags=pulumi.get(__response__, 'system_tags'), time_created=pulumi.get(__response__, 'time_created'))) diff --git a/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py b/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py index 8cce3bbbec..f6eab2c997 100644 --- a/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py +++ b/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py @@ -27,7 +27,7 @@ class GetOutboundConnectorResult: """ A collection of values returned by getOutboundConnector. """ - def __init__(__self__, availability_domain=None, bind_distinguished_name=None, compartment_id=None, connector_type=None, defined_tags=None, display_name=None, endpoints=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, outbound_connector_id=None, password_secret_id=None, password_secret_version=None, state=None, time_created=None): + def __init__(__self__, availability_domain=None, bind_distinguished_name=None, compartment_id=None, connector_type=None, defined_tags=None, display_name=None, endpoints=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, outbound_connector_id=None, password_secret_id=None, password_secret_version=None, state=None, system_tags=None, time_created=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) @@ -73,6 +73,9 @@ def __init__(__self__, availability_domain=None, bind_distinguished_name=None, c 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) @@ -191,6 +194,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -221,6 +232,7 @@ def __await__(self): password_secret_id=self.password_secret_id, password_secret_version=self.password_secret_version, state=self.state, + system_tags=self.system_tags, time_created=self.time_created) @@ -264,6 +276,7 @@ def get_outbound_connector(outbound_connector_id: Optional[str] = None, password_secret_id=pulumi.get(__ret__, 'password_secret_id'), password_secret_version=pulumi.get(__ret__, 'password_secret_version'), state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created')) def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOutboundConnectorResult]: @@ -304,4 +317,5 @@ def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[s password_secret_id=pulumi.get(__response__, 'password_secret_id'), password_secret_version=pulumi.get(__response__, 'password_secret_version'), state=pulumi.get(__response__, 'state'), + system_tags=pulumi.get(__response__, 'system_tags'), time_created=pulumi.get(__response__, 'time_created'))) diff --git a/sdk/python/pulumi_oci/filestorage/get_replication.py b/sdk/python/pulumi_oci/filestorage/get_replication.py index 3e2c6d3f80..b8b5ec2f39 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replication.py +++ b/sdk/python/pulumi_oci/filestorage/get_replication.py @@ -27,7 +27,7 @@ class GetReplicationResult: """ A collection of values returned by getReplication. """ - def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, delta_progress=None, delta_status=None, display_name=None, freeform_tags=None, id=None, is_lock_override=None, last_snapshot_id=None, lifecycle_details=None, locks=None, recovery_point_time=None, replication_id=None, replication_interval=None, replication_target_id=None, source_id=None, state=None, target_id=None, time_created=None): + def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, delta_progress=None, delta_status=None, display_name=None, freeform_tags=None, id=None, is_lock_override=None, last_snapshot_id=None, lifecycle_details=None, locks=None, recovery_point_time=None, replication_id=None, replication_interval=None, replication_target_id=None, source_id=None, state=None, system_tags=None, target_id=None, time_created=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) @@ -82,6 +82,9 @@ def __init__(__self__, availability_domain=None, compartment_id=None, defined_ta 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_id and not isinstance(target_id, str): raise TypeError("Expected argument 'target_id' to be a str") pulumi.set(__self__, "target_id", target_id) @@ -227,6 +230,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="targetId") def target_id(self) -> str: @@ -268,6 +279,7 @@ def __await__(self): replication_target_id=self.replication_target_id, source_id=self.source_id, state=self.state, + system_tags=self.system_tags, target_id=self.target_id, time_created=self.time_created) @@ -315,6 +327,7 @@ def get_replication(replication_id: Optional[str] = None, replication_target_id=pulumi.get(__ret__, 'replication_target_id'), source_id=pulumi.get(__ret__, 'source_id'), state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), target_id=pulumi.get(__ret__, 'target_id'), time_created=pulumi.get(__ret__, 'time_created')) def get_replication_output(replication_id: Optional[pulumi.Input[str]] = None, @@ -359,5 +372,6 @@ def get_replication_output(replication_id: Optional[pulumi.Input[str]] = None, replication_target_id=pulumi.get(__response__, 'replication_target_id'), source_id=pulumi.get(__response__, 'source_id'), state=pulumi.get(__response__, 'state'), + system_tags=pulumi.get(__response__, 'system_tags'), target_id=pulumi.get(__response__, 'target_id'), time_created=pulumi.get(__response__, 'time_created'))) diff --git a/sdk/python/pulumi_oci/filestorage/get_replication_target.py b/sdk/python/pulumi_oci/filestorage/get_replication_target.py index 57ef6dea3c..4db2257c79 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replication_target.py +++ b/sdk/python/pulumi_oci/filestorage/get_replication_target.py @@ -26,7 +26,7 @@ class GetReplicationTargetResult: """ A collection of values returned by getReplicationTarget. """ - def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, delta_progress=None, delta_status=None, display_name=None, freeform_tags=None, id=None, last_snapshot_id=None, lifecycle_details=None, recovery_point_time=None, replication_id=None, replication_target_id=None, source_id=None, state=None, target_id=None, time_created=None): + def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, delta_progress=None, delta_status=None, display_name=None, freeform_tags=None, id=None, last_snapshot_id=None, lifecycle_details=None, recovery_point_time=None, replication_id=None, replication_target_id=None, source_id=None, state=None, system_tags=None, target_id=None, time_created=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) @@ -72,6 +72,9 @@ def __init__(__self__, availability_domain=None, compartment_id=None, defined_ta 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_id and not isinstance(target_id, str): raise TypeError("Expected argument 'target_id' to be a str") pulumi.set(__self__, "target_id", target_id) @@ -196,6 +199,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="targetId") def target_id(self) -> str: @@ -234,6 +245,7 @@ def __await__(self): replication_target_id=self.replication_target_id, source_id=self.source_id, state=self.state, + system_tags=self.system_tags, target_id=self.target_id, time_created=self.time_created) @@ -278,6 +290,7 @@ def get_replication_target(replication_target_id: Optional[str] = None, replication_target_id=pulumi.get(__ret__, 'replication_target_id'), source_id=pulumi.get(__ret__, 'source_id'), state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), target_id=pulumi.get(__ret__, 'target_id'), time_created=pulumi.get(__ret__, 'time_created')) def get_replication_target_output(replication_target_id: Optional[pulumi.Input[str]] = None, @@ -319,5 +332,6 @@ def get_replication_target_output(replication_target_id: Optional[pulumi.Input[s replication_target_id=pulumi.get(__response__, 'replication_target_id'), source_id=pulumi.get(__response__, 'source_id'), state=pulumi.get(__response__, 'state'), + system_tags=pulumi.get(__response__, 'system_tags'), target_id=pulumi.get(__response__, 'target_id'), time_created=pulumi.get(__response__, 'time_created'))) diff --git a/sdk/python/pulumi_oci/filestorage/get_snapshot.py b/sdk/python/pulumi_oci/filestorage/get_snapshot.py index c12a7e6ce2..fe316cb6d8 100644 --- a/sdk/python/pulumi_oci/filestorage/get_snapshot.py +++ b/sdk/python/pulumi_oci/filestorage/get_snapshot.py @@ -27,7 +27,7 @@ class GetSnapshotResult: """ A collection of values returned by getSnapshot. """ - def __init__(__self__, defined_tags=None, expiration_time=None, file_system_id=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_clone_source=None, is_lock_override=None, lifecycle_details=None, locks=None, name=None, provenance_id=None, snapshot_id=None, snapshot_time=None, snapshot_type=None, state=None, time_created=None): + def __init__(__self__, defined_tags=None, expiration_time=None, file_system_id=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_clone_source=None, is_lock_override=None, lifecycle_details=None, locks=None, name=None, provenance_id=None, snapshot_id=None, snapshot_time=None, snapshot_type=None, state=None, system_tags=None, time_created=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) @@ -76,6 +76,9 @@ def __init__(__self__, defined_tags=None, expiration_time=None, file_system_id=N 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) @@ -205,6 +208,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -236,6 +247,7 @@ def __await__(self): snapshot_time=self.snapshot_time, snapshot_type=self.snapshot_type, state=self.state, + system_tags=self.system_tags, time_created=self.time_created) @@ -280,6 +292,7 @@ def get_snapshot(snapshot_id: Optional[str] = None, snapshot_time=pulumi.get(__ret__, 'snapshot_time'), snapshot_type=pulumi.get(__ret__, 'snapshot_type'), state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created')) def get_snapshot_output(snapshot_id: Optional[pulumi.Input[str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSnapshotResult]: @@ -321,4 +334,5 @@ def get_snapshot_output(snapshot_id: Optional[pulumi.Input[str]] = None, snapshot_time=pulumi.get(__response__, 'snapshot_time'), snapshot_type=pulumi.get(__response__, 'snapshot_type'), state=pulumi.get(__response__, 'state'), + system_tags=pulumi.get(__response__, 'system_tags'), time_created=pulumi.get(__response__, 'time_created'))) diff --git a/sdk/python/pulumi_oci/filestorage/mount_target.py b/sdk/python/pulumi_oci/filestorage/mount_target.py index f7bd484d5e..aaafabbdee 100644 --- a/sdk/python/pulumi_oci/filestorage/mount_target.py +++ b/sdk/python/pulumi_oci/filestorage/mount_target.py @@ -307,6 +307,7 @@ def __init__(__self__, *, reserved_storage_capacity: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, time_billing_cycle_end: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None): """ @@ -342,6 +343,7 @@ def __init__(__self__, *, ** IMPORTANT ** 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: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :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` """ @@ -387,6 +389,8 @@ def __init__(__self__, *, pulumi.set(__self__, "state", state) if subnet_id is not None: pulumi.set(__self__, "subnet_id", subnet_id) + if system_tags is not None: + pulumi.set(__self__, "system_tags", system_tags) 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: @@ -654,6 +658,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="systemTags") + def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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="timeBillingCycleEnd") def time_billing_cycle_end(self) -> Optional[pulumi.Input[str]]: @@ -984,6 +1000,7 @@ def _internal_init(__self__, __props__.__dict__["private_ip_ids"] = None __props__.__dict__["reserved_storage_capacity"] = None __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None __props__.__dict__["time_billing_cycle_end"] = None __props__.__dict__["time_created"] = None super(MountTarget, __self__).__init__( @@ -1017,6 +1034,7 @@ def get(resource_name: str, reserved_storage_capacity: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, time_billing_cycle_end: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None) -> 'MountTarget': """ @@ -1057,6 +1075,7 @@ def get(resource_name: str, ** IMPORTANT ** 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: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :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` """ @@ -1085,6 +1104,7 @@ def get(resource_name: str, __props__.__dict__["reserved_storage_capacity"] = reserved_storage_capacity __props__.__dict__["state"] = state __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_billing_cycle_end"] = time_billing_cycle_end __props__.__dict__["time_created"] = time_created return MountTarget(resource_name, opts=opts, __props__=__props__) @@ -1267,6 +1287,14 @@ def subnet_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "subnet_id") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeBillingCycleEnd") def time_billing_cycle_end(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/filestorage/outbound_connector.py b/sdk/python/pulumi_oci/filestorage/outbound_connector.py index 0c4732748d..a4bd3db0d3 100644 --- a/sdk/python/pulumi_oci/filestorage/outbound_connector.py +++ b/sdk/python/pulumi_oci/filestorage/outbound_connector.py @@ -233,6 +233,7 @@ def __init__(__self__, *, password_secret_id: Optional[pulumi.Input[str]] = None, password_secret_version: Optional[pulumi.Input[int]] = 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): """ Input properties used for looking up and filtering OutboundConnector resources. @@ -252,6 +253,7 @@ def __init__(__self__, *, ** IMPORTANT ** 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 this outbound connector. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ if availability_domain is not None: @@ -280,6 +282,8 @@ def __init__(__self__, *, pulumi.set(__self__, "password_secret_version", password_secret_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 time_created is not None: pulumi.set(__self__, "time_created", time_created) @@ -440,6 +444,18 @@ def state(self) -> Optional[pulumi.Input[str]]: 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. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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]]: @@ -682,6 +698,7 @@ def _internal_init(__self__, __props__.__dict__["password_secret_id"] = password_secret_id __props__.__dict__["password_secret_version"] = password_secret_version __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None super(OutboundConnector, __self__).__init__( 'oci:FileStorage/outboundConnector:OutboundConnector', @@ -706,6 +723,7 @@ def get(resource_name: str, password_secret_id: Optional[pulumi.Input[str]] = None, password_secret_version: Optional[pulumi.Input[int]] = 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) -> 'OutboundConnector': """ Get an existing OutboundConnector resource's state with the given name, id, and optional extra @@ -730,6 +748,7 @@ def get(resource_name: str, ** IMPORTANT ** 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 this outbound connector. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -749,6 +768,7 @@ def get(resource_name: str, __props__.__dict__["password_secret_id"] = password_secret_id __props__.__dict__["password_secret_version"] = password_secret_version __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created return OutboundConnector(resource_name, opts=opts, __props__=__props__) @@ -857,6 +877,14 @@ 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]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @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 6a480f0d9c..8849e790d5 100644 --- a/sdk/python/pulumi_oci/filestorage/outputs.py +++ b/sdk/python/pulumi_oci/filestorage/outputs.py @@ -1609,6 +1609,7 @@ def __init__(__self__, *, source_details: Sequence['outputs.GetFileSystemsFileSystemSourceDetailResult'], source_snapshot_id: str, state: str, + system_tags: Mapping[str, str], time_created: str): """ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` @@ -1631,6 +1632,7 @@ def __init__(__self__, *, :param Sequence['GetFileSystemsFileSystemSourceDetailArgs'] source_details: Source information for the file system. :param str source_snapshot_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str time_created: The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ pulumi.set(__self__, "availability_domain", availability_domain) @@ -1655,6 +1657,7 @@ def __init__(__self__, *, pulumi.set(__self__, "source_details", source_details) pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) @property @@ -1827,6 +1830,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -1957,6 +1968,7 @@ def __init__(__self__, *, policy_prefix: str, schedules: Sequence['outputs.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyScheduleResult'], state: str, + system_tags: Mapping[str, str], time_created: str): """ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` @@ -1969,6 +1981,7 @@ def __init__(__self__, *, :param str policy_prefix: The prefix to apply to all snapshots created by this policy. Example: `acme` :param Sequence['GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyScheduleArgs'] schedules: The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy. :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ pulumi.set(__self__, "availability_domain", availability_domain) @@ -1982,6 +1995,7 @@ def __init__(__self__, *, pulumi.set(__self__, "policy_prefix", policy_prefix) pulumi.set(__self__, "schedules", schedules) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) @property @@ -2069,6 +2083,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -2471,6 +2493,7 @@ def __init__(__self__, *, reserved_storage_capacity: str, state: str, subnet_id: str, + system_tags: Mapping[str, str], time_billing_cycle_end: str, time_created: str): """ @@ -2493,6 +2516,7 @@ def __init__(__self__, *, :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 Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :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` """ @@ -2518,6 +2542,7 @@ def __init__(__self__, *, pulumi.set(__self__, "reserved_storage_capacity", reserved_storage_capacity) pulumi.set(__self__, "state", state) pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_billing_cycle_end", time_billing_cycle_end) pulumi.set(__self__, "time_created", time_created) @@ -2688,6 +2713,14 @@ def subnet_id(self) -> str: """ return pulumi.get(self, "subnet_id") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeBillingCycleEnd") def time_billing_cycle_end(self) -> str: @@ -3037,6 +3070,7 @@ def __init__(__self__, *, password_secret_id: str, password_secret_version: int, state: str, + system_tags: Mapping[str, str], time_created: str): """ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` @@ -3052,6 +3086,7 @@ def __init__(__self__, *, :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. :param int password_secret_version: Version of the password secret in the Vault to use. :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str time_created: The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ pulumi.set(__self__, "availability_domain", availability_domain) @@ -3068,6 +3103,7 @@ def __init__(__self__, *, pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "password_secret_version", password_secret_version) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) @property @@ -3179,6 +3215,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -3363,6 +3407,7 @@ def __init__(__self__, *, replication_id: str, source_id: str, state: str, + system_tags: Mapping[str, str], target_id: str, time_created: str): """ @@ -3380,6 +3425,7 @@ def __init__(__self__, *, :param str replication_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of replication. :param str source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source filesystem. :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. :param str time_created: The date and time the replication target was created in target region. in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` """ @@ -3397,6 +3443,7 @@ def __init__(__self__, *, pulumi.set(__self__, "replication_id", replication_id) pulumi.set(__self__, "source_id", source_id) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "target_id", target_id) pulumi.set(__self__, "time_created", time_created) @@ -3512,6 +3559,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="targetId") def target_id(self) -> str: @@ -3576,6 +3631,7 @@ def __init__(__self__, *, replication_target_id: str, source_id: str, state: str, + system_tags: Mapping[str, str], target_id: str, time_created: str): """ @@ -3595,6 +3651,7 @@ def __init__(__self__, *, :param str replication_target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [`ReplicationTarget`](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ReplicationTarget). :param str source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. :param str time_created: The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` """ @@ -3615,6 +3672,7 @@ def __init__(__self__, *, pulumi.set(__self__, "replication_target_id", replication_target_id) pulumi.set(__self__, "source_id", source_id) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "target_id", target_id) pulumi.set(__self__, "time_created", time_created) @@ -3751,6 +3809,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="targetId") def target_id(self) -> str: @@ -3921,6 +3987,7 @@ def __init__(__self__, *, snapshot_time: str, snapshot_type: str, state: str, + system_tags: Mapping[str, str], time_created: 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"}` @@ -3940,6 +4007,7 @@ def __init__(__self__, *, * If the snapshot is replicated from a file system. :param str snapshot_type: Specifies the generation type of the snapshot. :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. + :param Mapping[str, str] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param str time_created: The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ pulumi.set(__self__, "defined_tags", defined_tags) @@ -3957,6 +4025,7 @@ def __init__(__self__, *, pulumi.set(__self__, "snapshot_time", snapshot_time) pulumi.set(__self__, "snapshot_type", snapshot_type) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) @property @@ -4079,6 +4148,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: diff --git a/sdk/python/pulumi_oci/filestorage/replication.py b/sdk/python/pulumi_oci/filestorage/replication.py index 4ac2e41611..33d980d394 100644 --- a/sdk/python/pulumi_oci/filestorage/replication.py +++ b/sdk/python/pulumi_oci/filestorage/replication.py @@ -190,6 +190,7 @@ def __init__(__self__, *, replication_target_id: Optional[pulumi.Input[str]] = None, source_id: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_id: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None): """ @@ -209,6 +210,7 @@ def __init__(__self__, *, :param pulumi.Input[str] replication_target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [`ReplicationTarget`](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ReplicationTarget). :param pulumi.Input[str] source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. :param pulumi.Input[str] state: The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. @@ -248,6 +250,8 @@ def __init__(__self__, *, pulumi.set(__self__, "source_id", source_id) 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_id is not None: pulumi.set(__self__, "target_id", target_id) if time_created is not None: @@ -442,6 +446,18 @@ def state(self) -> Optional[pulumi.Input[str]]: 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. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: @@ -693,6 +709,7 @@ def _internal_init(__self__, __props__.__dict__["recovery_point_time"] = None __props__.__dict__["replication_target_id"] = None __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None super(Replication, __self__).__init__( 'oci:FileStorage/replication:Replication', @@ -720,6 +737,7 @@ def get(resource_name: str, replication_target_id: Optional[pulumi.Input[str]] = None, source_id: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_id: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None) -> 'Replication': """ @@ -744,6 +762,7 @@ def get(resource_name: str, :param pulumi.Input[str] replication_target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [`ReplicationTarget`](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ReplicationTarget). :param pulumi.Input[str] source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. :param pulumi.Input[str] state: The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. @@ -771,6 +790,7 @@ def get(resource_name: str, __props__.__dict__["replication_target_id"] = replication_target_id __props__.__dict__["source_id"] = source_id __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["target_id"] = target_id __props__.__dict__["time_created"] = time_created return Replication(resource_name, opts=opts, __props__=__props__) @@ -900,6 +920,14 @@ 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]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="targetId") def target_id(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/filestorage/snapshot.py b/sdk/python/pulumi_oci/filestorage/snapshot.py index 28294ff752..373cf97d24 100644 --- a/sdk/python/pulumi_oci/filestorage/snapshot.py +++ b/sdk/python/pulumi_oci/filestorage/snapshot.py @@ -166,6 +166,7 @@ def __init__(__self__, *, snapshot_time: Optional[pulumi.Input[str]] = None, snapshot_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): """ Input properties used for looking up and filtering Snapshot resources. @@ -193,6 +194,7 @@ def __init__(__self__, *, * If the snapshot is replicated from a file system. :param pulumi.Input[str] snapshot_type: Specifies the generation type of the snapshot. :param pulumi.Input[str] state: The current state of the snapshot. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ if defined_tags is not None: @@ -223,6 +225,8 @@ def __init__(__self__, *, pulumi.set(__self__, "snapshot_type", snapshot_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) @@ -402,6 +406,18 @@ def state(self) -> Optional[pulumi.Input[str]]: 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. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + 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]]: @@ -574,6 +590,7 @@ def _internal_init(__self__, __props__.__dict__["snapshot_time"] = None __props__.__dict__["snapshot_type"] = None __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None super(Snapshot, __self__).__init__( 'oci:FileStorage/snapshot:Snapshot', @@ -599,6 +616,7 @@ def get(resource_name: str, snapshot_time: Optional[pulumi.Input[str]] = None, snapshot_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) -> 'Snapshot': """ Get an existing Snapshot resource's state with the given name, id, and optional extra @@ -631,6 +649,7 @@ def get(resource_name: str, * If the snapshot is replicated from a file system. :param pulumi.Input[str] snapshot_type: Specifies the generation type of the snapshot. :param pulumi.Input[str] state: The current state of the snapshot. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. :param pulumi.Input[str] time_created: The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -651,6 +670,7 @@ def get(resource_name: str, __props__.__dict__["snapshot_time"] = snapshot_time __props__.__dict__["snapshot_type"] = snapshot_type __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created return Snapshot(resource_name, opts=opts, __props__=__props__) @@ -774,6 +794,14 @@ 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]]: + """ + System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/goldengate/connection.py b/sdk/python/pulumi_oci/goldengate/connection.py index 9f0c4198fa..12f7931e6d 100644 --- a/sdk/python/pulumi_oci/goldengate/connection.py +++ b/sdk/python/pulumi_oci/goldengate/connection.py @@ -90,6 +90,7 @@ def __init__(__self__, *, service_account_key_file_secret_id: Optional[pulumi.Input[str]] = None, session_mode: Optional[pulumi.Input[str]] = None, should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_use_resource_principal: Optional[pulumi.Input[bool]] = None, should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, ssl_ca: Optional[pulumi.Input[str]] = None, ssl_cert: Optional[pulumi.Input[str]] = None, @@ -104,9 +105,16 @@ def __init__(__self__, *, ssl_key_secret_id: Optional[pulumi.Input[str]] = None, ssl_mode: Optional[pulumi.Input[str]] = None, ssl_server_certificate: Optional[pulumi.Input[str]] = None, + storage_credential_name: Optional[pulumi.Input[str]] = None, stream_pool_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, tenancy_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tls_ca_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password_secret_id: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_secret_id: Optional[pulumi.Input[str]] = None, trigger_refresh: Optional[pulumi.Input[bool]] = None, trust_store: Optional[pulumi.Input[str]] = None, trust_store_password: Optional[pulumi.Input[str]] = None, @@ -125,7 +133,7 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) An object's Display Name. :param pulumi.Input[str] technology_type: The Kafka (e.g. Confluent) Schema Registry technology type. :param pulumi.Input[str] access_key_id: (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" - :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] account_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. :param pulumi.Input[str] account_name: (Updatable) Sets the Azure storage account name. :param pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalAttributeArgs']]] additional_attributes: (Updatable) An array of name-value pair attribute entries. Used as additional parameters in connection string. @@ -134,11 +142,11 @@ def __init__(__self__, *, :param pulumi.Input[str] azure_tenant_id: (Updatable) Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[Sequence[pulumi.Input['ConnectionBootstrapServerArgs']]] bootstrap_servers: (Updatable) Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: `"server1.example.com:9092,server2.example.com:9092"` :param pulumi.Input[str] client_id: (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d - :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 - :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. :param pulumi.Input[str] connection_factory: (Updatable) The of Java class implementing javax.jms.ConnectionFactory interface supplied by the Java Message Service provider. e.g.: 'com.stc.jmsjca.core.JConnectionFactoryXA' :param pulumi.Input[str] connection_string: (Updatable) Connection string. AZURE_SYNAPSE_ANALYTICS e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;', MONGODB e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'. - :param pulumi.Input[str] connection_url: (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + :param pulumi.Input[str] connection_url: (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' :param pulumi.Input[str] consumer_properties: (Updatable) The base64 encoded content of the consumer.properties file. :param pulumi.Input[str] core_site_xml: (Updatable) The base64 encoded content of the Hadoop Distributed File System configuration file (core-site.xml). :param pulumi.Input[str] database_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Autonomous Json Database. @@ -148,7 +156,7 @@ def __init__(__self__, *, :param pulumi.Input[str] deployment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. :param pulumi.Input[str] description: (Updatable) Metadata about this specific object. :param pulumi.Input[bool] does_use_secret_ids: (Updatable) Indicates that sensitive attributes are provided via Secrets. - :param pulumi.Input[str] endpoint: (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + :param pulumi.Input[str] endpoint: (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com :param pulumi.Input[str] fingerprint: (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] host: (Updatable) The name or address of a host. In case of Generic connection type host and port separated by colon. Example: `"server.example.com:1234"` @@ -156,73 +164,82 @@ def __init__(__self__, *, :param pulumi.Input[str] jndi_connection_factory: (Updatable) The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory' :param pulumi.Input[str] jndi_initial_context_factory: (Updatable) The implementation of javax.naming.spi.InitialContextFactory interface that the client uses to obtain initial naming context. e.g.: 'org.apache.activemq.jndi.ActiveMQInitialContextFactory' :param pulumi.Input[str] jndi_provider_url: (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' - :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. + :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] jndi_security_credentials_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. :param pulumi.Input[str] jndi_security_principal: (Updatable) Specifies the identity of the principal (user) to be authenticated. e.g.: 'admin2' :param pulumi.Input[str] key_id: (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. - :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. + :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] key_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. :param pulumi.Input[str] key_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the KeyStore file is stored. Note: When provided, 'keyStore' field must not be provided. :param pulumi.Input[Sequence[pulumi.Input['ConnectionLockArgs']]] locks: Locks associated with this resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. :param pulumi.Input[int] port: (Updatable) The port of an endpoint usually specified for a connection. :param pulumi.Input[str] private_ip: (Updatable) Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. - :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. - :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. + :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_passphrase_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. :param pulumi.Input[str] producer_properties: (Updatable) The base64 encoded content of the producer.properties file. :param pulumi.Input[str] public_key_fingerprint: (Updatable) The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm :param pulumi.Input[str] redis_cluster_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. - :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 + :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. :param pulumi.Input[str] routing_method: (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. - :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] sas_token_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. - :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] secret_access_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. :param pulumi.Input[str] security_protocol: (Updatable) Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required. :param pulumi.Input[str] servers: (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` - :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] service_account_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[bool] should_use_jndi: (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + :param pulumi.Input[bool] should_use_resource_principal: (Updatable) Indicates that the user intents to connect to the instance through resource principal. :param pulumi.Input[bool] should_validate_server_certificate: (Updatable) If set to true, the driver validates the certificate that is sent by the database server. :param pulumi.Input[str] ssl_ca: (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. :param pulumi.Input[str] ssl_cert: (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). - :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystash_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. - :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystoredb_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. :param pulumi.Input[str] ssl_crl: (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. - :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). - :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_key_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. :param pulumi.Input[str] ssl_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the Client Key * The content of a .pem or .crt file containing the client private key (for 2-way SSL). Note: When provided, 'sslKey' field must not be provided. :param pulumi.Input[str] ssl_mode: (Updatable) SSL modes for PostgreSQL. :param pulumi.Input[str] ssl_server_certificate: (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. + :param pulumi.Input[str] storage_credential_name: (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. :param pulumi.Input[str] stream_pool_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[str] tenancy_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. + :param pulumi.Input[str] tenant_id: (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + :param pulumi.Input[str] tls_ca_file: (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + :param pulumi.Input[str] tls_certificate_key_file: (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password: (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + :param pulumi.Input[str] tls_certificate_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. :param pulumi.Input[bool] trigger_refresh: (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). ** IMPORTANT ** 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] trust_store: (Updatable) The base64 encoded content of the TrustStore file. - :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. + :param pulumi.Input[str] trust_store: (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] trust_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. :param pulumi.Input[str] trust_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. :param pulumi.Input[str] url: (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' - :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] wallet_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. """ pulumi.set(__self__, "compartment_id", compartment_id) @@ -359,6 +376,8 @@ def __init__(__self__, *, pulumi.set(__self__, "session_mode", session_mode) if should_use_jndi is not None: pulumi.set(__self__, "should_use_jndi", should_use_jndi) + if should_use_resource_principal is not None: + pulumi.set(__self__, "should_use_resource_principal", should_use_resource_principal) if should_validate_server_certificate is not None: pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) if ssl_ca is not None: @@ -387,12 +406,26 @@ def __init__(__self__, *, pulumi.set(__self__, "ssl_mode", ssl_mode) if ssl_server_certificate is not None: pulumi.set(__self__, "ssl_server_certificate", ssl_server_certificate) + if storage_credential_name is not None: + pulumi.set(__self__, "storage_credential_name", storage_credential_name) if stream_pool_id is not None: pulumi.set(__self__, "stream_pool_id", stream_pool_id) if subnet_id is not None: pulumi.set(__self__, "subnet_id", subnet_id) if tenancy_id is not None: pulumi.set(__self__, "tenancy_id", tenancy_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + if tls_ca_file is not None: + pulumi.set(__self__, "tls_ca_file", tls_ca_file) + if tls_certificate_key_file is not None: + pulumi.set(__self__, "tls_certificate_key_file", tls_certificate_key_file) + if tls_certificate_key_file_password is not None: + pulumi.set(__self__, "tls_certificate_key_file_password", tls_certificate_key_file_password) + if tls_certificate_key_file_password_secret_id is not None: + pulumi.set(__self__, "tls_certificate_key_file_password_secret_id", tls_certificate_key_file_password_secret_id) + if tls_certificate_key_file_secret_id is not None: + pulumi.set(__self__, "tls_certificate_key_file_secret_id", tls_certificate_key_file_secret_id) if trigger_refresh is not None: pulumi.set(__self__, "trigger_refresh", trigger_refresh) if trust_store is not None: @@ -480,7 +513,7 @@ def access_key_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="accountKey") def account_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "account_key") @@ -588,7 +621,7 @@ def client_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="clientSecret") def client_secret(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "client_secret") @@ -600,7 +633,7 @@ def client_secret(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="clientSecretSecretId") def client_secret_secret_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. """ return pulumi.get(self, "client_secret_secret_id") @@ -636,7 +669,7 @@ def connection_string(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="connectionUrl") def connection_url(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' """ return pulumi.get(self, "connection_url") @@ -756,7 +789,7 @@ def does_use_secret_ids(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def endpoint(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com """ return pulumi.get(self, "endpoint") @@ -850,7 +883,7 @@ def jndi_provider_url(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="jndiSecurityCredentials") def jndi_security_credentials(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password associated to the principal. + (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "jndi_security_credentials") @@ -898,7 +931,7 @@ def key_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="keyStore") def key_store(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the KeyStore file. + (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store") @@ -910,7 +943,7 @@ def key_store(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="keyStorePassword") def key_store_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The KeyStore password. + (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store_password") @@ -970,7 +1003,7 @@ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -1020,7 +1053,7 @@ def private_ip(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateKeyFile") def private_key_file(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_file") @@ -1044,7 +1077,7 @@ def private_key_file_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateKeyPassphrase") def private_key_passphrase(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Password if the private key file is encrypted. + (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_passphrase") @@ -1104,7 +1137,7 @@ def redis_cluster_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The name of the region. e.g.: us-ashburn-1 + (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. """ return pulumi.get(self, "region") @@ -1128,7 +1161,7 @@ def routing_method(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sasToken") def sas_token(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "sas_token") @@ -1152,7 +1185,7 @@ def sas_token_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="secretAccessKey") def secret_access_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "secret_access_key") @@ -1200,7 +1233,7 @@ def servers(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="serviceAccountKeyFile") def service_account_key_file(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "service_account_key_file") @@ -1244,6 +1277,18 @@ def should_use_jndi(self) -> Optional[pulumi.Input[bool]]: def should_use_jndi(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "should_use_jndi", value) + @property + @pulumi.getter(name="shouldUseResourcePrincipal") + def should_use_resource_principal(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Indicates that the user intents to connect to the instance through resource principal. + """ + return pulumi.get(self, "should_use_resource_principal") + + @should_use_resource_principal.setter + def should_use_resource_principal(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "should_use_resource_principal", value) + @property @pulumi.getter(name="shouldValidateServerCertificate") def should_validate_server_certificate(self) -> Optional[pulumi.Input[bool]]: @@ -1284,7 +1329,7 @@ def ssl_cert(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslClientKeystash") def ssl_client_keystash(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystash") @@ -1308,7 +1353,7 @@ def ssl_client_keystash_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslClientKeystoredb") def ssl_client_keystoredb(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystoredb") @@ -1344,7 +1389,7 @@ def ssl_crl(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslKey") def ssl_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key") @@ -1356,7 +1401,7 @@ def ssl_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslKeyPassword") def ssl_key_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key_password") @@ -1413,6 +1458,18 @@ def ssl_server_certificate(self) -> Optional[pulumi.Input[str]]: def ssl_server_certificate(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ssl_server_certificate", value) + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + """ + return pulumi.get(self, "storage_credential_name") + + @storage_credential_name.setter + def storage_credential_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_credential_name", value) + @property @pulumi.getter(name="streamPoolId") def stream_pool_id(self) -> Optional[pulumi.Input[str]]: @@ -1449,6 +1506,79 @@ def tenancy_id(self) -> Optional[pulumi.Input[str]]: def tenancy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenancy_id", value) + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="tlsCaFile") + def tls_ca_file(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + """ + return pulumi.get(self, "tls_ca_file") + + @tls_ca_file.setter + def tls_ca_file(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_ca_file", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFile") + def tls_certificate_key_file(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file") + + @tls_certificate_key_file.setter + def tls_certificate_key_file(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFilePassword") + def tls_certificate_key_file_password(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file_password") + + @tls_certificate_key_file_password.setter + def tls_certificate_key_file_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_password", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFilePasswordSecretId") + def tls_certificate_key_file_password_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_password_secret_id") + + @tls_certificate_key_file_password_secret_id.setter + def tls_certificate_key_file_password_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_password_secret_id", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFileSecretId") + def tls_certificate_key_file_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_secret_id") + + @tls_certificate_key_file_secret_id.setter + def tls_certificate_key_file_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_secret_id", value) + @property @pulumi.getter(name="triggerRefresh") def trigger_refresh(self) -> Optional[pulumi.Input[bool]]: @@ -1469,7 +1599,7 @@ def trigger_refresh(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="trustStore") def trust_store(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the TrustStore file. + (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store") @@ -1481,7 +1611,7 @@ def trust_store(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="trustStorePassword") def trust_store_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The TrustStore password. + (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store_password") @@ -1529,7 +1659,7 @@ def url(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. """ return pulumi.get(self, "user_id") @@ -1565,7 +1695,7 @@ def vault_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def wallet(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "wallet") @@ -1659,6 +1789,7 @@ def __init__(__self__, *, service_account_key_file_secret_id: Optional[pulumi.Input[str]] = None, session_mode: Optional[pulumi.Input[str]] = None, should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_use_resource_principal: Optional[pulumi.Input[bool]] = None, should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, ssl_ca: Optional[pulumi.Input[str]] = None, ssl_cert: Optional[pulumi.Input[str]] = None, @@ -1674,13 +1805,20 @@ def __init__(__self__, *, ssl_mode: Optional[pulumi.Input[str]] = None, ssl_server_certificate: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, + storage_credential_name: Optional[pulumi.Input[str]] = None, stream_pool_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, technology_type: Optional[pulumi.Input[str]] = None, tenancy_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, + tls_ca_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password_secret_id: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_secret_id: Optional[pulumi.Input[str]] = None, trigger_refresh: Optional[pulumi.Input[bool]] = None, trust_store: Optional[pulumi.Input[str]] = None, trust_store_password: Optional[pulumi.Input[str]] = None, @@ -1695,7 +1833,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Connection resources. :param pulumi.Input[str] access_key_id: (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" - :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] account_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. :param pulumi.Input[str] account_name: (Updatable) Sets the Azure storage account name. :param pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalAttributeArgs']]] additional_attributes: (Updatable) An array of name-value pair attribute entries. Used as additional parameters in connection string. @@ -1704,13 +1842,13 @@ def __init__(__self__, *, :param pulumi.Input[str] azure_tenant_id: (Updatable) Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[Sequence[pulumi.Input['ConnectionBootstrapServerArgs']]] bootstrap_servers: (Updatable) Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: `"server1.example.com:9092,server2.example.com:9092"` :param pulumi.Input[str] client_id: (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d - :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 - :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. :param pulumi.Input[str] connection_factory: (Updatable) The of Java class implementing javax.jms.ConnectionFactory interface supplied by the Java Message Service provider. e.g.: 'com.stc.jmsjca.core.JConnectionFactoryXA' :param pulumi.Input[str] connection_string: (Updatable) Connection string. AZURE_SYNAPSE_ANALYTICS e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;', MONGODB e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'. :param pulumi.Input[str] connection_type: (Updatable) The connection type. - :param pulumi.Input[str] connection_url: (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + :param pulumi.Input[str] connection_url: (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' :param pulumi.Input[str] consumer_properties: (Updatable) The base64 encoded content of the consumer.properties file. :param pulumi.Input[str] core_site_xml: (Updatable) The base64 encoded content of the Hadoop Distributed File System configuration file (core-site.xml). :param pulumi.Input[str] database_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Autonomous Json Database. @@ -1721,7 +1859,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) Metadata about this specific object. :param pulumi.Input[str] display_name: (Updatable) An object's Display Name. :param pulumi.Input[bool] does_use_secret_ids: (Updatable) Indicates that sensitive attributes are provided via Secrets. - :param pulumi.Input[str] endpoint: (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + :param pulumi.Input[str] endpoint: (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com :param pulumi.Input[str] fingerprint: (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] host: (Updatable) The name or address of a host. In case of Generic connection type host and port separated by colon. Example: `"server.example.com:1234"` @@ -1730,79 +1868,88 @@ def __init__(__self__, *, :param pulumi.Input[str] jndi_connection_factory: (Updatable) The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory' :param pulumi.Input[str] jndi_initial_context_factory: (Updatable) The implementation of javax.naming.spi.InitialContextFactory interface that the client uses to obtain initial naming context. e.g.: 'org.apache.activemq.jndi.ActiveMQInitialContextFactory' :param pulumi.Input[str] jndi_provider_url: (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' - :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. + :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] jndi_security_credentials_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. :param pulumi.Input[str] jndi_security_principal: (Updatable) Specifies the identity of the principal (user) to be authenticated. e.g.: 'admin2' :param pulumi.Input[str] key_id: (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. - :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. + :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] key_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. :param pulumi.Input[str] key_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the KeyStore file is stored. Note: When provided, 'keyStore' field must not be provided. :param pulumi.Input[str] lifecycle_details: Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. :param pulumi.Input[Sequence[pulumi.Input['ConnectionLockArgs']]] locks: Locks associated with this resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. :param pulumi.Input[int] port: (Updatable) The port of an endpoint usually specified for a connection. :param pulumi.Input[str] private_ip: (Updatable) Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. - :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. - :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. + :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_passphrase_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. :param pulumi.Input[str] producer_properties: (Updatable) The base64 encoded content of the producer.properties file. :param pulumi.Input[str] public_key_fingerprint: (Updatable) The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm :param pulumi.Input[str] redis_cluster_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. - :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 + :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. :param pulumi.Input[str] routing_method: (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. - :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] sas_token_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. - :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] secret_access_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. :param pulumi.Input[str] security_protocol: (Updatable) Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required. :param pulumi.Input[str] servers: (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` - :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] service_account_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[bool] should_use_jndi: (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + :param pulumi.Input[bool] should_use_resource_principal: (Updatable) Indicates that the user intents to connect to the instance through resource principal. :param pulumi.Input[bool] should_validate_server_certificate: (Updatable) If set to true, the driver validates the certificate that is sent by the database server. :param pulumi.Input[str] ssl_ca: (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. :param pulumi.Input[str] ssl_cert: (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). - :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystash_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. - :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystoredb_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. :param pulumi.Input[str] ssl_crl: (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. - :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). - :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_key_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. :param pulumi.Input[str] ssl_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the Client Key * The content of a .pem or .crt file containing the client private key (for 2-way SSL). Note: When provided, 'sslKey' field must not be provided. :param pulumi.Input[str] ssl_mode: (Updatable) SSL modes for PostgreSQL. :param pulumi.Input[str] ssl_server_certificate: (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. :param pulumi.Input[str] state: Possible lifecycle states for connection. + :param pulumi.Input[str] storage_credential_name: (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. :param pulumi.Input[str] stream_pool_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` :param pulumi.Input[str] technology_type: The Kafka (e.g. Confluent) Schema Registry technology type. :param pulumi.Input[str] tenancy_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. + :param pulumi.Input[str] tenant_id: (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[str] time_created: The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. + :param pulumi.Input[str] tls_ca_file: (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + :param pulumi.Input[str] tls_certificate_key_file: (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password: (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + :param pulumi.Input[str] tls_certificate_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. :param pulumi.Input[bool] trigger_refresh: (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). ** IMPORTANT ** 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] trust_store: (Updatable) The base64 encoded content of the TrustStore file. - :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. + :param pulumi.Input[str] trust_store: (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] trust_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. :param pulumi.Input[str] trust_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. :param pulumi.Input[str] url: (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' - :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] wallet_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. """ if access_key_id is not None: @@ -1945,6 +2092,8 @@ def __init__(__self__, *, pulumi.set(__self__, "session_mode", session_mode) if should_use_jndi is not None: pulumi.set(__self__, "should_use_jndi", should_use_jndi) + if should_use_resource_principal is not None: + pulumi.set(__self__, "should_use_resource_principal", should_use_resource_principal) if should_validate_server_certificate is not None: pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) if ssl_ca is not None: @@ -1975,6 +2124,8 @@ def __init__(__self__, *, pulumi.set(__self__, "ssl_server_certificate", ssl_server_certificate) if state is not None: pulumi.set(__self__, "state", state) + if storage_credential_name is not None: + pulumi.set(__self__, "storage_credential_name", storage_credential_name) if stream_pool_id is not None: pulumi.set(__self__, "stream_pool_id", stream_pool_id) if subnet_id is not None: @@ -1985,10 +2136,22 @@ def __init__(__self__, *, pulumi.set(__self__, "technology_type", technology_type) if tenancy_id is not None: pulumi.set(__self__, "tenancy_id", tenancy_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_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) + if tls_ca_file is not None: + pulumi.set(__self__, "tls_ca_file", tls_ca_file) + if tls_certificate_key_file is not None: + pulumi.set(__self__, "tls_certificate_key_file", tls_certificate_key_file) + if tls_certificate_key_file_password is not None: + pulumi.set(__self__, "tls_certificate_key_file_password", tls_certificate_key_file_password) + if tls_certificate_key_file_password_secret_id is not None: + pulumi.set(__self__, "tls_certificate_key_file_password_secret_id", tls_certificate_key_file_password_secret_id) + if tls_certificate_key_file_secret_id is not None: + pulumi.set(__self__, "tls_certificate_key_file_secret_id", tls_certificate_key_file_secret_id) if trigger_refresh is not None: pulumi.set(__self__, "trigger_refresh", trigger_refresh) if trust_store is not None: @@ -2028,7 +2191,7 @@ def access_key_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="accountKey") def account_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "account_key") @@ -2136,7 +2299,7 @@ def client_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="clientSecret") def client_secret(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "client_secret") @@ -2148,7 +2311,7 @@ def client_secret(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="clientSecretSecretId") def client_secret_secret_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. """ return pulumi.get(self, "client_secret_secret_id") @@ -2208,7 +2371,7 @@ def connection_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="connectionUrl") def connection_url(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' """ return pulumi.get(self, "connection_url") @@ -2340,7 +2503,7 @@ def does_use_secret_ids(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def endpoint(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com """ return pulumi.get(self, "endpoint") @@ -2446,7 +2609,7 @@ def jndi_provider_url(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="jndiSecurityCredentials") def jndi_security_credentials(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password associated to the principal. + (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "jndi_security_credentials") @@ -2494,7 +2657,7 @@ def key_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="keyStore") def key_store(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the KeyStore file. + (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store") @@ -2506,7 +2669,7 @@ def key_store(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="keyStorePassword") def key_store_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The KeyStore password. + (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store_password") @@ -2578,7 +2741,7 @@ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -2628,7 +2791,7 @@ def private_ip(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateKeyFile") def private_key_file(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_file") @@ -2652,7 +2815,7 @@ def private_key_file_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateKeyPassphrase") def private_key_passphrase(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Password if the private key file is encrypted. + (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_passphrase") @@ -2712,7 +2875,7 @@ def redis_cluster_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The name of the region. e.g.: us-ashburn-1 + (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. """ return pulumi.get(self, "region") @@ -2736,7 +2899,7 @@ def routing_method(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sasToken") def sas_token(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "sas_token") @@ -2760,7 +2923,7 @@ def sas_token_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="secretAccessKey") def secret_access_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "secret_access_key") @@ -2808,7 +2971,7 @@ def servers(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="serviceAccountKeyFile") def service_account_key_file(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "service_account_key_file") @@ -2852,6 +3015,18 @@ def should_use_jndi(self) -> Optional[pulumi.Input[bool]]: def should_use_jndi(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "should_use_jndi", value) + @property + @pulumi.getter(name="shouldUseResourcePrincipal") + def should_use_resource_principal(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Indicates that the user intents to connect to the instance through resource principal. + """ + return pulumi.get(self, "should_use_resource_principal") + + @should_use_resource_principal.setter + def should_use_resource_principal(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "should_use_resource_principal", value) + @property @pulumi.getter(name="shouldValidateServerCertificate") def should_validate_server_certificate(self) -> Optional[pulumi.Input[bool]]: @@ -2892,7 +3067,7 @@ def ssl_cert(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslClientKeystash") def ssl_client_keystash(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystash") @@ -2916,7 +3091,7 @@ def ssl_client_keystash_secret_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslClientKeystoredb") def ssl_client_keystoredb(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystoredb") @@ -2952,7 +3127,7 @@ def ssl_crl(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslKey") def ssl_key(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key") @@ -2964,7 +3139,7 @@ def ssl_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="sslKeyPassword") def ssl_key_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key_password") @@ -3033,6 +3208,18 @@ def state(self) -> Optional[pulumi.Input[str]]: def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + """ + return pulumi.get(self, "storage_credential_name") + + @storage_credential_name.setter + def storage_credential_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_credential_name", value) + @property @pulumi.getter(name="streamPoolId") def stream_pool_id(self) -> Optional[pulumi.Input[str]]: @@ -3093,6 +3280,18 @@ def tenancy_id(self) -> Optional[pulumi.Input[str]]: def tenancy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenancy_id", value) + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: @@ -3117,6 +3316,67 @@ 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="tlsCaFile") + def tls_ca_file(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + """ + return pulumi.get(self, "tls_ca_file") + + @tls_ca_file.setter + def tls_ca_file(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_ca_file", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFile") + def tls_certificate_key_file(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file") + + @tls_certificate_key_file.setter + def tls_certificate_key_file(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFilePassword") + def tls_certificate_key_file_password(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file_password") + + @tls_certificate_key_file_password.setter + def tls_certificate_key_file_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_password", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFilePasswordSecretId") + def tls_certificate_key_file_password_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_password_secret_id") + + @tls_certificate_key_file_password_secret_id.setter + def tls_certificate_key_file_password_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_password_secret_id", value) + + @property + @pulumi.getter(name="tlsCertificateKeyFileSecretId") + def tls_certificate_key_file_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_secret_id") + + @tls_certificate_key_file_secret_id.setter + def tls_certificate_key_file_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tls_certificate_key_file_secret_id", value) + @property @pulumi.getter(name="triggerRefresh") def trigger_refresh(self) -> Optional[pulumi.Input[bool]]: @@ -3137,7 +3397,7 @@ def trigger_refresh(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="trustStore") def trust_store(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The base64 encoded content of the TrustStore file. + (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store") @@ -3149,7 +3409,7 @@ def trust_store(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="trustStorePassword") def trust_store_password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The TrustStore password. + (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store_password") @@ -3197,7 +3457,7 @@ def url(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. """ return pulumi.get(self, "user_id") @@ -3233,7 +3493,7 @@ def vault_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def wallet(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "wallet") @@ -3327,6 +3587,7 @@ def __init__(__self__, service_account_key_file_secret_id: Optional[pulumi.Input[str]] = None, session_mode: Optional[pulumi.Input[str]] = None, should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_use_resource_principal: Optional[pulumi.Input[bool]] = None, should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, ssl_ca: Optional[pulumi.Input[str]] = None, ssl_cert: Optional[pulumi.Input[str]] = None, @@ -3341,10 +3602,17 @@ def __init__(__self__, ssl_key_secret_id: Optional[pulumi.Input[str]] = None, ssl_mode: Optional[pulumi.Input[str]] = None, ssl_server_certificate: Optional[pulumi.Input[str]] = None, + storage_credential_name: Optional[pulumi.Input[str]] = None, stream_pool_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, technology_type: Optional[pulumi.Input[str]] = None, tenancy_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tls_ca_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password_secret_id: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_secret_id: Optional[pulumi.Input[str]] = None, trigger_refresh: Optional[pulumi.Input[bool]] = None, trust_store: Optional[pulumi.Input[str]] = None, trust_store_password: Optional[pulumi.Input[str]] = None, @@ -3451,6 +3719,7 @@ def __init__(__self__, service_account_key_file_secret_id=test_secret["id"], session_mode=connection_session_mode, should_use_jndi=connection_should_use_jndi, + should_use_resource_principal=connection_should_use_resource_principal, should_validate_server_certificate=connection_should_validate_server_certificate, ssl_ca=connection_ssl_ca, ssl_cert=connection_ssl_cert, @@ -3465,9 +3734,16 @@ def __init__(__self__, ssl_key_secret_id=test_secret["id"], ssl_mode=connection_ssl_mode, ssl_server_certificate=connection_ssl_server_certificate, + storage_credential_name=connection_storage_credential_name, stream_pool_id=test_stream_pool["id"], subnet_id=test_subnet["id"], tenancy_id=test_tenancy["id"], + tenant_id=test_tenant["id"], + tls_ca_file=connection_tls_ca_file, + tls_certificate_key_file=connection_tls_certificate_key_file, + tls_certificate_key_file_password=connection_tls_certificate_key_file_password, + tls_certificate_key_file_password_secret_id=test_secret["id"], + tls_certificate_key_file_secret_id=test_secret["id"], trust_store=connection_trust_store, trust_store_password=connection_trust_store_password, trust_store_password_secret_id=test_secret["id"], @@ -3492,7 +3768,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_key_id: (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" - :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] account_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. :param pulumi.Input[str] account_name: (Updatable) Sets the Azure storage account name. :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionAdditionalAttributeArgs', 'ConnectionAdditionalAttributeArgsDict']]]] additional_attributes: (Updatable) An array of name-value pair attribute entries. Used as additional parameters in connection string. @@ -3501,13 +3777,13 @@ def __init__(__self__, :param pulumi.Input[str] azure_tenant_id: (Updatable) Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionBootstrapServerArgs', 'ConnectionBootstrapServerArgsDict']]]] bootstrap_servers: (Updatable) Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: `"server1.example.com:9092,server2.example.com:9092"` :param pulumi.Input[str] client_id: (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d - :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 - :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. :param pulumi.Input[str] connection_factory: (Updatable) The of Java class implementing javax.jms.ConnectionFactory interface supplied by the Java Message Service provider. e.g.: 'com.stc.jmsjca.core.JConnectionFactoryXA' :param pulumi.Input[str] connection_string: (Updatable) Connection string. AZURE_SYNAPSE_ANALYTICS e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;', MONGODB e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'. :param pulumi.Input[str] connection_type: (Updatable) The connection type. - :param pulumi.Input[str] connection_url: (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + :param pulumi.Input[str] connection_url: (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' :param pulumi.Input[str] consumer_properties: (Updatable) The base64 encoded content of the consumer.properties file. :param pulumi.Input[str] core_site_xml: (Updatable) The base64 encoded content of the Hadoop Distributed File System configuration file (core-site.xml). :param pulumi.Input[str] database_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Autonomous Json Database. @@ -3518,7 +3794,7 @@ def __init__(__self__, :param pulumi.Input[str] description: (Updatable) Metadata about this specific object. :param pulumi.Input[str] display_name: (Updatable) An object's Display Name. :param pulumi.Input[bool] does_use_secret_ids: (Updatable) Indicates that sensitive attributes are provided via Secrets. - :param pulumi.Input[str] endpoint: (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + :param pulumi.Input[str] endpoint: (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com :param pulumi.Input[str] fingerprint: (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] host: (Updatable) The name or address of a host. In case of Generic connection type host and port separated by colon. Example: `"server.example.com:1234"` @@ -3526,74 +3802,83 @@ def __init__(__self__, :param pulumi.Input[str] jndi_connection_factory: (Updatable) The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory' :param pulumi.Input[str] jndi_initial_context_factory: (Updatable) The implementation of javax.naming.spi.InitialContextFactory interface that the client uses to obtain initial naming context. e.g.: 'org.apache.activemq.jndi.ActiveMQInitialContextFactory' :param pulumi.Input[str] jndi_provider_url: (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' - :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. + :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] jndi_security_credentials_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. :param pulumi.Input[str] jndi_security_principal: (Updatable) Specifies the identity of the principal (user) to be authenticated. e.g.: 'admin2' :param pulumi.Input[str] key_id: (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. - :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. + :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] key_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. :param pulumi.Input[str] key_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the KeyStore file is stored. Note: When provided, 'keyStore' field must not be provided. :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionLockArgs', 'ConnectionLockArgsDict']]]] locks: Locks associated with this resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. :param pulumi.Input[int] port: (Updatable) The port of an endpoint usually specified for a connection. :param pulumi.Input[str] private_ip: (Updatable) Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. - :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. - :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. + :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_passphrase_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. :param pulumi.Input[str] producer_properties: (Updatable) The base64 encoded content of the producer.properties file. :param pulumi.Input[str] public_key_fingerprint: (Updatable) The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm :param pulumi.Input[str] redis_cluster_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. - :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 + :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. :param pulumi.Input[str] routing_method: (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. - :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] sas_token_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. - :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] secret_access_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. :param pulumi.Input[str] security_protocol: (Updatable) Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required. :param pulumi.Input[str] servers: (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` - :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] service_account_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[bool] should_use_jndi: (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + :param pulumi.Input[bool] should_use_resource_principal: (Updatable) Indicates that the user intents to connect to the instance through resource principal. :param pulumi.Input[bool] should_validate_server_certificate: (Updatable) If set to true, the driver validates the certificate that is sent by the database server. :param pulumi.Input[str] ssl_ca: (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. :param pulumi.Input[str] ssl_cert: (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). - :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystash_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. - :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystoredb_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. :param pulumi.Input[str] ssl_crl: (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. - :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). - :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_key_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. :param pulumi.Input[str] ssl_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the Client Key * The content of a .pem or .crt file containing the client private key (for 2-way SSL). Note: When provided, 'sslKey' field must not be provided. :param pulumi.Input[str] ssl_mode: (Updatable) SSL modes for PostgreSQL. :param pulumi.Input[str] ssl_server_certificate: (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. + :param pulumi.Input[str] storage_credential_name: (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. :param pulumi.Input[str] stream_pool_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[str] technology_type: The Kafka (e.g. Confluent) Schema Registry technology type. :param pulumi.Input[str] tenancy_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. + :param pulumi.Input[str] tenant_id: (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + :param pulumi.Input[str] tls_ca_file: (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + :param pulumi.Input[str] tls_certificate_key_file: (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password: (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + :param pulumi.Input[str] tls_certificate_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. :param pulumi.Input[bool] trigger_refresh: (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). ** IMPORTANT ** 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] trust_store: (Updatable) The base64 encoded content of the TrustStore file. - :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. + :param pulumi.Input[str] trust_store: (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] trust_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. :param pulumi.Input[str] trust_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. :param pulumi.Input[str] url: (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' - :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] wallet_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. """ ... @@ -3696,6 +3981,7 @@ def __init__(__self__, service_account_key_file_secret_id=test_secret["id"], session_mode=connection_session_mode, should_use_jndi=connection_should_use_jndi, + should_use_resource_principal=connection_should_use_resource_principal, should_validate_server_certificate=connection_should_validate_server_certificate, ssl_ca=connection_ssl_ca, ssl_cert=connection_ssl_cert, @@ -3710,9 +3996,16 @@ def __init__(__self__, ssl_key_secret_id=test_secret["id"], ssl_mode=connection_ssl_mode, ssl_server_certificate=connection_ssl_server_certificate, + storage_credential_name=connection_storage_credential_name, stream_pool_id=test_stream_pool["id"], subnet_id=test_subnet["id"], tenancy_id=test_tenancy["id"], + tenant_id=test_tenant["id"], + tls_ca_file=connection_tls_ca_file, + tls_certificate_key_file=connection_tls_certificate_key_file, + tls_certificate_key_file_password=connection_tls_certificate_key_file_password, + tls_certificate_key_file_password_secret_id=test_secret["id"], + tls_certificate_key_file_secret_id=test_secret["id"], trust_store=connection_trust_store, trust_store_password=connection_trust_store_password, trust_store_password_secret_id=test_secret["id"], @@ -3817,6 +4110,7 @@ def _internal_init(__self__, service_account_key_file_secret_id: Optional[pulumi.Input[str]] = None, session_mode: Optional[pulumi.Input[str]] = None, should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_use_resource_principal: Optional[pulumi.Input[bool]] = None, should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, ssl_ca: Optional[pulumi.Input[str]] = None, ssl_cert: Optional[pulumi.Input[str]] = None, @@ -3831,10 +4125,17 @@ def _internal_init(__self__, ssl_key_secret_id: Optional[pulumi.Input[str]] = None, ssl_mode: Optional[pulumi.Input[str]] = None, ssl_server_certificate: Optional[pulumi.Input[str]] = None, + storage_credential_name: Optional[pulumi.Input[str]] = None, stream_pool_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, technology_type: Optional[pulumi.Input[str]] = None, tenancy_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tls_ca_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password_secret_id: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_secret_id: Optional[pulumi.Input[str]] = None, trigger_refresh: Optional[pulumi.Input[bool]] = None, trust_store: Optional[pulumi.Input[str]] = None, trust_store_password: Optional[pulumi.Input[str]] = None, @@ -3929,6 +4230,7 @@ def _internal_init(__self__, __props__.__dict__["service_account_key_file_secret_id"] = service_account_key_file_secret_id __props__.__dict__["session_mode"] = session_mode __props__.__dict__["should_use_jndi"] = should_use_jndi + __props__.__dict__["should_use_resource_principal"] = should_use_resource_principal __props__.__dict__["should_validate_server_certificate"] = should_validate_server_certificate __props__.__dict__["ssl_ca"] = ssl_ca __props__.__dict__["ssl_cert"] = ssl_cert @@ -3943,12 +4245,19 @@ def _internal_init(__self__, __props__.__dict__["ssl_key_secret_id"] = ssl_key_secret_id __props__.__dict__["ssl_mode"] = ssl_mode __props__.__dict__["ssl_server_certificate"] = ssl_server_certificate + __props__.__dict__["storage_credential_name"] = storage_credential_name __props__.__dict__["stream_pool_id"] = stream_pool_id __props__.__dict__["subnet_id"] = subnet_id if technology_type is None and not opts.urn: raise TypeError("Missing required property 'technology_type'") __props__.__dict__["technology_type"] = technology_type __props__.__dict__["tenancy_id"] = tenancy_id + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["tls_ca_file"] = tls_ca_file + __props__.__dict__["tls_certificate_key_file"] = tls_certificate_key_file + __props__.__dict__["tls_certificate_key_file_password"] = None if tls_certificate_key_file_password is None else pulumi.Output.secret(tls_certificate_key_file_password) + __props__.__dict__["tls_certificate_key_file_password_secret_id"] = None if tls_certificate_key_file_password_secret_id is None else pulumi.Output.secret(tls_certificate_key_file_password_secret_id) + __props__.__dict__["tls_certificate_key_file_secret_id"] = tls_certificate_key_file_secret_id __props__.__dict__["trigger_refresh"] = trigger_refresh __props__.__dict__["trust_store"] = None if trust_store is None else pulumi.Output.secret(trust_store) __props__.__dict__["trust_store_password"] = None if trust_store_password is None else pulumi.Output.secret(trust_store_password) @@ -3966,7 +4275,7 @@ def _internal_init(__self__, __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None __props__.__dict__["time_updated"] = None - secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accountKey", "clientSecret", "jndiSecurityCredentials", "keyStore", "keyStorePassword", "password", "privateKeyFile", "privateKeyPassphrase", "sasToken", "secretAccessKey", "serviceAccountKeyFile", "sslClientKeystash", "sslClientKeystoredb", "sslKey", "sslKeyPassword", "trustStore", "trustStorePassword", "wallet"]) + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accountKey", "clientSecret", "jndiSecurityCredentials", "keyStore", "keyStorePassword", "password", "privateKeyFile", "privateKeyPassphrase", "sasToken", "secretAccessKey", "serviceAccountKeyFile", "sslClientKeystash", "sslClientKeystoredb", "sslKey", "sslKeyPassword", "tlsCertificateKeyFilePassword", "tlsCertificateKeyFilePasswordSecretId", "trustStore", "trustStorePassword", "wallet"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Connection, __self__).__init__( 'oci:GoldenGate/connection:Connection', @@ -4048,6 +4357,7 @@ def get(resource_name: str, service_account_key_file_secret_id: Optional[pulumi.Input[str]] = None, session_mode: Optional[pulumi.Input[str]] = None, should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_use_resource_principal: Optional[pulumi.Input[bool]] = None, should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, ssl_ca: Optional[pulumi.Input[str]] = None, ssl_cert: Optional[pulumi.Input[str]] = None, @@ -4063,13 +4373,20 @@ def get(resource_name: str, ssl_mode: Optional[pulumi.Input[str]] = None, ssl_server_certificate: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, + storage_credential_name: Optional[pulumi.Input[str]] = None, stream_pool_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, technology_type: Optional[pulumi.Input[str]] = None, tenancy_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, + tls_ca_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_password_secret_id: Optional[pulumi.Input[str]] = None, + tls_certificate_key_file_secret_id: Optional[pulumi.Input[str]] = None, trigger_refresh: Optional[pulumi.Input[bool]] = None, trust_store: Optional[pulumi.Input[str]] = None, trust_store_password: Optional[pulumi.Input[str]] = None, @@ -4089,7 +4406,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_key_id: (Updatable) Access key ID to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" - :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + :param pulumi.Input[str] account_key: (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] account_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the account key is stored. Note: When provided, 'accountKey' field must not be provided. :param pulumi.Input[str] account_name: (Updatable) Sets the Azure storage account name. :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionAdditionalAttributeArgs', 'ConnectionAdditionalAttributeArgsDict']]]] additional_attributes: (Updatable) An array of name-value pair attribute entries. Used as additional parameters in connection string. @@ -4098,13 +4415,13 @@ def get(resource_name: str, :param pulumi.Input[str] azure_tenant_id: (Updatable) Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionBootstrapServerArgs', 'ConnectionBootstrapServerArgsDict']]]] bootstrap_servers: (Updatable) Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: `"server1.example.com:9092,server2.example.com:9092"` :param pulumi.Input[str] client_id: (Updatable) Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d - :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 - :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + :param pulumi.Input[str] client_secret: (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] client_secret_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. :param pulumi.Input[str] connection_factory: (Updatable) The of Java class implementing javax.jms.ConnectionFactory interface supplied by the Java Message Service provider. e.g.: 'com.stc.jmsjca.core.JConnectionFactoryXA' :param pulumi.Input[str] connection_string: (Updatable) Connection string. AZURE_SYNAPSE_ANALYTICS e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;', MONGODB e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'. :param pulumi.Input[str] connection_type: (Updatable) The connection type. - :param pulumi.Input[str] connection_url: (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + :param pulumi.Input[str] connection_url: (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' :param pulumi.Input[str] consumer_properties: (Updatable) The base64 encoded content of the consumer.properties file. :param pulumi.Input[str] core_site_xml: (Updatable) The base64 encoded content of the Hadoop Distributed File System configuration file (core-site.xml). :param pulumi.Input[str] database_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Autonomous Json Database. @@ -4115,7 +4432,7 @@ def get(resource_name: str, :param pulumi.Input[str] description: (Updatable) Metadata about this specific object. :param pulumi.Input[str] display_name: (Updatable) An object's Display Name. :param pulumi.Input[bool] does_use_secret_ids: (Updatable) Indicates that sensitive attributes are provided via Secrets. - :param pulumi.Input[str] endpoint: (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + :param pulumi.Input[str] endpoint: (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com :param pulumi.Input[str] fingerprint: (Updatable) Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] host: (Updatable) The name or address of a host. In case of Generic connection type host and port separated by colon. Example: `"server.example.com:1234"` @@ -4124,79 +4441,88 @@ def get(resource_name: str, :param pulumi.Input[str] jndi_connection_factory: (Updatable) The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory' :param pulumi.Input[str] jndi_initial_context_factory: (Updatable) The implementation of javax.naming.spi.InitialContextFactory interface that the client uses to obtain initial naming context. e.g.: 'org.apache.activemq.jndi.ActiveMQInitialContextFactory' :param pulumi.Input[str] jndi_provider_url: (Updatable) The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' - :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. + :param pulumi.Input[str] jndi_security_credentials: (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] jndi_security_credentials_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. Note: When provided, 'jndiSecurityCredentials' field must not be provided. :param pulumi.Input[str] jndi_security_principal: (Updatable) Specifies the identity of the principal (user) to be authenticated. e.g.: 'admin2' :param pulumi.Input[str] key_id: (Updatable) Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. - :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. + :param pulumi.Input[str] key_store: (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] key_store_password: (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] key_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl KeyStore password is stored. Note: When provided, 'keyStorePassword' field must not be provided. :param pulumi.Input[str] key_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the KeyStore file is stored. Note: When provided, 'keyStore' field must not be provided. :param pulumi.Input[str] lifecycle_details: Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionLockArgs', 'ConnectionLockArgsDict']]]] locks: Locks associated with this resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, 'password' field must not be provided. :param pulumi.Input[int] port: (Updatable) The port of an endpoint usually specified for a connection. :param pulumi.Input[str] private_ip: (Updatable) Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. - :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + :param pulumi.Input[str] private_key_file: (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, 'privateKeyFile' field must not be provided. - :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. + :param pulumi.Input[str] private_key_passphrase: (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] private_key_passphrase_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. :param pulumi.Input[str] producer_properties: (Updatable) The base64 encoded content of the producer.properties file. :param pulumi.Input[str] public_key_fingerprint: (Updatable) The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm :param pulumi.Input[str] redis_cluster_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. - :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 + :param pulumi.Input[str] region: (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. :param pulumi.Input[str] routing_method: (Updatable) Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. - :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + :param pulumi.Input[str] sas_token: (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] sas_token_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. - :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + :param pulumi.Input[str] secret_access_key: (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] secret_access_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. :param pulumi.Input[str] security_protocol: (Updatable) Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required. :param pulumi.Input[str] servers: (Updatable) Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: `"server1.example.com:4000,server2.example.com:4000"` - :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + :param pulumi.Input[str] service_account_key_file: (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] service_account_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[bool] should_use_jndi: (Updatable) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + :param pulumi.Input[bool] should_use_resource_principal: (Updatable) Indicates that the user intents to connect to the instance through resource principal. :param pulumi.Input[bool] should_validate_server_certificate: (Updatable) If set to true, the driver validates the certificate that is sent by the database server. :param pulumi.Input[str] ssl_ca: (Updatable) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt. :param pulumi.Input[str] ssl_cert: (Updatable) Client Certificate - The base64 encoded content of a .pem or .crt file. containing the client public key (for 2-way SSL). - :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + :param pulumi.Input[str] ssl_client_keystash: (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystash_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. - :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + :param pulumi.Input[str] ssl_client_keystoredb: (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_client_keystoredb_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. :param pulumi.Input[str] ssl_crl: (Updatable) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). Note: This is an optional property and only applicable if TLS/MTLS option is selected. - :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). - :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + :param pulumi.Input[str] ssl_key: (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] ssl_key_password: (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] ssl_key_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. :param pulumi.Input[str] ssl_key_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the Client Key * The content of a .pem or .crt file containing the client private key (for 2-way SSL). Note: When provided, 'sslKey' field must not be provided. :param pulumi.Input[str] ssl_mode: (Updatable) SSL modes for PostgreSQL. :param pulumi.Input[str] ssl_server_certificate: (Updatable) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate. :param pulumi.Input[str] state: Possible lifecycle states for connection. + :param pulumi.Input[str] storage_credential_name: (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. :param pulumi.Input[str] stream_pool_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` :param pulumi.Input[str] technology_type: The Kafka (e.g. Confluent) Schema Registry technology type. :param pulumi.Input[str] tenancy_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. + :param pulumi.Input[str] tenant_id: (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param pulumi.Input[str] time_created: The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. + :param pulumi.Input[str] tls_ca_file: (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + :param pulumi.Input[str] tls_certificate_key_file: (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password: (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] tls_certificate_key_file_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + :param pulumi.Input[str] tls_certificate_key_file_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. :param pulumi.Input[bool] trigger_refresh: (Updatable) If value is true, it triggers connection refresh action and this attribute change will always show up in the "update" plan and will apply steps in order to refresh secrets and dependent service properties (such as ADB connection strings, wallets, etc..). ** IMPORTANT ** 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] trust_store: (Updatable) The base64 encoded content of the TrustStore file. - :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. + :param pulumi.Input[str] trust_store: (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. + :param pulumi.Input[str] trust_store_password: (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] trust_store_password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. :param pulumi.Input[str] trust_store_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. :param pulumi.Input[str] url: (Updatable) Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' - :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + :param pulumi.Input[str] user_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: (Updatable) Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] wallet_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -4273,6 +4599,7 @@ def get(resource_name: str, __props__.__dict__["service_account_key_file_secret_id"] = service_account_key_file_secret_id __props__.__dict__["session_mode"] = session_mode __props__.__dict__["should_use_jndi"] = should_use_jndi + __props__.__dict__["should_use_resource_principal"] = should_use_resource_principal __props__.__dict__["should_validate_server_certificate"] = should_validate_server_certificate __props__.__dict__["ssl_ca"] = ssl_ca __props__.__dict__["ssl_cert"] = ssl_cert @@ -4288,13 +4615,20 @@ def get(resource_name: str, __props__.__dict__["ssl_mode"] = ssl_mode __props__.__dict__["ssl_server_certificate"] = ssl_server_certificate __props__.__dict__["state"] = state + __props__.__dict__["storage_credential_name"] = storage_credential_name __props__.__dict__["stream_pool_id"] = stream_pool_id __props__.__dict__["subnet_id"] = subnet_id __props__.__dict__["system_tags"] = system_tags __props__.__dict__["technology_type"] = technology_type __props__.__dict__["tenancy_id"] = tenancy_id + __props__.__dict__["tenant_id"] = tenant_id __props__.__dict__["time_created"] = time_created __props__.__dict__["time_updated"] = time_updated + __props__.__dict__["tls_ca_file"] = tls_ca_file + __props__.__dict__["tls_certificate_key_file"] = tls_certificate_key_file + __props__.__dict__["tls_certificate_key_file_password"] = tls_certificate_key_file_password + __props__.__dict__["tls_certificate_key_file_password_secret_id"] = tls_certificate_key_file_password_secret_id + __props__.__dict__["tls_certificate_key_file_secret_id"] = tls_certificate_key_file_secret_id __props__.__dict__["trigger_refresh"] = trigger_refresh __props__.__dict__["trust_store"] = trust_store __props__.__dict__["trust_store_password"] = trust_store_password @@ -4320,7 +4654,7 @@ def access_key_id(self) -> pulumi.Output[str]: @pulumi.getter(name="accountKey") def account_key(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== + (Updatable) Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'. e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ== Deprecated: This field is deprecated and replaced by "accountKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "account_key") @@ -4392,7 +4726,7 @@ def client_id(self) -> pulumi.Output[str]: @pulumi.getter(name="clientSecret") def client_secret(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 + (Updatable) Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "client_secret") @@ -4400,7 +4734,7 @@ def client_secret(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="clientSecretSecretId") def client_secret_secret_id(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Note: When provided, 'clientSecret' field must not be provided. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. """ return pulumi.get(self, "client_secret_secret_id") @@ -4440,7 +4774,7 @@ def connection_type(self) -> pulumi.Output[str]: @pulumi.getter(name="connectionUrl") def connection_url(self) -> pulumi.Output[str]: """ - (Updatable) JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + (Updatable) Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' """ return pulumi.get(self, "connection_url") @@ -4528,7 +4862,7 @@ def does_use_secret_ids(self) -> pulumi.Output[bool]: @pulumi.getter def endpoint(self) -> pulumi.Output[str]: """ - (Updatable) Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + (Updatable)Azure Storage service endpoint. e.g: https://test.blob.core.windows.net, Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com """ return pulumi.get(self, "endpoint") @@ -4598,7 +4932,7 @@ def jndi_provider_url(self) -> pulumi.Output[str]: @pulumi.getter(name="jndiSecurityCredentials") def jndi_security_credentials(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The password associated to the principal. + (Updatable) The password associated to the principal. Deprecated: This field is deprecated and replaced by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "jndi_security_credentials") @@ -4630,7 +4964,7 @@ def key_id(self) -> pulumi.Output[str]: @pulumi.getter(name="keyStore") def key_store(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded content of the KeyStore file. + (Updatable) The base64 encoded content of the KeyStore file. Deprecated: This field is deprecated and replaced by "keyStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store") @@ -4638,7 +4972,7 @@ def key_store(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="keyStorePassword") def key_store_password(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The KeyStore password. + (Updatable) The KeyStore password. Deprecated: This field is deprecated and replaced by "keyStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "key_store_password") @@ -4686,7 +5020,7 @@ def nsg_ids(self) -> pulumi.Output[Sequence[str]]: @pulumi.getter def password(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -4720,7 +5054,7 @@ def private_ip(self) -> pulumi.Output[str]: @pulumi.getter(name="privateKeyFile") def private_key_file(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + (Updatable) The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by "privateKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_file") @@ -4736,7 +5070,7 @@ def private_key_file_secret_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="privateKeyPassphrase") def private_key_passphrase(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Password if the private key file is encrypted. + (Updatable) Password if the private key file is encrypted. Deprecated: This field is deprecated and replaced by "privateKeyPassphraseSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "private_key_passphrase") @@ -4776,7 +5110,7 @@ def redis_cluster_id(self) -> pulumi.Output[str]: @pulumi.getter def region(self) -> pulumi.Output[str]: """ - (Updatable) The name of the region. e.g.: us-ashburn-1 + (Updatable) The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. """ return pulumi.get(self, "region") @@ -4792,7 +5126,7 @@ def routing_method(self) -> pulumi.Output[str]: @pulumi.getter(name="sasToken") def sas_token(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D + (Updatable) Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'. e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "sas_token") @@ -4808,7 +5142,7 @@ def sas_token_secret_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="secretAccessKey") def secret_access_key(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" + (Updatable) Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "secret_access_key") @@ -4840,7 +5174,7 @@ def servers(self) -> pulumi.Output[str]: @pulumi.getter(name="serviceAccountKeyFile") def service_account_key_file(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. + (Updatable) The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by "serviceAccountKeyFileSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "service_account_key_file") @@ -4868,6 +5202,14 @@ def should_use_jndi(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "should_use_jndi") + @property + @pulumi.getter(name="shouldUseResourcePrincipal") + def should_use_resource_principal(self) -> pulumi.Output[bool]: + """ + (Updatable) Indicates that the user intents to connect to the instance through resource principal. + """ + return pulumi.get(self, "should_use_resource_principal") + @property @pulumi.getter(name="shouldValidateServerCertificate") def should_validate_server_certificate(self) -> pulumi.Output[bool]: @@ -4896,7 +5238,7 @@ def ssl_cert(self) -> pulumi.Output[str]: @pulumi.getter(name="sslClientKeystash") def ssl_client_keystash(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. + (Updatable) The base64 encoded keystash file which contains the encrypted password to the key database file. Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystash") @@ -4912,7 +5254,7 @@ def ssl_client_keystash_secret_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="sslClientKeystoredb") def ssl_client_keystoredb(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. + (Updatable) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate. Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_client_keystoredb") @@ -4936,7 +5278,7 @@ def ssl_crl(self) -> pulumi.Output[str]: @pulumi.getter(name="sslKey") def ssl_key(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). + (Updatable) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "sslKeySecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key") @@ -4944,7 +5286,7 @@ def ssl_key(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="sslKeyPassword") def ssl_key_password(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. + (Updatable) The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by "sslKeyPasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "ssl_key_password") @@ -4989,6 +5331,14 @@ def state(self) -> pulumi.Output[str]: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> pulumi.Output[str]: + """ + (Updatable) Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + """ + return pulumi.get(self, "storage_credential_name") + @property @pulumi.getter(name="streamPoolId") def stream_pool_id(self) -> pulumi.Output[str]: @@ -5029,6 +5379,14 @@ def tenancy_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "tenancy_id") + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + (Updatable) Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + """ + return pulumi.get(self, "tenant_id") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: @@ -5045,6 +5403,47 @@ def time_updated(self) -> pulumi.Output[str]: """ return pulumi.get(self, "time_updated") + @property + @pulumi.getter(name="tlsCaFile") + def tls_ca_file(self) -> pulumi.Output[str]: + """ + (Updatable) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). + """ + return pulumi.get(self, "tls_ca_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFile") + def tls_certificate_key_file(self) -> pulumi.Output[str]: + """ + (Updatable) Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePassword") + def tls_certificate_key_file_password(self) -> pulumi.Output[str]: + """ + (Updatable) Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026. + """ + return pulumi.get(self, "tls_certificate_key_file_password") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePasswordSecretId") + def tls_certificate_key_file_password_secret_id(self) -> pulumi.Output[str]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_password_secret_id") + + @property + @pulumi.getter(name="tlsCertificateKeyFileSecretId") + def tls_certificate_key_file_secret_id(self) -> pulumi.Output[str]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_secret_id") + @property @pulumi.getter(name="triggerRefresh") def trigger_refresh(self) -> pulumi.Output[Optional[bool]]: @@ -5061,7 +5460,7 @@ def trigger_refresh(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="trustStore") def trust_store(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The base64 encoded content of the TrustStore file. + (Updatable) The base64 encoded content of the TrustStore file. Deprecated: This field is deprecated and replaced by "trustStoreSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store") @@ -5069,7 +5468,7 @@ def trust_store(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="trustStorePassword") def trust_store_password(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The TrustStore password. + (Updatable) The TrustStore password. Deprecated: This field is deprecated and replaced by "trustStorePasswordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "trust_store_password") @@ -5101,7 +5500,7 @@ def url(self) -> pulumi.Output[str]: @pulumi.getter(name="userId") def user_id(self) -> pulumi.Output[str]: """ - (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. """ return pulumi.get(self, "user_id") @@ -5125,7 +5524,7 @@ def vault_id(self) -> pulumi.Output[str]: @pulumi.getter def wallet(self) -> pulumi.Output[Optional[str]]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "wallet") diff --git a/sdk/python/pulumi_oci/goldengate/database_registration.py b/sdk/python/pulumi_oci/goldengate/database_registration.py index 547f2acc28..a7ffc0b6b5 100644 --- a/sdk/python/pulumi_oci/goldengate/database_registration.py +++ b/sdk/python/pulumi_oci/goldengate/database_registration.py @@ -43,7 +43,7 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. :param pulumi.Input[str] display_name: (Updatable) An object's Display Name. :param pulumi.Input[str] fqdn: (Updatable) A three-label Fully Qualified Domain Name (FQDN) for a resource. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] connection_string: (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database. :param pulumi.Input[str] database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database being referenced. @@ -56,7 +56,7 @@ def __init__(__self__, *, :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[str] vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -145,7 +145,7 @@ def fqdn(self, value: pulumi.Input[str]): @pulumi.getter def password(self) -> pulumi.Input[str]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -301,7 +301,7 @@ def vault_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def wallet(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -356,7 +356,7 @@ def __init__(__self__, *, :param pulumi.Input[str] ip_address: The private IP address in the customer's VCN of the customer's endpoint, typically a database. :param pulumi.Input[str] key_id: Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. :param pulumi.Input[str] lifecycle_details: Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] rce_private_ip: A Private Endpoint IP address created in the customer's subnet. A customer database can expect network traffic initiated by GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed. :param pulumi.Input[str] secret_compartment_id: The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. :param pulumi.Input[str] secret_id: The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use this Secret. @@ -368,7 +368,7 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -573,7 +573,7 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -717,7 +717,7 @@ def vault_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def wallet(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -812,13 +812,13 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] ip_address: The private IP address in the customer's VCN of the customer's endpoint, typically a database. :param pulumi.Input[str] key_id: Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] secret_compartment_id: The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. :param pulumi.Input[str] session_mode: (Updatable) The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -1010,7 +1010,7 @@ def get(resource_name: str, :param pulumi.Input[str] ip_address: The private IP address in the customer's VCN of the customer's endpoint, typically a database. :param pulumi.Input[str] key_id: Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. :param pulumi.Input[str] lifecycle_details: Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. - :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + :param pulumi.Input[str] password: (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. :param pulumi.Input[str] rce_private_ip: A Private Endpoint IP address created in the customer's subnet. A customer database can expect network traffic initiated by GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed. :param pulumi.Input[str] secret_compartment_id: The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. :param pulumi.Input[str] secret_id: The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use this Secret. @@ -1022,7 +1022,7 @@ def get(resource_name: str, :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] username: (Updatable) The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param pulumi.Input[str] vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + :param pulumi.Input[str] wallet: (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** @@ -1159,7 +1159,7 @@ def lifecycle_details(self) -> pulumi.Output[str]: @pulumi.getter def password(self) -> pulumi.Output[str]: """ - (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. + (Updatable) The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026. """ return pulumi.get(self, "password") @@ -1255,7 +1255,7 @@ def vault_id(self) -> pulumi.Output[str]: @pulumi.getter def wallet(self) -> pulumi.Output[str]: """ - (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. + (Updatable) The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by "walletSecretId". This field will be removed after February 15 2026. ** IMPORTANT ** diff --git a/sdk/python/pulumi_oci/goldengate/get_connection.py b/sdk/python/pulumi_oci/goldengate/get_connection.py index 487045b4da..4951ebda54 100644 --- a/sdk/python/pulumi_oci/goldengate/get_connection.py +++ b/sdk/python/pulumi_oci/goldengate/get_connection.py @@ -27,7 +27,7 @@ class GetConnectionResult: """ A collection of values returned by getConnection. """ - def __init__(__self__, access_key_id=None, account_key=None, account_key_secret_id=None, account_name=None, additional_attributes=None, authentication_mode=None, authentication_type=None, azure_tenant_id=None, bootstrap_servers=None, client_id=None, client_secret=None, client_secret_secret_id=None, compartment_id=None, connection_factory=None, connection_id=None, connection_string=None, connection_type=None, connection_url=None, consumer_properties=None, core_site_xml=None, database_id=None, database_name=None, db_system_id=None, defined_tags=None, deployment_id=None, description=None, display_name=None, does_use_secret_ids=None, endpoint=None, fingerprint=None, freeform_tags=None, host=None, id=None, ingress_ips=None, is_lock_override=None, jndi_connection_factory=None, jndi_initial_context_factory=None, jndi_provider_url=None, jndi_security_credentials=None, jndi_security_credentials_secret_id=None, jndi_security_principal=None, key_id=None, key_store=None, key_store_password=None, key_store_password_secret_id=None, key_store_secret_id=None, lifecycle_details=None, locks=None, nsg_ids=None, password=None, password_secret_id=None, port=None, private_ip=None, private_key_file=None, private_key_file_secret_id=None, private_key_passphrase=None, private_key_passphrase_secret_id=None, producer_properties=None, public_key_fingerprint=None, redis_cluster_id=None, region=None, routing_method=None, sas_token=None, sas_token_secret_id=None, secret_access_key=None, secret_access_key_secret_id=None, security_protocol=None, servers=None, service_account_key_file=None, service_account_key_file_secret_id=None, session_mode=None, should_use_jndi=None, should_validate_server_certificate=None, ssl_ca=None, ssl_cert=None, ssl_client_keystash=None, ssl_client_keystash_secret_id=None, ssl_client_keystoredb=None, ssl_client_keystoredb_secret_id=None, ssl_crl=None, ssl_key=None, ssl_key_password=None, ssl_key_password_secret_id=None, ssl_key_secret_id=None, ssl_mode=None, ssl_server_certificate=None, state=None, stream_pool_id=None, subnet_id=None, system_tags=None, technology_type=None, tenancy_id=None, time_created=None, time_updated=None, trigger_refresh=None, trust_store=None, trust_store_password=None, trust_store_password_secret_id=None, trust_store_secret_id=None, url=None, user_id=None, username=None, vault_id=None, wallet=None, wallet_secret_id=None): + def __init__(__self__, access_key_id=None, account_key=None, account_key_secret_id=None, account_name=None, additional_attributes=None, authentication_mode=None, authentication_type=None, azure_tenant_id=None, bootstrap_servers=None, client_id=None, client_secret=None, client_secret_secret_id=None, compartment_id=None, connection_factory=None, connection_id=None, connection_string=None, connection_type=None, connection_url=None, consumer_properties=None, core_site_xml=None, database_id=None, database_name=None, db_system_id=None, defined_tags=None, deployment_id=None, description=None, display_name=None, does_use_secret_ids=None, endpoint=None, fingerprint=None, freeform_tags=None, host=None, id=None, ingress_ips=None, is_lock_override=None, jndi_connection_factory=None, jndi_initial_context_factory=None, jndi_provider_url=None, jndi_security_credentials=None, jndi_security_credentials_secret_id=None, jndi_security_principal=None, key_id=None, key_store=None, key_store_password=None, key_store_password_secret_id=None, key_store_secret_id=None, lifecycle_details=None, locks=None, nsg_ids=None, password=None, password_secret_id=None, port=None, private_ip=None, private_key_file=None, private_key_file_secret_id=None, private_key_passphrase=None, private_key_passphrase_secret_id=None, producer_properties=None, public_key_fingerprint=None, redis_cluster_id=None, region=None, routing_method=None, sas_token=None, sas_token_secret_id=None, secret_access_key=None, secret_access_key_secret_id=None, security_protocol=None, servers=None, service_account_key_file=None, service_account_key_file_secret_id=None, session_mode=None, should_use_jndi=None, should_use_resource_principal=None, should_validate_server_certificate=None, ssl_ca=None, ssl_cert=None, ssl_client_keystash=None, ssl_client_keystash_secret_id=None, ssl_client_keystoredb=None, ssl_client_keystoredb_secret_id=None, ssl_crl=None, ssl_key=None, ssl_key_password=None, ssl_key_password_secret_id=None, ssl_key_secret_id=None, ssl_mode=None, ssl_server_certificate=None, state=None, storage_credential_name=None, stream_pool_id=None, subnet_id=None, system_tags=None, technology_type=None, tenancy_id=None, tenant_id=None, time_created=None, time_updated=None, tls_ca_file=None, tls_certificate_key_file=None, tls_certificate_key_file_password=None, tls_certificate_key_file_password_secret_id=None, tls_certificate_key_file_secret_id=None, trigger_refresh=None, trust_store=None, trust_store_password=None, trust_store_password_secret_id=None, trust_store_secret_id=None, url=None, user_id=None, username=None, vault_id=None, wallet=None, wallet_secret_id=None): if access_key_id and not isinstance(access_key_id, str): raise TypeError("Expected argument 'access_key_id' to be a str") pulumi.set(__self__, "access_key_id", access_key_id) @@ -244,6 +244,9 @@ def __init__(__self__, access_key_id=None, account_key=None, account_key_secret_ if should_use_jndi and not isinstance(should_use_jndi, bool): raise TypeError("Expected argument 'should_use_jndi' to be a bool") pulumi.set(__self__, "should_use_jndi", should_use_jndi) + if should_use_resource_principal and not isinstance(should_use_resource_principal, bool): + raise TypeError("Expected argument 'should_use_resource_principal' to be a bool") + pulumi.set(__self__, "should_use_resource_principal", should_use_resource_principal) if should_validate_server_certificate and not isinstance(should_validate_server_certificate, bool): raise TypeError("Expected argument 'should_validate_server_certificate' to be a bool") pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) @@ -289,6 +292,9 @@ def __init__(__self__, access_key_id=None, account_key=None, account_key_secret_ if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) + if storage_credential_name and not isinstance(storage_credential_name, str): + raise TypeError("Expected argument 'storage_credential_name' to be a str") + pulumi.set(__self__, "storage_credential_name", storage_credential_name) if stream_pool_id and not isinstance(stream_pool_id, str): raise TypeError("Expected argument 'stream_pool_id' to be a str") pulumi.set(__self__, "stream_pool_id", stream_pool_id) @@ -304,12 +310,30 @@ def __init__(__self__, access_key_id=None, account_key=None, account_key_secret_ if tenancy_id and not isinstance(tenancy_id, str): raise TypeError("Expected argument 'tenancy_id' to be a str") pulumi.set(__self__, "tenancy_id", tenancy_id) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) if time_created and not isinstance(time_created, str): raise TypeError("Expected argument 'time_created' to be a str") pulumi.set(__self__, "time_created", time_created) if time_updated and not isinstance(time_updated, str): raise TypeError("Expected argument 'time_updated' to be a str") pulumi.set(__self__, "time_updated", time_updated) + if tls_ca_file and not isinstance(tls_ca_file, str): + raise TypeError("Expected argument 'tls_ca_file' to be a str") + pulumi.set(__self__, "tls_ca_file", tls_ca_file) + if tls_certificate_key_file and not isinstance(tls_certificate_key_file, str): + raise TypeError("Expected argument 'tls_certificate_key_file' to be a str") + pulumi.set(__self__, "tls_certificate_key_file", tls_certificate_key_file) + if tls_certificate_key_file_password and not isinstance(tls_certificate_key_file_password, str): + raise TypeError("Expected argument 'tls_certificate_key_file_password' to be a str") + pulumi.set(__self__, "tls_certificate_key_file_password", tls_certificate_key_file_password) + if tls_certificate_key_file_password_secret_id and not isinstance(tls_certificate_key_file_password_secret_id, str): + raise TypeError("Expected argument 'tls_certificate_key_file_password_secret_id' to be a str") + pulumi.set(__self__, "tls_certificate_key_file_password_secret_id", tls_certificate_key_file_password_secret_id) + if tls_certificate_key_file_secret_id and not isinstance(tls_certificate_key_file_secret_id, str): + raise TypeError("Expected argument 'tls_certificate_key_file_secret_id' to be a str") + pulumi.set(__self__, "tls_certificate_key_file_secret_id", tls_certificate_key_file_secret_id) if trigger_refresh and not isinstance(trigger_refresh, bool): raise TypeError("Expected argument 'trigger_refresh' to be a bool") pulumi.set(__self__, "trigger_refresh", trigger_refresh) @@ -396,6 +420,9 @@ def authentication_type(self) -> str: Used authentication mechanism to be provided for the following connection types: * AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS, SNOWFLAKE * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * DATABRICKS - Required fields by authentication types: + * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * OAUTH_M2M: user must enter clientId and clientSecret """ return pulumi.get(self, "authentication_type") @@ -482,6 +509,7 @@ def connection_url(self) -> str: * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' """ return pulumi.get(self, "connection_url") @@ -565,6 +593,9 @@ def does_use_secret_ids(self) -> bool: @property @pulumi.getter def endpoint(self) -> str: + """ + Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + """ return pulumi.get(self, "endpoint") @property @@ -795,7 +826,7 @@ def redis_cluster_id(self) -> str: @pulumi.getter def region(self) -> str: """ - The name of the region. e.g.: us-ashburn-1 + The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. """ return pulumi.get(self, "region") @@ -881,6 +912,14 @@ def should_use_jndi(self) -> bool: """ return pulumi.get(self, "should_use_jndi") + @property + @pulumi.getter(name="shouldUseResourcePrincipal") + def should_use_resource_principal(self) -> bool: + """ + Indicates that the user intents to connect to the instance through resource principal. + """ + return pulumi.get(self, "should_use_resource_principal") + @property @pulumi.getter(name="shouldValidateServerCertificate") def should_validate_server_certificate(self) -> bool: @@ -893,7 +932,7 @@ def should_validate_server_certificate(self) -> bool: @pulumi.getter(name="sslCa") def ssl_ca(self) -> str: """ - Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). """ return pulumi.get(self, "ssl_ca") @@ -981,6 +1020,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> str: + """ + Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + """ + return pulumi.get(self, "storage_credential_name") + @property @pulumi.getter(name="streamPoolId") def stream_pool_id(self) -> str: @@ -1021,6 +1068,14 @@ def tenancy_id(self) -> str: """ return pulumi.get(self, "tenancy_id") + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + """ + return pulumi.get(self, "tenant_id") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -1037,6 +1092,38 @@ def time_updated(self) -> str: """ return pulumi.get(self, "time_updated") + @property + @pulumi.getter(name="tlsCaFile") + def tls_ca_file(self) -> str: + return pulumi.get(self, "tls_ca_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFile") + def tls_certificate_key_file(self) -> str: + return pulumi.get(self, "tls_certificate_key_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePassword") + def tls_certificate_key_file_password(self) -> str: + return pulumi.get(self, "tls_certificate_key_file_password") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePasswordSecretId") + def tls_certificate_key_file_password_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_password_secret_id") + + @property + @pulumi.getter(name="tlsCertificateKeyFileSecretId") + def tls_certificate_key_file_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_secret_id") + @property @pulumi.getter(name="triggerRefresh") def trigger_refresh(self) -> bool: @@ -1064,7 +1151,7 @@ def trust_store_password_secret_id(self) -> str: @pulumi.getter(name="trustStoreSecretId") def trust_store_secret_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. """ return pulumi.get(self, "trust_store_secret_id") @@ -1080,7 +1167,7 @@ def url(self) -> str: @pulumi.getter(name="userId") def user_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. """ return pulumi.get(self, "user_id") @@ -1088,7 +1175,7 @@ def user_id(self) -> str: @pulumi.getter def username(self) -> str: """ - The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. """ return pulumi.get(self, "username") @@ -1192,6 +1279,7 @@ def __await__(self): service_account_key_file_secret_id=self.service_account_key_file_secret_id, session_mode=self.session_mode, should_use_jndi=self.should_use_jndi, + should_use_resource_principal=self.should_use_resource_principal, should_validate_server_certificate=self.should_validate_server_certificate, ssl_ca=self.ssl_ca, ssl_cert=self.ssl_cert, @@ -1207,13 +1295,20 @@ def __await__(self): ssl_mode=self.ssl_mode, ssl_server_certificate=self.ssl_server_certificate, state=self.state, + storage_credential_name=self.storage_credential_name, stream_pool_id=self.stream_pool_id, subnet_id=self.subnet_id, system_tags=self.system_tags, technology_type=self.technology_type, tenancy_id=self.tenancy_id, + tenant_id=self.tenant_id, time_created=self.time_created, time_updated=self.time_updated, + tls_ca_file=self.tls_ca_file, + tls_certificate_key_file=self.tls_certificate_key_file, + tls_certificate_key_file_password=self.tls_certificate_key_file_password, + tls_certificate_key_file_password_secret_id=self.tls_certificate_key_file_password_secret_id, + tls_certificate_key_file_secret_id=self.tls_certificate_key_file_secret_id, trigger_refresh=self.trigger_refresh, trust_store=self.trust_store, trust_store_password=self.trust_store_password, @@ -1324,6 +1419,7 @@ def get_connection(connection_id: Optional[str] = None, service_account_key_file_secret_id=pulumi.get(__ret__, 'service_account_key_file_secret_id'), session_mode=pulumi.get(__ret__, 'session_mode'), should_use_jndi=pulumi.get(__ret__, 'should_use_jndi'), + should_use_resource_principal=pulumi.get(__ret__, 'should_use_resource_principal'), should_validate_server_certificate=pulumi.get(__ret__, 'should_validate_server_certificate'), ssl_ca=pulumi.get(__ret__, 'ssl_ca'), ssl_cert=pulumi.get(__ret__, 'ssl_cert'), @@ -1339,13 +1435,20 @@ def get_connection(connection_id: Optional[str] = None, ssl_mode=pulumi.get(__ret__, 'ssl_mode'), ssl_server_certificate=pulumi.get(__ret__, 'ssl_server_certificate'), state=pulumi.get(__ret__, 'state'), + storage_credential_name=pulumi.get(__ret__, 'storage_credential_name'), stream_pool_id=pulumi.get(__ret__, 'stream_pool_id'), subnet_id=pulumi.get(__ret__, 'subnet_id'), system_tags=pulumi.get(__ret__, 'system_tags'), technology_type=pulumi.get(__ret__, 'technology_type'), tenancy_id=pulumi.get(__ret__, 'tenancy_id'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), time_created=pulumi.get(__ret__, 'time_created'), time_updated=pulumi.get(__ret__, 'time_updated'), + tls_ca_file=pulumi.get(__ret__, 'tls_ca_file'), + tls_certificate_key_file=pulumi.get(__ret__, 'tls_certificate_key_file'), + tls_certificate_key_file_password=pulumi.get(__ret__, 'tls_certificate_key_file_password'), + tls_certificate_key_file_password_secret_id=pulumi.get(__ret__, 'tls_certificate_key_file_password_secret_id'), + tls_certificate_key_file_secret_id=pulumi.get(__ret__, 'tls_certificate_key_file_secret_id'), trigger_refresh=pulumi.get(__ret__, 'trigger_refresh'), trust_store=pulumi.get(__ret__, 'trust_store'), trust_store_password=pulumi.get(__ret__, 'trust_store_password'), @@ -1453,6 +1556,7 @@ def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None, service_account_key_file_secret_id=pulumi.get(__response__, 'service_account_key_file_secret_id'), session_mode=pulumi.get(__response__, 'session_mode'), should_use_jndi=pulumi.get(__response__, 'should_use_jndi'), + should_use_resource_principal=pulumi.get(__response__, 'should_use_resource_principal'), should_validate_server_certificate=pulumi.get(__response__, 'should_validate_server_certificate'), ssl_ca=pulumi.get(__response__, 'ssl_ca'), ssl_cert=pulumi.get(__response__, 'ssl_cert'), @@ -1468,13 +1572,20 @@ def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None, ssl_mode=pulumi.get(__response__, 'ssl_mode'), ssl_server_certificate=pulumi.get(__response__, 'ssl_server_certificate'), state=pulumi.get(__response__, 'state'), + storage_credential_name=pulumi.get(__response__, 'storage_credential_name'), stream_pool_id=pulumi.get(__response__, 'stream_pool_id'), subnet_id=pulumi.get(__response__, 'subnet_id'), system_tags=pulumi.get(__response__, 'system_tags'), technology_type=pulumi.get(__response__, 'technology_type'), tenancy_id=pulumi.get(__response__, 'tenancy_id'), + tenant_id=pulumi.get(__response__, 'tenant_id'), time_created=pulumi.get(__response__, 'time_created'), time_updated=pulumi.get(__response__, 'time_updated'), + tls_ca_file=pulumi.get(__response__, 'tls_ca_file'), + tls_certificate_key_file=pulumi.get(__response__, 'tls_certificate_key_file'), + tls_certificate_key_file_password=pulumi.get(__response__, 'tls_certificate_key_file_password'), + tls_certificate_key_file_password_secret_id=pulumi.get(__response__, 'tls_certificate_key_file_password_secret_id'), + tls_certificate_key_file_secret_id=pulumi.get(__response__, 'tls_certificate_key_file_secret_id'), trigger_refresh=pulumi.get(__response__, 'trigger_refresh'), trust_store=pulumi.get(__response__, 'trust_store'), trust_store_password=pulumi.get(__response__, 'trust_store_password'), diff --git a/sdk/python/pulumi_oci/goldengate/outputs.py b/sdk/python/pulumi_oci/goldengate/outputs.py index 68d270e757..9e5a293ce5 100644 --- a/sdk/python/pulumi_oci/goldengate/outputs.py +++ b/sdk/python/pulumi_oci/goldengate/outputs.py @@ -1709,6 +1709,7 @@ def __init__(__self__, *, service_account_key_file_secret_id: str, session_mode: str, should_use_jndi: bool, + should_use_resource_principal: bool, should_validate_server_certificate: bool, ssl_ca: str, ssl_cert: str, @@ -1724,13 +1725,20 @@ def __init__(__self__, *, ssl_mode: str, ssl_server_certificate: str, state: str, + storage_credential_name: str, stream_pool_id: str, subnet_id: str, system_tags: Mapping[str, str], technology_type: str, tenancy_id: str, + tenant_id: str, time_created: str, time_updated: str, + tls_ca_file: str, + tls_certificate_key_file: str, + tls_certificate_key_file_password: str, + tls_certificate_key_file_password_secret_id: str, + tls_certificate_key_file_secret_id: str, trigger_refresh: bool, trust_store: str, trust_store_password: str, @@ -1751,6 +1759,9 @@ def __init__(__self__, *, :param str authentication_type: Used authentication mechanism to be provided for the following connection types: * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * DATABRICKS - Required fields by authentication types: + * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * OAUTH_M2M: user must enter clientId and clientSecret :param str azure_tenant_id: Azure tenant ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param Sequence['GetConnectionsConnectionCollectionItemBootstrapServerArgs'] bootstrap_servers: Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: `"server1.example.com:9092,server2.example.com:9092"` :param str client_id: Azure client ID of the application. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.: 06ecaabf-8b80-4ec8-a0ec-20cbf463703d @@ -1764,6 +1775,7 @@ def __init__(__self__, *, :param str connection_url: * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' :param str consumer_properties: The base64 encoded content of the consumer.properties file. :param str database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database being referenced. :param str database_name: The name of the database. @@ -1773,7 +1785,7 @@ def __init__(__self__, *, :param str description: Metadata about this specific object. :param str display_name: A filter to return only the resources that match the entire 'displayName' given. :param bool does_use_secret_ids: Indicates that sensitive attributes are provided via Secrets. - :param str endpoint: Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + :param str endpoint: Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com :param Mapping[str, str] freeform_tags: A 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 host: The name or address of a host. In case of Generic connection type it represents the Host and port separated by colon. Example: `"server.example.com:1234"` @@ -1799,7 +1811,7 @@ def __init__(__self__, *, :param str private_key_passphrase_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password for the private key file. Note: When provided, 'privateKeyPassphrase' field must not be provided. :param str producer_properties: The base64 encoded content of the producer.properties file. :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Redis cluster. - :param str region: The name of the region. e.g.: us-ashburn-1 + :param str region: The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. :param str routing_method: Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected. :param str sas_token_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be provided. :param str secret_access_key_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the secret access key is stored. Note: When provided, 'secretAccessKey' field must not be provided. @@ -1811,8 +1823,9 @@ def __init__(__self__, *, :param str service_account_key_file_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google Cloud Storage. Note: When provided, 'serviceAccountKeyFile' field must not be provided. :param str session_mode: The mode of the database connection session to be established by the data client. 'REDIRECT' - for a RAC database, 'DIRECT' - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT. :param bool should_use_jndi: If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + :param bool should_use_resource_principal: Indicates that the user intents to connect to the instance through resource principal. :param bool should_validate_server_certificate: If set to true, the driver validates the certificate that is sent by the database server. - :param str ssl_ca: Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + :param str ssl_ca: Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). :param str ssl_client_keystash_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. :param str ssl_client_keystoredb_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. :param str ssl_key_password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, 'sslKeyPassword' field must not be provided. @@ -1820,18 +1833,23 @@ def __init__(__self__, *, * The content of a .pem or .crt file containing the client private key (for 2-way SSL). Note: When provided, 'sslKey' field must not be provided. :param str ssl_mode: SSL mode to be provided for the following connection types: MYSQL, POSTGRESQL. :param str state: A filter to return only connections having the 'lifecycleState' given. + :param str storage_credential_name: Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. :param str stream_pool_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream pool being referenced. :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target subnet of the dedicated connection. :param Mapping[str, str] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` :param str technology_type: The array of technology types. :param str tenancy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Oracle Cloud Infrastructure tenancy. + :param str tenant_id: Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f :param str time_created: The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. + :param str tls_certificate_key_file_password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + :param str tls_certificate_key_file_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. :param str trust_store_password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the kafka Ssl TrustStore password is stored. Note: When provided, 'trustStorePassword' field must not be provided. :param str trust_store_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. Note: When provided, 'trustStore' field must not be provided. :param str url: Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' - :param str user_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. - :param str username: The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + :param str user_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. + :param str username: The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param str vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, 'wallet' field must not be provided. """ @@ -1906,6 +1924,7 @@ def __init__(__self__, *, pulumi.set(__self__, "service_account_key_file_secret_id", service_account_key_file_secret_id) pulumi.set(__self__, "session_mode", session_mode) pulumi.set(__self__, "should_use_jndi", should_use_jndi) + pulumi.set(__self__, "should_use_resource_principal", should_use_resource_principal) pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) pulumi.set(__self__, "ssl_ca", ssl_ca) pulumi.set(__self__, "ssl_cert", ssl_cert) @@ -1921,13 +1940,20 @@ def __init__(__self__, *, pulumi.set(__self__, "ssl_mode", ssl_mode) pulumi.set(__self__, "ssl_server_certificate", ssl_server_certificate) pulumi.set(__self__, "state", state) + pulumi.set(__self__, "storage_credential_name", storage_credential_name) pulumi.set(__self__, "stream_pool_id", stream_pool_id) pulumi.set(__self__, "subnet_id", subnet_id) pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "technology_type", technology_type) pulumi.set(__self__, "tenancy_id", tenancy_id) + pulumi.set(__self__, "tenant_id", tenant_id) pulumi.set(__self__, "time_created", time_created) pulumi.set(__self__, "time_updated", time_updated) + pulumi.set(__self__, "tls_ca_file", tls_ca_file) + pulumi.set(__self__, "tls_certificate_key_file", tls_certificate_key_file) + pulumi.set(__self__, "tls_certificate_key_file_password", tls_certificate_key_file_password) + pulumi.set(__self__, "tls_certificate_key_file_password_secret_id", tls_certificate_key_file_password_secret_id) + pulumi.set(__self__, "tls_certificate_key_file_secret_id", tls_certificate_key_file_secret_id) pulumi.set(__self__, "trigger_refresh", trigger_refresh) pulumi.set(__self__, "trust_store", trust_store) pulumi.set(__self__, "trust_store_password", trust_store_password) @@ -1992,6 +2018,9 @@ def authentication_type(self) -> str: Used authentication mechanism to be provided for the following connection types: * SNOWFLAKE, AZURE_DATA_LAKE_STORAGE, ELASTICSEARCH, KAFKA_SCHEMA_REGISTRY, REDIS * JAVA_MESSAGE_SERVICE - If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required. + * DATABRICKS - Required fields by authentication types: + * PERSONAL_ACCESS_TOKEN: username is always 'token', user must enter password + * OAUTH_M2M: user must enter clientId and clientSecret """ return pulumi.get(self, "authentication_type") @@ -2073,6 +2102,7 @@ def connection_url(self) -> str: * JAVA_MESSAGE_SERVICE: Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' * SNOWFLAKE: JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' * AMAZON_REDSHIFT: Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + * DATABRICKS: Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' """ return pulumi.get(self, "connection_url") @@ -2157,7 +2187,7 @@ def does_use_secret_ids(self) -> bool: @pulumi.getter def endpoint(self) -> str: """ - Azure Storage service endpoint. e.g: https://test.blob.core.windows.net + Service endpoint. e.g for Azure Storage service: https://test.blob.core.windows.net. Optional for Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com """ return pulumi.get(self, "endpoint") @@ -2389,7 +2419,7 @@ def redis_cluster_id(self) -> str: @pulumi.getter def region(self) -> str: """ - The name of the region. e.g.: us-ashburn-1 + The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. """ return pulumi.get(self, "region") @@ -2475,6 +2505,14 @@ def should_use_jndi(self) -> bool: """ return pulumi.get(self, "should_use_jndi") + @property + @pulumi.getter(name="shouldUseResourcePrincipal") + def should_use_resource_principal(self) -> bool: + """ + Indicates that the user intents to connect to the instance through resource principal. + """ + return pulumi.get(self, "should_use_resource_principal") + @property @pulumi.getter(name="shouldValidateServerCertificate") def should_validate_server_certificate(self) -> bool: @@ -2487,7 +2525,7 @@ def should_validate_server_certificate(self) -> bool: @pulumi.getter(name="sslCa") def ssl_ca(self) -> str: """ - Database Certificate - The base64 encoded content of pem file containing the server public key (for 1-way SSL). + Database Certificate - The base64 encoded content of a .pem or .crt file. containing the server public key (for 1-way SSL). """ return pulumi.get(self, "ssl_ca") @@ -2575,6 +2613,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="storageCredentialName") + def storage_credential_name(self) -> str: + """ + Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. + """ + return pulumi.get(self, "storage_credential_name") + @property @pulumi.getter(name="streamPoolId") def stream_pool_id(self) -> str: @@ -2615,6 +2661,14 @@ def tenancy_id(self) -> str: """ return pulumi.get(self, "tenancy_id") + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + Azure tenant ID of the application. e.g.: 14593954-d337-4a61-a364-9f758c64f97f + """ + return pulumi.get(self, "tenant_id") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -2631,6 +2685,38 @@ def time_updated(self) -> str: """ return pulumi.get(self, "time_updated") + @property + @pulumi.getter(name="tlsCaFile") + def tls_ca_file(self) -> str: + return pulumi.get(self, "tls_ca_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFile") + def tls_certificate_key_file(self) -> str: + return pulumi.get(self, "tls_certificate_key_file") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePassword") + def tls_certificate_key_file_password(self) -> str: + return pulumi.get(self, "tls_certificate_key_file_password") + + @property + @pulumi.getter(name="tlsCertificateKeyFilePasswordSecretId") + def tls_certificate_key_file_password_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_password_secret_id") + + @property + @pulumi.getter(name="tlsCertificateKeyFileSecretId") + def tls_certificate_key_file_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the certificate key file of the mtls connection. + * The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided. + """ + return pulumi.get(self, "tls_certificate_key_file_secret_id") + @property @pulumi.getter(name="triggerRefresh") def trigger_refresh(self) -> bool: @@ -2674,7 +2760,7 @@ def url(self) -> str: @pulumi.getter(name="userId") def user_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database/Object Storage. The user must have write access to the table they want to connect to. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure user who will access the Oracle NoSQL database. The user must have write access to the table they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint. """ return pulumi.get(self, "user_id") @@ -2682,7 +2768,7 @@ def user_id(self) -> str: @pulumi.getter def username(self) -> str: """ - The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. + The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. """ return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_oci/jms/__init__.py b/sdk/python/pulumi_oci/jms/__init__.py index e2484e2c62..50ccc91a41 100644 --- a/sdk/python/pulumi_oci/jms/__init__.py +++ b/sdk/python/pulumi_oci/jms/__init__.py @@ -17,6 +17,8 @@ from .get_fleet_diagnoses import * from .get_fleet_drs_file import * from .get_fleet_drs_files import * +from .get_fleet_error_analytics import * +from .get_fleet_errors import * from .get_fleet_export_setting import * from .get_fleet_export_status import * from .get_fleet_java_migration_analysis_result import * @@ -43,6 +45,8 @@ from .get_jms_plugin import * from .get_jms_plugins import * from .get_list_jre_usage import * +from .get_plugin_error_analytics import * +from .get_plugin_errors import * from .get_summarize_resource_inventory import * from .java_downloads_java_download_report import * from .java_downloads_java_download_token import * diff --git a/sdk/python/pulumi_oci/jms/_inputs.py b/sdk/python/pulumi_oci/jms/_inputs.py index 8893288b57..9babc4a4f5 100644 --- a/sdk/python/pulumi_oci/jms/_inputs.py +++ b/sdk/python/pulumi_oci/jms/_inputs.py @@ -67,6 +67,10 @@ 'GetFleetDiagnosesFilterArgsDict', 'GetFleetDrsFilesFilterArgs', 'GetFleetDrsFilesFilterArgsDict', + 'GetFleetErrorAnalyticsFilterArgs', + 'GetFleetErrorAnalyticsFilterArgsDict', + 'GetFleetErrorsFilterArgs', + 'GetFleetErrorsFilterArgsDict', 'GetFleetJavaMigrationAnalysisResultsFilterArgs', 'GetFleetJavaMigrationAnalysisResultsFilterArgsDict', 'GetFleetPerformanceTuningAnalysisResultsFilterArgs', @@ -91,6 +95,10 @@ 'GetJavaReleasesFilterArgsDict', 'GetJmsPluginsFilterArgs', 'GetJmsPluginsFilterArgsDict', + 'GetPluginErrorAnalyticsFilterArgs', + 'GetPluginErrorAnalyticsFilterArgsDict', + 'GetPluginErrorsFilterArgs', + 'GetPluginErrorsFilterArgsDict', ] MYPY = False @@ -1722,6 +1730,100 @@ def regex(self, value: Optional[bool]): pulumi.set(self, "regex", value) +if not MYPY: + class GetFleetErrorAnalyticsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetFleetErrorAnalyticsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFleetErrorAnalyticsFilterArgs: + 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) + + +if not MYPY: + class GetFleetErrorsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetFleetErrorsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFleetErrorsFilterArgs: + 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) + + if not MYPY: class GetFleetJavaMigrationAnalysisResultsFilterArgsDict(TypedDict): name: str @@ -2295,3 +2397,97 @@ def regex(self, value: Optional[bool]): pulumi.set(self, "regex", value) +if not MYPY: + class GetPluginErrorAnalyticsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetPluginErrorAnalyticsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetPluginErrorAnalyticsFilterArgs: + 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) + + +if not MYPY: + class GetPluginErrorsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetPluginErrorsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetPluginErrorsFilterArgs: + 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/jms/get_fleet_error_analytics.py b/sdk/python/pulumi_oci/jms/get_fleet_error_analytics.py new file mode 100644 index 0000000000..3fe5e55229 --- /dev/null +++ b/sdk/python/pulumi_oci/jms/get_fleet_error_analytics.py @@ -0,0 +1,163 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetFleetErrorAnalyticsResult', + 'AwaitableGetFleetErrorAnalyticsResult', + 'get_fleet_error_analytics', + 'get_fleet_error_analytics_output', +] + +@pulumi.output_type +class GetFleetErrorAnalyticsResult: + """ + A collection of values returned by getFleetErrorAnalytics. + """ + def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, fleet_error_aggregation_collections=None, id=None): + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if fleet_error_aggregation_collections and not isinstance(fleet_error_aggregation_collections, list): + raise TypeError("Expected argument 'fleet_error_aggregation_collections' to be a list") + pulumi.set(__self__, "fleet_error_aggregation_collections", fleet_error_aggregation_collections) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetFleetErrorAnalyticsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter(name="fleetErrorAggregationCollections") + def fleet_error_aggregation_collections(self) -> Sequence['outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult']: + """ + The list of fleet_error_aggregation_collection. + """ + return pulumi.get(self, "fleet_error_aggregation_collections") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + +class AwaitableGetFleetErrorAnalyticsResult(GetFleetErrorAnalyticsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetErrorAnalyticsResult( + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + filters=self.filters, + fleet_error_aggregation_collections=self.fleet_error_aggregation_collections, + id=self.id) + + +def get_fleet_error_analytics(compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + filters: Optional[Sequence[Union['GetFleetErrorAnalyticsFilterArgs', 'GetFleetErrorAnalyticsFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetErrorAnalyticsResult: + """ + This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + + Returns a high level summary of FleetErrors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_fleet_error_analytics = oci.Jms.get_fleet_error_analytics(compartment_id=compartment_id, + compartment_id_in_subtree=fleet_error_analytic_compartment_id_in_subtree) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics', __args__, opts=opts, typ=GetFleetErrorAnalyticsResult).value + + return AwaitableGetFleetErrorAnalyticsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + filters=pulumi.get(__ret__, 'filters'), + fleet_error_aggregation_collections=pulumi.get(__ret__, 'fleet_error_aggregation_collections'), + id=pulumi.get(__ret__, 'id')) +def get_fleet_error_analytics_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetErrorAnalyticsFilterArgs', 'GetFleetErrorAnalyticsFilterArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFleetErrorAnalyticsResult]: + """ + This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service. + + Returns a high level summary of FleetErrors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_fleet_error_analytics = oci.Jms.get_fleet_error_analytics(compartment_id=compartment_id, + compartment_id_in_subtree=fleet_error_analytic_compartment_id_in_subtree) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics', __args__, opts=opts, typ=GetFleetErrorAnalyticsResult) + return __ret__.apply(lambda __response__: GetFleetErrorAnalyticsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'), + filters=pulumi.get(__response__, 'filters'), + fleet_error_aggregation_collections=pulumi.get(__response__, 'fleet_error_aggregation_collections'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_oci/jms/get_fleet_errors.py b/sdk/python/pulumi_oci/jms/get_fleet_errors.py new file mode 100644 index 0000000000..c080aa0d83 --- /dev/null +++ b/sdk/python/pulumi_oci/jms/get_fleet_errors.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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetFleetErrorsResult', + 'AwaitableGetFleetErrorsResult', + 'get_fleet_errors', + 'get_fleet_errors_output', +] + +@pulumi.output_type +class GetFleetErrorsResult: + """ + A collection of values returned by getFleetErrors. + """ + def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, fleet_error_collections=None, fleet_id=None, id=None, time_first_seen_greater_than_or_equal_to=None, time_first_seen_less_than_or_equal_to=None, time_last_seen_greater_than_or_equal_to=None, time_last_seen_less_than_or_equal_to=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 compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if fleet_error_collections and not isinstance(fleet_error_collections, list): + raise TypeError("Expected argument 'fleet_error_collections' to be a list") + pulumi.set(__self__, "fleet_error_collections", fleet_error_collections) + if fleet_id and not isinstance(fleet_id, str): + raise TypeError("Expected argument 'fleet_id' to be a str") + pulumi.set(__self__, "fleet_id", fleet_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if time_first_seen_greater_than_or_equal_to and not isinstance(time_first_seen_greater_than_or_equal_to, str): + raise TypeError("Expected argument 'time_first_seen_greater_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_first_seen_greater_than_or_equal_to", time_first_seen_greater_than_or_equal_to) + if time_first_seen_less_than_or_equal_to and not isinstance(time_first_seen_less_than_or_equal_to, str): + raise TypeError("Expected argument 'time_first_seen_less_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_first_seen_less_than_or_equal_to", time_first_seen_less_than_or_equal_to) + if time_last_seen_greater_than_or_equal_to and not isinstance(time_last_seen_greater_than_or_equal_to, str): + raise TypeError("Expected argument 'time_last_seen_greater_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_last_seen_greater_than_or_equal_to", time_last_seen_greater_than_or_equal_to) + if time_last_seen_less_than_or_equal_to and not isinstance(time_last_seen_less_than_or_equal_to, str): + raise TypeError("Expected argument 'time_last_seen_less_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_last_seen_less_than_or_equal_to", time_last_seen_less_than_or_equal_to) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetFleetErrorsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter(name="fleetErrorCollections") + def fleet_error_collections(self) -> Sequence['outputs.GetFleetErrorsFleetErrorCollectionResult']: + """ + The list of fleet_error_collection. + """ + return pulumi.get(self, "fleet_error_collections") + + @property + @pulumi.getter(name="fleetId") + def fleet_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + """ + return pulumi.get(self, "fleet_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="timeFirstSeenGreaterThanOrEqualTo") + def time_first_seen_greater_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_first_seen_greater_than_or_equal_to") + + @property + @pulumi.getter(name="timeFirstSeenLessThanOrEqualTo") + def time_first_seen_less_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_first_seen_less_than_or_equal_to") + + @property + @pulumi.getter(name="timeLastSeenGreaterThanOrEqualTo") + def time_last_seen_greater_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_last_seen_greater_than_or_equal_to") + + @property + @pulumi.getter(name="timeLastSeenLessThanOrEqualTo") + def time_last_seen_less_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_last_seen_less_than_or_equal_to") + + +class AwaitableGetFleetErrorsResult(GetFleetErrorsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetErrorsResult( + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + filters=self.filters, + fleet_error_collections=self.fleet_error_collections, + fleet_id=self.fleet_id, + id=self.id, + time_first_seen_greater_than_or_equal_to=self.time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=self.time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=self.time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=self.time_last_seen_less_than_or_equal_to) + + +def get_fleet_errors(compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + filters: Optional[Sequence[Union['GetFleetErrorsFilterArgs', 'GetFleetErrorsFilterArgsDict']]] = None, + fleet_id: Optional[str] = None, + time_first_seen_greater_than_or_equal_to: Optional[str] = None, + time_first_seen_less_than_or_equal_to: Optional[str] = None, + time_last_seen_greater_than_or_equal_to: Optional[str] = None, + time_last_seen_less_than_or_equal_to: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetErrorsResult: + """ + This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + + Returns a list of fleet errors that describe all detected errors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_fleet_errors = oci.Jms.get_fleet_errors(compartment_id=compartment_id, + compartment_id_in_subtree=fleet_error_compartment_id_in_subtree, + fleet_id=test_fleet["id"], + time_first_seen_greater_than_or_equal_to=fleet_error_time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=fleet_error_time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=fleet_error_time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=fleet_error_time_last_seen_less_than_or_equal_to) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + :param str fleet_id: The ID of the Fleet. + :param str time_first_seen_greater_than_or_equal_to: If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_first_seen_less_than_or_equal_to: If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_greater_than_or_equal_to: If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_less_than_or_equal_to: If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + __args__['fleetId'] = fleet_id + __args__['timeFirstSeenGreaterThanOrEqualTo'] = time_first_seen_greater_than_or_equal_to + __args__['timeFirstSeenLessThanOrEqualTo'] = time_first_seen_less_than_or_equal_to + __args__['timeLastSeenGreaterThanOrEqualTo'] = time_last_seen_greater_than_or_equal_to + __args__['timeLastSeenLessThanOrEqualTo'] = time_last_seen_less_than_or_equal_to + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Jms/getFleetErrors:getFleetErrors', __args__, opts=opts, typ=GetFleetErrorsResult).value + + return AwaitableGetFleetErrorsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + filters=pulumi.get(__ret__, 'filters'), + fleet_error_collections=pulumi.get(__ret__, 'fleet_error_collections'), + fleet_id=pulumi.get(__ret__, 'fleet_id'), + id=pulumi.get(__ret__, 'id'), + time_first_seen_greater_than_or_equal_to=pulumi.get(__ret__, 'time_first_seen_greater_than_or_equal_to'), + time_first_seen_less_than_or_equal_to=pulumi.get(__ret__, 'time_first_seen_less_than_or_equal_to'), + time_last_seen_greater_than_or_equal_to=pulumi.get(__ret__, 'time_last_seen_greater_than_or_equal_to'), + time_last_seen_less_than_or_equal_to=pulumi.get(__ret__, 'time_last_seen_less_than_or_equal_to')) +def get_fleet_errors_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetErrorsFilterArgs', 'GetFleetErrorsFilterArgsDict']]]]] = None, + fleet_id: Optional[pulumi.Input[Optional[str]]] = None, + time_first_seen_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_first_seen_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_last_seen_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_last_seen_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFleetErrorsResult]: + """ + This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service. + + Returns a list of fleet errors that describe all detected errors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_fleet_errors = oci.Jms.get_fleet_errors(compartment_id=compartment_id, + compartment_id_in_subtree=fleet_error_compartment_id_in_subtree, + fleet_id=test_fleet["id"], + time_first_seen_greater_than_or_equal_to=fleet_error_time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=fleet_error_time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=fleet_error_time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=fleet_error_time_last_seen_less_than_or_equal_to) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + :param str fleet_id: The ID of the Fleet. + :param str time_first_seen_greater_than_or_equal_to: If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_first_seen_less_than_or_equal_to: If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_greater_than_or_equal_to: If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_less_than_or_equal_to: If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + __args__['fleetId'] = fleet_id + __args__['timeFirstSeenGreaterThanOrEqualTo'] = time_first_seen_greater_than_or_equal_to + __args__['timeFirstSeenLessThanOrEqualTo'] = time_first_seen_less_than_or_equal_to + __args__['timeLastSeenGreaterThanOrEqualTo'] = time_last_seen_greater_than_or_equal_to + __args__['timeLastSeenLessThanOrEqualTo'] = time_last_seen_less_than_or_equal_to + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Jms/getFleetErrors:getFleetErrors', __args__, opts=opts, typ=GetFleetErrorsResult) + return __ret__.apply(lambda __response__: GetFleetErrorsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'), + filters=pulumi.get(__response__, 'filters'), + fleet_error_collections=pulumi.get(__response__, 'fleet_error_collections'), + fleet_id=pulumi.get(__response__, 'fleet_id'), + id=pulumi.get(__response__, 'id'), + time_first_seen_greater_than_or_equal_to=pulumi.get(__response__, 'time_first_seen_greater_than_or_equal_to'), + time_first_seen_less_than_or_equal_to=pulumi.get(__response__, 'time_first_seen_less_than_or_equal_to'), + time_last_seen_greater_than_or_equal_to=pulumi.get(__response__, 'time_last_seen_greater_than_or_equal_to'), + time_last_seen_less_than_or_equal_to=pulumi.get(__response__, 'time_last_seen_less_than_or_equal_to'))) diff --git a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py index 628e7d915a..a6fae1c105 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py @@ -28,10 +28,13 @@ class GetFleetPerformanceTuningAnalysisResultsResult: """ A collection of values returned by getFleetPerformanceTuningAnalysisResults. """ - def __init__(__self__, application_id=None, filters=None, fleet_id=None, host_name=None, id=None, managed_instance_id=None, performance_tuning_analysis_result_collections=None, time_end=None, time_start=None): + def __init__(__self__, application_id=None, application_name=None, filters=None, fleet_id=None, host_name=None, id=None, managed_instance_id=None, performance_tuning_analysis_result_collections=None, time_end=None, time_start=None): if application_id and not isinstance(application_id, str): raise TypeError("Expected argument 'application_id' to be a str") pulumi.set(__self__, "application_id", application_id) + if application_name and not isinstance(application_name, str): + raise TypeError("Expected argument 'application_name' to be a str") + pulumi.set(__self__, "application_name", application_name) if filters and not isinstance(filters, list): raise TypeError("Expected argument 'filters' to be a list") pulumi.set(__self__, "filters", filters) @@ -65,6 +68,14 @@ def application_id(self) -> Optional[str]: """ return pulumi.get(self, "application_id") + @property + @pulumi.getter(name="applicationName") + def application_name(self) -> Optional[str]: + """ + The name of the application for which the report has been generated. + """ + return pulumi.get(self, "application_name") + @property @pulumi.getter def filters(self) -> Optional[Sequence['outputs.GetFleetPerformanceTuningAnalysisResultsFilterResult']]: @@ -128,6 +139,7 @@ def __await__(self): yield self return GetFleetPerformanceTuningAnalysisResultsResult( application_id=self.application_id, + application_name=self.application_name, filters=self.filters, fleet_id=self.fleet_id, host_name=self.host_name, @@ -139,6 +151,7 @@ def __await__(self): def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] = None, + application_name: Optional[str] = None, filters: Optional[Sequence[Union['GetFleetPerformanceTuningAnalysisResultsFilterArgs', 'GetFleetPerformanceTuningAnalysisResultsFilterArgsDict']]] = None, fleet_id: Optional[str] = None, host_name: Optional[str] = None, @@ -159,6 +172,7 @@ def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] test_fleet_performance_tuning_analysis_results = oci.Jms.get_fleet_performance_tuning_analysis_results(fleet_id=test_fleet["id"], application_id=fleet_performance_tuning_analysis_result_application_id, + application_name=fleet_performance_tuning_analysis_result_application_name, host_name=fleet_performance_tuning_analysis_result_host_name, managed_instance_id=fleet_performance_tuning_analysis_result_managed_instance_id, time_end=fleet_performance_tuning_analysis_result_time_end, @@ -167,6 +181,7 @@ def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] :param str application_id: The Fleet-unique identifier of the related application. + :param str application_name: The name of the application. :param str fleet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. :param str host_name: The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. :param str managed_instance_id: The Fleet-unique identifier of the related managed instance. @@ -175,6 +190,7 @@ def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] """ __args__ = dict() __args__['applicationId'] = application_id + __args__['applicationName'] = application_name __args__['filters'] = filters __args__['fleetId'] = fleet_id __args__['hostName'] = host_name @@ -186,6 +202,7 @@ def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] return AwaitableGetFleetPerformanceTuningAnalysisResultsResult( application_id=pulumi.get(__ret__, 'application_id'), + application_name=pulumi.get(__ret__, 'application_name'), filters=pulumi.get(__ret__, 'filters'), fleet_id=pulumi.get(__ret__, 'fleet_id'), host_name=pulumi.get(__ret__, 'host_name'), @@ -195,6 +212,7 @@ def get_fleet_performance_tuning_analysis_results(application_id: Optional[str] time_end=pulumi.get(__ret__, 'time_end'), time_start=pulumi.get(__ret__, 'time_start')) def get_fleet_performance_tuning_analysis_results_output(application_id: Optional[pulumi.Input[Optional[str]]] = None, + application_name: Optional[pulumi.Input[Optional[str]]] = None, filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetPerformanceTuningAnalysisResultsFilterArgs', 'GetFleetPerformanceTuningAnalysisResultsFilterArgsDict']]]]] = None, fleet_id: Optional[pulumi.Input[str]] = None, host_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -215,6 +233,7 @@ def get_fleet_performance_tuning_analysis_results_output(application_id: Optiona test_fleet_performance_tuning_analysis_results = oci.Jms.get_fleet_performance_tuning_analysis_results(fleet_id=test_fleet["id"], application_id=fleet_performance_tuning_analysis_result_application_id, + application_name=fleet_performance_tuning_analysis_result_application_name, host_name=fleet_performance_tuning_analysis_result_host_name, managed_instance_id=fleet_performance_tuning_analysis_result_managed_instance_id, time_end=fleet_performance_tuning_analysis_result_time_end, @@ -223,6 +242,7 @@ def get_fleet_performance_tuning_analysis_results_output(application_id: Optiona :param str application_id: The Fleet-unique identifier of the related application. + :param str application_name: The name of the application. :param str fleet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. :param str host_name: The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. :param str managed_instance_id: The Fleet-unique identifier of the related managed instance. @@ -231,6 +251,7 @@ def get_fleet_performance_tuning_analysis_results_output(application_id: Optiona """ __args__ = dict() __args__['applicationId'] = application_id + __args__['applicationName'] = application_name __args__['filters'] = filters __args__['fleetId'] = fleet_id __args__['hostName'] = host_name @@ -241,6 +262,7 @@ def get_fleet_performance_tuning_analysis_results_output(application_id: Optiona __ret__ = pulumi.runtime.invoke_output('oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults', __args__, opts=opts, typ=GetFleetPerformanceTuningAnalysisResultsResult) return __ret__.apply(lambda __response__: GetFleetPerformanceTuningAnalysisResultsResult( application_id=pulumi.get(__response__, 'application_id'), + application_name=pulumi.get(__response__, 'application_name'), filters=pulumi.get(__response__, 'filters'), fleet_id=pulumi.get(__response__, 'fleet_id'), host_name=pulumi.get(__response__, 'host_name'), diff --git a/sdk/python/pulumi_oci/jms/get_jms_plugins.py b/sdk/python/pulumi_oci/jms/get_jms_plugins.py index cd80ee95bc..669a797976 100644 --- a/sdk/python/pulumi_oci/jms/get_jms_plugins.py +++ b/sdk/python/pulumi_oci/jms/get_jms_plugins.py @@ -28,10 +28,13 @@ class GetJmsPluginsResult: """ A collection of values returned by getJmsPlugins. """ - def __init__(__self__, agent_id=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, fleet_id=None, hostname_contains=None, id=None, jms_plugin_collections=None, state=None, time_last_seen_less_than_or_equal_to=None, time_registered_less_than_or_equal_to=None): + def __init__(__self__, agent_id=None, agent_type=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, fleet_id=None, hostname_contains=None, id=None, jms_plugin_collections=None, state=None, time_last_seen_less_than_or_equal_to=None, time_registered_less_than_or_equal_to=None): if agent_id and not isinstance(agent_id, str): raise TypeError("Expected argument 'agent_id' to be a str") pulumi.set(__self__, "agent_id", agent_id) + if agent_type and not isinstance(agent_type, str): + raise TypeError("Expected argument 'agent_type' to be a str") + pulumi.set(__self__, "agent_type", agent_type) if availability_status and not isinstance(availability_status, str): raise TypeError("Expected argument 'availability_status' to be a str") pulumi.set(__self__, "availability_status", availability_status) @@ -74,6 +77,14 @@ def agent_id(self) -> Optional[str]: """ return pulumi.get(self, "agent_id") + @property + @pulumi.getter(name="agentType") + def agent_type(self) -> Optional[str]: + """ + The agent type. + """ + return pulumi.get(self, "agent_type") + @property @pulumi.getter(name="availabilityStatus") def availability_status(self) -> Optional[str]: @@ -155,6 +166,7 @@ def __await__(self): yield self return GetJmsPluginsResult( agent_id=self.agent_id, + agent_type=self.agent_type, availability_status=self.availability_status, compartment_id=self.compartment_id, compartment_id_in_subtree=self.compartment_id_in_subtree, @@ -169,6 +181,7 @@ def __await__(self): def get_jms_plugins(agent_id: Optional[str] = None, + agent_type: Optional[str] = None, availability_status: Optional[str] = None, compartment_id: Optional[str] = None, compartment_id_in_subtree: Optional[bool] = None, @@ -192,6 +205,7 @@ def get_jms_plugins(agent_id: Optional[str] = None, import pulumi_oci as oci test_jms_plugins = oci.Jms.get_jms_plugins(agent_id=jms_plugin_agent_id, + agent_type=jms_plugin_agent_type, availability_status=jms_plugin_availability_status, compartment_id=compartment_id, compartment_id_in_subtree=jms_plugin_compartment_id_in_subtree, @@ -205,6 +219,7 @@ def get_jms_plugins(agent_id: Optional[str] = None, :param str agent_id: The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. + :param str agent_type: Filter JmsPlugin with agent type. :param str availability_status: Filter JmsPlugin with its availability status. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. @@ -217,6 +232,7 @@ def get_jms_plugins(agent_id: Optional[str] = None, """ __args__ = dict() __args__['agentId'] = agent_id + __args__['agentType'] = agent_type __args__['availabilityStatus'] = availability_status __args__['compartmentId'] = compartment_id __args__['compartmentIdInSubtree'] = compartment_id_in_subtree @@ -232,6 +248,7 @@ def get_jms_plugins(agent_id: Optional[str] = None, return AwaitableGetJmsPluginsResult( agent_id=pulumi.get(__ret__, 'agent_id'), + agent_type=pulumi.get(__ret__, 'agent_type'), availability_status=pulumi.get(__ret__, 'availability_status'), compartment_id=pulumi.get(__ret__, 'compartment_id'), compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), @@ -244,6 +261,7 @@ def get_jms_plugins(agent_id: Optional[str] = None, time_last_seen_less_than_or_equal_to=pulumi.get(__ret__, 'time_last_seen_less_than_or_equal_to'), time_registered_less_than_or_equal_to=pulumi.get(__ret__, 'time_registered_less_than_or_equal_to')) def get_jms_plugins_output(agent_id: Optional[pulumi.Input[Optional[str]]] = None, + agent_type: Optional[pulumi.Input[Optional[str]]] = None, availability_status: Optional[pulumi.Input[Optional[str]]] = None, compartment_id: Optional[pulumi.Input[Optional[str]]] = None, compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, @@ -267,6 +285,7 @@ def get_jms_plugins_output(agent_id: Optional[pulumi.Input[Optional[str]]] = Non import pulumi_oci as oci test_jms_plugins = oci.Jms.get_jms_plugins(agent_id=jms_plugin_agent_id, + agent_type=jms_plugin_agent_type, availability_status=jms_plugin_availability_status, compartment_id=compartment_id, compartment_id_in_subtree=jms_plugin_compartment_id_in_subtree, @@ -280,6 +299,7 @@ def get_jms_plugins_output(agent_id: Optional[pulumi.Input[Optional[str]]] = Non :param str agent_id: The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. + :param str agent_type: Filter JmsPlugin with agent type. :param str availability_status: Filter JmsPlugin with its availability status. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. @@ -292,6 +312,7 @@ def get_jms_plugins_output(agent_id: Optional[pulumi.Input[Optional[str]]] = Non """ __args__ = dict() __args__['agentId'] = agent_id + __args__['agentType'] = agent_type __args__['availabilityStatus'] = availability_status __args__['compartmentId'] = compartment_id __args__['compartmentIdInSubtree'] = compartment_id_in_subtree @@ -306,6 +327,7 @@ def get_jms_plugins_output(agent_id: Optional[pulumi.Input[Optional[str]]] = Non __ret__ = pulumi.runtime.invoke_output('oci:Jms/getJmsPlugins:getJmsPlugins', __args__, opts=opts, typ=GetJmsPluginsResult) return __ret__.apply(lambda __response__: GetJmsPluginsResult( agent_id=pulumi.get(__response__, 'agent_id'), + agent_type=pulumi.get(__response__, 'agent_type'), availability_status=pulumi.get(__response__, 'availability_status'), compartment_id=pulumi.get(__response__, 'compartment_id'), compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'), diff --git a/sdk/python/pulumi_oci/jms/get_plugin_error_analytics.py b/sdk/python/pulumi_oci/jms/get_plugin_error_analytics.py new file mode 100644 index 0000000000..fd91716fcd --- /dev/null +++ b/sdk/python/pulumi_oci/jms/get_plugin_error_analytics.py @@ -0,0 +1,163 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetPluginErrorAnalyticsResult', + 'AwaitableGetPluginErrorAnalyticsResult', + 'get_plugin_error_analytics', + 'get_plugin_error_analytics_output', +] + +@pulumi.output_type +class GetPluginErrorAnalyticsResult: + """ + A collection of values returned by getPluginErrorAnalytics. + """ + def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, plugin_error_aggregation_collections=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 compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if 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 plugin_error_aggregation_collections and not isinstance(plugin_error_aggregation_collections, list): + raise TypeError("Expected argument 'plugin_error_aggregation_collections' to be a list") + pulumi.set(__self__, "plugin_error_aggregation_collections", plugin_error_aggregation_collections) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetPluginErrorAnalyticsFilterResult']]: + 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="pluginErrorAggregationCollections") + def plugin_error_aggregation_collections(self) -> Sequence['outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult']: + """ + The list of plugin_error_aggregation_collection. + """ + return pulumi.get(self, "plugin_error_aggregation_collections") + + +class AwaitableGetPluginErrorAnalyticsResult(GetPluginErrorAnalyticsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPluginErrorAnalyticsResult( + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + filters=self.filters, + id=self.id, + plugin_error_aggregation_collections=self.plugin_error_aggregation_collections) + + +def get_plugin_error_analytics(compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + filters: Optional[Sequence[Union['GetPluginErrorAnalyticsFilterArgs', 'GetPluginErrorAnalyticsFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginErrorAnalyticsResult: + """ + This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + + Returns a high level summary of PluginErrors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_plugin_error_analytics = oci.Jms.get_plugin_error_analytics(compartment_id=compartment_id, + compartment_id_in_subtree=plugin_error_analytic_compartment_id_in_subtree) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics', __args__, opts=opts, typ=GetPluginErrorAnalyticsResult).value + + return AwaitableGetPluginErrorAnalyticsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + plugin_error_aggregation_collections=pulumi.get(__ret__, 'plugin_error_aggregation_collections')) +def get_plugin_error_analytics_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPluginErrorAnalyticsFilterArgs', 'GetPluginErrorAnalyticsFilterArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginErrorAnalyticsResult]: + """ + This data source provides the list of Plugin Error Analytics in Oracle Cloud Infrastructure Jms service. + + Returns a high level summary of PluginErrors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_plugin_error_analytics = oci.Jms.get_plugin_error_analytics(compartment_id=compartment_id, + compartment_id_in_subtree=plugin_error_analytic_compartment_id_in_subtree) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Jms/getPluginErrorAnalytics:getPluginErrorAnalytics', __args__, opts=opts, typ=GetPluginErrorAnalyticsResult) + return __ret__.apply(lambda __response__: GetPluginErrorAnalyticsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + plugin_error_aggregation_collections=pulumi.get(__response__, 'plugin_error_aggregation_collections'))) diff --git a/sdk/python/pulumi_oci/jms/get_plugin_errors.py b/sdk/python/pulumi_oci/jms/get_plugin_errors.py new file mode 100644 index 0000000000..3e02cb1e1f --- /dev/null +++ b/sdk/python/pulumi_oci/jms/get_plugin_errors.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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetPluginErrorsResult', + 'AwaitableGetPluginErrorsResult', + 'get_plugin_errors', + 'get_plugin_errors_output', +] + +@pulumi.output_type +class GetPluginErrorsResult: + """ + A collection of values returned by getPluginErrors. + """ + def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, managed_instance_id=None, plugin_error_collections=None, time_first_seen_greater_than_or_equal_to=None, time_first_seen_less_than_or_equal_to=None, time_last_seen_greater_than_or_equal_to=None, time_last_seen_less_than_or_equal_to=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 compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if 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 managed_instance_id and not isinstance(managed_instance_id, str): + raise TypeError("Expected argument 'managed_instance_id' to be a str") + pulumi.set(__self__, "managed_instance_id", managed_instance_id) + if plugin_error_collections and not isinstance(plugin_error_collections, list): + raise TypeError("Expected argument 'plugin_error_collections' to be a list") + pulumi.set(__self__, "plugin_error_collections", plugin_error_collections) + if time_first_seen_greater_than_or_equal_to and not isinstance(time_first_seen_greater_than_or_equal_to, str): + raise TypeError("Expected argument 'time_first_seen_greater_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_first_seen_greater_than_or_equal_to", time_first_seen_greater_than_or_equal_to) + if time_first_seen_less_than_or_equal_to and not isinstance(time_first_seen_less_than_or_equal_to, str): + raise TypeError("Expected argument 'time_first_seen_less_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_first_seen_less_than_or_equal_to", time_first_seen_less_than_or_equal_to) + if time_last_seen_greater_than_or_equal_to and not isinstance(time_last_seen_greater_than_or_equal_to, str): + raise TypeError("Expected argument 'time_last_seen_greater_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_last_seen_greater_than_or_equal_to", time_last_seen_greater_than_or_equal_to) + if time_last_seen_less_than_or_equal_to and not isinstance(time_last_seen_less_than_or_equal_to, str): + raise TypeError("Expected argument 'time_last_seen_less_than_or_equal_to' to be a str") + pulumi.set(__self__, "time_last_seen_less_than_or_equal_to", time_last_seen_less_than_or_equal_to) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetPluginErrorsFilterResult']]: + 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="managedInstanceId") + def managed_instance_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. + """ + return pulumi.get(self, "managed_instance_id") + + @property + @pulumi.getter(name="pluginErrorCollections") + def plugin_error_collections(self) -> Sequence['outputs.GetPluginErrorsPluginErrorCollectionResult']: + """ + The list of plugin_error_collection. + """ + return pulumi.get(self, "plugin_error_collections") + + @property + @pulumi.getter(name="timeFirstSeenGreaterThanOrEqualTo") + def time_first_seen_greater_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_first_seen_greater_than_or_equal_to") + + @property + @pulumi.getter(name="timeFirstSeenLessThanOrEqualTo") + def time_first_seen_less_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_first_seen_less_than_or_equal_to") + + @property + @pulumi.getter(name="timeLastSeenGreaterThanOrEqualTo") + def time_last_seen_greater_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_last_seen_greater_than_or_equal_to") + + @property + @pulumi.getter(name="timeLastSeenLessThanOrEqualTo") + def time_last_seen_less_than_or_equal_to(self) -> Optional[str]: + return pulumi.get(self, "time_last_seen_less_than_or_equal_to") + + +class AwaitableGetPluginErrorsResult(GetPluginErrorsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPluginErrorsResult( + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + filters=self.filters, + id=self.id, + managed_instance_id=self.managed_instance_id, + plugin_error_collections=self.plugin_error_collections, + time_first_seen_greater_than_or_equal_to=self.time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=self.time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=self.time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=self.time_last_seen_less_than_or_equal_to) + + +def get_plugin_errors(compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + filters: Optional[Sequence[Union['GetPluginErrorsFilterArgs', 'GetPluginErrorsFilterArgsDict']]] = None, + managed_instance_id: Optional[str] = None, + time_first_seen_greater_than_or_equal_to: Optional[str] = None, + time_first_seen_less_than_or_equal_to: Optional[str] = None, + time_last_seen_greater_than_or_equal_to: Optional[str] = None, + time_last_seen_less_than_or_equal_to: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginErrorsResult: + """ + This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + + Returns a list of plugin errors that describe all detected errors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_plugin_errors = oci.Jms.get_plugin_errors(compartment_id=compartment_id, + compartment_id_in_subtree=plugin_error_compartment_id_in_subtree, + managed_instance_id=test_managed_instance["id"], + time_first_seen_greater_than_or_equal_to=plugin_error_time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=plugin_error_time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=plugin_error_time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=plugin_error_time_last_seen_less_than_or_equal_to) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + :param str managed_instance_id: The Fleet-unique identifier of the managed instance. + :param str time_first_seen_greater_than_or_equal_to: If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_first_seen_less_than_or_equal_to: If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_greater_than_or_equal_to: If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_less_than_or_equal_to: If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + __args__['managedInstanceId'] = managed_instance_id + __args__['timeFirstSeenGreaterThanOrEqualTo'] = time_first_seen_greater_than_or_equal_to + __args__['timeFirstSeenLessThanOrEqualTo'] = time_first_seen_less_than_or_equal_to + __args__['timeLastSeenGreaterThanOrEqualTo'] = time_last_seen_greater_than_or_equal_to + __args__['timeLastSeenLessThanOrEqualTo'] = time_last_seen_less_than_or_equal_to + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Jms/getPluginErrors:getPluginErrors', __args__, opts=opts, typ=GetPluginErrorsResult).value + + return AwaitableGetPluginErrorsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'), + plugin_error_collections=pulumi.get(__ret__, 'plugin_error_collections'), + time_first_seen_greater_than_or_equal_to=pulumi.get(__ret__, 'time_first_seen_greater_than_or_equal_to'), + time_first_seen_less_than_or_equal_to=pulumi.get(__ret__, 'time_first_seen_less_than_or_equal_to'), + time_last_seen_greater_than_or_equal_to=pulumi.get(__ret__, 'time_last_seen_greater_than_or_equal_to'), + time_last_seen_less_than_or_equal_to=pulumi.get(__ret__, 'time_last_seen_less_than_or_equal_to')) +def get_plugin_errors_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPluginErrorsFilterArgs', 'GetPluginErrorsFilterArgsDict']]]]] = None, + managed_instance_id: Optional[pulumi.Input[Optional[str]]] = None, + time_first_seen_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_first_seen_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_last_seen_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + time_last_seen_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginErrorsResult]: + """ + This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service. + + Returns a list of plugin errors that describe all detected errors. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_plugin_errors = oci.Jms.get_plugin_errors(compartment_id=compartment_id, + compartment_id_in_subtree=plugin_error_compartment_id_in_subtree, + managed_instance_id=test_managed_instance["id"], + time_first_seen_greater_than_or_equal_to=plugin_error_time_first_seen_greater_than_or_equal_to, + time_first_seen_less_than_or_equal_to=plugin_error_time_first_seen_less_than_or_equal_to, + time_last_seen_greater_than_or_equal_to=plugin_error_time_last_seen_greater_than_or_equal_to, + time_last_seen_less_than_or_equal_to=plugin_error_time_last_seen_less_than_or_equal_to) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + :param str managed_instance_id: The Fleet-unique identifier of the managed instance. + :param str time_first_seen_greater_than_or_equal_to: If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_first_seen_less_than_or_equal_to: If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_greater_than_or_equal_to: If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + :param str time_last_seen_less_than_or_equal_to: If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['filters'] = filters + __args__['managedInstanceId'] = managed_instance_id + __args__['timeFirstSeenGreaterThanOrEqualTo'] = time_first_seen_greater_than_or_equal_to + __args__['timeFirstSeenLessThanOrEqualTo'] = time_first_seen_less_than_or_equal_to + __args__['timeLastSeenGreaterThanOrEqualTo'] = time_last_seen_greater_than_or_equal_to + __args__['timeLastSeenLessThanOrEqualTo'] = time_last_seen_less_than_or_equal_to + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Jms/getPluginErrors:getPluginErrors', __args__, opts=opts, typ=GetPluginErrorsResult) + return __ret__.apply(lambda __response__: GetPluginErrorsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + managed_instance_id=pulumi.get(__response__, 'managed_instance_id'), + plugin_error_collections=pulumi.get(__response__, 'plugin_error_collections'), + time_first_seen_greater_than_or_equal_to=pulumi.get(__response__, 'time_first_seen_greater_than_or_equal_to'), + time_first_seen_less_than_or_equal_to=pulumi.get(__response__, 'time_first_seen_less_than_or_equal_to'), + time_last_seen_greater_than_or_equal_to=pulumi.get(__response__, 'time_last_seen_greater_than_or_equal_to'), + time_last_seen_less_than_or_equal_to=pulumi.get(__response__, 'time_last_seen_less_than_or_equal_to'))) diff --git a/sdk/python/pulumi_oci/jms/outputs.py b/sdk/python/pulumi_oci/jms/outputs.py index cb78d37ed0..3b4fe4f4af 100644 --- a/sdk/python/pulumi_oci/jms/outputs.py +++ b/sdk/python/pulumi_oci/jms/outputs.py @@ -67,6 +67,14 @@ 'GetFleetDrsFilesDrsFileCollectionResult', 'GetFleetDrsFilesDrsFileCollectionItemResult', 'GetFleetDrsFilesFilterResult', + 'GetFleetErrorAnalyticsFilterResult', + 'GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult', + 'GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult', + 'GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult', + 'GetFleetErrorsFilterResult', + 'GetFleetErrorsFleetErrorCollectionResult', + 'GetFleetErrorsFleetErrorCollectionItemResult', + 'GetFleetErrorsFleetErrorCollectionItemErrorResult', 'GetFleetInventoryLogResult', 'GetFleetJavaMigrationAnalysisResultsFilterResult', 'GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionResult', @@ -139,6 +147,14 @@ 'GetJmsPluginsJmsPluginCollectionItemResult', 'GetListJreUsageItemResult', 'GetListJreUsageItemOperatingSystemResult', + 'GetPluginErrorAnalyticsFilterResult', + 'GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult', + 'GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult', + 'GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult', + 'GetPluginErrorsFilterResult', + 'GetPluginErrorsPluginErrorCollectionResult', + 'GetPluginErrorsPluginErrorCollectionItemResult', + 'GetPluginErrorsPluginErrorCollectionItemErrorResult', ] @pulumi.output_type @@ -2646,6 +2662,267 @@ def regex(self) -> Optional[bool]: return pulumi.get(self, "regex") +@pulumi.output_type +class GetFleetErrorAnalyticsFilterResult(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 GetFleetErrorAnalyticsFleetErrorAggregationCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult']): + """ + :param Sequence['GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemArgs'] items: A list of FleetErrorAggregationSummary. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult']: + """ + A list of FleetErrorAggregationSummary. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemResult(dict): + def __init__(__self__, *, + fleet_error_aggregations: Sequence['outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult'], + healthy_fleet_count: int): + """ + :param Sequence['GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationArgs'] fleet_error_aggregations: List of fleet error aggregations. + :param int healthy_fleet_count: Count of fleets with no problems. + """ + pulumi.set(__self__, "fleet_error_aggregations", fleet_error_aggregations) + pulumi.set(__self__, "healthy_fleet_count", healthy_fleet_count) + + @property + @pulumi.getter(name="fleetErrorAggregations") + def fleet_error_aggregations(self) -> Sequence['outputs.GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult']: + """ + List of fleet error aggregations. + """ + return pulumi.get(self, "fleet_error_aggregations") + + @property + @pulumi.getter(name="healthyFleetCount") + def healthy_fleet_count(self) -> int: + """ + Count of fleets with no problems. + """ + return pulumi.get(self, "healthy_fleet_count") + + +@pulumi.output_type +class GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregationResult(dict): + def __init__(__self__, *, + fleet_error_analytic_count: int, + reason: str): + """ + :param int fleet_error_analytic_count: Number of FleetErrors encountered for the specific reason. + :param str reason: Enum that uniquely identifies the fleet error. + """ + pulumi.set(__self__, "fleet_error_analytic_count", fleet_error_analytic_count) + pulumi.set(__self__, "reason", reason) + + @property + @pulumi.getter(name="fleetErrorAnalyticCount") + def fleet_error_analytic_count(self) -> int: + """ + Number of FleetErrors encountered for the specific reason. + """ + return pulumi.get(self, "fleet_error_analytic_count") + + @property + @pulumi.getter + def reason(self) -> str: + """ + Enum that uniquely identifies the fleet error. + """ + return pulumi.get(self, "reason") + + +@pulumi.output_type +class GetFleetErrorsFilterResult(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 GetFleetErrorsFleetErrorCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetFleetErrorsFleetErrorCollectionItemResult']): + """ + :param Sequence['GetFleetErrorsFleetErrorCollectionItemArgs'] items: A list of FleetErrorSummary. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetFleetErrorsFleetErrorCollectionItemResult']: + """ + A list of FleetErrorSummary. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetFleetErrorsFleetErrorCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + errors: Sequence['outputs.GetFleetErrorsFleetErrorCollectionItemErrorResult'], + fleet_id: str, + fleet_name: str, + time_first_seen: str, + time_last_seen: str): + """ + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param Sequence['GetFleetErrorsFleetErrorCollectionItemErrorArgs'] errors: List of fleet error details. + :param str fleet_id: The ID of the Fleet. + :param str fleet_name: The display name of the Fleet. + :param str time_first_seen: The timestamp of the first time an error was detected. + :param str time_last_seen: The timestamp of the last time an error was detected. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "errors", errors) + pulumi.set(__self__, "fleet_id", fleet_id) + pulumi.set(__self__, "fleet_name", fleet_name) + pulumi.set(__self__, "time_first_seen", time_first_seen) + pulumi.set(__self__, "time_last_seen", time_last_seen) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.GetFleetErrorsFleetErrorCollectionItemErrorResult']: + """ + List of fleet error details. + """ + return pulumi.get(self, "errors") + + @property + @pulumi.getter(name="fleetId") + def fleet_id(self) -> str: + """ + The ID of the Fleet. + """ + return pulumi.get(self, "fleet_id") + + @property + @pulumi.getter(name="fleetName") + def fleet_name(self) -> str: + """ + The display name of the Fleet. + """ + return pulumi.get(self, "fleet_name") + + @property + @pulumi.getter(name="timeFirstSeen") + def time_first_seen(self) -> str: + """ + The timestamp of the first time an error was detected. + """ + return pulumi.get(self, "time_first_seen") + + @property + @pulumi.getter(name="timeLastSeen") + def time_last_seen(self) -> str: + """ + The timestamp of the last time an error was detected. + """ + return pulumi.get(self, "time_last_seen") + + +@pulumi.output_type +class GetFleetErrorsFleetErrorCollectionItemErrorResult(dict): + def __init__(__self__, *, + details: str, + reason: str, + time_last_seen: str): + """ + :param str details: Optional string containing additional details. + :param str reason: The fleet error reason. + :param str time_last_seen: The timestamp of the last time an error was detected. + """ + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "reason", reason) + pulumi.set(__self__, "time_last_seen", time_last_seen) + + @property + @pulumi.getter + def details(self) -> str: + """ + Optional string containing additional details. + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def reason(self) -> str: + """ + The fleet error reason. + """ + return pulumi.get(self, "reason") + + @property + @pulumi.getter(name="timeLastSeen") + def time_last_seen(self) -> str: + """ + The timestamp of the last time an error was detected. + """ + return pulumi.get(self, "time_last_seen") + + @pulumi.output_type class GetFleetInventoryLogResult(dict): def __init__(__self__, *, @@ -3000,7 +3277,7 @@ def __init__(__self__, *, :param str application_id: The Fleet-unique identifier of the related application. :param str application_installation_id: The internal identifier of the application installation for which the report has been generated. :param str application_installation_path: The installation path of the application for which the report has been generated. - :param str application_name: The name of the application for which the report has been generated. + :param str application_name: The name of the application. :param str bucket: The Object Storage bucket name of this analysis result. :param str fleet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. :param str host_name: The host [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. @@ -3061,7 +3338,7 @@ def application_installation_path(self) -> str: @pulumi.getter(name="applicationName") def application_name(self) -> str: """ - The name of the application for which the report has been generated. + The name of the application. """ return pulumi.get(self, "application_name") @@ -3954,7 +4231,7 @@ def __init__(__self__, *, vendor: str, version: str): """ - :param str distribution: The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + :param str distribution: The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. :param str jre_key: The unique identifier for a Java Runtime. :param str vendor: The vendor of the Java Runtime. :param str version: The version of the operating system as provided by the Java system property os.version. @@ -3968,7 +4245,7 @@ def __init__(__self__, *, @pulumi.getter def distribution(self) -> str: """ - The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. + The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. """ return pulumi.get(self, "distribution") @@ -4001,18 +4278,21 @@ def version(self) -> str: class GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult(dict): def __init__(__self__, *, architecture: str, + distribution: str, family: str, managed_instance_count: int, name: str, version: str): """ :param str architecture: The architecture of the operating system as provided by the Java system property os.arch. + :param str distribution: The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. :param str family: The operating system type, such as Windows, Linux or macOS :param int managed_instance_count: Number of instances running the operating system. :param str name: The name of the operating system as provided by the Java system property os.name. :param str version: The version of the operating system as provided by the Java system property os.version. """ pulumi.set(__self__, "architecture", architecture) + pulumi.set(__self__, "distribution", distribution) pulumi.set(__self__, "family", family) pulumi.set(__self__, "managed_instance_count", managed_instance_count) pulumi.set(__self__, "name", name) @@ -4026,6 +4306,14 @@ def architecture(self) -> str: """ return pulumi.get(self, "architecture") + @property + @pulumi.getter + def distribution(self) -> str: + """ + The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + """ + return pulumi.get(self, "distribution") + @property @pulumi.getter def family(self) -> str: @@ -7014,7 +7302,7 @@ def __init__(__self__, *, time_registered: str): """ :param str agent_id: The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. - :param str agent_type: The agent type. + :param str agent_type: Filter JmsPlugin with agent type. :param str availability_status: Filter JmsPlugin with its availability status. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. :param Mapping[str, str] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). @@ -7061,7 +7349,7 @@ def agent_id(self) -> str: @pulumi.getter(name="agentType") def agent_type(self) -> str: """ - The agent type. + Filter JmsPlugin with agent type. """ return pulumi.get(self, "agent_type") @@ -7464,3 +7752,275 @@ def version(self) -> str: return pulumi.get(self, "version") +@pulumi.output_type +class GetPluginErrorAnalyticsFilterResult(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 GetPluginErrorAnalyticsPluginErrorAggregationCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult']): + """ + :param Sequence['GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemArgs'] items: A list of PluginErrorAggregationSummary. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult']: + """ + A list of PluginErrorAggregationSummary. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemResult(dict): + def __init__(__self__, *, + healthy_plugin_count: int, + plugin_error_aggregations: Sequence['outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult']): + """ + :param int healthy_plugin_count: Count of plugins with no problems. + :param Sequence['GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationArgs'] plugin_error_aggregations: List of plugin aggregation errors. + """ + pulumi.set(__self__, "healthy_plugin_count", healthy_plugin_count) + pulumi.set(__self__, "plugin_error_aggregations", plugin_error_aggregations) + + @property + @pulumi.getter(name="healthyPluginCount") + def healthy_plugin_count(self) -> int: + """ + Count of plugins with no problems. + """ + return pulumi.get(self, "healthy_plugin_count") + + @property + @pulumi.getter(name="pluginErrorAggregations") + def plugin_error_aggregations(self) -> Sequence['outputs.GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult']: + """ + List of plugin aggregation errors. + """ + return pulumi.get(self, "plugin_error_aggregations") + + +@pulumi.output_type +class GetPluginErrorAnalyticsPluginErrorAggregationCollectionItemPluginErrorAggregationResult(dict): + def __init__(__self__, *, + plugin_error_analytic_count: int, + reason: str): + """ + :param int plugin_error_analytic_count: Number of FleetErrors encountered for the specific reason. + :param str reason: Enum that uniquely identifies the plugin error. + """ + pulumi.set(__self__, "plugin_error_analytic_count", plugin_error_analytic_count) + pulumi.set(__self__, "reason", reason) + + @property + @pulumi.getter(name="pluginErrorAnalyticCount") + def plugin_error_analytic_count(self) -> int: + """ + Number of FleetErrors encountered for the specific reason. + """ + return pulumi.get(self, "plugin_error_analytic_count") + + @property + @pulumi.getter + def reason(self) -> str: + """ + Enum that uniquely identifies the plugin error. + """ + return pulumi.get(self, "reason") + + +@pulumi.output_type +class GetPluginErrorsFilterResult(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 GetPluginErrorsPluginErrorCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetPluginErrorsPluginErrorCollectionItemResult']): + """ + :param Sequence['GetPluginErrorsPluginErrorCollectionItemArgs'] items: A list of PluginErrorSummary. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetPluginErrorsPluginErrorCollectionItemResult']: + """ + A list of PluginErrorSummary. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetPluginErrorsPluginErrorCollectionItemResult(dict): + def __init__(__self__, *, + agent_type: str, + compartment_id: str, + errors: Sequence['outputs.GetPluginErrorsPluginErrorCollectionItemErrorResult'], + host_name: str, + managed_instance_id: str, + time_first_seen: str, + time_last_seen: str): + """ + :param str agent_type: The agent type. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param Sequence['GetPluginErrorsPluginErrorCollectionItemErrorArgs'] errors: List of plugin error details. + :param str host_name: The HostName or Compute Instance name of the Managed Instance running the plugin. + :param str managed_instance_id: The Fleet-unique identifier of the managed instance. + :param str time_first_seen: The timestamp of the first time an error was detected. + :param str time_last_seen: The timestamp of the last time an error was detected. + """ + pulumi.set(__self__, "agent_type", agent_type) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "errors", errors) + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "managed_instance_id", managed_instance_id) + pulumi.set(__self__, "time_first_seen", time_first_seen) + pulumi.set(__self__, "time_last_seen", time_last_seen) + + @property + @pulumi.getter(name="agentType") + def agent_type(self) -> str: + """ + The agent type. + """ + return pulumi.get(self, "agent_type") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.GetPluginErrorsPluginErrorCollectionItemErrorResult']: + """ + List of plugin error details. + """ + return pulumi.get(self, "errors") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The HostName or Compute Instance name of the Managed Instance running the plugin. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="managedInstanceId") + def managed_instance_id(self) -> str: + """ + The Fleet-unique identifier of the managed instance. + """ + return pulumi.get(self, "managed_instance_id") + + @property + @pulumi.getter(name="timeFirstSeen") + def time_first_seen(self) -> str: + """ + The timestamp of the first time an error was detected. + """ + return pulumi.get(self, "time_first_seen") + + @property + @pulumi.getter(name="timeLastSeen") + def time_last_seen(self) -> str: + """ + The timestamp of the last time an error was detected. + """ + return pulumi.get(self, "time_last_seen") + + +@pulumi.output_type +class GetPluginErrorsPluginErrorCollectionItemErrorResult(dict): + def __init__(__self__, *, + details: str, + reason: str, + time_last_seen: str): + """ + :param str details: Optional string containing additional details. + :param str reason: The plugin error reason. + :param str time_last_seen: The timestamp of the last time an error was detected. + """ + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "reason", reason) + pulumi.set(__self__, "time_last_seen", time_last_seen) + + @property + @pulumi.getter + def details(self) -> str: + """ + Optional string containing additional details. + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def reason(self) -> str: + """ + The plugin error reason. + """ + return pulumi.get(self, "reason") + + @property + @pulumi.getter(name="timeLastSeen") + def time_last_seen(self) -> str: + """ + The timestamp of the last time an error was detected. + """ + return pulumi.get(self, "time_last_seen") + + diff --git a/sdk/python/pulumi_oci/provider.py b/sdk/python/pulumi_oci/provider.py index 6c4924e76b..360188c819 100644 --- a/sdk/python/pulumi_oci/provider.py +++ b/sdk/python/pulumi_oci/provider.py @@ -31,6 +31,7 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None, retry_duration_seconds: Optional[pulumi.Input[int]] = None, tenancy_ocid: Optional[pulumi.Input[str]] = None, + test_time_maintenance_reboot_due: Optional[pulumi.Input[str]] = None, user_ocid: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Provider resource. @@ -80,6 +81,8 @@ def __init__(__self__, *, pulumi.set(__self__, "retry_duration_seconds", retry_duration_seconds) if tenancy_ocid is not None: pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + if test_time_maintenance_reboot_due is not None: + pulumi.set(__self__, "test_time_maintenance_reboot_due", test_time_maintenance_reboot_due) if user_ocid is not None: pulumi.set(__self__, "user_ocid", user_ocid) @@ -232,6 +235,15 @@ def tenancy_ocid(self) -> Optional[pulumi.Input[str]]: def tenancy_ocid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenancy_ocid", value) + @property + @pulumi.getter(name="testTimeMaintenanceRebootDue") + def test_time_maintenance_reboot_due(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "test_time_maintenance_reboot_due") + + @test_time_maintenance_reboot_due.setter + def test_time_maintenance_reboot_due(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "test_time_maintenance_reboot_due", value) + @property @pulumi.getter(name="userOcid") def user_ocid(self) -> Optional[pulumi.Input[str]]: @@ -263,6 +275,7 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, retry_duration_seconds: Optional[pulumi.Input[int]] = None, tenancy_ocid: Optional[pulumi.Input[str]] = None, + test_time_maintenance_reboot_due: Optional[pulumi.Input[str]] = None, user_ocid: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -334,6 +347,7 @@ def _internal_init(__self__, region: Optional[pulumi.Input[str]] = None, retry_duration_seconds: Optional[pulumi.Input[int]] = None, tenancy_ocid: Optional[pulumi.Input[str]] = None, + test_time_maintenance_reboot_due: Optional[pulumi.Input[str]] = None, user_ocid: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -356,6 +370,7 @@ def _internal_init(__self__, __props__.__dict__["region"] = region __props__.__dict__["retry_duration_seconds"] = pulumi.Output.from_input(retry_duration_seconds).apply(pulumi.runtime.to_json) if retry_duration_seconds is not None else None __props__.__dict__["tenancy_ocid"] = tenancy_ocid + __props__.__dict__["test_time_maintenance_reboot_due"] = test_time_maintenance_reboot_due __props__.__dict__["user_ocid"] = user_ocid secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["privateKey", "privateKeyPassword"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) @@ -434,6 +449,11 @@ def tenancy_ocid(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "tenancy_ocid") + @property + @pulumi.getter(name="testTimeMaintenanceRebootDue") + def test_time_maintenance_reboot_due(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "test_time_maintenance_reboot_due") + @property @pulumi.getter(name="userOcid") def user_ocid(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_oci/stackmonitoring/__init__.py b/sdk/python/pulumi_oci/stackmonitoring/__init__.py index 5ec08b3653..4b88170837 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/__init__.py +++ b/sdk/python/pulumi_oci/stackmonitoring/__init__.py @@ -13,6 +13,7 @@ from .get_baselineable_metrics_evaluate import * from .get_config import * from .get_configs import * +from .get_defined_monitoring_templates import * from .get_discovery_job import * from .get_discovery_job_logs import * from .get_discovery_jobs import * @@ -26,6 +27,10 @@ from .get_monitored_resource_type import * from .get_monitored_resource_types import * from .get_monitored_resources import * +from .get_monitoring_template import * +from .get_monitoring_template_alarm_condition import * +from .get_monitoring_template_alarm_conditions import * +from .get_monitoring_templates import * from .get_process_set import * from .get_process_sets import * from .maintenance_window import * @@ -41,6 +46,9 @@ from .monitored_resources_list_member import * from .monitored_resources_search import * from .monitored_resources_search_association import * +from .monitoring_template import * +from .monitoring_template_alarm_condition import * +from .monitoring_template_monitoring_template_on_given_resources_management import * from .process_set import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_oci/stackmonitoring/_inputs.py b/sdk/python/pulumi_oci/stackmonitoring/_inputs.py index 1e7d3c4bd1..7be1116074 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/_inputs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/_inputs.py @@ -89,6 +89,10 @@ 'MonitoredResourcesSearchItemArgsDict', 'MonitoredResourcesSearchItemPropertyArgs', 'MonitoredResourcesSearchItemPropertyArgsDict', + 'MonitoringTemplateAlarmConditionConditionArgs', + 'MonitoringTemplateAlarmConditionConditionArgsDict', + 'MonitoringTemplateMemberArgs', + 'MonitoringTemplateMemberArgsDict', 'ProcessSetSpecificationArgs', 'ProcessSetSpecificationArgsDict', 'ProcessSetSpecificationItemArgs', @@ -105,6 +109,8 @@ 'GetBaselineableMetricsFilterArgsDict', 'GetConfigsFilterArgs', 'GetConfigsFilterArgsDict', + 'GetDefinedMonitoringTemplatesFilterArgs', + 'GetDefinedMonitoringTemplatesFilterArgsDict', 'GetDiscoveryJobLogsFilterArgs', 'GetDiscoveryJobLogsFilterArgsDict', 'GetDiscoveryJobsFilterArgs', @@ -119,6 +125,10 @@ 'GetMonitoredResourceTypesFilterArgsDict', 'GetMonitoredResourcesFilterArgs', 'GetMonitoredResourcesFilterArgsDict', + 'GetMonitoringTemplateAlarmConditionsFilterArgs', + 'GetMonitoringTemplateAlarmConditionsFilterArgsDict', + 'GetMonitoringTemplatesFilterArgs', + 'GetMonitoringTemplatesFilterArgsDict', 'GetProcessSetsFilterArgs', 'GetProcessSetsFilterArgsDict', ] @@ -2790,6 +2800,10 @@ class MonitoredResourceTypeMetadataArgsDict(TypedDict): """ (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` """ + valid_sub_resource_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + """ elif False: MonitoredResourceTypeMetadataArgsDict: TypeAlias = Mapping[str, Any] @@ -2802,7 +2816,8 @@ def __init__(__self__, *, unique_property_sets: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceTypeMetadataUniquePropertySetArgs']]]] = None, valid_properties_for_creates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, valid_properties_for_updates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - valid_property_values: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + valid_property_values: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + valid_sub_resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ :param pulumi.Input[str] format: (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. @@ -2812,6 +2827,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_properties_for_creates: (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_properties_for_updates: (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] valid_property_values: (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` + :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_sub_resource_types: (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types """ pulumi.set(__self__, "format", format) if agent_properties is not None: @@ -2826,6 +2842,8 @@ def __init__(__self__, *, pulumi.set(__self__, "valid_properties_for_updates", valid_properties_for_updates) if valid_property_values is not None: pulumi.set(__self__, "valid_property_values", valid_property_values) + if valid_sub_resource_types is not None: + pulumi.set(__self__, "valid_sub_resource_types", valid_sub_resource_types) @property @pulumi.getter @@ -2912,6 +2930,18 @@ def valid_property_values(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Inp def valid_property_values(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "valid_property_values", value) + @property + @pulumi.getter(name="validSubResourceTypes") + def valid_sub_resource_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + """ + return pulumi.get(self, "valid_sub_resource_types") + + @valid_sub_resource_types.setter + def valid_sub_resource_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "valid_sub_resource_types", value) + if not MYPY: class MonitoredResourceTypeMetadataUniquePropertySetArgsDict(TypedDict): @@ -4112,6 +4142,206 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class MonitoringTemplateAlarmConditionConditionArgsDict(TypedDict): + query: pulumi.Input[str] + """ + (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + """ + severity: pulumi.Input[str] + """ + (Updatable) Severity - Critical/Warning + """ + body: NotRequired[pulumi.Input[str]] + """ + (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + """ + should_append_note: NotRequired[pulumi.Input[bool]] + """ + (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + should_append_url: NotRequired[pulumi.Input[bool]] + """ + (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + """ + trigger_delay: NotRequired[pulumi.Input[str]] + """ + (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ +elif False: + MonitoringTemplateAlarmConditionConditionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MonitoringTemplateAlarmConditionConditionArgs: + def __init__(__self__, *, + query: pulumi.Input[str], + severity: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None, + should_append_note: Optional[pulumi.Input[bool]] = None, + should_append_url: Optional[pulumi.Input[bool]] = None, + trigger_delay: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] query: (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + :param pulumi.Input[str] severity: (Updatable) Severity - Critical/Warning + :param pulumi.Input[str] body: (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + :param pulumi.Input[bool] should_append_note: (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + :param pulumi.Input[bool] should_append_url: (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + :param pulumi.Input[str] trigger_delay: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "severity", severity) + if body is not None: + pulumi.set(__self__, "body", body) + if should_append_note is not None: + pulumi.set(__self__, "should_append_note", should_append_note) + if should_append_url is not None: + pulumi.set(__self__, "should_append_url", should_append_url) + if trigger_delay is not None: + pulumi.set(__self__, "trigger_delay", trigger_delay) + + @property + @pulumi.getter + def query(self) -> pulumi.Input[str]: + """ + (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input[str]): + pulumi.set(self, "query", value) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[str]: + """ + (Updatable) Severity - Critical/Warning + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[str]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + @property + @pulumi.getter(name="shouldAppendNote") + def should_append_note(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_note") + + @should_append_note.setter + def should_append_note(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "should_append_note", value) + + @property + @pulumi.getter(name="shouldAppendUrl") + def should_append_url(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_url") + + @should_append_url.setter + def should_append_url(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "should_append_url", value) + + @property + @pulumi.getter(name="triggerDelay") + def trigger_delay(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + return pulumi.get(self, "trigger_delay") + + @trigger_delay.setter + def trigger_delay(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trigger_delay", value) + + +if not MYPY: + class MonitoringTemplateMemberArgsDict(TypedDict): + id: pulumi.Input[str] + """ + (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + """ + type: pulumi.Input[str] + """ + (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + composite_type: NotRequired[pulumi.Input[str]] + """ + (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + """ +elif False: + MonitoringTemplateMemberArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MonitoringTemplateMemberArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + type: pulumi.Input[str], + composite_type: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] id: (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + :param pulumi.Input[str] type: (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + :param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + if composite_type is not None: + pulumi.set(__self__, "composite_type", composite_type) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + """ + return pulumi.get(self, "composite_type") + + @composite_type.setter + def composite_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "composite_type", value) + + if not MYPY: class ProcessSetSpecificationArgsDict(TypedDict): items: pulumi.Input[Sequence[pulumi.Input['ProcessSetSpecificationItemArgsDict']]] @@ -4645,6 +4875,53 @@ def regex(self, value: Optional[bool]): pulumi.set(self, "regex", value) +if not MYPY: + class GetDefinedMonitoringTemplatesFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetDefinedMonitoringTemplatesFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetDefinedMonitoringTemplatesFilterArgs: + 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) + + if not MYPY: class GetDiscoveryJobLogsFilterArgsDict(TypedDict): name: str @@ -5028,6 +5305,100 @@ def regex(self, value: Optional[bool]): pulumi.set(self, "regex", value) +if not MYPY: + class GetMonitoringTemplateAlarmConditionsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetMonitoringTemplateAlarmConditionsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetMonitoringTemplateAlarmConditionsFilterArgs: + 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) + + +if not MYPY: + class GetMonitoringTemplatesFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetMonitoringTemplatesFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetMonitoringTemplatesFilterArgs: + 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) + + if not MYPY: class GetProcessSetsFilterArgsDict(TypedDict): name: str diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py b/sdk/python/pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py new file mode 100644 index 0000000000..274521b76f --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py @@ -0,0 +1,185 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDefinedMonitoringTemplatesResult', + 'AwaitableGetDefinedMonitoringTemplatesResult', + 'get_defined_monitoring_templates', + 'get_defined_monitoring_templates_output', +] + +@pulumi.output_type +class GetDefinedMonitoringTemplatesResult: + """ + A collection of values returned by getDefinedMonitoringTemplates. + """ + def __init__(__self__, compartment_id=None, defined_monitoring_template_collections=None, display_name=None, filters=None, id=None, resource_types=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_monitoring_template_collections and not isinstance(defined_monitoring_template_collections, list): + raise TypeError("Expected argument 'defined_monitoring_template_collections' to be a list") + pulumi.set(__self__, "defined_monitoring_template_collections", defined_monitoring_template_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_types and not isinstance(resource_types, list): + raise TypeError("Expected argument 'resource_types' to be a list") + pulumi.set(__self__, "resource_types", resource_types) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedMonitoringTemplateCollections") + def defined_monitoring_template_collections(self) -> Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult']: + """ + The list of defined_monitoring_template_collection. + """ + return pulumi.get(self, "defined_monitoring_template_collections") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The name of the definedMonitoringTemplate. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDefinedMonitoringTemplatesFilterResult']]: + 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="resourceTypes") + def resource_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "resource_types") + + +class AwaitableGetDefinedMonitoringTemplatesResult(GetDefinedMonitoringTemplatesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDefinedMonitoringTemplatesResult( + compartment_id=self.compartment_id, + defined_monitoring_template_collections=self.defined_monitoring_template_collections, + display_name=self.display_name, + filters=self.filters, + id=self.id, + resource_types=self.resource_types) + + +def get_defined_monitoring_templates(compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDefinedMonitoringTemplatesFilterArgs', 'GetDefinedMonitoringTemplatesFilterArgsDict']]] = None, + resource_types: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefinedMonitoringTemplatesResult: + """ + This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + + List Defined Monitoring Templates. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_defined_monitoring_templates = oci.StackMonitoring.get_defined_monitoring_templates(compartment_id=compartment_id, + display_name=defined_monitoring_template_display_name, + resource_types=defined_monitoring_template_resource_types) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + :param str display_name: A filter to return monitoring template based on name. + :param Sequence[str] resource_types: Multiple resource types filter. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['resourceTypes'] = resource_types + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates', __args__, opts=opts, typ=GetDefinedMonitoringTemplatesResult).value + + return AwaitableGetDefinedMonitoringTemplatesResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_monitoring_template_collections=pulumi.get(__ret__, 'defined_monitoring_template_collections'), + display_name=pulumi.get(__ret__, 'display_name'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + resource_types=pulumi.get(__ret__, 'resource_types')) +def get_defined_monitoring_templates_output(compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDefinedMonitoringTemplatesFilterArgs', 'GetDefinedMonitoringTemplatesFilterArgsDict']]]]] = None, + resource_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDefinedMonitoringTemplatesResult]: + """ + This data source provides the list of Defined Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + + List Defined Monitoring Templates. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_defined_monitoring_templates = oci.StackMonitoring.get_defined_monitoring_templates(compartment_id=compartment_id, + display_name=defined_monitoring_template_display_name, + resource_types=defined_monitoring_template_resource_types) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy(root) for which defined monitored templates should be listed. + :param str display_name: A filter to return monitoring template based on name. + :param Sequence[str] resource_types: Multiple resource types filter. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['resourceTypes'] = resource_types + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getDefinedMonitoringTemplates:getDefinedMonitoringTemplates', __args__, opts=opts, typ=GetDefinedMonitoringTemplatesResult) + return __ret__.apply(lambda __response__: GetDefinedMonitoringTemplatesResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + defined_monitoring_template_collections=pulumi.get(__response__, 'defined_monitoring_template_collections'), + display_name=pulumi.get(__response__, 'display_name'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + resource_types=pulumi.get(__response__, 'resource_types'))) diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_metric_extension.py b/sdk/python/pulumi_oci/stackmonitoring/get_metric_extension.py index 9789b06fc7..c3977bd58d 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_metric_extension.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_metric_extension.py @@ -147,7 +147,7 @@ def display_name(self) -> str: @pulumi.getter(name="enabledOnResources") def enabled_on_resources(self) -> Sequence['outputs.GetMetricExtensionEnabledOnResourceResult']: """ - List of resource objects on which this metric extension is enabled. + List of resource details objects having resourceIds on which this metric extension is enabled. """ return pulumi.get(self, "enabled_on_resources") diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource_type.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource_type.py index f8551578da..ded5a8f1d0 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource_type.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource_type.py @@ -27,7 +27,10 @@ class GetMonitoredResourceTypeResult: """ A collection of values returned by getMonitoredResourceType. """ - def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, metadatas=None, metric_namespace=None, monitored_resource_type_id=None, name=None, resource_category=None, source_type=None, state=None, system_tags=None, time_created=None, time_updated=None): + def __init__(__self__, additional_namespace_map=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, metadatas=None, metric_namespace=None, monitored_resource_type_id=None, name=None, resource_category=None, source_type=None, state=None, system_tags=None, time_created=None, time_updated=None): + if additional_namespace_map and not isinstance(additional_namespace_map, dict): + raise TypeError("Expected argument 'additional_namespace_map' to be a dict") + pulumi.set(__self__, "additional_namespace_map", additional_namespace_map) 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) @@ -77,6 +80,14 @@ def __init__(__self__, compartment_id=None, defined_tags=None, description=None, raise TypeError("Expected argument 'time_updated' to be a str") pulumi.set(__self__, "time_updated", time_updated) + @property + @pulumi.getter(name="additionalNamespaceMap") + def additional_namespace_map(self) -> Mapping[str, str]: + """ + Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + """ + return pulumi.get(self, "additional_namespace_map") + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: @@ -209,6 +220,7 @@ def __await__(self): if False: yield self return GetMonitoredResourceTypeResult( + additional_namespace_map=self.additional_namespace_map, compartment_id=self.compartment_id, defined_tags=self.defined_tags, description=self.description, @@ -252,6 +264,7 @@ def get_monitored_resource_type(monitored_resource_type_id: Optional[str] = None __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getMonitoredResourceType:getMonitoredResourceType', __args__, opts=opts, typ=GetMonitoredResourceTypeResult).value return AwaitableGetMonitoredResourceTypeResult( + additional_namespace_map=pulumi.get(__ret__, 'additional_namespace_map'), compartment_id=pulumi.get(__ret__, 'compartment_id'), defined_tags=pulumi.get(__ret__, 'defined_tags'), description=pulumi.get(__ret__, 'description'), @@ -292,6 +305,7 @@ def get_monitored_resource_type_output(monitored_resource_type_id: Optional[pulu opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getMonitoredResourceType:getMonitoredResourceType', __args__, opts=opts, typ=GetMonitoredResourceTypeResult) return __ret__.apply(lambda __response__: GetMonitoredResourceTypeResult( + additional_namespace_map=pulumi.get(__response__, 'additional_namespace_map'), compartment_id=pulumi.get(__response__, 'compartment_id'), defined_tags=pulumi.get(__response__, 'defined_tags'), description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template.py new file mode 100644 index 0000000000..e802856f2d --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template.py @@ -0,0 +1,380 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringTemplateResult', + 'AwaitableGetMonitoringTemplateResult', + 'get_monitoring_template', + 'get_monitoring_template_output', +] + +@pulumi.output_type +class GetMonitoringTemplateResult: + """ + A collection of values returned by getMonitoringTemplate. + """ + def __init__(__self__, compartment_id=None, defined_tags=None, description=None, destinations=None, display_name=None, freeform_tags=None, id=None, is_alarms_enabled=None, is_split_notification_enabled=None, members=None, message_format=None, monitoring_template_id=None, repeat_notification_duration=None, state=None, status=None, system_tags=None, tenant_id=None, time_created=None, time_updated=None, total_alarm_conditions=None, total_applied_alarm_conditions=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 destinations and not isinstance(destinations, list): + raise TypeError("Expected argument 'destinations' to be a list") + pulumi.set(__self__, "destinations", destinations) + 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_alarms_enabled and not isinstance(is_alarms_enabled, bool): + raise TypeError("Expected argument 'is_alarms_enabled' to be a bool") + pulumi.set(__self__, "is_alarms_enabled", is_alarms_enabled) + if is_split_notification_enabled and not isinstance(is_split_notification_enabled, bool): + raise TypeError("Expected argument 'is_split_notification_enabled' to be a bool") + pulumi.set(__self__, "is_split_notification_enabled", is_split_notification_enabled) + if members and not isinstance(members, list): + raise TypeError("Expected argument 'members' to be a list") + pulumi.set(__self__, "members", members) + if message_format and not isinstance(message_format, str): + raise TypeError("Expected argument 'message_format' to be a str") + pulumi.set(__self__, "message_format", message_format) + if monitoring_template_id and not isinstance(monitoring_template_id, str): + raise TypeError("Expected argument 'monitoring_template_id' to be a str") + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + if repeat_notification_duration and not isinstance(repeat_notification_duration, str): + raise TypeError("Expected argument 'repeat_notification_duration' to be a str") + pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + 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 tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_updated and not isinstance(time_updated, str): + raise TypeError("Expected argument 'time_updated' to be a str") + pulumi.set(__self__, "time_updated", time_updated) + if total_alarm_conditions and not isinstance(total_alarm_conditions, float): + raise TypeError("Expected argument 'total_alarm_conditions' to be a float") + pulumi.set(__self__, "total_alarm_conditions", total_alarm_conditions) + if total_applied_alarm_conditions and not isinstance(total_applied_alarm_conditions, float): + raise TypeError("Expected argument 'total_applied_alarm_conditions' to be a float") + pulumi.set(__self__, "total_applied_alarm_conditions", total_applied_alarm_conditions) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment containing the monitoringTemplate. + """ + 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: + """ + A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def destinations(self) -> Sequence[str]: + """ + A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + """ + return pulumi.get(self, "destinations") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + """ + 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 OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAlarmsEnabled") + def is_alarms_enabled(self) -> bool: + """ + Whether the alarm is enabled or disabled. Default value is enabled. + """ + return pulumi.get(self, "is_alarms_enabled") + + @property + @pulumi.getter(name="isSplitNotificationEnabled") + def is_split_notification_enabled(self) -> bool: + """ + Whether the alarm notification is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_split_notification_enabled") + + @property + @pulumi.getter + def members(self) -> Sequence['outputs.GetMonitoringTemplateMemberResult']: + """ + List of members of this monitoring template. + """ + return pulumi.get(self, "members") + + @property + @pulumi.getter(name="messageFormat") + def message_format(self) -> str: + """ + The format to use for alarm notifications. + """ + return pulumi.get(self, "message_format") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> str: + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter(name="repeatNotificationDuration") + def repeat_notification_duration(self) -> str: + """ + The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + """ + return pulumi.get(self, "repeat_notification_duration") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the monitoring template. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The current status of the monitoring template i.e. whether it is Applied or NotApplied. + """ + return pulumi.get(self, "status") + + @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="tenantId") + def tenant_id(self) -> str: + """ + Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the monitoringTemplate was created. Format defined by RFC3339. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="totalAlarmConditions") + def total_alarm_conditions(self) -> float: + """ + Total Alarm Conditions + """ + return pulumi.get(self, "total_alarm_conditions") + + @property + @pulumi.getter(name="totalAppliedAlarmConditions") + def total_applied_alarm_conditions(self) -> float: + """ + Total Applied Alarm Conditions + """ + return pulumi.get(self, "total_applied_alarm_conditions") + + +class AwaitableGetMonitoringTemplateResult(GetMonitoringTemplateResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringTemplateResult( + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + description=self.description, + destinations=self.destinations, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + is_alarms_enabled=self.is_alarms_enabled, + is_split_notification_enabled=self.is_split_notification_enabled, + members=self.members, + message_format=self.message_format, + monitoring_template_id=self.monitoring_template_id, + repeat_notification_duration=self.repeat_notification_duration, + state=self.state, + status=self.status, + system_tags=self.system_tags, + tenant_id=self.tenant_id, + time_created=self.time_created, + time_updated=self.time_updated, + total_alarm_conditions=self.total_alarm_conditions, + total_applied_alarm_conditions=self.total_applied_alarm_conditions) + + +def get_monitoring_template(monitoring_template_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringTemplateResult: + """ + This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Gets a Monitoring Template by identifier + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template = oci.StackMonitoring.get_monitoring_template(monitoring_template_id=test_monitoring_template_oci_stack_monitoring_monitoring_template["id"]) + ``` + + + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + __args__ = dict() + __args__['monitoringTemplateId'] = monitoring_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate', __args__, opts=opts, typ=GetMonitoringTemplateResult).value + + return AwaitableGetMonitoringTemplateResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + destinations=pulumi.get(__ret__, 'destinations'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_alarms_enabled=pulumi.get(__ret__, 'is_alarms_enabled'), + is_split_notification_enabled=pulumi.get(__ret__, 'is_split_notification_enabled'), + members=pulumi.get(__ret__, 'members'), + message_format=pulumi.get(__ret__, 'message_format'), + monitoring_template_id=pulumi.get(__ret__, 'monitoring_template_id'), + repeat_notification_duration=pulumi.get(__ret__, 'repeat_notification_duration'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status'), + system_tags=pulumi.get(__ret__, 'system_tags'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated'), + total_alarm_conditions=pulumi.get(__ret__, 'total_alarm_conditions'), + total_applied_alarm_conditions=pulumi.get(__ret__, 'total_applied_alarm_conditions')) +def get_monitoring_template_output(monitoring_template_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoringTemplateResult]: + """ + This data source provides details about a specific Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Gets a Monitoring Template by identifier + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template = oci.StackMonitoring.get_monitoring_template(monitoring_template_id=test_monitoring_template_oci_stack_monitoring_monitoring_template["id"]) + ``` + + + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + __args__ = dict() + __args__['monitoringTemplateId'] = monitoring_template_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getMonitoringTemplate:getMonitoringTemplate', __args__, opts=opts, typ=GetMonitoringTemplateResult) + return __ret__.apply(lambda __response__: GetMonitoringTemplateResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + description=pulumi.get(__response__, 'description'), + destinations=pulumi.get(__response__, 'destinations'), + display_name=pulumi.get(__response__, 'display_name'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + is_alarms_enabled=pulumi.get(__response__, 'is_alarms_enabled'), + is_split_notification_enabled=pulumi.get(__response__, 'is_split_notification_enabled'), + members=pulumi.get(__response__, 'members'), + message_format=pulumi.get(__response__, 'message_format'), + monitoring_template_id=pulumi.get(__response__, 'monitoring_template_id'), + repeat_notification_duration=pulumi.get(__response__, 'repeat_notification_duration'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + system_tags=pulumi.get(__response__, 'system_tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'), + total_alarm_conditions=pulumi.get(__response__, 'total_alarm_conditions'), + total_applied_alarm_conditions=pulumi.get(__response__, 'total_applied_alarm_conditions'))) diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py new file mode 100644 index 0000000000..3ec9de89f8 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py @@ -0,0 +1,318 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetMonitoringTemplateAlarmConditionResult', + 'AwaitableGetMonitoringTemplateAlarmConditionResult', + 'get_monitoring_template_alarm_condition', + 'get_monitoring_template_alarm_condition_output', +] + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionResult: + """ + A collection of values returned by getMonitoringTemplateAlarmCondition. + """ + def __init__(__self__, alarm_condition_id=None, composite_type=None, condition_type=None, conditions=None, defined_tags=None, freeform_tags=None, id=None, metric_name=None, monitoring_template_id=None, namespace=None, resource_type=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None): + if alarm_condition_id and not isinstance(alarm_condition_id, str): + raise TypeError("Expected argument 'alarm_condition_id' to be a str") + pulumi.set(__self__, "alarm_condition_id", alarm_condition_id) + if composite_type and not isinstance(composite_type, str): + raise TypeError("Expected argument 'composite_type' to be a str") + pulumi.set(__self__, "composite_type", composite_type) + if condition_type and not isinstance(condition_type, str): + raise TypeError("Expected argument 'condition_type' to be a str") + pulumi.set(__self__, "condition_type", condition_type) + if conditions and not isinstance(conditions, list): + raise TypeError("Expected argument 'conditions' to be a list") + pulumi.set(__self__, "conditions", conditions) + 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 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 metric_name and not isinstance(metric_name, str): + raise TypeError("Expected argument 'metric_name' to be a str") + pulumi.set(__self__, "metric_name", metric_name) + if monitoring_template_id and not isinstance(monitoring_template_id, str): + raise TypeError("Expected argument 'monitoring_template_id' to be a str") + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + if namespace and not isinstance(namespace, str): + raise TypeError("Expected argument 'namespace' to be a str") + pulumi.set(__self__, "namespace", namespace) + 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 status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + 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="alarmConditionId") + def alarm_condition_id(self) -> str: + return pulumi.get(self, "alarm_condition_id") + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> str: + """ + The OCID of the composite resource type like EBS/PEOPLE_SOFT. + """ + return pulumi.get(self, "composite_type") + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + Type of defined monitoring template. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter + def conditions(self) -> Sequence['outputs.GetMonitoringTemplateAlarmConditionConditionResult']: + """ + Monitoring template conditions + """ + return pulumi.get(self, "conditions") + + @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="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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + The metric name. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + The stack monitoring service or application emitting the metric that is evaluated by the alarm. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + The resource type OCID. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the monitoring template + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The current status of the monitoring template i.e. whether it is Published or Unpublished + """ + return pulumi.get(self, "status") + + @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 date and time the alarm condition was created. Format defined by RFC3339. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time the alarm condition was updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetMonitoringTemplateAlarmConditionResult(GetMonitoringTemplateAlarmConditionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringTemplateAlarmConditionResult( + alarm_condition_id=self.alarm_condition_id, + composite_type=self.composite_type, + condition_type=self.condition_type, + conditions=self.conditions, + defined_tags=self.defined_tags, + freeform_tags=self.freeform_tags, + id=self.id, + metric_name=self.metric_name, + monitoring_template_id=self.monitoring_template_id, + namespace=self.namespace, + resource_type=self.resource_type, + state=self.state, + status=self.status, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_monitoring_template_alarm_condition(alarm_condition_id: Optional[str] = None, + monitoring_template_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringTemplateAlarmConditionResult: + """ + This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Gets a Alarm Condition by identifier. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_condition = oci.StackMonitoring.get_monitoring_template_alarm_condition(alarm_condition_id=test_alarm_condition["id"], + monitoring_template_id=test_monitoring_template["id"]) + ``` + + + :param str alarm_condition_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + __args__ = dict() + __args__['alarmConditionId'] = alarm_condition_id + __args__['monitoringTemplateId'] = monitoring_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition', __args__, opts=opts, typ=GetMonitoringTemplateAlarmConditionResult).value + + return AwaitableGetMonitoringTemplateAlarmConditionResult( + alarm_condition_id=pulumi.get(__ret__, 'alarm_condition_id'), + composite_type=pulumi.get(__ret__, 'composite_type'), + condition_type=pulumi.get(__ret__, 'condition_type'), + conditions=pulumi.get(__ret__, 'conditions'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + metric_name=pulumi.get(__ret__, 'metric_name'), + monitoring_template_id=pulumi.get(__ret__, 'monitoring_template_id'), + namespace=pulumi.get(__ret__, 'namespace'), + resource_type=pulumi.get(__ret__, 'resource_type'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_monitoring_template_alarm_condition_output(alarm_condition_id: Optional[pulumi.Input[str]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoringTemplateAlarmConditionResult]: + """ + This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Gets a Alarm Condition by identifier. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_condition = oci.StackMonitoring.get_monitoring_template_alarm_condition(alarm_condition_id=test_alarm_condition["id"], + monitoring_template_id=test_monitoring_template["id"]) + ``` + + + :param str alarm_condition_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + __args__ = dict() + __args__['alarmConditionId'] = alarm_condition_id + __args__['monitoringTemplateId'] = monitoring_template_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getMonitoringTemplateAlarmCondition:getMonitoringTemplateAlarmCondition', __args__, opts=opts, typ=GetMonitoringTemplateAlarmConditionResult) + return __ret__.apply(lambda __response__: GetMonitoringTemplateAlarmConditionResult( + alarm_condition_id=pulumi.get(__response__, 'alarm_condition_id'), + composite_type=pulumi.get(__response__, 'composite_type'), + condition_type=pulumi.get(__response__, 'condition_type'), + conditions=pulumi.get(__response__, 'conditions'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + metric_name=pulumi.get(__response__, 'metric_name'), + monitoring_template_id=pulumi.get(__response__, 'monitoring_template_id'), + namespace=pulumi.get(__response__, 'namespace'), + resource_type=pulumi.get(__response__, 'resource_type'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + system_tags=pulumi.get(__response__, 'system_tags'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py new file mode 100644 index 0000000000..736a8642f2 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py @@ -0,0 +1,262 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetMonitoringTemplateAlarmConditionsResult', + 'AwaitableGetMonitoringTemplateAlarmConditionsResult', + 'get_monitoring_template_alarm_conditions', + 'get_monitoring_template_alarm_conditions_output', +] + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionsResult: + """ + A collection of values returned by getMonitoringTemplateAlarmConditions. + """ + def __init__(__self__, alarm_condition_collections=None, alarm_condition_id=None, compartment_id=None, filters=None, id=None, metric_names=None, monitoring_template_id=None, resource_types=None, state=None, status=None): + if alarm_condition_collections and not isinstance(alarm_condition_collections, list): + raise TypeError("Expected argument 'alarm_condition_collections' to be a list") + pulumi.set(__self__, "alarm_condition_collections", alarm_condition_collections) + if alarm_condition_id and not isinstance(alarm_condition_id, str): + raise TypeError("Expected argument 'alarm_condition_id' to be a str") + pulumi.set(__self__, "alarm_condition_id", alarm_condition_id) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if 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 metric_names and not isinstance(metric_names, list): + raise TypeError("Expected argument 'metric_names' to be a list") + pulumi.set(__self__, "metric_names", metric_names) + if monitoring_template_id and not isinstance(monitoring_template_id, str): + raise TypeError("Expected argument 'monitoring_template_id' to be a str") + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + if resource_types and not isinstance(resource_types, list): + raise TypeError("Expected argument 'resource_types' to be a list") + pulumi.set(__self__, "resource_types", resource_types) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="alarmConditionCollections") + def alarm_condition_collections(self) -> Sequence['outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult']: + """ + The list of alarm_condition_collection. + """ + return pulumi.get(self, "alarm_condition_collections") + + @property + @pulumi.getter(name="alarmConditionId") + def alarm_condition_id(self) -> str: + return pulumi.get(self, "alarm_condition_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetMonitoringTemplateAlarmConditionsFilterResult']]: + 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="metricNames") + def metric_names(self) -> Optional[Sequence[str]]: + """ + The metric name. + """ + return pulumi.get(self, "metric_names") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter(name="resourceTypes") + def resource_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "resource_types") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the monitoring template + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The current status of the monitoring template i.e. whether it is Published or Unpublished + """ + return pulumi.get(self, "status") + + +class AwaitableGetMonitoringTemplateAlarmConditionsResult(GetMonitoringTemplateAlarmConditionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringTemplateAlarmConditionsResult( + alarm_condition_collections=self.alarm_condition_collections, + alarm_condition_id=self.alarm_condition_id, + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + metric_names=self.metric_names, + monitoring_template_id=self.monitoring_template_id, + resource_types=self.resource_types, + state=self.state, + status=self.status) + + +def get_monitoring_template_alarm_conditions(alarm_condition_id: Optional[str] = None, + compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetMonitoringTemplateAlarmConditionsFilterArgs', 'GetMonitoringTemplateAlarmConditionsFilterArgsDict']]] = None, + metric_names: Optional[Sequence[str]] = None, + monitoring_template_id: Optional[str] = None, + resource_types: Optional[Sequence[str]] = None, + state: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringTemplateAlarmConditionsResult: + """ + This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + + Returns a list of Alarm Conditions. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_conditions = oci.StackMonitoring.get_monitoring_template_alarm_conditions(monitoring_template_id=test_monitoring_template["id"], + metric_names=test_metric["name"], + resource_types=monitoring_template_alarm_condition_resource_types, + state=monitoring_template_alarm_condition_state, + status=monitoring_template_alarm_condition_status) + ``` + + + :param Sequence[str] metric_names: metricName filter. + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param Sequence[str] resource_types: Multiple resource types filter. + :param str state: A filter to return alarm condition based on Lifecycle State. + :param str status: A filter to return alarm condition based on input status. + """ + __args__ = dict() + __args__['alarmConditionId'] = alarm_condition_id + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['metricNames'] = metric_names + __args__['monitoringTemplateId'] = monitoring_template_id + __args__['resourceTypes'] = resource_types + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions', __args__, opts=opts, typ=GetMonitoringTemplateAlarmConditionsResult).value + + return AwaitableGetMonitoringTemplateAlarmConditionsResult( + alarm_condition_collections=pulumi.get(__ret__, 'alarm_condition_collections'), + alarm_condition_id=pulumi.get(__ret__, 'alarm_condition_id'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + metric_names=pulumi.get(__ret__, 'metric_names'), + monitoring_template_id=pulumi.get(__ret__, 'monitoring_template_id'), + resource_types=pulumi.get(__ret__, 'resource_types'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status')) +def get_monitoring_template_alarm_conditions_output(alarm_condition_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMonitoringTemplateAlarmConditionsFilterArgs', 'GetMonitoringTemplateAlarmConditionsFilterArgsDict']]]]] = None, + metric_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + resource_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoringTemplateAlarmConditionsResult]: + """ + This data source provides the list of Monitoring Template Alarm Conditions in Oracle Cloud Infrastructure Stack Monitoring service. + + Returns a list of Alarm Conditions. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_conditions = oci.StackMonitoring.get_monitoring_template_alarm_conditions(monitoring_template_id=test_monitoring_template["id"], + metric_names=test_metric["name"], + resource_types=monitoring_template_alarm_condition_resource_types, + state=monitoring_template_alarm_condition_state, + status=monitoring_template_alarm_condition_status) + ``` + + + :param Sequence[str] metric_names: metricName filter. + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param Sequence[str] resource_types: Multiple resource types filter. + :param str state: A filter to return alarm condition based on Lifecycle State. + :param str status: A filter to return alarm condition based on input status. + """ + __args__ = dict() + __args__['alarmConditionId'] = alarm_condition_id + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['metricNames'] = metric_names + __args__['monitoringTemplateId'] = monitoring_template_id + __args__['resourceTypes'] = resource_types + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getMonitoringTemplateAlarmConditions:getMonitoringTemplateAlarmConditions', __args__, opts=opts, typ=GetMonitoringTemplateAlarmConditionsResult) + return __ret__.apply(lambda __response__: GetMonitoringTemplateAlarmConditionsResult( + alarm_condition_collections=pulumi.get(__response__, 'alarm_condition_collections'), + alarm_condition_id=pulumi.get(__response__, 'alarm_condition_id'), + compartment_id=pulumi.get(__response__, 'compartment_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + metric_names=pulumi.get(__response__, 'metric_names'), + monitoring_template_id=pulumi.get(__response__, 'monitoring_template_id'), + resource_types=pulumi.get(__response__, 'resource_types'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_templates.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_templates.py new file mode 100644 index 0000000000..54182c9694 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitoring_templates.py @@ -0,0 +1,289 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetMonitoringTemplatesResult', + 'AwaitableGetMonitoringTemplatesResult', + 'get_monitoring_templates', + 'get_monitoring_templates_output', +] + +@pulumi.output_type +class GetMonitoringTemplatesResult: + """ + A collection of values returned by getMonitoringTemplates. + """ + def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, metric_names=None, monitoring_template_collections=None, monitoring_template_id=None, namespaces=None, resource_types=None, state=None, status=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 metric_names and not isinstance(metric_names, list): + raise TypeError("Expected argument 'metric_names' to be a list") + pulumi.set(__self__, "metric_names", metric_names) + if monitoring_template_collections and not isinstance(monitoring_template_collections, list): + raise TypeError("Expected argument 'monitoring_template_collections' to be a list") + pulumi.set(__self__, "monitoring_template_collections", monitoring_template_collections) + if monitoring_template_id and not isinstance(monitoring_template_id, str): + raise TypeError("Expected argument 'monitoring_template_id' to be a str") + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + if namespaces and not isinstance(namespaces, list): + raise TypeError("Expected argument 'namespaces' to be a list") + pulumi.set(__self__, "namespaces", namespaces) + if resource_types and not isinstance(resource_types, list): + raise TypeError("Expected argument 'resource_types' to be a list") + pulumi.set(__self__, "resource_types", resource_types) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The OCID of the compartment containing the monitoringTemplate. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetMonitoringTemplatesFilterResult']]: + 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="metricNames") + def metric_names(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "metric_names") + + @property + @pulumi.getter(name="monitoringTemplateCollections") + def monitoring_template_collections(self) -> Sequence['outputs.GetMonitoringTemplatesMonitoringTemplateCollectionResult']: + """ + The list of monitoring_template_collection. + """ + return pulumi.get(self, "monitoring_template_collections") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> Optional[str]: + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter + def namespaces(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "namespaces") + + @property + @pulumi.getter(name="resourceTypes") + def resource_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "resource_types") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the monitoring template. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The current status of the monitoring template i.e. whether it is Applied or NotApplied. + """ + return pulumi.get(self, "status") + + +class AwaitableGetMonitoringTemplatesResult(GetMonitoringTemplatesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMonitoringTemplatesResult( + compartment_id=self.compartment_id, + display_name=self.display_name, + filters=self.filters, + id=self.id, + metric_names=self.metric_names, + monitoring_template_collections=self.monitoring_template_collections, + monitoring_template_id=self.monitoring_template_id, + namespaces=self.namespaces, + resource_types=self.resource_types, + state=self.state, + status=self.status) + + +def get_monitoring_templates(compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetMonitoringTemplatesFilterArgs', 'GetMonitoringTemplatesFilterArgsDict']]] = None, + metric_names: Optional[Sequence[str]] = None, + monitoring_template_id: Optional[str] = None, + namespaces: Optional[Sequence[str]] = None, + resource_types: Optional[Sequence[str]] = None, + state: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringTemplatesResult: + """ + This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + + Returns a list of Monitoring Templates. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_templates = oci.StackMonitoring.get_monitoring_templates(compartment_id=compartment_id, + display_name=monitoring_template_display_name, + metric_names=test_metric["name"], + monitoring_template_id=test_monitoring_template["id"], + namespaces=monitoring_template_namespace, + resource_types=monitoring_template_resource_types, + state=monitoring_template_state, + status=monitoring_template_status) + ``` + + + :param str compartment_id: The ID of the compartment in which data is listed. + :param str display_name: A filter to return monitoring template based on name. + :param Sequence[str] metric_names: metricName filter. + :param str monitoring_template_id: A filter to return monitoring template based on input monitoringTemplateId + :param Sequence[str] namespaces: namespace filter. + :param Sequence[str] resource_types: Multiple resource types filter. + :param str state: A filter to return monitoring template based on Lifecycle State + :param str status: A filter to return monitoring template based on input status + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['metricNames'] = metric_names + __args__['monitoringTemplateId'] = monitoring_template_id + __args__['namespaces'] = namespaces + __args__['resourceTypes'] = resource_types + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates', __args__, opts=opts, typ=GetMonitoringTemplatesResult).value + + return AwaitableGetMonitoringTemplatesResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + display_name=pulumi.get(__ret__, 'display_name'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + metric_names=pulumi.get(__ret__, 'metric_names'), + monitoring_template_collections=pulumi.get(__ret__, 'monitoring_template_collections'), + monitoring_template_id=pulumi.get(__ret__, 'monitoring_template_id'), + namespaces=pulumi.get(__ret__, 'namespaces'), + resource_types=pulumi.get(__ret__, 'resource_types'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status')) +def get_monitoring_templates_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMonitoringTemplatesFilterArgs', 'GetMonitoringTemplatesFilterArgsDict']]]]] = None, + metric_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + monitoring_template_id: Optional[pulumi.Input[Optional[str]]] = None, + namespaces: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + resource_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoringTemplatesResult]: + """ + This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service. + + Returns a list of Monitoring Templates. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_templates = oci.StackMonitoring.get_monitoring_templates(compartment_id=compartment_id, + display_name=monitoring_template_display_name, + metric_names=test_metric["name"], + monitoring_template_id=test_monitoring_template["id"], + namespaces=monitoring_template_namespace, + resource_types=monitoring_template_resource_types, + state=monitoring_template_state, + status=monitoring_template_status) + ``` + + + :param str compartment_id: The ID of the compartment in which data is listed. + :param str display_name: A filter to return monitoring template based on name. + :param Sequence[str] metric_names: metricName filter. + :param str monitoring_template_id: A filter to return monitoring template based on input monitoringTemplateId + :param Sequence[str] namespaces: namespace filter. + :param Sequence[str] resource_types: Multiple resource types filter. + :param str state: A filter to return monitoring template based on Lifecycle State + :param str status: A filter to return monitoring template based on input status + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['metricNames'] = metric_names + __args__['monitoringTemplateId'] = monitoring_template_id + __args__['namespaces'] = namespaces + __args__['resourceTypes'] = resource_types + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates', __args__, opts=opts, typ=GetMonitoringTemplatesResult) + return __ret__.apply(lambda __response__: GetMonitoringTemplatesResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + display_name=pulumi.get(__response__, 'display_name'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + metric_names=pulumi.get(__response__, 'metric_names'), + monitoring_template_collections=pulumi.get(__response__, 'monitoring_template_collections'), + monitoring_template_id=pulumi.get(__response__, 'monitoring_template_id'), + namespaces=pulumi.get(__response__, 'namespaces'), + resource_types=pulumi.get(__response__, 'resource_types'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_oci/stackmonitoring/metric_extension.py b/sdk/python/pulumi_oci/stackmonitoring/metric_extension.py index eaa52ce5d1..c4509d1b51 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/metric_extension.py +++ b/sdk/python/pulumi_oci/stackmonitoring/metric_extension.py @@ -203,7 +203,7 @@ def __init__(__self__, *, :param pulumi.Input[str] created_by: Created by user :param pulumi.Input[str] description: (Updatable) Description of the metric extension. :param pulumi.Input[str] display_name: (Updatable) Metric Extension display name. - :param pulumi.Input[Sequence[pulumi.Input['MetricExtensionEnabledOnResourceArgs']]] enabled_on_resources: List of resource objects on which this metric extension is enabled. + :param pulumi.Input[Sequence[pulumi.Input['MetricExtensionEnabledOnResourceArgs']]] enabled_on_resources: List of resource details objects having resourceIds on which this metric extension is enabled. :param pulumi.Input[int] enabled_on_resources_count: Count of resources on which this metric extension is enabled. :param pulumi.Input[str] last_updated_by: Last updated by user :param pulumi.Input[Sequence[pulumi.Input['MetricExtensionMetricListArgs']]] metric_lists: (Updatable) List of metrics which are part of this metric extension @@ -339,7 +339,7 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="enabledOnResources") def enabled_on_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricExtensionEnabledOnResourceArgs']]]]: """ - List of resource objects on which this metric extension is enabled. + List of resource details objects having resourceIds on which this metric extension is enabled. """ return pulumi.get(self, "enabled_on_resources") @@ -795,7 +795,7 @@ def get(resource_name: str, :param pulumi.Input[str] created_by: Created by user :param pulumi.Input[str] description: (Updatable) Description of the metric extension. :param pulumi.Input[str] display_name: (Updatable) Metric Extension display name. - :param pulumi.Input[Sequence[pulumi.Input[Union['MetricExtensionEnabledOnResourceArgs', 'MetricExtensionEnabledOnResourceArgsDict']]]] enabled_on_resources: List of resource objects on which this metric extension is enabled. + :param pulumi.Input[Sequence[pulumi.Input[Union['MetricExtensionEnabledOnResourceArgs', 'MetricExtensionEnabledOnResourceArgsDict']]]] enabled_on_resources: List of resource details objects having resourceIds on which this metric extension is enabled. :param pulumi.Input[int] enabled_on_resources_count: Count of resources on which this metric extension is enabled. :param pulumi.Input[str] last_updated_by: Last updated by user :param pulumi.Input[Sequence[pulumi.Input[Union['MetricExtensionMetricListArgs', 'MetricExtensionMetricListArgsDict']]]] metric_lists: (Updatable) List of metrics which are part of this metric extension @@ -892,7 +892,7 @@ def display_name(self) -> pulumi.Output[str]: @pulumi.getter(name="enabledOnResources") def enabled_on_resources(self) -> pulumi.Output[Sequence['outputs.MetricExtensionEnabledOnResource']]: """ - List of resource objects on which this metric extension is enabled. + List of resource details objects having resourceIds on which this metric extension is enabled. """ return pulumi.get(self, "enabled_on_resources") diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resource_type.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resource_type.py index fb4983840d..0be19f8de1 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resource_type.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resource_type.py @@ -196,6 +196,7 @@ def source_type(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class _MonitoredResourceTypeState: def __init__(__self__, *, + additional_namespace_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = 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, @@ -212,6 +213,7 @@ def __init__(__self__, *, time_updated: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering MonitoredResourceType resources. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] additional_namespace_map: Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. :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) A friendly description. @@ -231,6 +233,8 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. :param pulumi.Input[str] time_updated: The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. """ + if additional_namespace_map is not None: + pulumi.set(__self__, "additional_namespace_map", additional_namespace_map) if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) if defined_tags is not None: @@ -260,6 +264,18 @@ def __init__(__self__, *, if time_updated is not None: pulumi.set(__self__, "time_updated", time_updated) + @property + @pulumi.getter(name="additionalNamespaceMap") + def additional_namespace_map(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + """ + return pulumi.get(self, "additional_namespace_map") + + @additional_namespace_map.setter + def additional_namespace_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "additional_namespace_map", value) + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: @@ -481,6 +497,7 @@ def __init__(__self__, "valid_properties_for_creates": monitored_resource_type_metadata_valid_properties_for_create, "valid_properties_for_updates": monitored_resource_type_metadata_valid_properties_for_update, "valid_property_values": monitored_resource_type_metadata_valid_property_values, + "valid_sub_resource_types": monitored_resource_type_metadata_valid_sub_resource_types, }, metric_namespace=monitored_resource_type_metric_namespace, resource_category=monitored_resource_type_resource_category, @@ -550,6 +567,7 @@ def __init__(__self__, "valid_properties_for_creates": monitored_resource_type_metadata_valid_properties_for_create, "valid_properties_for_updates": monitored_resource_type_metadata_valid_properties_for_update, "valid_property_values": monitored_resource_type_metadata_valid_property_values, + "valid_sub_resource_types": monitored_resource_type_metadata_valid_sub_resource_types, }, metric_namespace=monitored_resource_type_metric_namespace, resource_category=monitored_resource_type_resource_category, @@ -610,6 +628,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["resource_category"] = resource_category __props__.__dict__["source_type"] = source_type + __props__.__dict__["additional_namespace_map"] = None __props__.__dict__["state"] = None __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None @@ -624,6 +643,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + additional_namespace_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = 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, @@ -645,6 +665,7 @@ 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[Mapping[str, pulumi.Input[str]]] additional_namespace_map: Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. :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) A friendly description. @@ -668,6 +689,7 @@ def get(resource_name: str, __props__ = _MonitoredResourceTypeState.__new__(_MonitoredResourceTypeState) + __props__.__dict__["additional_namespace_map"] = additional_namespace_map __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description @@ -684,6 +706,14 @@ def get(resource_name: str, __props__.__dict__["time_updated"] = time_updated return MonitoredResourceType(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="additionalNamespaceMap") + def additional_namespace_map(self) -> pulumi.Output[Mapping[str, str]]: + """ + Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + """ + return pulumi.get(self, "additional_namespace_map") + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitoring_template.py b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template.py new file mode 100644 index 0000000000..b05d43f917 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template.py @@ -0,0 +1,954 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringTemplateArgs', 'MonitoringTemplate'] + +@pulumi.input_type +class MonitoringTemplateArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + destinations: pulumi.Input[Sequence[pulumi.Input[str]]], + display_name: pulumi.Input[str], + members: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]], + 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_alarms_enabled: Optional[pulumi.Input[bool]] = None, + is_split_notification_enabled: Optional[pulumi.Input[bool]] = None, + message_format: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MonitoringTemplate resource. + :param pulumi.Input[str] compartment_id: The OCID of the compartment containing the monitoringTemplate. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destinations: (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]] members: (Updatable) List of members of this monitoring template + :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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. 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] is_alarms_enabled: (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[bool] is_split_notification_enabled: (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. + :param pulumi.Input[str] repeat_notification_duration: (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + Any change to 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__, "destinations", destinations) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "members", members) + 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_alarms_enabled is not None: + pulumi.set(__self__, "is_alarms_enabled", is_alarms_enabled) + if is_split_notification_enabled is not None: + pulumi.set(__self__, "is_split_notification_enabled", is_split_notification_enabled) + if message_format is not None: + pulumi.set(__self__, "message_format", message_format) + if repeat_notification_duration is not None: + pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + The OCID of the compartment containing the monitoringTemplate. + """ + 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 + def destinations(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + """ + return pulumi.get(self, "destinations") + + @destinations.setter + def destinations(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "destinations", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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 members(self) -> pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]]: + """ + (Updatable) List of members of this monitoring template + """ + return pulumi.get(self, "members") + + @members.setter + def members(self, value: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]]): + pulumi.set(self, "members", 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 + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. 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) 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="isAlarmsEnabled") + def is_alarms_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_alarms_enabled") + + @is_alarms_enabled.setter + def is_alarms_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_alarms_enabled", value) + + @property + @pulumi.getter(name="isSplitNotificationEnabled") + def is_split_notification_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_split_notification_enabled") + + @is_split_notification_enabled.setter + def is_split_notification_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_split_notification_enabled", value) + + @property + @pulumi.getter(name="messageFormat") + def message_format(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The format to use for alarm notifications. + """ + return pulumi.get(self, "message_format") + + @message_format.setter + def message_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message_format", value) + + @property + @pulumi.getter(name="repeatNotificationDuration") + def repeat_notification_duration(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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, "repeat_notification_duration") + + @repeat_notification_duration.setter + def repeat_notification_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repeat_notification_duration", value) + + +@pulumi.input_type +class _MonitoringTemplateState: + 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, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_alarms_enabled: Optional[pulumi.Input[bool]] = None, + is_split_notification_enabled: Optional[pulumi.Input[bool]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]]] = None, + message_format: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_alarm_conditions: Optional[pulumi.Input[float]] = None, + total_applied_alarm_conditions: Optional[pulumi.Input[float]] = None): + """ + Input properties used for looking up and filtering MonitoringTemplate resources. + :param pulumi.Input[str] compartment_id: The OCID of the compartment containing the monitoringTemplate. + :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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destinations: (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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] is_alarms_enabled: (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[bool] is_split_notification_enabled: (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]] members: (Updatable) List of members of this monitoring template + :param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. + :param pulumi.Input[str] repeat_notification_duration: (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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 lifecycle state of the monitoring template. + :param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Applied or NotApplied. + :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] tenant_id: Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + :param pulumi.Input[str] time_created: The date and time the monitoringTemplate was created. Format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + :param pulumi.Input[float] total_alarm_conditions: Total Alarm Conditions + :param pulumi.Input[float] total_applied_alarm_conditions: Total Applied Alarm Conditions + """ + 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 destinations is not None: + pulumi.set(__self__, "destinations", destinations) + 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_alarms_enabled is not None: + pulumi.set(__self__, "is_alarms_enabled", is_alarms_enabled) + if is_split_notification_enabled is not None: + pulumi.set(__self__, "is_split_notification_enabled", is_split_notification_enabled) + if members is not None: + pulumi.set(__self__, "members", members) + if message_format is not None: + pulumi.set(__self__, "message_format", message_format) + if repeat_notification_duration is not None: + pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + if state is not None: + pulumi.set(__self__, "state", state) + if status is not None: + pulumi.set(__self__, "status", status) + if system_tags is not None: + pulumi.set(__self__, "system_tags", system_tags) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_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) + if total_alarm_conditions is not None: + pulumi.set(__self__, "total_alarm_conditions", total_alarm_conditions) + if total_applied_alarm_conditions is not None: + pulumi.set(__self__, "total_applied_alarm_conditions", total_applied_alarm_conditions) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the compartment containing the monitoringTemplate. + """ + 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. 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 + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. 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 + def destinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + """ + return pulumi.get(self, "destinations") + + @destinations.setter + def destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "destinations", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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) 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="isAlarmsEnabled") + def is_alarms_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_alarms_enabled") + + @is_alarms_enabled.setter + def is_alarms_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_alarms_enabled", value) + + @property + @pulumi.getter(name="isSplitNotificationEnabled") + def is_split_notification_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_split_notification_enabled") + + @is_split_notification_enabled.setter + def is_split_notification_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_split_notification_enabled", value) + + @property + @pulumi.getter + def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]]]: + """ + (Updatable) List of members of this monitoring template + """ + return pulumi.get(self, "members") + + @members.setter + def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateMemberArgs']]]]): + pulumi.set(self, "members", value) + + @property + @pulumi.getter(name="messageFormat") + def message_format(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The format to use for alarm notifications. + """ + return pulumi.get(self, "message_format") + + @message_format.setter + def message_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message_format", value) + + @property + @pulumi.getter(name="repeatNotificationDuration") + def repeat_notification_duration(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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, "repeat_notification_duration") + + @repeat_notification_duration.setter + def repeat_notification_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repeat_notification_duration", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current lifecycle state of the monitoring template. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The current status of the monitoring template i.e. whether it is Applied or NotApplied. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", 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="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the monitoringTemplate was created. Format defined by 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 monitoringTemplate was last updated. Format defined by 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) + + @property + @pulumi.getter(name="totalAlarmConditions") + def total_alarm_conditions(self) -> Optional[pulumi.Input[float]]: + """ + Total Alarm Conditions + """ + return pulumi.get(self, "total_alarm_conditions") + + @total_alarm_conditions.setter + def total_alarm_conditions(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "total_alarm_conditions", value) + + @property + @pulumi.getter(name="totalAppliedAlarmConditions") + def total_applied_alarm_conditions(self) -> Optional[pulumi.Input[float]]: + """ + Total Applied Alarm Conditions + """ + return pulumi.get(self, "total_applied_alarm_conditions") + + @total_applied_alarm_conditions.setter + def total_applied_alarm_conditions(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "total_applied_alarm_conditions", value) + + +class MonitoringTemplate(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, + description: Optional[pulumi.Input[str]] = None, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_alarms_enabled: Optional[pulumi.Input[bool]] = None, + is_split_notification_enabled: Optional[pulumi.Input[bool]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateMemberArgs', 'MonitoringTemplateMemberArgsDict']]]]] = None, + message_format: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Creates a new monitoring template for a given compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template = oci.stack_monitoring.MonitoringTemplate("test_monitoring_template", + compartment_id=compartment_id, + destinations=monitoring_template_destinations, + display_name=monitoring_template_display_name, + members=[{ + "id": monitoring_template_members_id, + "type": monitoring_template_members_type, + "composite_type": monitoring_template_members_composite_type, + }], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=monitoring_template_description, + freeform_tags={ + "bar-key": "value", + }, + is_alarms_enabled=monitoring_template_is_alarms_enabled, + is_split_notification_enabled=monitoring_template_is_split_notification_enabled, + message_format=monitoring_template_message_format, + repeat_notification_duration=monitoring_template_repeat_notification_duration) + ``` + + ## Import + + MonitoringTemplates can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "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 OCID of the compartment containing the monitoringTemplate. + :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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destinations: (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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] is_alarms_enabled: (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[bool] is_split_notification_enabled: (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateMemberArgs', 'MonitoringTemplateMemberArgsDict']]]] members: (Updatable) List of members of this monitoring template + :param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. + :param pulumi.Input[str] repeat_notification_duration: (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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: MonitoringTemplateArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Monitoring Template resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Creates a new monitoring template for a given compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template = oci.stack_monitoring.MonitoringTemplate("test_monitoring_template", + compartment_id=compartment_id, + destinations=monitoring_template_destinations, + display_name=monitoring_template_display_name, + members=[{ + "id": monitoring_template_members_id, + "type": monitoring_template_members_type, + "composite_type": monitoring_template_members_composite_type, + }], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=monitoring_template_description, + freeform_tags={ + "bar-key": "value", + }, + is_alarms_enabled=monitoring_template_is_alarms_enabled, + is_split_notification_enabled=monitoring_template_is_split_notification_enabled, + message_format=monitoring_template_message_format, + repeat_notification_duration=monitoring_template_repeat_notification_duration) + ``` + + ## Import + + MonitoringTemplates can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:StackMonitoring/monitoringTemplate:MonitoringTemplate test_monitoring_template "id" + ``` + + :param str resource_name: The name of the resource. + :param MonitoringTemplateArgs 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(MonitoringTemplateArgs, 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, + description: Optional[pulumi.Input[str]] = None, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_alarms_enabled: Optional[pulumi.Input[bool]] = None, + is_split_notification_enabled: Optional[pulumi.Input[bool]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateMemberArgs', 'MonitoringTemplateMemberArgsDict']]]]] = None, + message_format: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: 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__ = MonitoringTemplateArgs.__new__(MonitoringTemplateArgs) + + 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 destinations is None and not opts.urn: + raise TypeError("Missing required property 'destinations'") + __props__.__dict__["destinations"] = destinations + 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_alarms_enabled"] = is_alarms_enabled + __props__.__dict__["is_split_notification_enabled"] = is_split_notification_enabled + if members is None and not opts.urn: + raise TypeError("Missing required property 'members'") + __props__.__dict__["members"] = members + __props__.__dict__["message_format"] = message_format + __props__.__dict__["repeat_notification_duration"] = repeat_notification_duration + __props__.__dict__["state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_tags"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + __props__.__dict__["total_alarm_conditions"] = None + __props__.__dict__["total_applied_alarm_conditions"] = None + super(MonitoringTemplate, __self__).__init__( + 'oci:StackMonitoring/monitoringTemplate:MonitoringTemplate', + 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, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_alarms_enabled: Optional[pulumi.Input[bool]] = None, + is_split_notification_enabled: Optional[pulumi.Input[bool]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateMemberArgs', 'MonitoringTemplateMemberArgsDict']]]]] = None, + message_format: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_alarm_conditions: Optional[pulumi.Input[float]] = None, + total_applied_alarm_conditions: Optional[pulumi.Input[float]] = None) -> 'MonitoringTemplate': + """ + Get an existing MonitoringTemplate 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 containing the monitoringTemplate. + :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) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destinations: (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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] is_alarms_enabled: (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[bool] is_split_notification_enabled: (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateMemberArgs', 'MonitoringTemplateMemberArgsDict']]]] members: (Updatable) List of members of this monitoring template + :param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. + :param pulumi.Input[str] repeat_notification_duration: (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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 lifecycle state of the monitoring template. + :param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Applied or NotApplied. + :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] tenant_id: Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + :param pulumi.Input[str] time_created: The date and time the monitoringTemplate was created. Format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + :param pulumi.Input[float] total_alarm_conditions: Total Alarm Conditions + :param pulumi.Input[float] total_applied_alarm_conditions: Total Applied Alarm Conditions + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MonitoringTemplateState.__new__(_MonitoringTemplateState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["destinations"] = destinations + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["is_alarms_enabled"] = is_alarms_enabled + __props__.__dict__["is_split_notification_enabled"] = is_split_notification_enabled + __props__.__dict__["members"] = members + __props__.__dict__["message_format"] = message_format + __props__.__dict__["repeat_notification_duration"] = repeat_notification_duration + __props__.__dict__["state"] = state + __props__.__dict__["status"] = status + __props__.__dict__["system_tags"] = system_tags + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + __props__.__dict__["total_alarm_conditions"] = total_alarm_conditions + __props__.__dict__["total_applied_alarm_conditions"] = total_applied_alarm_conditions + return MonitoringTemplate(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The OCID of the compartment containing the monitoringTemplate. + """ + 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. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def destinations(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource, such as a topic. + """ + return pulumi.get(self, "destinations") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) A user-friendly name for the monitoring template. It is unique and mutable in nature. 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) 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="isAlarmsEnabled") + def is_alarms_enabled(self) -> pulumi.Output[bool]: + """ + (Updatable) Whether the alarm is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_alarms_enabled") + + @property + @pulumi.getter(name="isSplitNotificationEnabled") + def is_split_notification_enabled(self) -> pulumi.Output[bool]: + """ + (Updatable) Whether the alarm notification is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_split_notification_enabled") + + @property + @pulumi.getter + def members(self) -> pulumi.Output[Sequence['outputs.MonitoringTemplateMember']]: + """ + (Updatable) List of members of this monitoring template + """ + return pulumi.get(self, "members") + + @property + @pulumi.getter(name="messageFormat") + def message_format(self) -> pulumi.Output[str]: + """ + (Updatable) The format to use for alarm notifications. + """ + return pulumi.get(self, "message_format") + + @property + @pulumi.getter(name="repeatNotificationDuration") + def repeat_notification_duration(self) -> pulumi.Output[str]: + """ + (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + + + ** IMPORTANT ** + 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, "repeat_notification_duration") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current lifecycle state of the monitoring template. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The current status of the monitoring template i.e. whether it is Applied or NotApplied. + """ + return pulumi.get(self, "status") + + @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="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The date and time the monitoringTemplate was created. 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 monitoringTemplate was last updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="totalAlarmConditions") + def total_alarm_conditions(self) -> pulumi.Output[float]: + """ + Total Alarm Conditions + """ + return pulumi.get(self, "total_alarm_conditions") + + @property + @pulumi.getter(name="totalAppliedAlarmConditions") + def total_applied_alarm_conditions(self) -> pulumi.Output[float]: + """ + Total Applied Alarm Conditions + """ + return pulumi.get(self, "total_applied_alarm_conditions") + diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py new file mode 100644 index 0000000000..70e87f5b77 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py @@ -0,0 +1,780 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MonitoringTemplateAlarmConditionArgs', 'MonitoringTemplateAlarmCondition'] + +@pulumi.input_type +class MonitoringTemplateAlarmConditionArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + conditions: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]], + metric_name: pulumi.Input[str], + monitoring_template_id: pulumi.Input[str], + namespace: pulumi.Input[str], + resource_type: pulumi.Input[str], + composite_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MonitoringTemplateAlarmCondition resource. + :param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template. + :param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]] conditions: (Updatable) Monitoring template conditions. + :param pulumi.Input[str] metric_name: (Updatable) The metric name. + :param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param pulumi.Input[str] resource_type: (Updatable) The resource group 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] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + :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[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"}` + """ + pulumi.set(__self__, "condition_type", condition_type) + pulumi.set(__self__, "conditions", conditions) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "resource_type", resource_type) + if composite_type is not None: + pulumi.set(__self__, "composite_type", composite_type) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + (Updatable) Type of defined monitoring template. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter + def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]: + """ + (Updatable) Monitoring template conditions. + """ + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Input[str]: + """ + (Updatable) The metric name. + """ + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: pulumi.Input[str]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> pulumi.Input[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @monitoring_template_id.setter + def monitoring_template_id(self, value: pulumi.Input[str]): + pulumi.set(self, "monitoring_template_id", value) + + @property + @pulumi.getter + def namespace(self) -> pulumi.Input[str]: + """ + (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: pulumi.Input[str]): + pulumi.set(self, "namespace", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> pulumi.Input[str]: + """ + (Updatable) The resource group 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, "resource_type") + + @resource_type.setter + def resource_type(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_type", value) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + """ + return pulumi.get(self, "composite_type") + + @composite_type.setter + def composite_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "composite_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"}` + """ + 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="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) + + +@pulumi.input_type +class _MonitoringTemplateAlarmConditionState: + def __init__(__self__, *, + composite_type: Optional[pulumi.Input[str]] = None, + condition_type: Optional[pulumi.Input[str]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: 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): + """ + Input properties used for looking up and filtering MonitoringTemplateAlarmCondition resources. + :param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + :param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template. + :param pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]] conditions: (Updatable) Monitoring template conditions. + :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[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] metric_name: (Updatable) The metric name. + :param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param pulumi.Input[str] resource_type: (Updatable) The resource group 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 lifecycle state of the monitoring template + :param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Published or Unpublished + :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 date and time the alarm condition was created. Format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the alarm condition was updated. Format defined by RFC3339. + """ + if composite_type is not None: + pulumi.set(__self__, "composite_type", composite_type) + if condition_type is not None: + pulumi.set(__self__, "condition_type", condition_type) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + if monitoring_template_id is not None: + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + if namespace is not None: + pulumi.set(__self__, "namespace", namespace) + 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 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) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + """ + return pulumi.get(self, "composite_type") + + @composite_type.setter + def composite_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "composite_type", value) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Type of defined monitoring template. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter + def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]]: + """ + (Updatable) Monitoring template conditions. + """ + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringTemplateAlarmConditionConditionArgs']]]]): + pulumi.set(self, "conditions", 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="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="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The metric name. + """ + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @monitoring_template_id.setter + def monitoring_template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitoring_template_id", value) + + @property + @pulumi.getter + def namespace(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "namespace", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The resource group 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, "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 monitoring template + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The current status of the monitoring template i.e. whether it is Published or Unpublished + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", 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 date and time the alarm condition was created. Format defined by 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 alarm condition was updated. Format defined by 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 MonitoringTemplateAlarmCondition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + composite_type: Optional[pulumi.Input[str]] = None, + condition_type: Optional[pulumi.Input[str]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Create a new alarm condition in same monitoringTemplate compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_condition = oci.stack_monitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition", + condition_type=monitoring_template_alarm_condition_condition_type, + conditions=[{ + "query": monitoring_template_alarm_condition_conditions_query, + "severity": monitoring_template_alarm_condition_conditions_severity, + "body": monitoring_template_alarm_condition_conditions_body, + "should_append_note": monitoring_template_alarm_condition_conditions_should_append_note, + "should_append_url": monitoring_template_alarm_condition_conditions_should_append_url, + "trigger_delay": monitoring_template_alarm_condition_conditions_trigger_delay, + }], + metric_name=test_metric["name"], + monitoring_template_id=test_monitoring_template["id"], + namespace=monitoring_template_alarm_condition_namespace, + resource_type=monitoring_template_alarm_condition_resource_type, + composite_type=monitoring_template_alarm_condition_composite_type, + defined_tags={ + "foo-namespace.bar-key": "value", + }, + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + :param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template. + :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]] conditions: (Updatable) Monitoring template conditions. + :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[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] metric_name: (Updatable) The metric name. + :param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param pulumi.Input[str] resource_type: (Updatable) The resource group 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 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringTemplateAlarmConditionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Create a new alarm condition in same monitoringTemplate compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_alarm_condition = oci.stack_monitoring.MonitoringTemplateAlarmCondition("test_monitoring_template_alarm_condition", + condition_type=monitoring_template_alarm_condition_condition_type, + conditions=[{ + "query": monitoring_template_alarm_condition_conditions_query, + "severity": monitoring_template_alarm_condition_conditions_severity, + "body": monitoring_template_alarm_condition_conditions_body, + "should_append_note": monitoring_template_alarm_condition_conditions_should_append_note, + "should_append_url": monitoring_template_alarm_condition_conditions_should_append_url, + "trigger_delay": monitoring_template_alarm_condition_conditions_trigger_delay, + }], + metric_name=test_metric["name"], + monitoring_template_id=test_monitoring_template["id"], + namespace=monitoring_template_alarm_condition_namespace, + resource_type=monitoring_template_alarm_condition_resource_type, + composite_type=monitoring_template_alarm_condition_composite_type, + defined_tags={ + "foo-namespace.bar-key": "value", + }, + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + MonitoringTemplateAlarmConditions can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition test_monitoring_template_alarm_condition "monitoringTemplates/{monitoringTemplateId}/alarmConditions/{alarmConditionId}" + ``` + + :param str resource_name: The name of the resource. + :param MonitoringTemplateAlarmConditionArgs 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(MonitoringTemplateAlarmConditionArgs, 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, + composite_type: Optional[pulumi.Input[str]] = None, + condition_type: Optional[pulumi.Input[str]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + resource_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__ = MonitoringTemplateAlarmConditionArgs.__new__(MonitoringTemplateAlarmConditionArgs) + + __props__.__dict__["composite_type"] = composite_type + if condition_type is None and not opts.urn: + raise TypeError("Missing required property 'condition_type'") + __props__.__dict__["condition_type"] = condition_type + if conditions is None and not opts.urn: + raise TypeError("Missing required property 'conditions'") + __props__.__dict__["conditions"] = conditions + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["freeform_tags"] = freeform_tags + if metric_name is None and not opts.urn: + raise TypeError("Missing required property 'metric_name'") + __props__.__dict__["metric_name"] = metric_name + if monitoring_template_id is None and not opts.urn: + raise TypeError("Missing required property 'monitoring_template_id'") + __props__.__dict__["monitoring_template_id"] = monitoring_template_id + if namespace is None and not opts.urn: + raise TypeError("Missing required property 'namespace'") + __props__.__dict__["namespace"] = namespace + if resource_type is None and not opts.urn: + raise TypeError("Missing required property 'resource_type'") + __props__.__dict__["resource_type"] = resource_type + __props__.__dict__["state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_tags"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + super(MonitoringTemplateAlarmCondition, __self__).__init__( + 'oci:StackMonitoring/monitoringTemplateAlarmCondition:MonitoringTemplateAlarmCondition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + composite_type: Optional[pulumi.Input[str]] = None, + condition_type: Optional[pulumi.Input[str]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: 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) -> 'MonitoringTemplateAlarmCondition': + """ + Get an existing MonitoringTemplateAlarmCondition 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] composite_type: (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + :param pulumi.Input[str] condition_type: (Updatable) Type of defined monitoring template. + :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringTemplateAlarmConditionConditionArgs', 'MonitoringTemplateAlarmConditionConditionArgsDict']]]] conditions: (Updatable) Monitoring template conditions. + :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[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] metric_name: (Updatable) The metric name. + :param pulumi.Input[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param pulumi.Input[str] namespace: (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param pulumi.Input[str] resource_type: (Updatable) The resource group 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 lifecycle state of the monitoring template + :param pulumi.Input[str] status: The current status of the monitoring template i.e. whether it is Published or Unpublished + :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 date and time the alarm condition was created. Format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the alarm condition was updated. Format defined by RFC3339. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MonitoringTemplateAlarmConditionState.__new__(_MonitoringTemplateAlarmConditionState) + + __props__.__dict__["composite_type"] = composite_type + __props__.__dict__["condition_type"] = condition_type + __props__.__dict__["conditions"] = conditions + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["metric_name"] = metric_name + __props__.__dict__["monitoring_template_id"] = monitoring_template_id + __props__.__dict__["namespace"] = namespace + __props__.__dict__["resource_type"] = resource_type + __props__.__dict__["state"] = state + __props__.__dict__["status"] = status + __props__.__dict__["system_tags"] = system_tags + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + return MonitoringTemplateAlarmCondition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the composite resource type like EBS/PEOPLE_SOFT. + """ + return pulumi.get(self, "composite_type") + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Output[str]: + """ + (Updatable) Type of defined monitoring template. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter + def conditions(self) -> pulumi.Output[Sequence['outputs.MonitoringTemplateAlarmConditionCondition']]: + """ + (Updatable) Monitoring template conditions. + """ + return pulumi.get(self, "conditions") + + @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="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="metricName") + def metric_name(self) -> pulumi.Output[str]: + """ + (Updatable) The metric name. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> pulumi.Output[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter + def namespace(self) -> pulumi.Output[str]: + """ + (Updatable) The stack monitoring service or application emitting the metric that is evaluated by the alarm. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> pulumi.Output[str]: + """ + (Updatable) The resource group 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, "resource_type") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current lifecycle state of the monitoring template + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The current status of the monitoring template i.e. whether it is Published or Unpublished + """ + return pulumi.get(self, "status") + + @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 date and time the alarm condition was created. 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 alarm condition was updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py new file mode 100644 index 0000000000..ef67d813a5 --- /dev/null +++ b/sdk/python/pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py @@ -0,0 +1,253 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = ['MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs', 'MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement'] + +@pulumi.input_type +class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs: + def __init__(__self__, *, + enable_monitoring_template_on_given_resources: pulumi.Input[bool], + monitoring_template_id: pulumi.Input[str]): + """ + The set of arguments for constructing a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource. + :param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (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[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + pulumi.set(__self__, "enable_monitoring_template_on_given_resources", enable_monitoring_template_on_given_resources) + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + + @property + @pulumi.getter(name="enableMonitoringTemplateOnGivenResources") + def enable_monitoring_template_on_given_resources(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_monitoring_template_on_given_resources") + + @enable_monitoring_template_on_given_resources.setter + def enable_monitoring_template_on_given_resources(self, value: pulumi.Input[bool]): + pulumi.set(self, "enable_monitoring_template_on_given_resources", value) + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> pulumi.Input[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @monitoring_template_id.setter + def monitoring_template_id(self, value: pulumi.Input[str]): + pulumi.set(self, "monitoring_template_id", value) + + +@pulumi.input_type +class _MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState: + def __init__(__self__, *, + enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources. + :param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (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[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + if enable_monitoring_template_on_given_resources is not None: + pulumi.set(__self__, "enable_monitoring_template_on_given_resources", enable_monitoring_template_on_given_resources) + if monitoring_template_id is not None: + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + + @property + @pulumi.getter(name="enableMonitoringTemplateOnGivenResources") + def enable_monitoring_template_on_given_resources(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_monitoring_template_on_given_resources") + + @enable_monitoring_template_on_given_resources.setter + def enable_monitoring_template_on_given_resources(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_monitoring_template_on_given_resources", value) + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @monitoring_template_id.setter + def monitoring_template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitoring_template_id", value) + + +class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Apply the Monitoring Template identified by the id + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_monitoring_template_on_given_resources_management = oci.stack_monitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management", + monitoring_template_id=test_monitoring_template["id"], + enable_monitoring_template_on_given_resources=enable_monitoring_template_on_given_resources) + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] enable_monitoring_template_on_given_resources: (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[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. + + Apply the Monitoring Template identified by the id + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_monitoring_template_monitoring_template_on_given_resources_management = oci.stack_monitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management", + monitoring_template_id=test_monitoring_template["id"], + enable_monitoring_template_on_given_resources=enable_monitoring_template_on_given_resources) + ``` + + :param str resource_name: The name of the resource. + :param MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs 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(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, 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, + enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None, + monitoring_template_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__ = MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs.__new__(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs) + + if enable_monitoring_template_on_given_resources is None and not opts.urn: + raise TypeError("Missing required property 'enable_monitoring_template_on_given_resources'") + __props__.__dict__["enable_monitoring_template_on_given_resources"] = enable_monitoring_template_on_given_resources + if monitoring_template_id is None and not opts.urn: + raise TypeError("Missing required property 'monitoring_template_id'") + __props__.__dict__["monitoring_template_id"] = monitoring_template_id + super(MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement, __self__).__init__( + 'oci:StackMonitoring/monitoringTemplateMonitoringTemplateOnGivenResourcesManagement:MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + enable_monitoring_template_on_given_resources: Optional[pulumi.Input[bool]] = None, + monitoring_template_id: Optional[pulumi.Input[str]] = None) -> 'MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement': + """ + Get an existing MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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[bool] enable_monitoring_template_on_given_resources: (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[str] monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState.__new__(_MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState) + + __props__.__dict__["enable_monitoring_template_on_given_resources"] = enable_monitoring_template_on_given_resources + __props__.__dict__["monitoring_template_id"] = monitoring_template_id + return MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="enableMonitoringTemplateOnGivenResources") + def enable_monitoring_template_on_given_resources(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_monitoring_template_on_given_resources") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> pulumi.Output[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + diff --git a/sdk/python/pulumi_oci/stackmonitoring/outputs.py b/sdk/python/pulumi_oci/stackmonitoring/outputs.py index b343f966ef..08dcc270cb 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/outputs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/outputs.py @@ -53,6 +53,8 @@ 'MonitoredResourcesSearchAssociationItemSourceResourceDetail', 'MonitoredResourcesSearchItem', 'MonitoredResourcesSearchItemProperty', + 'MonitoringTemplateAlarmConditionCondition', + 'MonitoringTemplateMember', 'ProcessSetSpecification', 'ProcessSetSpecificationItem', 'GetBaselineableMetricsBaselineableMetricSummaryCollectionResult', @@ -66,6 +68,11 @@ 'GetConfigsConfigCollectionResult', 'GetConfigsConfigCollectionItemResult', 'GetConfigsFilterResult', + 'GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult', + 'GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult', + 'GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult', + 'GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult', + 'GetDefinedMonitoringTemplatesFilterResult', 'GetDiscoveryJobDiscoveryDetailResult', 'GetDiscoveryJobDiscoveryDetailCredentialResult', 'GetDiscoveryJobDiscoveryDetailCredentialItemResult', @@ -137,6 +144,16 @@ 'GetMonitoredResourcesMonitoredResourceCollectionItemCredentialPropertyResult', 'GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetailResult', 'GetMonitoredResourcesMonitoredResourceCollectionItemPropertyResult', + 'GetMonitoringTemplateAlarmConditionConditionResult', + 'GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult', + 'GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult', + 'GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult', + 'GetMonitoringTemplateAlarmConditionsFilterResult', + 'GetMonitoringTemplateMemberResult', + 'GetMonitoringTemplatesFilterResult', + 'GetMonitoringTemplatesMonitoringTemplateCollectionResult', + 'GetMonitoringTemplatesMonitoringTemplateCollectionItemResult', + 'GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult', 'GetProcessSetSpecificationResult', 'GetProcessSetSpecificationItemResult', 'GetProcessSetsFilterResult', @@ -2126,6 +2143,8 @@ def __key_warning(key: str): suggest = "valid_properties_for_updates" elif key == "validPropertyValues": suggest = "valid_property_values" + elif key == "validSubResourceTypes": + suggest = "valid_sub_resource_types" if suggest: pulumi.log.warn(f"Key '{key}' not found in MonitoredResourceTypeMetadata. Access the value via the '{suggest}' property getter instead.") @@ -2145,7 +2164,8 @@ def __init__(__self__, *, unique_property_sets: Optional[Sequence['outputs.MonitoredResourceTypeMetadataUniquePropertySet']] = None, valid_properties_for_creates: Optional[Sequence[str]] = None, valid_properties_for_updates: Optional[Sequence[str]] = None, - valid_property_values: Optional[Mapping[str, str]] = None): + valid_property_values: Optional[Mapping[str, str]] = None, + valid_sub_resource_types: Optional[Sequence[str]] = None): """ :param str format: (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format. @@ -2155,6 +2175,7 @@ def __init__(__self__, *, :param Sequence[str] valid_properties_for_creates: (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. :param Sequence[str] valid_properties_for_updates: (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. :param Mapping[str, str] valid_property_values: (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{ "osType": "Linux,Windows,Solaris"}` + :param Sequence[str] valid_sub_resource_types: (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types """ pulumi.set(__self__, "format", format) if agent_properties is not None: @@ -2169,6 +2190,8 @@ def __init__(__self__, *, pulumi.set(__self__, "valid_properties_for_updates", valid_properties_for_updates) if valid_property_values is not None: pulumi.set(__self__, "valid_property_values", valid_property_values) + if valid_sub_resource_types is not None: + pulumi.set(__self__, "valid_sub_resource_types", valid_sub_resource_types) @property @pulumi.getter @@ -2227,6 +2250,14 @@ def valid_property_values(self) -> Optional[Mapping[str, str]]: """ return pulumi.get(self, "valid_property_values") + @property + @pulumi.getter(name="validSubResourceTypes") + def valid_sub_resource_types(self) -> Optional[Sequence[str]]: + """ + (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + """ + return pulumi.get(self, "valid_sub_resource_types") + @pulumi.output_type class MonitoredResourceTypeMetadataUniquePropertySet(dict): @@ -3121,6 +3152,162 @@ def value(self) -> Optional[str]: return pulumi.get(self, "value") +@pulumi.output_type +class MonitoringTemplateAlarmConditionCondition(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "shouldAppendNote": + suggest = "should_append_note" + elif key == "shouldAppendUrl": + suggest = "should_append_url" + elif key == "triggerDelay": + suggest = "trigger_delay" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringTemplateAlarmConditionCondition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringTemplateAlarmConditionCondition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringTemplateAlarmConditionCondition.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + query: str, + severity: str, + body: Optional[str] = None, + should_append_note: Optional[bool] = None, + should_append_url: Optional[bool] = None, + trigger_delay: Optional[str] = None): + """ + :param str query: (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + :param str severity: (Updatable) Severity - Critical/Warning + :param str body: (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + :param bool should_append_note: (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + :param bool should_append_url: (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + :param str trigger_delay: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "severity", severity) + if body is not None: + pulumi.set(__self__, "body", body) + if should_append_note is not None: + pulumi.set(__self__, "should_append_note", should_append_note) + if should_append_url is not None: + pulumi.set(__self__, "should_append_url", should_append_url) + if trigger_delay is not None: + pulumi.set(__self__, "trigger_delay", trigger_delay) + + @property + @pulumi.getter + def query(self) -> str: + """ + (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter + def severity(self) -> str: + """ + (Updatable) Severity - Critical/Warning + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + """ + return pulumi.get(self, "body") + + @property + @pulumi.getter(name="shouldAppendNote") + def should_append_note(self) -> Optional[bool]: + """ + (Updatable) Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_note") + + @property + @pulumi.getter(name="shouldAppendUrl") + def should_append_url(self) -> Optional[bool]: + """ + (Updatable) Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_url") + + @property + @pulumi.getter(name="triggerDelay") + def trigger_delay(self) -> Optional[str]: + """ + (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + return pulumi.get(self, "trigger_delay") + + +@pulumi.output_type +class MonitoringTemplateMember(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "compositeType": + suggest = "composite_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringTemplateMember. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringTemplateMember.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringTemplateMember.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + type: str, + composite_type: Optional[str] = None): + """ + :param str id: (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + :param str type: (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + :param str composite_type: (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + if composite_type is not None: + pulumi.set(__self__, "composite_type", composite_type) + + @property + @pulumi.getter + def id(self) -> str: + """ + (Updatable) The OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def type(self) -> str: + """ + (Updatable) Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> Optional[str]: + """ + (Updatable) The OCID of the composite resource type like EBS or Peoplesoft. + """ + return pulumi.get(self, "composite_type") + + @pulumi.output_type class ProcessSetSpecification(dict): def __init__(__self__, *, @@ -3885,210 +4072,474 @@ def regex(self) -> Optional[bool]: @pulumi.output_type -class GetDiscoveryJobDiscoveryDetailResult(dict): +class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionResult(dict): def __init__(__self__, *, - agent_id: str, - credentials: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialResult'], - license: str, - properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailPropertyResult'], - resource_name: str, + items: Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult']): + """ + :param Sequence['GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemArgs'] items: List of defined Monitoring Template. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult']: + """ + List of defined Monitoring Template. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemResult(dict): + def __init__(__self__, *, + composite_type: str, + defined_alarm_conditions: Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult'], + display_name: str, + id: str, + namespace: str, resource_type: str, - tags: Sequence['outputs.GetDiscoveryJobDiscoveryDetailTagResult']): + system_tags: Mapping[str, str], + time_created: str, + time_updated: str): """ - :param str agent_id: The OCID of Management Agent - :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialArgs'] credentials: List of DiscoveryJOb Credential Details. - :param str license: License edition of the monitored resource. - :param Sequence['GetDiscoveryJobDiscoveryDetailPropertyArgs'] properties: Property Details - :param str resource_name: The Name of resource type - :param str resource_type: Resource Type. - :param Sequence['GetDiscoveryJobDiscoveryDetailTagArgs'] tags: Property Details + :param str composite_type: Type of composite resource type OCID like EBS/PEOPLE_SOFT. + :param Sequence['GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionArgs'] defined_alarm_conditions: Defined Monitoring template alarm conditions + :param str display_name: A filter to return monitoring template based on name. + :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. + :param str namespace: The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param str resource_type: The resource types OCID. + :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 the monitoringTemplate was created. Format defined by RFC3339. + :param str time_updated: The date and time the monitoringTemplate was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "license", license) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "resource_name", resource_name) + pulumi.set(__self__, "composite_type", composite_type) + pulumi.set(__self__, "defined_alarm_conditions", defined_alarm_conditions) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "namespace", namespace) pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "tags", tags) + 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="agentId") - def agent_id(self) -> str: + @pulumi.getter(name="compositeType") + def composite_type(self) -> str: """ - The OCID of Management Agent + Type of composite resource type OCID like EBS/PEOPLE_SOFT. """ - return pulumi.get(self, "agent_id") + return pulumi.get(self, "composite_type") @property - @pulumi.getter - def credentials(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialResult']: + @pulumi.getter(name="definedAlarmConditions") + def defined_alarm_conditions(self) -> Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult']: """ - List of DiscoveryJOb Credential Details. + Defined Monitoring template alarm conditions """ - return pulumi.get(self, "credentials") + return pulumi.get(self, "defined_alarm_conditions") @property - @pulumi.getter - def license(self) -> str: + @pulumi.getter(name="displayName") + def display_name(self) -> str: """ - License edition of the monitored resource. + A filter to return monitoring template based on name. """ - return pulumi.get(self, "license") + return pulumi.get(self, "display_name") @property @pulumi.getter - def properties(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailPropertyResult']: + def id(self) -> str: """ - Property Details + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the definedMonitoringTemplate. """ - return pulumi.get(self, "properties") + return pulumi.get(self, "id") @property - @pulumi.getter(name="resourceName") - def resource_name(self) -> str: + @pulumi.getter + def namespace(self) -> str: """ - The Name of resource type + The stack monitoring service or application emitting the metric that is evaluated by the alarm. """ - return pulumi.get(self, "resource_name") + return pulumi.get(self, "namespace") @property @pulumi.getter(name="resourceType") def resource_type(self) -> str: """ - Resource Type. + The resource types OCID. """ return pulumi.get(self, "resource_type") @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailTagResult']: + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: """ - Property Details + Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - return pulumi.get(self, "tags") - + return pulumi.get(self, "system_tags") -@pulumi.output_type -class GetDiscoveryJobDiscoveryDetailCredentialResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemResult']): + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: """ - :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemArgs'] items: List of DiscoveryJob credentials. + The date and time the monitoringTemplate was created. Format defined by RFC3339. """ - pulumi.set(__self__, "items", items) + return pulumi.get(self, "time_created") @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemResult']: + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: """ - List of DiscoveryJob credentials. + The date and time the monitoringTemplate was updated. Format defined by RFC3339. """ - return pulumi.get(self, "items") + return pulumi.get(self, "time_updated") @pulumi.output_type -class GetDiscoveryJobDiscoveryDetailCredentialItemResult(dict): +class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionResult(dict): def __init__(__self__, *, - credential_name: str, - credential_type: str, - properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult']): + condition_type: str, + conditions: Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult'], + metric_name: str): """ - :param str credential_name: Name of Credential - :param str credential_type: Name of Credential Type - :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs'] properties: Property Details + :param str condition_type: Type of defined monitoring template. + :param Sequence['GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionArgs'] conditions: Monitoring template conditions. + :param str metric_name: The metric name. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "properties", properties) + pulumi.set(__self__, "condition_type", condition_type) + pulumi.set(__self__, "conditions", conditions) + pulumi.set(__self__, "metric_name", metric_name) @property - @pulumi.getter(name="credentialName") - def credential_name(self) -> str: + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: """ - Name of Credential + Type of defined monitoring template. """ - return pulumi.get(self, "credential_name") + return pulumi.get(self, "condition_type") @property - @pulumi.getter(name="credentialType") - def credential_type(self) -> str: + @pulumi.getter + def conditions(self) -> Sequence['outputs.GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult']: """ - Name of Credential Type + Monitoring template conditions. """ - return pulumi.get(self, "credential_type") + return pulumi.get(self, "conditions") @property - @pulumi.getter - def properties(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult']: + @pulumi.getter(name="metricName") + def metric_name(self) -> str: """ - Property Details + The metric name. """ - return pulumi.get(self, "properties") + return pulumi.get(self, "metric_name") @pulumi.output_type -class GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult(dict): +class GetDefinedMonitoringTemplatesDefinedMonitoringTemplateCollectionItemDefinedAlarmConditionConditionResult(dict): def __init__(__self__, *, - properties_map: Mapping[str, str]): + body: str, + query: str, + severity: str, + should_append_note: bool, + should_append_url: bool, + trigger_delay: str): """ - :param Mapping[str, str] properties_map: Key/Value pair of Property + :param str body: The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + :param str query: The Monitoring Query Language (MQL) expression to evaluate for the alarm. + :param str severity: Severity - Critical/Warning + :param bool should_append_note: Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + :param bool should_append_url: Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + :param str trigger_delay: The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". """ - pulumi.set(__self__, "properties_map", properties_map) + pulumi.set(__self__, "body", body) + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "should_append_note", should_append_note) + pulumi.set(__self__, "should_append_url", should_append_url) + pulumi.set(__self__, "trigger_delay", trigger_delay) @property - @pulumi.getter(name="propertiesMap") - def properties_map(self) -> Mapping[str, str]: + @pulumi.getter + def body(self) -> str: """ - Key/Value pair of Property + The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. """ - return pulumi.get(self, "properties_map") - + return pulumi.get(self, "body") -@pulumi.output_type -class GetDiscoveryJobDiscoveryDetailPropertyResult(dict): - def __init__(__self__, *, - properties_map: Mapping[str, str]): + @property + @pulumi.getter + def query(self) -> str: """ - :param Mapping[str, str] properties_map: Key/Value pair of Property + The Monitoring Query Language (MQL) expression to evaluate for the alarm. """ - pulumi.set(__self__, "properties_map", properties_map) + return pulumi.get(self, "query") @property - @pulumi.getter(name="propertiesMap") - def properties_map(self) -> Mapping[str, str]: + @pulumi.getter + def severity(self) -> str: """ - Key/Value pair of Property + Severity - Critical/Warning """ - return pulumi.get(self, "properties_map") + return pulumi.get(self, "severity") + @property + @pulumi.getter(name="shouldAppendNote") + def should_append_note(self) -> bool: + """ + Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_note") -@pulumi.output_type -class GetDiscoveryJobDiscoveryDetailTagResult(dict): - def __init__(__self__, *, - properties_map: Mapping[str, str]): + @property + @pulumi.getter(name="shouldAppendUrl") + def should_append_url(self) -> bool: """ - :param Mapping[str, str] properties_map: Key/Value pair of Property + Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. """ - pulumi.set(__self__, "properties_map", properties_map) + return pulumi.get(self, "should_append_url") @property - @pulumi.getter(name="propertiesMap") - def properties_map(self) -> Mapping[str, str]: + @pulumi.getter(name="triggerDelay") + def trigger_delay(self) -> str: """ - Key/Value pair of Property + The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". """ - return pulumi.get(self, "properties_map") + return pulumi.get(self, "trigger_delay") @pulumi.output_type -class GetDiscoveryJobLogsDiscoveryJobLogCollectionResult(dict): +class GetDefinedMonitoringTemplatesFilterResult(dict): def __init__(__self__, *, - items: Sequence['outputs.GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult']): - """ - :param Sequence['GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs'] items: List of logs - """ - pulumi.set(__self__, "items", items) - + 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 GetDiscoveryJobDiscoveryDetailResult(dict): + def __init__(__self__, *, + agent_id: str, + credentials: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialResult'], + license: str, + properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailPropertyResult'], + resource_name: str, + resource_type: str, + tags: Sequence['outputs.GetDiscoveryJobDiscoveryDetailTagResult']): + """ + :param str agent_id: The OCID of Management Agent + :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialArgs'] credentials: List of DiscoveryJOb Credential Details. + :param str license: License edition of the monitored resource. + :param Sequence['GetDiscoveryJobDiscoveryDetailPropertyArgs'] properties: Property Details + :param str resource_name: The Name of resource type + :param str resource_type: Resource Type. + :param Sequence['GetDiscoveryJobDiscoveryDetailTagArgs'] tags: Property Details + """ + pulumi.set(__self__, "agent_id", agent_id) + pulumi.set(__self__, "credentials", credentials) + pulumi.set(__self__, "license", license) + pulumi.set(__self__, "properties", properties) + pulumi.set(__self__, "resource_name", resource_name) + pulumi.set(__self__, "resource_type", resource_type) + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="agentId") + def agent_id(self) -> str: + """ + The OCID of Management Agent + """ + return pulumi.get(self, "agent_id") + + @property + @pulumi.getter + def credentials(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialResult']: + """ + List of DiscoveryJOb Credential Details. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def license(self) -> str: + """ + License edition of the monitored resource. + """ + return pulumi.get(self, "license") + + @property + @pulumi.getter + def properties(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailPropertyResult']: + """ + Property Details + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> str: + """ + The Name of resource type + """ + return pulumi.get(self, "resource_name") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + Resource Type. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def tags(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailTagResult']: + """ + Property Details + """ + return pulumi.get(self, "tags") + + +@pulumi.output_type +class GetDiscoveryJobDiscoveryDetailCredentialResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemResult']): + """ + :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemArgs'] items: List of DiscoveryJob credentials. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemResult']: + """ + List of DiscoveryJob credentials. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDiscoveryJobDiscoveryDetailCredentialItemResult(dict): + def __init__(__self__, *, + credential_name: str, + credential_type: str, + properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult']): + """ + :param str credential_name: Name of Credential + :param str credential_type: Name of Credential Type + :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs'] properties: Property Details + """ + pulumi.set(__self__, "credential_name", credential_name) + pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> str: + """ + Name of Credential + """ + return pulumi.get(self, "credential_name") + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> str: + """ + Name of Credential Type + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter + def properties(self) -> Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult']: + """ + Property Details + """ + return pulumi.get(self, "properties") + + +@pulumi.output_type +class GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult(dict): + def __init__(__self__, *, + properties_map: Mapping[str, str]): + """ + :param Mapping[str, str] properties_map: Key/Value pair of Property + """ + pulumi.set(__self__, "properties_map", properties_map) + + @property + @pulumi.getter(name="propertiesMap") + def properties_map(self) -> Mapping[str, str]: + """ + Key/Value pair of Property + """ + return pulumi.get(self, "properties_map") + + +@pulumi.output_type +class GetDiscoveryJobDiscoveryDetailPropertyResult(dict): + def __init__(__self__, *, + properties_map: Mapping[str, str]): + """ + :param Mapping[str, str] properties_map: Key/Value pair of Property + """ + pulumi.set(__self__, "properties_map", properties_map) + + @property + @pulumi.getter(name="propertiesMap") + def properties_map(self) -> Mapping[str, str]: + """ + Key/Value pair of Property + """ + return pulumi.get(self, "properties_map") + + +@pulumi.output_type +class GetDiscoveryJobDiscoveryDetailTagResult(dict): + def __init__(__self__, *, + properties_map: Mapping[str, str]): + """ + :param Mapping[str, str] properties_map: Key/Value pair of Property + """ + pulumi.set(__self__, "properties_map", properties_map) + + @property + @pulumi.getter(name="propertiesMap") + def properties_map(self) -> Mapping[str, str]: + """ + Key/Value pair of Property + """ + return pulumi.get(self, "properties_map") + + +@pulumi.output_type +class GetDiscoveryJobLogsDiscoveryJobLogCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult']): + """ + :param Sequence['GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs'] items: List of logs + """ + pulumi.set(__self__, "items", items) + @property @pulumi.getter def items(self) -> Sequence['outputs.GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult']: @@ -5291,7 +5742,7 @@ def __init__(__self__, *, :param str created_by: Created by user :param str description: Description of the metric extension. :param str display_name: Display name of the metric. - :param Sequence['GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs'] enabled_on_resources: List of resource objects on which this metric extension is enabled. + :param Sequence['GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceArgs'] enabled_on_resources: List of resource details objects having resourceIds on which this metric extension is enabled. :param int enabled_on_resources_count: Count of resources on which this metric extension is enabled. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource :param str last_updated_by: Last updated by user @@ -5380,7 +5831,7 @@ def display_name(self) -> str: @pulumi.getter(name="enabledOnResources") def enabled_on_resources(self) -> Sequence['outputs.GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResourceResult']: """ - List of resource objects on which this metric extension is enabled. + List of resource details objects having resourceIds on which this metric extension is enabled. """ return pulumi.get(self, "enabled_on_resources") @@ -6995,7 +7446,8 @@ def __init__(__self__, *, unique_property_sets: Sequence['outputs.GetMonitoredResourceTypeMetadataUniquePropertySetResult'], valid_properties_for_creates: Sequence[str], valid_properties_for_updates: Sequence[str], - valid_property_values: Mapping[str, str]): + valid_property_values: Mapping[str, str], + valid_sub_resource_types: Sequence[str]): """ :param Sequence[str] agent_properties: List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. :param str format: ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. @@ -7005,6 +7457,7 @@ def __init__(__self__, *, :param Sequence[str] valid_properties_for_creates: List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. :param Sequence[str] valid_properties_for_updates: List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. :param Mapping[str, str] valid_property_values: List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + :param Sequence[str] valid_sub_resource_types: List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types """ pulumi.set(__self__, "agent_properties", agent_properties) pulumi.set(__self__, "format", format) @@ -7013,6 +7466,7 @@ def __init__(__self__, *, pulumi.set(__self__, "valid_properties_for_creates", valid_properties_for_creates) pulumi.set(__self__, "valid_properties_for_updates", valid_properties_for_updates) pulumi.set(__self__, "valid_property_values", valid_property_values) + pulumi.set(__self__, "valid_sub_resource_types", valid_sub_resource_types) @property @pulumi.getter(name="agentProperties") @@ -7071,6 +7525,14 @@ def valid_property_values(self) -> Mapping[str, str]: """ return pulumi.get(self, "valid_property_values") + @property + @pulumi.getter(name="validSubResourceTypes") + def valid_sub_resource_types(self) -> Sequence[str]: + """ + List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + """ + return pulumi.get(self, "valid_sub_resource_types") + @pulumi.output_type class GetMonitoredResourceTypeMetadataUniquePropertySetResult(dict): @@ -7138,6 +7600,7 @@ def items(self) -> Sequence['outputs.GetMonitoredResourceTypesMonitoredResourceT @pulumi.output_type class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult(dict): def __init__(__self__, *, + additional_namespace_map: Mapping[str, str], compartment_id: str, defined_tags: Mapping[str, str], description: str, @@ -7154,6 +7617,7 @@ def __init__(__self__, *, time_created: str, time_updated: str): """ + :param Mapping[str, str] additional_namespace_map: Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy for which monitored resource types should be listed. :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: A friendly description. @@ -7170,6 +7634,7 @@ def __init__(__self__, *, :param str time_created: The date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. :param str time_updated: The date and time when the monitored resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. """ + pulumi.set(__self__, "additional_namespace_map", additional_namespace_map) pulumi.set(__self__, "compartment_id", compartment_id) pulumi.set(__self__, "defined_tags", defined_tags) pulumi.set(__self__, "description", description) @@ -7186,6 +7651,14 @@ def __init__(__self__, *, pulumi.set(__self__, "time_created", time_created) pulumi.set(__self__, "time_updated", time_updated) + @property + @pulumi.getter(name="additionalNamespaceMap") + def additional_namespace_map(self) -> Mapping[str, str]: + """ + Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types. + """ + return pulumi.get(self, "additional_namespace_map") + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: @@ -7316,7 +7789,8 @@ def __init__(__self__, *, unique_property_sets: Sequence['outputs.GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetResult'], valid_properties_for_creates: Sequence[str], valid_properties_for_updates: Sequence[str], - valid_property_values: Mapping[str, str]): + valid_property_values: Mapping[str, str], + valid_sub_resource_types: Sequence[str]): """ :param Sequence[str] agent_properties: List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update. :param str format: ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. @@ -7326,6 +7800,7 @@ def __init__(__self__, *, :param Sequence[str] valid_properties_for_creates: List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail. :param Sequence[str] valid_properties_for_updates: List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail. :param Mapping[str, str] valid_property_values: List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: `{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}` + :param Sequence[str] valid_sub_resource_types: List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types """ pulumi.set(__self__, "agent_properties", agent_properties) pulumi.set(__self__, "format", format) @@ -7334,6 +7809,7 @@ def __init__(__self__, *, pulumi.set(__self__, "valid_properties_for_creates", valid_properties_for_creates) pulumi.set(__self__, "valid_properties_for_updates", valid_properties_for_updates) pulumi.set(__self__, "valid_property_values", valid_property_values) + pulumi.set(__self__, "valid_sub_resource_types", valid_sub_resource_types) @property @pulumi.getter(name="agentProperties") @@ -7392,6 +7868,14 @@ def valid_property_values(self) -> Mapping[str, str]: """ return pulumi.get(self, "valid_property_values") + @property + @pulumi.getter(name="validSubResourceTypes") + def valid_sub_resource_types(self) -> Sequence[str]: + """ + List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types + """ + return pulumi.get(self, "valid_sub_resource_types") + @pulumi.output_type class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySetResult(dict): @@ -8244,6 +8728,709 @@ def value(self) -> str: return pulumi.get(self, "value") +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionConditionResult(dict): + def __init__(__self__, *, + body: str, + query: str, + severity: str, + should_append_note: bool, + should_append_url: bool, + trigger_delay: str): + """ + :param str body: The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + :param str query: The Monitoring Query Language (MQL) expression to evaluate for the alarm. + :param str severity: Severity - Critical/Warning + :param bool should_append_note: Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + :param bool should_append_url: Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + :param str trigger_delay: The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + pulumi.set(__self__, "body", body) + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "should_append_note", should_append_note) + pulumi.set(__self__, "should_append_url", should_append_url) + pulumi.set(__self__, "trigger_delay", trigger_delay) + + @property + @pulumi.getter + def body(self) -> str: + """ + The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + """ + return pulumi.get(self, "body") + + @property + @pulumi.getter + def query(self) -> str: + """ + The Monitoring Query Language (MQL) expression to evaluate for the alarm. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Severity - Critical/Warning + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="shouldAppendNote") + def should_append_note(self) -> bool: + """ + Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_note") + + @property + @pulumi.getter(name="shouldAppendUrl") + def should_append_url(self) -> bool: + """ + Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_url") + + @property + @pulumi.getter(name="triggerDelay") + def trigger_delay(self) -> str: + """ + The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + return pulumi.get(self, "trigger_delay") + + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemResult(dict): + def __init__(__self__, *, + composite_type: str, + condition_type: str, + conditions: Sequence['outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult'], + defined_tags: Mapping[str, str], + freeform_tags: Mapping[str, str], + id: str, + metric_name: str, + monitoring_template_id: str, + namespace: str, + resource_type: str, + state: str, + status: str, + system_tags: Mapping[str, str], + time_created: str, + time_updated: str): + """ + :param str composite_type: The OCID of the composite resource type like EBS/PEOPLE_SOFT. + :param str condition_type: Type of defined monitoring template. + :param Sequence['GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionArgs'] conditions: Monitoring template conditions + :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 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + :param str metric_name: metricName filter. + :param str monitoring_template_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + :param str namespace: The stack monitoring service or application emitting the metric that is evaluated by the alarm. + :param str resource_type: The resource type OCID. + :param str state: A filter to return alarm condition based on Lifecycle State. + :param str status: A filter to return alarm condition based on input status. + :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 the alarm condition was created. Format defined by RFC3339. + :param str time_updated: The date and time the alarm condition was updated. Format defined by RFC3339. + """ + pulumi.set(__self__, "composite_type", composite_type) + pulumi.set(__self__, "condition_type", condition_type) + pulumi.set(__self__, "conditions", conditions) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "monitoring_template_id", monitoring_template_id) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "resource_type", resource_type) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> str: + """ + The OCID of the composite resource type like EBS/PEOPLE_SOFT. + """ + return pulumi.get(self, "composite_type") + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + Type of defined monitoring template. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter + def conditions(self) -> Sequence['outputs.GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult']: + """ + Monitoring template conditions + """ + return pulumi.get(self, "conditions") + + @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="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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + metricName filter. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter(name="monitoringTemplateId") + def monitoring_template_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. + """ + return pulumi.get(self, "monitoring_template_id") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + The stack monitoring service or application emitting the metric that is evaluated by the alarm. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + The resource type OCID. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return alarm condition based on Lifecycle State. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + A filter to return alarm condition based on input status. + """ + return pulumi.get(self, "status") + + @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 date and time the alarm condition was created. Format defined by RFC3339. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time the alarm condition was updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionsAlarmConditionCollectionItemConditionResult(dict): + def __init__(__self__, *, + body: str, + query: str, + severity: str, + should_append_note: bool, + should_append_url: bool, + trigger_delay: str): + """ + :param str body: The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + :param str query: The Monitoring Query Language (MQL) expression to evaluate for the alarm. + :param str severity: Severity - Critical/Warning + :param bool should_append_note: Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + :param bool should_append_url: Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + :param str trigger_delay: The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + pulumi.set(__self__, "body", body) + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "should_append_note", should_append_note) + pulumi.set(__self__, "should_append_url", should_append_url) + pulumi.set(__self__, "trigger_delay", trigger_delay) + + @property + @pulumi.getter + def body(self) -> str: + """ + The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. + """ + return pulumi.get(self, "body") + + @property + @pulumi.getter + def query(self) -> str: + """ + The Monitoring Query Language (MQL) expression to evaluate for the alarm. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Severity - Critical/Warning + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="shouldAppendNote") + def should_append_note(self) -> bool: + """ + Whether the note need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_note") + + @property + @pulumi.getter(name="shouldAppendUrl") + def should_append_url(self) -> bool: + """ + Whether the URL need to add into bottom of the body for mapping the alarms information with template or not. + """ + return pulumi.get(self, "should_append_url") + + @property + @pulumi.getter(name="triggerDelay") + def trigger_delay(self) -> str: + """ + The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". + """ + return pulumi.get(self, "trigger_delay") + + +@pulumi.output_type +class GetMonitoringTemplateAlarmConditionsFilterResult(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 GetMonitoringTemplateMemberResult(dict): + def __init__(__self__, *, + composite_type: str, + id: str, + type: str): + """ + :param str composite_type: The OCID of the composite resource type like EBS or Peoplesoft. + :param str id: The OCID of the resourceInstance/resourceType/resourceGroup + :param str type: Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + pulumi.set(__self__, "composite_type", composite_type) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> str: + """ + The OCID of the composite resource type like EBS or Peoplesoft. + """ + return pulumi.get(self, "composite_type") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetMonitoringTemplatesFilterResult(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 GetMonitoringTemplatesMonitoringTemplateCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetMonitoringTemplatesMonitoringTemplateCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + description: str, + destinations: Sequence[str], + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + is_alarms_enabled: bool, + is_split_notification_enabled: bool, + members: Sequence['outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult'], + message_format: str, + repeat_notification_duration: str, + state: str, + status: str, + system_tags: Mapping[str, str], + tenant_id: str, + time_created: str, + time_updated: str, + total_alarm_conditions: float, + total_applied_alarm_conditions: float): + """ + :param str compartment_id: The ID of the compartment in which data is listed. + :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: A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + :param Sequence[str] destinations: A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + :param str display_name: A filter to return monitoring template based on name. + :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 OCID of the resourceInstance/resourceType/resourceGroup + :param bool is_alarms_enabled: Whether the alarm is enabled or disabled. Default value is enabled. + :param bool is_split_notification_enabled: Whether the alarm notification is enabled or disabled, it will be Enabled by default. + :param Sequence['GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberArgs'] members: List of members of this monitoring template. + :param str message_format: The format to use for alarm notifications. + :param str repeat_notification_duration: The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + :param str state: A filter to return monitoring template based on Lifecycle State + :param str status: A filter to return monitoring template based on input status + :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 tenant_id: Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + :param str time_created: The date and time the monitoringTemplate was created. Format defined by RFC3339. + :param str time_updated: The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + :param float total_alarm_conditions: Total Alarm Conditions + :param float total_applied_alarm_conditions: Total Applied Alarm Conditions + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "destinations", destinations) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_alarms_enabled", is_alarms_enabled) + pulumi.set(__self__, "is_split_notification_enabled", is_split_notification_enabled) + pulumi.set(__self__, "members", members) + pulumi.set(__self__, "message_format", message_format) + pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + pulumi.set(__self__, "total_alarm_conditions", total_alarm_conditions) + pulumi.set(__self__, "total_applied_alarm_conditions", total_applied_alarm_conditions) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The ID of the compartment in which data is listed. + """ + 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: + """ + A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def destinations(self) -> Sequence[str]: + """ + A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource. + """ + return pulumi.get(self, "destinations") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return monitoring template based on name. + """ + 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 OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAlarmsEnabled") + def is_alarms_enabled(self) -> bool: + """ + Whether the alarm is enabled or disabled. Default value is enabled. + """ + return pulumi.get(self, "is_alarms_enabled") + + @property + @pulumi.getter(name="isSplitNotificationEnabled") + def is_split_notification_enabled(self) -> bool: + """ + Whether the alarm notification is enabled or disabled, it will be Enabled by default. + """ + return pulumi.get(self, "is_split_notification_enabled") + + @property + @pulumi.getter + def members(self) -> Sequence['outputs.GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult']: + """ + List of members of this monitoring template. + """ + return pulumi.get(self, "members") + + @property + @pulumi.getter(name="messageFormat") + def message_format(self) -> str: + """ + The format to use for alarm notifications. + """ + return pulumi.get(self, "message_format") + + @property + @pulumi.getter(name="repeatNotificationDuration") + def repeat_notification_duration(self) -> str: + """ + The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D. + """ + return pulumi.get(self, "repeat_notification_duration") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return monitoring template based on Lifecycle State + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + A filter to return monitoring template based on input status + """ + return pulumi.get(self, "status") + + @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="tenantId") + def tenant_id(self) -> str: + """ + Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the monitoringTemplate was created. Format defined by RFC3339. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time the monitoringTemplate was last updated. Format defined by RFC3339. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="totalAlarmConditions") + def total_alarm_conditions(self) -> float: + """ + Total Alarm Conditions + """ + return pulumi.get(self, "total_alarm_conditions") + + @property + @pulumi.getter(name="totalAppliedAlarmConditions") + def total_applied_alarm_conditions(self) -> float: + """ + Total Applied Alarm Conditions + """ + return pulumi.get(self, "total_applied_alarm_conditions") + + +@pulumi.output_type +class GetMonitoringTemplatesMonitoringTemplateCollectionItemMemberResult(dict): + def __init__(__self__, *, + composite_type: str, + id: str, + type: str): + """ + :param str composite_type: The OCID of the composite resource type like EBS or Peoplesoft. + :param str id: The OCID of the resourceInstance/resourceType/resourceGroup + :param str type: Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + pulumi.set(__self__, "composite_type", composite_type) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="compositeType") + def composite_type(self) -> str: + """ + The OCID of the composite resource type like EBS or Peoplesoft. + """ + return pulumi.get(self, "composite_type") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the resourceInstance/resourceType/resourceGroup + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP + """ + return pulumi.get(self, "type") + + @pulumi.output_type class GetProcessSetSpecificationResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/__init__.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/__init__.py new file mode 100644 index 0000000000..706ec1a0c8 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/__init__.py @@ -0,0 +1,33 @@ +# 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_assigned_subscription import * +from .get_assigned_subscription_line_items import * +from .get_assigned_subscriptions import * +from .get_domain import * +from .get_domain_governance import * +from .get_domain_governances import * +from .get_domains import * +from .get_link import * +from .get_links import * +from .get_organization import * +from .get_organization_tenancies import * +from .get_organization_tenancy import * +from .get_organizations import * +from .get_recipient_invitation import * +from .get_recipient_invitations import * +from .get_sender_invitation import * +from .get_sender_invitations import * +from .get_subscription import * +from .get_subscription_available_regions import * +from .get_subscription_line_items import * +from .get_subscription_mapping import * +from .get_subscription_mappings import * +from .get_subscriptions import * +from .subscription_mapping import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/_inputs.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/_inputs.py new file mode 100644 index 0000000000..e05027ce7c --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/_inputs.py @@ -0,0 +1,685 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetAssignedSubscriptionLineItemsFilterArgs', + 'GetAssignedSubscriptionLineItemsFilterArgsDict', + 'GetAssignedSubscriptionsFilterArgs', + 'GetAssignedSubscriptionsFilterArgsDict', + 'GetDomainGovernancesFilterArgs', + 'GetDomainGovernancesFilterArgsDict', + 'GetDomainsFilterArgs', + 'GetDomainsFilterArgsDict', + 'GetLinksFilterArgs', + 'GetLinksFilterArgsDict', + 'GetOrganizationTenanciesFilterArgs', + 'GetOrganizationTenanciesFilterArgsDict', + 'GetOrganizationsFilterArgs', + 'GetOrganizationsFilterArgsDict', + 'GetRecipientInvitationsFilterArgs', + 'GetRecipientInvitationsFilterArgsDict', + 'GetSenderInvitationsFilterArgs', + 'GetSenderInvitationsFilterArgsDict', + 'GetSubscriptionAvailableRegionsFilterArgs', + 'GetSubscriptionAvailableRegionsFilterArgsDict', + 'GetSubscriptionLineItemsFilterArgs', + 'GetSubscriptionLineItemsFilterArgsDict', + 'GetSubscriptionMappingsFilterArgs', + 'GetSubscriptionMappingsFilterArgsDict', + 'GetSubscriptionsFilterArgs', + 'GetSubscriptionsFilterArgsDict', +] + +MYPY = False + +if not MYPY: + class GetAssignedSubscriptionLineItemsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetAssignedSubscriptionLineItemsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetAssignedSubscriptionLineItemsFilterArgs: + 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) + + +if not MYPY: + class GetAssignedSubscriptionsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetAssignedSubscriptionsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetAssignedSubscriptionsFilterArgs: + 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) + + +if not MYPY: + class GetDomainGovernancesFilterArgsDict(TypedDict): + name: str + """ + A filter to return only resources that exactly match the name given. + """ + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetDomainGovernancesFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetDomainGovernancesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return only resources that exactly match the 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 exactly match the 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) + + +if not MYPY: + class GetDomainsFilterArgsDict(TypedDict): + name: str + """ + A filter to return only resources that exactly match the name given. + """ + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetDomainsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetDomainsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return only resources that exactly match the 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 exactly match the 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) + + +if not MYPY: + class GetLinksFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetLinksFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetLinksFilterArgs: + 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) + + +if not MYPY: + class GetOrganizationTenanciesFilterArgsDict(TypedDict): + name: str + """ + Name of the tenancy. + """ + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetOrganizationTenanciesFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetOrganizationTenanciesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: Name of the tenancy. + """ + 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 tenancy. + """ + 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) + + +if not MYPY: + class GetOrganizationsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetOrganizationsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetOrganizationsFilterArgs: + 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) + + +if not MYPY: + class GetRecipientInvitationsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetRecipientInvitationsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetRecipientInvitationsFilterArgs: + 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) + + +if not MYPY: + class GetSenderInvitationsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetSenderInvitationsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetSenderInvitationsFilterArgs: + 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) + + +if not MYPY: + class GetSubscriptionAvailableRegionsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetSubscriptionAvailableRegionsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetSubscriptionAvailableRegionsFilterArgs: + 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) + + +if not MYPY: + class GetSubscriptionLineItemsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetSubscriptionLineItemsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetSubscriptionLineItemsFilterArgs: + 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) + + +if not MYPY: + class GetSubscriptionMappingsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetSubscriptionMappingsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetSubscriptionMappingsFilterArgs: + 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) + + +if not MYPY: + class GetSubscriptionsFilterArgsDict(TypedDict): + name: str + values: Sequence[str] + regex: NotRequired[bool] +elif False: + GetSubscriptionsFilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetSubscriptionsFilterArgs: + 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/tenantmanagercontrolplane/get_assigned_subscription.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py new file mode 100644 index 0000000000..164a416898 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py @@ -0,0 +1,478 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetAssignedSubscriptionResult', + 'AwaitableGetAssignedSubscriptionResult', + 'get_assigned_subscription', + 'get_assigned_subscription_output', +] + +@pulumi.output_type +class GetAssignedSubscriptionResult: + """ + A collection of values returned by getAssignedSubscription. + """ + def __init__(__self__, assigned_subscription_id=None, classic_subscription_id=None, cloud_amount_currency=None, compartment_id=None, csi_number=None, currency_code=None, customer_country_code=None, defined_tags=None, end_date=None, entity_version=None, freeform_tags=None, id=None, is_classic_subscription=None, is_government_subscription=None, managed_by=None, order_ids=None, program_type=None, promotions=None, purchase_entitlement_id=None, region_assignment=None, service_name=None, skuses=None, start_date=None, state=None, subscription_number=None, subscription_tier=None, time_created=None, time_updated=None): + if assigned_subscription_id and not isinstance(assigned_subscription_id, str): + raise TypeError("Expected argument 'assigned_subscription_id' to be a str") + pulumi.set(__self__, "assigned_subscription_id", assigned_subscription_id) + if classic_subscription_id and not isinstance(classic_subscription_id, str): + raise TypeError("Expected argument 'classic_subscription_id' to be a str") + pulumi.set(__self__, "classic_subscription_id", classic_subscription_id) + if cloud_amount_currency and not isinstance(cloud_amount_currency, str): + raise TypeError("Expected argument 'cloud_amount_currency' to be a str") + pulumi.set(__self__, "cloud_amount_currency", cloud_amount_currency) + 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 csi_number and not isinstance(csi_number, str): + raise TypeError("Expected argument 'csi_number' to be a str") + pulumi.set(__self__, "csi_number", csi_number) + if currency_code and not isinstance(currency_code, str): + raise TypeError("Expected argument 'currency_code' to be a str") + pulumi.set(__self__, "currency_code", currency_code) + if customer_country_code and not isinstance(customer_country_code, str): + raise TypeError("Expected argument 'customer_country_code' to be a str") + pulumi.set(__self__, "customer_country_code", customer_country_code) + 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 end_date and not isinstance(end_date, str): + raise TypeError("Expected argument 'end_date' to be a str") + pulumi.set(__self__, "end_date", end_date) + if entity_version and not isinstance(entity_version, str): + raise TypeError("Expected argument 'entity_version' to be a str") + pulumi.set(__self__, "entity_version", entity_version) + 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_classic_subscription and not isinstance(is_classic_subscription, bool): + raise TypeError("Expected argument 'is_classic_subscription' to be a bool") + pulumi.set(__self__, "is_classic_subscription", is_classic_subscription) + if is_government_subscription and not isinstance(is_government_subscription, bool): + raise TypeError("Expected argument 'is_government_subscription' to be a bool") + pulumi.set(__self__, "is_government_subscription", is_government_subscription) + if managed_by and not isinstance(managed_by, str): + raise TypeError("Expected argument 'managed_by' to be a str") + pulumi.set(__self__, "managed_by", managed_by) + if order_ids and not isinstance(order_ids, list): + raise TypeError("Expected argument 'order_ids' to be a list") + pulumi.set(__self__, "order_ids", order_ids) + if program_type and not isinstance(program_type, str): + raise TypeError("Expected argument 'program_type' to be a str") + pulumi.set(__self__, "program_type", program_type) + if promotions and not isinstance(promotions, list): + raise TypeError("Expected argument 'promotions' to be a list") + pulumi.set(__self__, "promotions", promotions) + if purchase_entitlement_id and not isinstance(purchase_entitlement_id, str): + raise TypeError("Expected argument 'purchase_entitlement_id' to be a str") + pulumi.set(__self__, "purchase_entitlement_id", purchase_entitlement_id) + if region_assignment and not isinstance(region_assignment, str): + raise TypeError("Expected argument 'region_assignment' to be a str") + pulumi.set(__self__, "region_assignment", region_assignment) + if service_name and not isinstance(service_name, str): + raise TypeError("Expected argument 'service_name' to be a str") + pulumi.set(__self__, "service_name", service_name) + if skuses and not isinstance(skuses, list): + raise TypeError("Expected argument 'skuses' to be a list") + pulumi.set(__self__, "skuses", skuses) + if start_date and not isinstance(start_date, str): + raise TypeError("Expected argument 'start_date' to be a str") + pulumi.set(__self__, "start_date", start_date) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if subscription_number and not isinstance(subscription_number, str): + raise TypeError("Expected argument 'subscription_number' to be a str") + pulumi.set(__self__, "subscription_number", subscription_number) + if subscription_tier and not isinstance(subscription_tier, str): + raise TypeError("Expected argument 'subscription_tier' to be a str") + pulumi.set(__self__, "subscription_tier", subscription_tier) + 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="assignedSubscriptionId") + def assigned_subscription_id(self) -> str: + return pulumi.get(self, "assigned_subscription_id") + + @property + @pulumi.getter(name="classicSubscriptionId") + def classic_subscription_id(self) -> str: + """ + Subscription ID. + """ + return pulumi.get(self, "classic_subscription_id") + + @property + @pulumi.getter(name="cloudAmountCurrency") + def cloud_amount_currency(self) -> str: + """ + The currency code for the customer associated with the subscription. + """ + return pulumi.get(self, "cloud_amount_currency") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="csiNumber") + def csi_number(self) -> str: + """ + Customer service identifier for the customer associated with the subscription. + """ + return pulumi.get(self, "csi_number") + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + """ + Currency code. For example USD, MXN. + """ + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter(name="customerCountryCode") + def customer_country_code(self) -> str: + """ + The country code for the customer associated with the subscription. + """ + return pulumi.get(self, "customer_country_code") + + @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="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> str: + """ + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + """ + return pulumi.get(self, "entity_version") + + @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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isClassicSubscription") + def is_classic_subscription(self) -> bool: + """ + Specifies whether or not the subscription is legacy. + """ + return pulumi.get(self, "is_classic_subscription") + + @property + @pulumi.getter(name="isGovernmentSubscription") + def is_government_subscription(self) -> bool: + """ + Specifies whether or not the subscription is a government subscription. + """ + return pulumi.get(self, "is_government_subscription") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> str: + """ + Service or component which is used to provision and manage the subscription. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter(name="orderIds") + def order_ids(self) -> Sequence[str]: + """ + List of subscription order OCIDs that contributed to this subscription. + """ + return pulumi.get(self, "order_ids") + + @property + @pulumi.getter(name="programType") + def program_type(self) -> str: + """ + Specifies any program that is associated with the subscription. + """ + return pulumi.get(self, "program_type") + + @property + @pulumi.getter + def promotions(self) -> Sequence['outputs.GetAssignedSubscriptionPromotionResult']: + """ + List of promotions related to the subscription. + """ + return pulumi.get(self, "promotions") + + @property + @pulumi.getter(name="purchaseEntitlementId") + def purchase_entitlement_id(self) -> str: + """ + Purchase entitlement ID associated with the subscription. + """ + return pulumi.get(self, "purchase_entitlement_id") + + @property + @pulumi.getter(name="regionAssignment") + def region_assignment(self) -> str: + """ + Region for the subscription. + """ + return pulumi.get(self, "region_assignment") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> str: + """ + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + """ + return pulumi.get(self, "service_name") + + @property + @pulumi.getter + def skuses(self) -> Sequence['outputs.GetAssignedSubscriptionSkusResult']: + """ + List of SKUs linked to the subscription. + """ + return pulumi.get(self, "skuses") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the subscription. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionNumber") + def subscription_number(self) -> str: + """ + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + """ + return pulumi.get(self, "subscription_number") + + @property + @pulumi.getter(name="subscriptionTier") + def subscription_tier(self) -> str: + """ + Tier for the subscription, whether a free promotion subscription or a paid subscription. + """ + return pulumi.get(self, "subscription_tier") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetAssignedSubscriptionResult(GetAssignedSubscriptionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAssignedSubscriptionResult( + assigned_subscription_id=self.assigned_subscription_id, + classic_subscription_id=self.classic_subscription_id, + cloud_amount_currency=self.cloud_amount_currency, + compartment_id=self.compartment_id, + csi_number=self.csi_number, + currency_code=self.currency_code, + customer_country_code=self.customer_country_code, + defined_tags=self.defined_tags, + end_date=self.end_date, + entity_version=self.entity_version, + freeform_tags=self.freeform_tags, + id=self.id, + is_classic_subscription=self.is_classic_subscription, + is_government_subscription=self.is_government_subscription, + managed_by=self.managed_by, + order_ids=self.order_ids, + program_type=self.program_type, + promotions=self.promotions, + purchase_entitlement_id=self.purchase_entitlement_id, + region_assignment=self.region_assignment, + service_name=self.service_name, + skuses=self.skuses, + start_date=self.start_date, + state=self.state, + subscription_number=self.subscription_number, + subscription_tier=self.subscription_tier, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_assigned_subscription(assigned_subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionResult: + """ + This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Get the assigned subscription details by assigned subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscription = oci.Tenantmanagercontrolplane.get_assigned_subscription(assigned_subscription_id=test_assigned_subscription_oci_tenantmanagercontrolplane_assigned_subscription["id"]) + ``` + + + :param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription. + """ + __args__ = dict() + __args__['assignedSubscriptionId'] = assigned_subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription', __args__, opts=opts, typ=GetAssignedSubscriptionResult).value + + return AwaitableGetAssignedSubscriptionResult( + assigned_subscription_id=pulumi.get(__ret__, 'assigned_subscription_id'), + classic_subscription_id=pulumi.get(__ret__, 'classic_subscription_id'), + cloud_amount_currency=pulumi.get(__ret__, 'cloud_amount_currency'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + csi_number=pulumi.get(__ret__, 'csi_number'), + currency_code=pulumi.get(__ret__, 'currency_code'), + customer_country_code=pulumi.get(__ret__, 'customer_country_code'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + end_date=pulumi.get(__ret__, 'end_date'), + entity_version=pulumi.get(__ret__, 'entity_version'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_classic_subscription=pulumi.get(__ret__, 'is_classic_subscription'), + is_government_subscription=pulumi.get(__ret__, 'is_government_subscription'), + managed_by=pulumi.get(__ret__, 'managed_by'), + order_ids=pulumi.get(__ret__, 'order_ids'), + program_type=pulumi.get(__ret__, 'program_type'), + promotions=pulumi.get(__ret__, 'promotions'), + purchase_entitlement_id=pulumi.get(__ret__, 'purchase_entitlement_id'), + region_assignment=pulumi.get(__ret__, 'region_assignment'), + service_name=pulumi.get(__ret__, 'service_name'), + skuses=pulumi.get(__ret__, 'skuses'), + start_date=pulumi.get(__ret__, 'start_date'), + state=pulumi.get(__ret__, 'state'), + subscription_number=pulumi.get(__ret__, 'subscription_number'), + subscription_tier=pulumi.get(__ret__, 'subscription_tier'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_assigned_subscription_output(assigned_subscription_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionResult]: + """ + This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Get the assigned subscription details by assigned subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscription = oci.Tenantmanagercontrolplane.get_assigned_subscription(assigned_subscription_id=test_assigned_subscription_oci_tenantmanagercontrolplane_assigned_subscription["id"]) + ``` + + + :param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription. + """ + __args__ = dict() + __args__['assignedSubscriptionId'] = assigned_subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription', __args__, opts=opts, typ=GetAssignedSubscriptionResult) + return __ret__.apply(lambda __response__: GetAssignedSubscriptionResult( + assigned_subscription_id=pulumi.get(__response__, 'assigned_subscription_id'), + classic_subscription_id=pulumi.get(__response__, 'classic_subscription_id'), + cloud_amount_currency=pulumi.get(__response__, 'cloud_amount_currency'), + compartment_id=pulumi.get(__response__, 'compartment_id'), + csi_number=pulumi.get(__response__, 'csi_number'), + currency_code=pulumi.get(__response__, 'currency_code'), + customer_country_code=pulumi.get(__response__, 'customer_country_code'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + end_date=pulumi.get(__response__, 'end_date'), + entity_version=pulumi.get(__response__, 'entity_version'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + is_classic_subscription=pulumi.get(__response__, 'is_classic_subscription'), + is_government_subscription=pulumi.get(__response__, 'is_government_subscription'), + managed_by=pulumi.get(__response__, 'managed_by'), + order_ids=pulumi.get(__response__, 'order_ids'), + program_type=pulumi.get(__response__, 'program_type'), + promotions=pulumi.get(__response__, 'promotions'), + purchase_entitlement_id=pulumi.get(__response__, 'purchase_entitlement_id'), + region_assignment=pulumi.get(__response__, 'region_assignment'), + service_name=pulumi.get(__response__, 'service_name'), + skuses=pulumi.get(__response__, 'skuses'), + start_date=pulumi.get(__response__, 'start_date'), + state=pulumi.get(__response__, 'state'), + subscription_number=pulumi.get(__response__, 'subscription_number'), + subscription_tier=pulumi.get(__response__, 'subscription_tier'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py new file mode 100644 index 0000000000..34efa5876c --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py @@ -0,0 +1,144 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAssignedSubscriptionLineItemsResult', + 'AwaitableGetAssignedSubscriptionLineItemsResult', + 'get_assigned_subscription_line_items', + 'get_assigned_subscription_line_items_output', +] + +@pulumi.output_type +class GetAssignedSubscriptionLineItemsResult: + """ + A collection of values returned by getAssignedSubscriptionLineItems. + """ + def __init__(__self__, assigned_subscription_id=None, assigned_subscription_line_item_collections=None, filters=None, id=None): + if assigned_subscription_id and not isinstance(assigned_subscription_id, str): + raise TypeError("Expected argument 'assigned_subscription_id' to be a str") + pulumi.set(__self__, "assigned_subscription_id", assigned_subscription_id) + if assigned_subscription_line_item_collections and not isinstance(assigned_subscription_line_item_collections, list): + raise TypeError("Expected argument 'assigned_subscription_line_item_collections' to be a list") + pulumi.set(__self__, "assigned_subscription_line_item_collections", assigned_subscription_line_item_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="assignedSubscriptionId") + def assigned_subscription_id(self) -> str: + return pulumi.get(self, "assigned_subscription_id") + + @property + @pulumi.getter(name="assignedSubscriptionLineItemCollections") + def assigned_subscription_line_item_collections(self) -> Sequence['outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult']: + """ + The list of assigned_subscription_line_item_collection. + """ + return pulumi.get(self, "assigned_subscription_line_item_collections") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetAssignedSubscriptionLineItemsFilterResult']]: + 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 AwaitableGetAssignedSubscriptionLineItemsResult(GetAssignedSubscriptionLineItemsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAssignedSubscriptionLineItemsResult( + assigned_subscription_id=self.assigned_subscription_id, + assigned_subscription_line_item_collections=self.assigned_subscription_line_item_collections, + filters=self.filters, + id=self.id) + + +def get_assigned_subscription_line_items(assigned_subscription_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetAssignedSubscriptionLineItemsFilterArgs', 'GetAssignedSubscriptionLineItemsFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionLineItemsResult: + """ + This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List line item summaries that a assigned subscription owns. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscription_line_items = oci.Tenantmanagercontrolplane.get_assigned_subscription_line_items(assigned_subscription_id=test_assigned_subscription["id"]) + ``` + + + :param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription. + """ + __args__ = dict() + __args__['assignedSubscriptionId'] = assigned_subscription_id + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems', __args__, opts=opts, typ=GetAssignedSubscriptionLineItemsResult).value + + return AwaitableGetAssignedSubscriptionLineItemsResult( + assigned_subscription_id=pulumi.get(__ret__, 'assigned_subscription_id'), + assigned_subscription_line_item_collections=pulumi.get(__ret__, 'assigned_subscription_line_item_collections'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id')) +def get_assigned_subscription_line_items_output(assigned_subscription_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAssignedSubscriptionLineItemsFilterArgs', 'GetAssignedSubscriptionLineItemsFilterArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionLineItemsResult]: + """ + This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List line item summaries that a assigned subscription owns. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscription_line_items = oci.Tenantmanagercontrolplane.get_assigned_subscription_line_items(assigned_subscription_id=test_assigned_subscription["id"]) + ``` + + + :param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription. + """ + __args__ = dict() + __args__['assignedSubscriptionId'] = assigned_subscription_id + __args__['filters'] = filters + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems', __args__, opts=opts, typ=GetAssignedSubscriptionLineItemsResult) + return __ret__.apply(lambda __response__: GetAssignedSubscriptionLineItemsResult( + assigned_subscription_id=pulumi.get(__response__, 'assigned_subscription_id'), + assigned_subscription_line_item_collections=pulumi.get(__response__, 'assigned_subscription_line_item_collections'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py new file mode 100644 index 0000000000..e9315bc2f1 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py @@ -0,0 +1,188 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAssignedSubscriptionsResult', + 'AwaitableGetAssignedSubscriptionsResult', + 'get_assigned_subscriptions', + 'get_assigned_subscriptions_output', +] + +@pulumi.output_type +class GetAssignedSubscriptionsResult: + """ + A collection of values returned by getAssignedSubscriptions. + """ + def __init__(__self__, assigned_subscription_collections=None, compartment_id=None, entity_version=None, filters=None, id=None, subscription_id=None): + if assigned_subscription_collections and not isinstance(assigned_subscription_collections, list): + raise TypeError("Expected argument 'assigned_subscription_collections' to be a list") + pulumi.set(__self__, "assigned_subscription_collections", assigned_subscription_collections) + 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 entity_version and not isinstance(entity_version, str): + raise TypeError("Expected argument 'entity_version' to be a str") + pulumi.set(__self__, "entity_version", entity_version) + 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 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) + + @property + @pulumi.getter(name="assignedSubscriptionCollections") + def assigned_subscription_collections(self) -> Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionResult']: + """ + The list of assigned_subscription_collection. + """ + return pulumi.get(self, "assigned_subscription_collections") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[str]: + """ + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + """ + return pulumi.get(self, "entity_version") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetAssignedSubscriptionsFilterResult']]: + 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="subscriptionId") + def subscription_id(self) -> Optional[str]: + return pulumi.get(self, "subscription_id") + + +class AwaitableGetAssignedSubscriptionsResult(GetAssignedSubscriptionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAssignedSubscriptionsResult( + assigned_subscription_collections=self.assigned_subscription_collections, + compartment_id=self.compartment_id, + entity_version=self.entity_version, + filters=self.filters, + id=self.id, + subscription_id=self.subscription_id) + + +def get_assigned_subscriptions(compartment_id: Optional[str] = None, + entity_version: Optional[str] = None, + filters: Optional[Sequence[Union['GetAssignedSubscriptionsFilterArgs', 'GetAssignedSubscriptionsFilterArgsDict']]] = None, + subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionsResult: + """ + This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscriptions = oci.Tenantmanagercontrolplane.get_assigned_subscriptions(compartment_id=compartment_id, + entity_version=assigned_subscription_entity_version, + subscription_id=test_subscription["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str entity_version: The version of the subscription entity. + :param str subscription_id: The ID of the subscription to which the tenancy is associated. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['entityVersion'] = entity_version + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions', __args__, opts=opts, typ=GetAssignedSubscriptionsResult).value + + return AwaitableGetAssignedSubscriptionsResult( + assigned_subscription_collections=pulumi.get(__ret__, 'assigned_subscription_collections'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + entity_version=pulumi.get(__ret__, 'entity_version'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + subscription_id=pulumi.get(__ret__, 'subscription_id')) +def get_assigned_subscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None, + entity_version: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAssignedSubscriptionsFilterArgs', 'GetAssignedSubscriptionsFilterArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionsResult]: + """ + This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_assigned_subscriptions = oci.Tenantmanagercontrolplane.get_assigned_subscriptions(compartment_id=compartment_id, + entity_version=assigned_subscription_entity_version, + subscription_id=test_subscription["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str entity_version: The version of the subscription entity. + :param str subscription_id: The ID of the subscription to which the tenancy is associated. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['entityVersion'] = entity_version + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions', __args__, opts=opts, typ=GetAssignedSubscriptionsResult) + return __ret__.apply(lambda __response__: GetAssignedSubscriptionsResult( + assigned_subscription_collections=pulumi.get(__response__, 'assigned_subscription_collections'), + compartment_id=pulumi.get(__response__, 'compartment_id'), + entity_version=pulumi.get(__response__, 'entity_version'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + subscription_id=pulumi.get(__response__, 'subscription_id'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain.py new file mode 100644 index 0000000000..50d054e602 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain.py @@ -0,0 +1,253 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetDomainResult', + 'AwaitableGetDomainResult', + 'get_domain', + 'get_domain_output', +] + +@pulumi.output_type +class GetDomainResult: + """ + A collection of values returned by getDomain. + """ + def __init__(__self__, defined_tags=None, domain_id=None, domain_name=None, freeform_tags=None, id=None, owner_id=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None, txt_record=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 domain_id and not isinstance(domain_id, str): + raise TypeError("Expected argument 'domain_id' to be a str") + pulumi.set(__self__, "domain_id", domain_id) + if domain_name and not isinstance(domain_name, str): + raise TypeError("Expected argument 'domain_name' to be a str") + pulumi.set(__self__, "domain_name", domain_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 owner_id and not isinstance(owner_id, str): + raise TypeError("Expected argument 'owner_id' to be a str") + pulumi.set(__self__, "owner_id", owner_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + 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 txt_record and not isinstance(txt_record, str): + raise TypeError("Expected argument 'txt_record' to be a str") + pulumi.set(__self__, "txt_record", txt_record) + + @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="domainId") + def domain_id(self) -> str: + return pulumi.get(self, "domain_id") + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> str: + """ + The domain name. + """ + return pulumi.get(self, "domain_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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="ownerId") + def owner_id(self) -> str: + """ + The OCID of the tenancy that has started the registration process for this domain. + """ + return pulumi.get(self, "owner_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the domain. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the domain. + """ + return pulumi.get(self, "status") + + @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: + """ + Date-time when this domain was created. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="txtRecord") + def txt_record(self) -> str: + """ + The code that the owner of the domain will need to add as a TXT record to their domain. + """ + return pulumi.get(self, "txt_record") + + +class AwaitableGetDomainResult(GetDomainResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDomainResult( + defined_tags=self.defined_tags, + domain_id=self.domain_id, + domain_name=self.domain_name, + freeform_tags=self.freeform_tags, + id=self.id, + owner_id=self.owner_id, + state=self.state, + status=self.status, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated, + txt_record=self.txt_record) + + +def get_domain(domain_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainResult: + """ + This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the domain. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain = oci.Tenantmanagercontrolplane.get_domain(domain_id=test_domain_oci_tenantmanagercontrolplane_domain["id"]) + ``` + + + :param str domain_id: The domain OCID. + """ + __args__ = dict() + __args__['domainId'] = domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult).value + + return AwaitableGetDomainResult( + defined_tags=pulumi.get(__ret__, 'defined_tags'), + domain_id=pulumi.get(__ret__, 'domain_id'), + domain_name=pulumi.get(__ret__, 'domain_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + owner_id=pulumi.get(__ret__, 'owner_id'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated'), + txt_record=pulumi.get(__ret__, 'txt_record')) +def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainResult]: + """ + This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the domain. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain = oci.Tenantmanagercontrolplane.get_domain(domain_id=test_domain_oci_tenantmanagercontrolplane_domain["id"]) + ``` + + + :param str domain_id: The domain OCID. + """ + __args__ = dict() + __args__['domainId'] = domain_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + defined_tags=pulumi.get(__response__, 'defined_tags'), + domain_id=pulumi.get(__response__, 'domain_id'), + domain_name=pulumi.get(__response__, 'domain_name'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + system_tags=pulumi.get(__response__, 'system_tags'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'), + txt_record=pulumi.get(__response__, 'txt_record'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py new file mode 100644 index 0000000000..147b243981 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py @@ -0,0 +1,281 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetDomainGovernanceResult', + 'AwaitableGetDomainGovernanceResult', + 'get_domain_governance', + 'get_domain_governance_output', +] + +@pulumi.output_type +class GetDomainGovernanceResult: + """ + A collection of values returned by getDomainGovernance. + """ + def __init__(__self__, defined_tags=None, domain_governance_id=None, domain_id=None, freeform_tags=None, id=None, is_governance_enabled=None, ons_subscription_id=None, ons_topic_id=None, owner_id=None, state=None, subscription_email=None, system_tags=None, time_created=None, time_updated=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 domain_governance_id and not isinstance(domain_governance_id, str): + raise TypeError("Expected argument 'domain_governance_id' to be a str") + pulumi.set(__self__, "domain_governance_id", domain_governance_id) + if domain_id and not isinstance(domain_id, str): + raise TypeError("Expected argument 'domain_id' to be a str") + pulumi.set(__self__, "domain_id", domain_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 id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_governance_enabled and not isinstance(is_governance_enabled, bool): + raise TypeError("Expected argument 'is_governance_enabled' to be a bool") + pulumi.set(__self__, "is_governance_enabled", is_governance_enabled) + if ons_subscription_id and not isinstance(ons_subscription_id, str): + raise TypeError("Expected argument 'ons_subscription_id' to be a str") + pulumi.set(__self__, "ons_subscription_id", ons_subscription_id) + if ons_topic_id and not isinstance(ons_topic_id, str): + raise TypeError("Expected argument 'ons_topic_id' to be a str") + pulumi.set(__self__, "ons_topic_id", ons_topic_id) + if owner_id and not isinstance(owner_id, str): + raise TypeError("Expected argument 'owner_id' to be a str") + pulumi.set(__self__, "owner_id", owner_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if subscription_email and not isinstance(subscription_email, str): + raise TypeError("Expected argument 'subscription_email' to be a str") + pulumi.set(__self__, "subscription_email", subscription_email) + 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="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="domainGovernanceId") + def domain_governance_id(self) -> str: + return pulumi.get(self, "domain_governance_id") + + @property + @pulumi.getter(name="domainId") + def domain_id(self) -> str: + """ + The OCID of the domain associated with this domain governance entity. + """ + return pulumi.get(self, "domain_id") + + @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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isGovernanceEnabled") + def is_governance_enabled(self) -> bool: + """ + Indicates whether governance is enabled for this domain. + """ + return pulumi.get(self, "is_governance_enabled") + + @property + @pulumi.getter(name="onsSubscriptionId") + def ons_subscription_id(self) -> str: + """ + The ONS subscription associated with this domain governance entity. + """ + return pulumi.get(self, "ons_subscription_id") + + @property + @pulumi.getter(name="onsTopicId") + def ons_topic_id(self) -> str: + """ + The ONS topic associated with this domain governance entity. + """ + return pulumi.get(self, "ons_topic_id") + + @property + @pulumi.getter(name="ownerId") + def owner_id(self) -> str: + """ + The OCID of the tenancy that owns this domain governance entity. + """ + return pulumi.get(self, "owner_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the domain governance entity. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionEmail") + def subscription_email(self) -> str: + """ + Email address to be used to notify the user, and that the ONS subscription will be created with. + """ + return pulumi.get(self, "subscription_email") + + @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: + """ + Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetDomainGovernanceResult(GetDomainGovernanceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDomainGovernanceResult( + defined_tags=self.defined_tags, + domain_governance_id=self.domain_governance_id, + domain_id=self.domain_id, + freeform_tags=self.freeform_tags, + id=self.id, + is_governance_enabled=self.is_governance_enabled, + ons_subscription_id=self.ons_subscription_id, + ons_topic_id=self.ons_topic_id, + owner_id=self.owner_id, + state=self.state, + subscription_email=self.subscription_email, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_domain_governance(domain_governance_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainGovernanceResult: + """ + This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the domain governance entity. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain_governance = oci.Tenantmanagercontrolplane.get_domain_governance(domain_governance_id=test_domain_governance_oci_tenantmanagercontrolplane_domain_governance["id"]) + ``` + + + :param str domain_governance_id: The domain governance OCID. + """ + __args__ = dict() + __args__['domainGovernanceId'] = domain_governance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance', __args__, opts=opts, typ=GetDomainGovernanceResult).value + + return AwaitableGetDomainGovernanceResult( + defined_tags=pulumi.get(__ret__, 'defined_tags'), + domain_governance_id=pulumi.get(__ret__, 'domain_governance_id'), + domain_id=pulumi.get(__ret__, 'domain_id'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_governance_enabled=pulumi.get(__ret__, 'is_governance_enabled'), + ons_subscription_id=pulumi.get(__ret__, 'ons_subscription_id'), + ons_topic_id=pulumi.get(__ret__, 'ons_topic_id'), + owner_id=pulumi.get(__ret__, 'owner_id'), + state=pulumi.get(__ret__, 'state'), + subscription_email=pulumi.get(__ret__, 'subscription_email'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_domain_governance_output(domain_governance_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainGovernanceResult]: + """ + This data source provides details about a specific Domain Governance resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the domain governance entity. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain_governance = oci.Tenantmanagercontrolplane.get_domain_governance(domain_governance_id=test_domain_governance_oci_tenantmanagercontrolplane_domain_governance["id"]) + ``` + + + :param str domain_governance_id: The domain governance OCID. + """ + __args__ = dict() + __args__['domainGovernanceId'] = domain_governance_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getDomainGovernance:getDomainGovernance', __args__, opts=opts, typ=GetDomainGovernanceResult) + return __ret__.apply(lambda __response__: GetDomainGovernanceResult( + defined_tags=pulumi.get(__response__, 'defined_tags'), + domain_governance_id=pulumi.get(__response__, 'domain_governance_id'), + domain_id=pulumi.get(__response__, 'domain_id'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + is_governance_enabled=pulumi.get(__response__, 'is_governance_enabled'), + ons_subscription_id=pulumi.get(__response__, 'ons_subscription_id'), + ons_topic_id=pulumi.get(__response__, 'ons_topic_id'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + subscription_email=pulumi.get(__response__, 'subscription_email'), + system_tags=pulumi.get(__response__, 'system_tags'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py new file mode 100644 index 0000000000..5e386831dc --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py @@ -0,0 +1,226 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDomainGovernancesResult', + 'AwaitableGetDomainGovernancesResult', + 'get_domain_governances', + 'get_domain_governances_output', +] + +@pulumi.output_type +class GetDomainGovernancesResult: + """ + A collection of values returned by getDomainGovernances. + """ + def __init__(__self__, compartment_id=None, domain_governance_collections=None, domain_governance_id=None, domain_id=None, filters=None, id=None, name=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 domain_governance_collections and not isinstance(domain_governance_collections, list): + raise TypeError("Expected argument 'domain_governance_collections' to be a list") + pulumi.set(__self__, "domain_governance_collections", domain_governance_collections) + if domain_governance_id and not isinstance(domain_governance_id, str): + raise TypeError("Expected argument 'domain_governance_id' to be a str") + pulumi.set(__self__, "domain_governance_id", domain_governance_id) + if domain_id and not isinstance(domain_id, str): + raise TypeError("Expected argument 'domain_id' to be a str") + pulumi.set(__self__, "domain_id", domain_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 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(name="domainGovernanceCollections") + def domain_governance_collections(self) -> Sequence['outputs.GetDomainGovernancesDomainGovernanceCollectionResult']: + """ + The list of domain_governance_collection. + """ + return pulumi.get(self, "domain_governance_collections") + + @property + @pulumi.getter(name="domainGovernanceId") + def domain_governance_id(self) -> Optional[str]: + return pulumi.get(self, "domain_governance_id") + + @property + @pulumi.getter(name="domainId") + def domain_id(self) -> Optional[str]: + """ + The OCID of the domain associated with this domain governance entity. + """ + return pulumi.get(self, "domain_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDomainGovernancesFilterResult']]: + 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]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the domain governance entity. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDomainGovernancesResult(GetDomainGovernancesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDomainGovernancesResult( + compartment_id=self.compartment_id, + domain_governance_collections=self.domain_governance_collections, + domain_governance_id=self.domain_governance_id, + domain_id=self.domain_id, + filters=self.filters, + id=self.id, + name=self.name, + state=self.state) + + +def get_domain_governances(compartment_id: Optional[str] = None, + domain_governance_id: Optional[str] = None, + domain_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetDomainGovernancesFilterArgs', 'GetDomainGovernancesFilterArgsDict']]] = None, + name: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainGovernancesResult: + """ + This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of domain governance entities. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain_governances = oci.Tenantmanagercontrolplane.get_domain_governances(compartment_id=compartment_id, + domain_governance_id=test_domain_governance["id"], + domain_id=test_domain["id"], + name=domain_governance_name, + state=domain_governance_state) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str domain_governance_id: The domain governance OCID. + :param str domain_id: The domain OCID. + :param str name: A filter to return only resources that exactly match the name given. + :param str state: The lifecycle state of the resource. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['domainGovernanceId'] = domain_governance_id + __args__['domainId'] = domain_id + __args__['filters'] = filters + __args__['name'] = name + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances', __args__, opts=opts, typ=GetDomainGovernancesResult).value + + return AwaitableGetDomainGovernancesResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + domain_governance_collections=pulumi.get(__ret__, 'domain_governance_collections'), + domain_governance_id=pulumi.get(__ret__, 'domain_governance_id'), + domain_id=pulumi.get(__ret__, 'domain_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + state=pulumi.get(__ret__, 'state')) +def get_domain_governances_output(compartment_id: Optional[pulumi.Input[str]] = None, + domain_governance_id: Optional[pulumi.Input[Optional[str]]] = None, + domain_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDomainGovernancesFilterArgs', 'GetDomainGovernancesFilterArgsDict']]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainGovernancesResult]: + """ + This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of domain governance entities. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domain_governances = oci.Tenantmanagercontrolplane.get_domain_governances(compartment_id=compartment_id, + domain_governance_id=test_domain_governance["id"], + domain_id=test_domain["id"], + name=domain_governance_name, + state=domain_governance_state) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str domain_governance_id: The domain governance OCID. + :param str domain_id: The domain OCID. + :param str name: A filter to return only resources that exactly match the name given. + :param str state: The lifecycle state of the resource. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['domainGovernanceId'] = domain_governance_id + __args__['domainId'] = domain_id + __args__['filters'] = filters + __args__['name'] = name + __args__['state'] = state + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getDomainGovernances:getDomainGovernances', __args__, opts=opts, typ=GetDomainGovernancesResult) + return __ret__.apply(lambda __response__: GetDomainGovernancesResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + domain_governance_collections=pulumi.get(__response__, 'domain_governance_collections'), + domain_governance_id=pulumi.get(__response__, 'domain_governance_id'), + domain_id=pulumi.get(__response__, 'domain_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domains.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domains.py new file mode 100644 index 0000000000..8cc9f76753 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_domains.py @@ -0,0 +1,226 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDomainsResult', + 'AwaitableGetDomainsResult', + 'get_domains', + 'get_domains_output', +] + +@pulumi.output_type +class GetDomainsResult: + """ + A collection of values returned by getDomains. + """ + def __init__(__self__, compartment_id=None, domain_collections=None, domain_id=None, filters=None, id=None, name=None, state=None, status=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 domain_collections and not isinstance(domain_collections, list): + raise TypeError("Expected argument 'domain_collections' to be a list") + pulumi.set(__self__, "domain_collections", domain_collections) + if domain_id and not isinstance(domain_id, str): + raise TypeError("Expected argument 'domain_id' to be a str") + pulumi.set(__self__, "domain_id", domain_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 state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="domainCollections") + def domain_collections(self) -> Sequence['outputs.GetDomainsDomainCollectionResult']: + """ + The list of domain_collection. + """ + return pulumi.get(self, "domain_collections") + + @property + @pulumi.getter(name="domainId") + def domain_id(self) -> Optional[str]: + return pulumi.get(self, "domain_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDomainsFilterResult']]: + 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]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the domain. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the domain. + """ + return pulumi.get(self, "status") + + +class AwaitableGetDomainsResult(GetDomainsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDomainsResult( + compartment_id=self.compartment_id, + domain_collections=self.domain_collections, + domain_id=self.domain_id, + filters=self.filters, + id=self.id, + name=self.name, + state=self.state, + status=self.status) + + +def get_domains(compartment_id: Optional[str] = None, + domain_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetDomainsFilterArgs', 'GetDomainsFilterArgsDict']]] = None, + name: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainsResult: + """ + This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of domains. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domains = oci.Tenantmanagercontrolplane.get_domains(compartment_id=compartment_id, + domain_id=test_domain["id"], + name=domain_name, + state=domain_state, + status=domain_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str domain_id: The domain OCID. + :param str name: A filter to return only resources that exactly match the name given. + :param str state: The lifecycle state of the resource. + :param str status: The status of the domain. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['domainId'] = domain_id + __args__['filters'] = filters + __args__['name'] = name + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getDomains:getDomains', __args__, opts=opts, typ=GetDomainsResult).value + + return AwaitableGetDomainsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + domain_collections=pulumi.get(__ret__, 'domain_collections'), + domain_id=pulumi.get(__ret__, 'domain_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status')) +def get_domains_output(compartment_id: Optional[pulumi.Input[str]] = None, + domain_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDomainsFilterArgs', 'GetDomainsFilterArgsDict']]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainsResult]: + """ + This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of domains. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_domains = oci.Tenantmanagercontrolplane.get_domains(compartment_id=compartment_id, + domain_id=test_domain["id"], + name=domain_name, + state=domain_state, + status=domain_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str domain_id: The domain OCID. + :param str name: A filter to return only resources that exactly match the name given. + :param str state: The lifecycle state of the resource. + :param str status: The status of the domain. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['domainId'] = domain_id + __args__['filters'] = filters + __args__['name'] = name + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getDomains:getDomains', __args__, opts=opts, typ=GetDomainsResult) + return __ret__.apply(lambda __response__: GetDomainsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + domain_collections=pulumi.get(__response__, 'domain_collections'), + domain_id=pulumi.get(__response__, 'domain_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_link.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_link.py new file mode 100644 index 0000000000..6188ae226d --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_link.py @@ -0,0 +1,197 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetLinkResult', + 'AwaitableGetLinkResult', + 'get_link', + 'get_link_output', +] + +@pulumi.output_type +class GetLinkResult: + """ + A collection of values returned by getLink. + """ + def __init__(__self__, child_tenancy_id=None, id=None, link_id=None, parent_tenancy_id=None, state=None, time_created=None, time_terminated=None, time_updated=None): + if child_tenancy_id and not isinstance(child_tenancy_id, str): + raise TypeError("Expected argument 'child_tenancy_id' to be a str") + pulumi.set(__self__, "child_tenancy_id", child_tenancy_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if link_id and not isinstance(link_id, str): + raise TypeError("Expected argument 'link_id' to be a str") + pulumi.set(__self__, "link_id", link_id) + if parent_tenancy_id and not isinstance(parent_tenancy_id, str): + raise TypeError("Expected argument 'parent_tenancy_id' to be a str") + pulumi.set(__self__, "parent_tenancy_id", parent_tenancy_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 time_terminated and not isinstance(time_terminated, str): + raise TypeError("Expected argument 'time_terminated' to be a str") + pulumi.set(__self__, "time_terminated", time_terminated) + 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="childTenancyId") + def child_tenancy_id(self) -> str: + """ + OCID of the child tenancy. + """ + return pulumi.get(self, "child_tenancy_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="linkId") + def link_id(self) -> str: + return pulumi.get(self, "link_id") + + @property + @pulumi.getter(name="parentTenancyId") + def parent_tenancy_id(self) -> str: + """ + OCID of the parent tenancy. + """ + return pulumi.get(self, "parent_tenancy_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the link. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date-time when this link was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeTerminated") + def time_terminated(self) -> str: + """ + Date-time when this link was terminated. + """ + return pulumi.get(self, "time_terminated") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this link was last updated. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetLinkResult(GetLinkResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetLinkResult( + child_tenancy_id=self.child_tenancy_id, + id=self.id, + link_id=self.link_id, + parent_tenancy_id=self.parent_tenancy_id, + state=self.state, + time_created=self.time_created, + time_terminated=self.time_terminated, + time_updated=self.time_updated) + + +def get_link(link_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLinkResult: + """ + This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the link. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_link = oci.Tenantmanagercontrolplane.get_link(link_id=test_link_oci_tenantmanagercontrolplane_link["id"]) + ``` + + + :param str link_id: OCID of the link to retrieve. + """ + __args__ = dict() + __args__['linkId'] = link_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getLink:getLink', __args__, opts=opts, typ=GetLinkResult).value + + return AwaitableGetLinkResult( + child_tenancy_id=pulumi.get(__ret__, 'child_tenancy_id'), + id=pulumi.get(__ret__, 'id'), + link_id=pulumi.get(__ret__, 'link_id'), + parent_tenancy_id=pulumi.get(__ret__, 'parent_tenancy_id'), + state=pulumi.get(__ret__, 'state'), + time_created=pulumi.get(__ret__, 'time_created'), + time_terminated=pulumi.get(__ret__, 'time_terminated'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_link_output(link_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLinkResult]: + """ + This data source provides details about a specific Link resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the link. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_link = oci.Tenantmanagercontrolplane.get_link(link_id=test_link_oci_tenantmanagercontrolplane_link["id"]) + ``` + + + :param str link_id: OCID of the link to retrieve. + """ + __args__ = dict() + __args__['linkId'] = link_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getLink:getLink', __args__, opts=opts, typ=GetLinkResult) + return __ret__.apply(lambda __response__: GetLinkResult( + child_tenancy_id=pulumi.get(__response__, 'child_tenancy_id'), + id=pulumi.get(__response__, 'id'), + link_id=pulumi.get(__response__, 'link_id'), + parent_tenancy_id=pulumi.get(__response__, 'parent_tenancy_id'), + state=pulumi.get(__response__, 'state'), + time_created=pulumi.get(__response__, 'time_created'), + time_terminated=pulumi.get(__response__, 'time_terminated'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_links.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_links.py new file mode 100644 index 0000000000..910cbf69c0 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_links.py @@ -0,0 +1,191 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetLinksResult', + 'AwaitableGetLinksResult', + 'get_links', + 'get_links_output', +] + +@pulumi.output_type +class GetLinksResult: + """ + A collection of values returned by getLinks. + """ + def __init__(__self__, child_tenancy_id=None, filters=None, id=None, link_collections=None, parent_tenancy_id=None, state=None): + if child_tenancy_id and not isinstance(child_tenancy_id, str): + raise TypeError("Expected argument 'child_tenancy_id' to be a str") + pulumi.set(__self__, "child_tenancy_id", child_tenancy_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 link_collections and not isinstance(link_collections, list): + raise TypeError("Expected argument 'link_collections' to be a list") + pulumi.set(__self__, "link_collections", link_collections) + if parent_tenancy_id and not isinstance(parent_tenancy_id, str): + raise TypeError("Expected argument 'parent_tenancy_id' to be a str") + pulumi.set(__self__, "parent_tenancy_id", parent_tenancy_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="childTenancyId") + def child_tenancy_id(self) -> Optional[str]: + """ + OCID of the child tenancy. + """ + return pulumi.get(self, "child_tenancy_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetLinksFilterResult']]: + 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="linkCollections") + def link_collections(self) -> Sequence['outputs.GetLinksLinkCollectionResult']: + """ + The list of link_collection. + """ + return pulumi.get(self, "link_collections") + + @property + @pulumi.getter(name="parentTenancyId") + def parent_tenancy_id(self) -> Optional[str]: + """ + OCID of the parent tenancy. + """ + return pulumi.get(self, "parent_tenancy_id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the link. + """ + return pulumi.get(self, "state") + + +class AwaitableGetLinksResult(GetLinksResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetLinksResult( + child_tenancy_id=self.child_tenancy_id, + filters=self.filters, + id=self.id, + link_collections=self.link_collections, + parent_tenancy_id=self.parent_tenancy_id, + state=self.state) + + +def get_links(child_tenancy_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetLinksFilterArgs', 'GetLinksFilterArgsDict']]] = None, + parent_tenancy_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLinksResult: + """ + This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of links. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_links = oci.Tenantmanagercontrolplane.get_links(child_tenancy_id=test_tenancy["id"], + parent_tenancy_id=test_tenancy["id"], + state=link_state) + ``` + + + :param str child_tenancy_id: The ID of the child tenancy this link is associated with. + :param str parent_tenancy_id: The ID of the parent tenancy this link is associated with. + :param str state: The lifecycle state of the resource. + """ + __args__ = dict() + __args__['childTenancyId'] = child_tenancy_id + __args__['filters'] = filters + __args__['parentTenancyId'] = parent_tenancy_id + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getLinks:getLinks', __args__, opts=opts, typ=GetLinksResult).value + + return AwaitableGetLinksResult( + child_tenancy_id=pulumi.get(__ret__, 'child_tenancy_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + link_collections=pulumi.get(__ret__, 'link_collections'), + parent_tenancy_id=pulumi.get(__ret__, 'parent_tenancy_id'), + state=pulumi.get(__ret__, 'state')) +def get_links_output(child_tenancy_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetLinksFilterArgs', 'GetLinksFilterArgsDict']]]]] = None, + parent_tenancy_id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLinksResult]: + """ + This data source provides the list of Links in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of links. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_links = oci.Tenantmanagercontrolplane.get_links(child_tenancy_id=test_tenancy["id"], + parent_tenancy_id=test_tenancy["id"], + state=link_state) + ``` + + + :param str child_tenancy_id: The ID of the child tenancy this link is associated with. + :param str parent_tenancy_id: The ID of the parent tenancy this link is associated with. + :param str state: The lifecycle state of the resource. + """ + __args__ = dict() + __args__['childTenancyId'] = child_tenancy_id + __args__['filters'] = filters + __args__['parentTenancyId'] = parent_tenancy_id + __args__['state'] = state + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getLinks:getLinks', __args__, opts=opts, typ=GetLinksResult) + return __ret__.apply(lambda __response__: GetLinksResult( + child_tenancy_id=pulumi.get(__response__, 'child_tenancy_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + link_collections=pulumi.get(__response__, 'link_collections'), + parent_tenancy_id=pulumi.get(__response__, 'parent_tenancy_id'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization.py new file mode 100644 index 0000000000..e32ee83b66 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization.py @@ -0,0 +1,211 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetOrganizationResult', + 'AwaitableGetOrganizationResult', + 'get_organization', + 'get_organization_output', +] + +@pulumi.output_type +class GetOrganizationResult: + """ + A collection of values returned by getOrganization. + """ + def __init__(__self__, compartment_id=None, default_ucm_subscription_id=None, display_name=None, id=None, organization_id=None, parent_name=None, state=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 default_ucm_subscription_id and not isinstance(default_ucm_subscription_id, str): + raise TypeError("Expected argument 'default_ucm_subscription_id' to be a str") + pulumi.set(__self__, "default_ucm_subscription_id", default_ucm_subscription_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 id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if parent_name and not isinstance(parent_name, str): + raise TypeError("Expected argument 'parent_name' to be a str") + pulumi.set(__self__, "parent_name", parent_name) + 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 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: + """ + OCID of the compartment containing the organization. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="defaultUcmSubscriptionId") + def default_ucm_subscription_id(self) -> str: + """ + OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + """ + return pulumi.get(self, "default_ucm_subscription_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A display name for the organization. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @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="organizationId") + def organization_id(self) -> str: + return pulumi.get(self, "organization_id") + + @property + @pulumi.getter(name="parentName") + def parent_name(self) -> str: + """ + The name of the tenancy that is the organization parent. + """ + return pulumi.get(self, "parent_name") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the organization. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date and time when the organization was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the organization was last updated. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetOrganizationResult(GetOrganizationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrganizationResult( + compartment_id=self.compartment_id, + default_ucm_subscription_id=self.default_ucm_subscription_id, + display_name=self.display_name, + id=self.id, + organization_id=self.organization_id, + parent_name=self.parent_name, + state=self.state, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_organization(organization_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult: + """ + This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the organization. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization = oci.Tenantmanagercontrolplane.get_organization(organization_id=test_organization_oci_tenantmanagercontrolplane_organization["id"]) + ``` + + + :param str organization_id: OCID of the organization to retrieve. + """ + __args__ = dict() + __args__['organizationId'] = organization_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value + + return AwaitableGetOrganizationResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + default_ucm_subscription_id=pulumi.get(__ret__, 'default_ucm_subscription_id'), + display_name=pulumi.get(__ret__, 'display_name'), + id=pulumi.get(__ret__, 'id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + parent_name=pulumi.get(__ret__, 'parent_name'), + state=pulumi.get(__ret__, 'state'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_organization_output(organization_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]: + """ + This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the organization. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization = oci.Tenantmanagercontrolplane.get_organization(organization_id=test_organization_oci_tenantmanagercontrolplane_organization["id"]) + ``` + + + :param str organization_id: OCID of the organization to retrieve. + """ + __args__ = dict() + __args__['organizationId'] = organization_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult) + return __ret__.apply(lambda __response__: GetOrganizationResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + default_ucm_subscription_id=pulumi.get(__response__, 'default_ucm_subscription_id'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + organization_id=pulumi.get(__response__, 'organization_id'), + parent_name=pulumi.get(__response__, 'parent_name'), + state=pulumi.get(__response__, 'state'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py new file mode 100644 index 0000000000..98b8707083 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py @@ -0,0 +1,144 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetOrganizationTenanciesResult', + 'AwaitableGetOrganizationTenanciesResult', + 'get_organization_tenancies', + 'get_organization_tenancies_output', +] + +@pulumi.output_type +class GetOrganizationTenanciesResult: + """ + A collection of values returned by getOrganizationTenancies. + """ + def __init__(__self__, filters=None, id=None, organization_id=None, organization_tenancy_collections=None): + 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 organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if organization_tenancy_collections and not isinstance(organization_tenancy_collections, list): + raise TypeError("Expected argument 'organization_tenancy_collections' to be a list") + pulumi.set(__self__, "organization_tenancy_collections", organization_tenancy_collections) + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetOrganizationTenanciesFilterResult']]: + 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="organizationId") + def organization_id(self) -> str: + return pulumi.get(self, "organization_id") + + @property + @pulumi.getter(name="organizationTenancyCollections") + def organization_tenancy_collections(self) -> Sequence['outputs.GetOrganizationTenanciesOrganizationTenancyCollectionResult']: + """ + The list of organization_tenancy_collection. + """ + return pulumi.get(self, "organization_tenancy_collections") + + +class AwaitableGetOrganizationTenanciesResult(GetOrganizationTenanciesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrganizationTenanciesResult( + filters=self.filters, + id=self.id, + organization_id=self.organization_id, + organization_tenancy_collections=self.organization_tenancy_collections) + + +def get_organization_tenancies(filters: Optional[Sequence[Union['GetOrganizationTenanciesFilterArgs', 'GetOrganizationTenanciesFilterArgsDict']]] = None, + organization_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationTenanciesResult: + """ + This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets a list of tenancies in the organization. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization_tenancies = oci.Tenantmanagercontrolplane.get_organization_tenancies(organization_id=test_organization["id"]) + ``` + + + :param str organization_id: OCID of the organization. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['organizationId'] = organization_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies', __args__, opts=opts, typ=GetOrganizationTenanciesResult).value + + return AwaitableGetOrganizationTenanciesResult( + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + organization_tenancy_collections=pulumi.get(__ret__, 'organization_tenancy_collections')) +def get_organization_tenancies_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationTenanciesFilterArgs', 'GetOrganizationTenanciesFilterArgsDict']]]]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationTenanciesResult]: + """ + This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets a list of tenancies in the organization. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization_tenancies = oci.Tenantmanagercontrolplane.get_organization_tenancies(organization_id=test_organization["id"]) + ``` + + + :param str organization_id: OCID of the organization. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['organizationId'] = organization_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies', __args__, opts=opts, typ=GetOrganizationTenanciesResult) + return __ret__.apply(lambda __response__: GetOrganizationTenanciesResult( + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + organization_id=pulumi.get(__response__, 'organization_id'), + organization_tenancy_collections=pulumi.get(__response__, 'organization_tenancy_collections'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py new file mode 100644 index 0000000000..f66dd013a0 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py @@ -0,0 +1,233 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetOrganizationTenancyResult', + 'AwaitableGetOrganizationTenancyResult', + 'get_organization_tenancy', + 'get_organization_tenancy_output', +] + +@pulumi.output_type +class GetOrganizationTenancyResult: + """ + A collection of values returned by getOrganizationTenancy. + """ + def __init__(__self__, governance_status=None, id=None, is_approved_for_transfer=None, name=None, organization_id=None, role=None, state=None, tenancy_id=None, time_joined=None, time_left=None): + if governance_status and not isinstance(governance_status, str): + raise TypeError("Expected argument 'governance_status' to be a str") + pulumi.set(__self__, "governance_status", governance_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_approved_for_transfer and not isinstance(is_approved_for_transfer, bool): + raise TypeError("Expected argument 'is_approved_for_transfer' to be a bool") + pulumi.set(__self__, "is_approved_for_transfer", is_approved_for_transfer) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if role and not isinstance(role, str): + raise TypeError("Expected argument 'role' to be a str") + pulumi.set(__self__, "role", role) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if tenancy_id and not isinstance(tenancy_id, str): + raise TypeError("Expected argument 'tenancy_id' to be a str") + pulumi.set(__self__, "tenancy_id", tenancy_id) + if time_joined and not isinstance(time_joined, str): + raise TypeError("Expected argument 'time_joined' to be a str") + pulumi.set(__self__, "time_joined", time_joined) + if time_left and not isinstance(time_left, str): + raise TypeError("Expected argument 'time_left' to be a str") + pulumi.set(__self__, "time_left", time_left) + + @property + @pulumi.getter(name="governanceStatus") + def governance_status(self) -> str: + """ + The governance status of the tenancy. + """ + return pulumi.get(self, "governance_status") + + @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="isApprovedForTransfer") + def is_approved_for_transfer(self) -> bool: + """ + Parameter to indicate the tenancy is approved for transfer to another organization. + """ + return pulumi.get(self, "is_approved_for_transfer") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the tenancy. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> str: + return pulumi.get(self, "organization_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + Role of the organization tenancy. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the organization tenancy. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="tenancyId") + def tenancy_id(self) -> str: + """ + OCID of the tenancy. + """ + return pulumi.get(self, "tenancy_id") + + @property + @pulumi.getter(name="timeJoined") + def time_joined(self) -> str: + """ + Date and time when the tenancy joined the organization. + """ + return pulumi.get(self, "time_joined") + + @property + @pulumi.getter(name="timeLeft") + def time_left(self) -> str: + """ + Date and time when the tenancy left the organization. + """ + return pulumi.get(self, "time_left") + + +class AwaitableGetOrganizationTenancyResult(GetOrganizationTenancyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrganizationTenancyResult( + governance_status=self.governance_status, + id=self.id, + is_approved_for_transfer=self.is_approved_for_transfer, + name=self.name, + organization_id=self.organization_id, + role=self.role, + state=self.state, + tenancy_id=self.tenancy_id, + time_joined=self.time_joined, + time_left=self.time_left) + + +def get_organization_tenancy(organization_id: Optional[str] = None, + tenancy_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationTenancyResult: + """ + This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the organization's tenancy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization_tenancy = oci.Tenantmanagercontrolplane.get_organization_tenancy(organization_id=test_organization["id"], + tenancy_id=test_tenancy["id"]) + ``` + + + :param str organization_id: OCID of the organization. + :param str tenancy_id: OCID of the tenancy to retrieve. + """ + __args__ = dict() + __args__['organizationId'] = organization_id + __args__['tenancyId'] = tenancy_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy', __args__, opts=opts, typ=GetOrganizationTenancyResult).value + + return AwaitableGetOrganizationTenancyResult( + governance_status=pulumi.get(__ret__, 'governance_status'), + id=pulumi.get(__ret__, 'id'), + is_approved_for_transfer=pulumi.get(__ret__, 'is_approved_for_transfer'), + name=pulumi.get(__ret__, 'name'), + organization_id=pulumi.get(__ret__, 'organization_id'), + role=pulumi.get(__ret__, 'role'), + state=pulumi.get(__ret__, 'state'), + tenancy_id=pulumi.get(__ret__, 'tenancy_id'), + time_joined=pulumi.get(__ret__, 'time_joined'), + time_left=pulumi.get(__ret__, 'time_left')) +def get_organization_tenancy_output(organization_id: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationTenancyResult]: + """ + This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the organization's tenancy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organization_tenancy = oci.Tenantmanagercontrolplane.get_organization_tenancy(organization_id=test_organization["id"], + tenancy_id=test_tenancy["id"]) + ``` + + + :param str organization_id: OCID of the organization. + :param str tenancy_id: OCID of the tenancy to retrieve. + """ + __args__ = dict() + __args__['organizationId'] = organization_id + __args__['tenancyId'] = tenancy_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy', __args__, opts=opts, typ=GetOrganizationTenancyResult) + return __ret__.apply(lambda __response__: GetOrganizationTenancyResult( + governance_status=pulumi.get(__response__, 'governance_status'), + id=pulumi.get(__response__, 'id'), + is_approved_for_transfer=pulumi.get(__response__, 'is_approved_for_transfer'), + name=pulumi.get(__response__, 'name'), + organization_id=pulumi.get(__response__, 'organization_id'), + role=pulumi.get(__response__, 'role'), + state=pulumi.get(__response__, 'state'), + tenancy_id=pulumi.get(__response__, 'tenancy_id'), + time_joined=pulumi.get(__response__, 'time_joined'), + time_left=pulumi.get(__response__, 'time_left'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organizations.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organizations.py new file mode 100644 index 0000000000..81461047f2 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_organizations.py @@ -0,0 +1,147 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetOrganizationsResult', + 'AwaitableGetOrganizationsResult', + 'get_organizations', + 'get_organizations_output', +] + +@pulumi.output_type +class GetOrganizationsResult: + """ + A collection of values returned by getOrganizations. + """ + def __init__(__self__, compartment_id=None, filters=None, id=None, organization_collections=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 organization_collections and not isinstance(organization_collections, list): + raise TypeError("Expected argument 'organization_collections' to be a list") + pulumi.set(__self__, "organization_collections", organization_collections) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + OCID of the compartment containing the organization. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetOrganizationsFilterResult']]: + 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="organizationCollections") + def organization_collections(self) -> Sequence['outputs.GetOrganizationsOrganizationCollectionResult']: + """ + The list of organization_collection. + """ + return pulumi.get(self, "organization_collections") + + +class AwaitableGetOrganizationsResult(GetOrganizationsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrganizationsResult( + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + organization_collections=self.organization_collections) + + +def get_organizations(compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetOrganizationsFilterArgs', 'GetOrganizationsFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationsResult: + """ + This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists organizations associated with the caller. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organizations = oci.Tenantmanagercontrolplane.get_organizations(compartment_id=compartment_id) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations', __args__, opts=opts, typ=GetOrganizationsResult).value + + return AwaitableGetOrganizationsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + organization_collections=pulumi.get(__ret__, 'organization_collections')) +def get_organizations_output(compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationsFilterArgs', 'GetOrganizationsFilterArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationsResult]: + """ + This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists organizations associated with the caller. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_organizations = oci.Tenantmanagercontrolplane.get_organizations(compartment_id=compartment_id) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations', __args__, opts=opts, typ=GetOrganizationsResult) + return __ret__.apply(lambda __response__: GetOrganizationsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + organization_collections=pulumi.get(__response__, 'organization_collections'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py new file mode 100644 index 0000000000..c373581ec5 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py @@ -0,0 +1,295 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetRecipientInvitationResult', + 'AwaitableGetRecipientInvitationResult', + 'get_recipient_invitation', + 'get_recipient_invitation_output', +] + +@pulumi.output_type +class GetRecipientInvitationResult: + """ + A collection of values returned by getRecipientInvitation. + """ + def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, recipient_email_address=None, recipient_invitation_id=None, sender_invitation_id=None, sender_tenancy_id=None, state=None, status=None, subjects=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 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 recipient_email_address and not isinstance(recipient_email_address, str): + raise TypeError("Expected argument 'recipient_email_address' to be a str") + pulumi.set(__self__, "recipient_email_address", recipient_email_address) + if recipient_invitation_id and not isinstance(recipient_invitation_id, str): + raise TypeError("Expected argument 'recipient_invitation_id' to be a str") + pulumi.set(__self__, "recipient_invitation_id", recipient_invitation_id) + if sender_invitation_id and not isinstance(sender_invitation_id, str): + raise TypeError("Expected argument 'sender_invitation_id' to be a str") + pulumi.set(__self__, "sender_invitation_id", sender_invitation_id) + if sender_tenancy_id and not isinstance(sender_tenancy_id, str): + raise TypeError("Expected argument 'sender_tenancy_id' to be a str") + pulumi.set(__self__, "sender_tenancy_id", sender_tenancy_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if subjects and not isinstance(subjects, list): + raise TypeError("Expected argument 'subjects' to be a list") + pulumi.set(__self__, "subjects", subjects) + 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: + """ + OCID of the recipient tenancy. + """ + 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(name="displayName") + def display_name(self) -> str: + """ + A user-created name to describe the invitation. Avoid entering confidential information. + """ + 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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="recipientEmailAddress") + def recipient_email_address(self) -> str: + """ + Email address of the recipient. + """ + return pulumi.get(self, "recipient_email_address") + + @property + @pulumi.getter(name="recipientInvitationId") + def recipient_invitation_id(self) -> str: + return pulumi.get(self, "recipient_invitation_id") + + @property + @pulumi.getter(name="senderInvitationId") + def sender_invitation_id(self) -> str: + """ + OCID of the corresponding sender invitation. + """ + return pulumi.get(self, "sender_invitation_id") + + @property + @pulumi.getter(name="senderTenancyId") + def sender_tenancy_id(self) -> str: + """ + OCID of the sender tenancy. + """ + return pulumi.get(self, "sender_tenancy_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the recipient invitation. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the recipient invitation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subjects(self) -> Sequence[str]: + """ + The list of subjects the invitation contains. + """ + return pulumi.get(self, "subjects") + + @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: + """ + Date and time when the recipient invitation was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the recipient invitation was last updated. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetRecipientInvitationResult(GetRecipientInvitationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRecipientInvitationResult( + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + recipient_email_address=self.recipient_email_address, + recipient_invitation_id=self.recipient_invitation_id, + sender_invitation_id=self.sender_invitation_id, + sender_tenancy_id=self.sender_tenancy_id, + state=self.state, + status=self.status, + subjects=self.subjects, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_recipient_invitation(recipient_invitation_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientInvitationResult: + """ + This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the recipient invitation. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation["id"]) + ``` + + + :param str recipient_invitation_id: OCID of the recipient invitation to retrieve. + """ + __args__ = dict() + __args__['recipientInvitationId'] = recipient_invitation_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation', __args__, opts=opts, typ=GetRecipientInvitationResult).value + + return AwaitableGetRecipientInvitationResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + recipient_email_address=pulumi.get(__ret__, 'recipient_email_address'), + recipient_invitation_id=pulumi.get(__ret__, 'recipient_invitation_id'), + sender_invitation_id=pulumi.get(__ret__, 'sender_invitation_id'), + sender_tenancy_id=pulumi.get(__ret__, 'sender_tenancy_id'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status'), + subjects=pulumi.get(__ret__, 'subjects'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_recipient_invitation_output(recipient_invitation_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientInvitationResult]: + """ + This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the recipient invitation. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation["id"]) + ``` + + + :param str recipient_invitation_id: OCID of the recipient invitation to retrieve. + """ + __args__ = dict() + __args__['recipientInvitationId'] = recipient_invitation_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation', __args__, opts=opts, typ=GetRecipientInvitationResult) + return __ret__.apply(lambda __response__: GetRecipientInvitationResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + display_name=pulumi.get(__response__, 'display_name'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + recipient_email_address=pulumi.get(__response__, 'recipient_email_address'), + recipient_invitation_id=pulumi.get(__response__, 'recipient_invitation_id'), + sender_invitation_id=pulumi.get(__response__, 'sender_invitation_id'), + sender_tenancy_id=pulumi.get(__response__, 'sender_tenancy_id'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + subjects=pulumi.get(__response__, 'subjects'), + system_tags=pulumi.get(__response__, 'system_tags'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py new file mode 100644 index 0000000000..d58fb35df5 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetRecipientInvitationsResult', + 'AwaitableGetRecipientInvitationsResult', + 'get_recipient_invitations', + 'get_recipient_invitations_output', +] + +@pulumi.output_type +class GetRecipientInvitationsResult: + """ + A collection of values returned by getRecipientInvitations. + """ + def __init__(__self__, compartment_id=None, filters=None, id=None, recipient_invitation_collections=None, sender_tenancy_id=None, state=None, status=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 recipient_invitation_collections and not isinstance(recipient_invitation_collections, list): + raise TypeError("Expected argument 'recipient_invitation_collections' to be a list") + pulumi.set(__self__, "recipient_invitation_collections", recipient_invitation_collections) + if sender_tenancy_id and not isinstance(sender_tenancy_id, str): + raise TypeError("Expected argument 'sender_tenancy_id' to be a str") + pulumi.set(__self__, "sender_tenancy_id", sender_tenancy_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + OCID of the recipient tenancy. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetRecipientInvitationsFilterResult']]: + 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="recipientInvitationCollections") + def recipient_invitation_collections(self) -> Sequence['outputs.GetRecipientInvitationsRecipientInvitationCollectionResult']: + """ + The list of recipient_invitation_collection. + """ + return pulumi.get(self, "recipient_invitation_collections") + + @property + @pulumi.getter(name="senderTenancyId") + def sender_tenancy_id(self) -> Optional[str]: + """ + OCID of the sender tenancy. + """ + return pulumi.get(self, "sender_tenancy_id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the recipient invitation. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the recipient invitation. + """ + return pulumi.get(self, "status") + + +class AwaitableGetRecipientInvitationsResult(GetRecipientInvitationsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRecipientInvitationsResult( + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + recipient_invitation_collections=self.recipient_invitation_collections, + sender_tenancy_id=self.sender_tenancy_id, + state=self.state, + status=self.status) + + +def get_recipient_invitations(compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetRecipientInvitationsFilterArgs', 'GetRecipientInvitationsFilterArgsDict']]] = None, + sender_tenancy_id: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientInvitationsResult: + """ + This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of recipient invitations. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_recipient_invitations = oci.Tenantmanagercontrolplane.get_recipient_invitations(compartment_id=compartment_id, + sender_tenancy_id=test_tenancy["id"], + state=recipient_invitation_state, + status=recipient_invitation_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str sender_tenancy_id: The tenancy that sent the invitation. + :param str state: The lifecycle state of the resource. + :param str status: The status of the recipient invitation. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['senderTenancyId'] = sender_tenancy_id + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations', __args__, opts=opts, typ=GetRecipientInvitationsResult).value + + return AwaitableGetRecipientInvitationsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + recipient_invitation_collections=pulumi.get(__ret__, 'recipient_invitation_collections'), + sender_tenancy_id=pulumi.get(__ret__, 'sender_tenancy_id'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status')) +def get_recipient_invitations_output(compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetRecipientInvitationsFilterArgs', 'GetRecipientInvitationsFilterArgsDict']]]]] = None, + sender_tenancy_id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientInvitationsResult]: + """ + This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of recipient invitations. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_recipient_invitations = oci.Tenantmanagercontrolplane.get_recipient_invitations(compartment_id=compartment_id, + sender_tenancy_id=test_tenancy["id"], + state=recipient_invitation_state, + status=recipient_invitation_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str sender_tenancy_id: The tenancy that sent the invitation. + :param str state: The lifecycle state of the resource. + :param str status: The status of the recipient invitation. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['senderTenancyId'] = sender_tenancy_id + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations', __args__, opts=opts, typ=GetRecipientInvitationsResult) + return __ret__.apply(lambda __response__: GetRecipientInvitationsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + recipient_invitation_collections=pulumi.get(__response__, 'recipient_invitation_collections'), + sender_tenancy_id=pulumi.get(__response__, 'sender_tenancy_id'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py new file mode 100644 index 0000000000..2941a93f76 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py @@ -0,0 +1,295 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetSenderInvitationResult', + 'AwaitableGetSenderInvitationResult', + 'get_sender_invitation', + 'get_sender_invitation_output', +] + +@pulumi.output_type +class GetSenderInvitationResult: + """ + A collection of values returned by getSenderInvitation. + """ + def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, recipient_email_address=None, recipient_invitation_id=None, recipient_tenancy_id=None, sender_invitation_id=None, state=None, status=None, subjects=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 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 recipient_email_address and not isinstance(recipient_email_address, str): + raise TypeError("Expected argument 'recipient_email_address' to be a str") + pulumi.set(__self__, "recipient_email_address", recipient_email_address) + if recipient_invitation_id and not isinstance(recipient_invitation_id, str): + raise TypeError("Expected argument 'recipient_invitation_id' to be a str") + pulumi.set(__self__, "recipient_invitation_id", recipient_invitation_id) + if recipient_tenancy_id and not isinstance(recipient_tenancy_id, str): + raise TypeError("Expected argument 'recipient_tenancy_id' to be a str") + pulumi.set(__self__, "recipient_tenancy_id", recipient_tenancy_id) + if sender_invitation_id and not isinstance(sender_invitation_id, str): + raise TypeError("Expected argument 'sender_invitation_id' to be a str") + pulumi.set(__self__, "sender_invitation_id", sender_invitation_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if subjects and not isinstance(subjects, list): + raise TypeError("Expected argument 'subjects' to be a list") + pulumi.set(__self__, "subjects", subjects) + 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: + """ + OCID of the sender tenancy. + """ + 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(name="displayName") + def display_name(self) -> str: + """ + A user-created name to describe the invitation. Avoid entering confidential information. + """ + 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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="recipientEmailAddress") + def recipient_email_address(self) -> str: + """ + Email address of the recipient. + """ + return pulumi.get(self, "recipient_email_address") + + @property + @pulumi.getter(name="recipientInvitationId") + def recipient_invitation_id(self) -> str: + """ + OCID of the corresponding recipient invitation. + """ + return pulumi.get(self, "recipient_invitation_id") + + @property + @pulumi.getter(name="recipientTenancyId") + def recipient_tenancy_id(self) -> str: + """ + OCID of the recipient tenancy. + """ + return pulumi.get(self, "recipient_tenancy_id") + + @property + @pulumi.getter(name="senderInvitationId") + def sender_invitation_id(self) -> str: + return pulumi.get(self, "sender_invitation_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the sender invitation. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the sender invitation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subjects(self) -> Sequence[str]: + """ + The list of subjects the invitation contains. + """ + return pulumi.get(self, "subjects") + + @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: + """ + Date and time when the sender invitation was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the sender invitation was last updated. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetSenderInvitationResult(GetSenderInvitationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSenderInvitationResult( + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + recipient_email_address=self.recipient_email_address, + recipient_invitation_id=self.recipient_invitation_id, + recipient_tenancy_id=self.recipient_tenancy_id, + sender_invitation_id=self.sender_invitation_id, + state=self.state, + status=self.status, + subjects=self.subjects, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_sender_invitation(sender_invitation_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSenderInvitationResult: + """ + This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the sender invitation. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sender_invitation = oci.Tenantmanagercontrolplane.get_sender_invitation(sender_invitation_id=test_sender_invitation_oci_tenantmanagercontrolplane_sender_invitation["id"]) + ``` + + + :param str sender_invitation_id: OCID of the sender invitation to retrieve. + """ + __args__ = dict() + __args__['senderInvitationId'] = sender_invitation_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation', __args__, opts=opts, typ=GetSenderInvitationResult).value + + return AwaitableGetSenderInvitationResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + recipient_email_address=pulumi.get(__ret__, 'recipient_email_address'), + recipient_invitation_id=pulumi.get(__ret__, 'recipient_invitation_id'), + recipient_tenancy_id=pulumi.get(__ret__, 'recipient_tenancy_id'), + sender_invitation_id=pulumi.get(__ret__, 'sender_invitation_id'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status'), + subjects=pulumi.get(__ret__, 'subjects'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_sender_invitation_output(sender_invitation_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSenderInvitationResult]: + """ + This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets information about the sender invitation. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sender_invitation = oci.Tenantmanagercontrolplane.get_sender_invitation(sender_invitation_id=test_sender_invitation_oci_tenantmanagercontrolplane_sender_invitation["id"]) + ``` + + + :param str sender_invitation_id: OCID of the sender invitation to retrieve. + """ + __args__ = dict() + __args__['senderInvitationId'] = sender_invitation_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation', __args__, opts=opts, typ=GetSenderInvitationResult) + return __ret__.apply(lambda __response__: GetSenderInvitationResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + display_name=pulumi.get(__response__, 'display_name'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + recipient_email_address=pulumi.get(__response__, 'recipient_email_address'), + recipient_invitation_id=pulumi.get(__response__, 'recipient_invitation_id'), + recipient_tenancy_id=pulumi.get(__response__, 'recipient_tenancy_id'), + sender_invitation_id=pulumi.get(__response__, 'sender_invitation_id'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + subjects=pulumi.get(__response__, 'subjects'), + system_tags=pulumi.get(__response__, 'system_tags'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py new file mode 100644 index 0000000000..7cbadfe15d --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py @@ -0,0 +1,235 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSenderInvitationsResult', + 'AwaitableGetSenderInvitationsResult', + 'get_sender_invitations', + 'get_sender_invitations_output', +] + +@pulumi.output_type +class GetSenderInvitationsResult: + """ + A collection of values returned by getSenderInvitations. + """ + def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, recipient_tenancy_id=None, sender_invitation_collections=None, state=None, status=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 recipient_tenancy_id and not isinstance(recipient_tenancy_id, str): + raise TypeError("Expected argument 'recipient_tenancy_id' to be a str") + pulumi.set(__self__, "recipient_tenancy_id", recipient_tenancy_id) + if sender_invitation_collections and not isinstance(sender_invitation_collections, list): + raise TypeError("Expected argument 'sender_invitation_collections' to be a list") + pulumi.set(__self__, "sender_invitation_collections", sender_invitation_collections) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + OCID of the sender tenancy. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + A user-created name to describe the invitation. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetSenderInvitationsFilterResult']]: + 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="recipientTenancyId") + def recipient_tenancy_id(self) -> Optional[str]: + """ + OCID of the recipient tenancy. + """ + return pulumi.get(self, "recipient_tenancy_id") + + @property + @pulumi.getter(name="senderInvitationCollections") + def sender_invitation_collections(self) -> Sequence['outputs.GetSenderInvitationsSenderInvitationCollectionResult']: + """ + The list of sender_invitation_collection. + """ + return pulumi.get(self, "sender_invitation_collections") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the sender invitation. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the sender invitation. + """ + return pulumi.get(self, "status") + + +class AwaitableGetSenderInvitationsResult(GetSenderInvitationsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSenderInvitationsResult( + compartment_id=self.compartment_id, + display_name=self.display_name, + filters=self.filters, + id=self.id, + recipient_tenancy_id=self.recipient_tenancy_id, + sender_invitation_collections=self.sender_invitation_collections, + state=self.state, + status=self.status) + + +def get_sender_invitations(compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetSenderInvitationsFilterArgs', 'GetSenderInvitationsFilterArgsDict']]] = None, + recipient_tenancy_id: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSenderInvitationsResult: + """ + This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of sender invitations. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sender_invitations = oci.Tenantmanagercontrolplane.get_sender_invitations(compartment_id=compartment_id, + display_name=sender_invitation_display_name, + recipient_tenancy_id=test_tenancy["id"], + state=sender_invitation_state, + status=sender_invitation_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str recipient_tenancy_id: The tenancy that the invitation is addressed to. + :param str state: The lifecycle state of the resource. + :param str status: The status of the sender invitation. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['recipientTenancyId'] = recipient_tenancy_id + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations', __args__, opts=opts, typ=GetSenderInvitationsResult).value + + return AwaitableGetSenderInvitationsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + display_name=pulumi.get(__ret__, 'display_name'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + recipient_tenancy_id=pulumi.get(__ret__, 'recipient_tenancy_id'), + sender_invitation_collections=pulumi.get(__ret__, 'sender_invitation_collections'), + state=pulumi.get(__ret__, 'state'), + status=pulumi.get(__ret__, 'status')) +def get_sender_invitations_output(compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSenderInvitationsFilterArgs', 'GetSenderInvitationsFilterArgsDict']]]]] = None, + recipient_tenancy_id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + status: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSenderInvitationsResult]: + """ + This data source provides the list of Sender Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Return a (paginated) list of sender invitations. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sender_invitations = oci.Tenantmanagercontrolplane.get_sender_invitations(compartment_id=compartment_id, + display_name=sender_invitation_display_name, + recipient_tenancy_id=test_tenancy["id"], + state=sender_invitation_state, + status=sender_invitation_status) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str recipient_tenancy_id: The tenancy that the invitation is addressed to. + :param str state: The lifecycle state of the resource. + :param str status: The status of the sender invitation. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['recipientTenancyId'] = recipient_tenancy_id + __args__['state'] = state + __args__['status'] = status + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSenderInvitations:getSenderInvitations', __args__, opts=opts, typ=GetSenderInvitationsResult) + return __ret__.apply(lambda __response__: GetSenderInvitationsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + display_name=pulumi.get(__response__, 'display_name'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + recipient_tenancy_id=pulumi.get(__response__, 'recipient_tenancy_id'), + sender_invitation_collections=pulumi.get(__response__, 'sender_invitation_collections'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription.py new file mode 100644 index 0000000000..2271933bf8 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription.py @@ -0,0 +1,464 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetSubscriptionResult', + 'AwaitableGetSubscriptionResult', + 'get_subscription', + 'get_subscription_output', +] + +@pulumi.output_type +class GetSubscriptionResult: + """ + A collection of values returned by getSubscription. + """ + def __init__(__self__, classic_subscription_id=None, cloud_amount_currency=None, compartment_id=None, csi_number=None, currency_code=None, customer_country_code=None, defined_tags=None, end_date=None, entity_version=None, freeform_tags=None, id=None, is_classic_subscription=None, is_government_subscription=None, payment_model=None, program_type=None, promotions=None, purchase_entitlement_id=None, region_assignment=None, service_name=None, skuses=None, start_date=None, state=None, subscription_id=None, subscription_number=None, subscription_tier=None, time_created=None, time_updated=None): + if classic_subscription_id and not isinstance(classic_subscription_id, str): + raise TypeError("Expected argument 'classic_subscription_id' to be a str") + pulumi.set(__self__, "classic_subscription_id", classic_subscription_id) + if cloud_amount_currency and not isinstance(cloud_amount_currency, str): + raise TypeError("Expected argument 'cloud_amount_currency' to be a str") + pulumi.set(__self__, "cloud_amount_currency", cloud_amount_currency) + 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 csi_number and not isinstance(csi_number, str): + raise TypeError("Expected argument 'csi_number' to be a str") + pulumi.set(__self__, "csi_number", csi_number) + if currency_code and not isinstance(currency_code, str): + raise TypeError("Expected argument 'currency_code' to be a str") + pulumi.set(__self__, "currency_code", currency_code) + if customer_country_code and not isinstance(customer_country_code, str): + raise TypeError("Expected argument 'customer_country_code' to be a str") + pulumi.set(__self__, "customer_country_code", customer_country_code) + 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 end_date and not isinstance(end_date, str): + raise TypeError("Expected argument 'end_date' to be a str") + pulumi.set(__self__, "end_date", end_date) + if entity_version and not isinstance(entity_version, str): + raise TypeError("Expected argument 'entity_version' to be a str") + pulumi.set(__self__, "entity_version", entity_version) + 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_classic_subscription and not isinstance(is_classic_subscription, bool): + raise TypeError("Expected argument 'is_classic_subscription' to be a bool") + pulumi.set(__self__, "is_classic_subscription", is_classic_subscription) + if is_government_subscription and not isinstance(is_government_subscription, bool): + raise TypeError("Expected argument 'is_government_subscription' to be a bool") + pulumi.set(__self__, "is_government_subscription", is_government_subscription) + if payment_model and not isinstance(payment_model, str): + raise TypeError("Expected argument 'payment_model' to be a str") + pulumi.set(__self__, "payment_model", payment_model) + if program_type and not isinstance(program_type, str): + raise TypeError("Expected argument 'program_type' to be a str") + pulumi.set(__self__, "program_type", program_type) + if promotions and not isinstance(promotions, list): + raise TypeError("Expected argument 'promotions' to be a list") + pulumi.set(__self__, "promotions", promotions) + if purchase_entitlement_id and not isinstance(purchase_entitlement_id, str): + raise TypeError("Expected argument 'purchase_entitlement_id' to be a str") + pulumi.set(__self__, "purchase_entitlement_id", purchase_entitlement_id) + if region_assignment and not isinstance(region_assignment, str): + raise TypeError("Expected argument 'region_assignment' to be a str") + pulumi.set(__self__, "region_assignment", region_assignment) + if service_name and not isinstance(service_name, str): + raise TypeError("Expected argument 'service_name' to be a str") + pulumi.set(__self__, "service_name", service_name) + if skuses and not isinstance(skuses, list): + raise TypeError("Expected argument 'skuses' to be a list") + pulumi.set(__self__, "skuses", skuses) + if start_date and not isinstance(start_date, str): + raise TypeError("Expected argument 'start_date' to be a str") + pulumi.set(__self__, "start_date", start_date) + 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 subscription_number and not isinstance(subscription_number, str): + raise TypeError("Expected argument 'subscription_number' to be a str") + pulumi.set(__self__, "subscription_number", subscription_number) + if subscription_tier and not isinstance(subscription_tier, str): + raise TypeError("Expected argument 'subscription_tier' to be a str") + pulumi.set(__self__, "subscription_tier", subscription_tier) + 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="classicSubscriptionId") + def classic_subscription_id(self) -> str: + """ + Classic subscription ID. + """ + return pulumi.get(self, "classic_subscription_id") + + @property + @pulumi.getter(name="cloudAmountCurrency") + def cloud_amount_currency(self) -> str: + """ + The currency code for the customer associated with the subscription. + """ + return pulumi.get(self, "cloud_amount_currency") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="csiNumber") + def csi_number(self) -> str: + """ + Customer service identifier for the customer associated with the subscription. + """ + return pulumi.get(self, "csi_number") + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + """ + Currency code. For example USD, MXN. + """ + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter(name="customerCountryCode") + def customer_country_code(self) -> str: + """ + The country code for the customer associated with the subscription. + """ + return pulumi.get(self, "customer_country_code") + + @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="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> str: + """ + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + """ + return pulumi.get(self, "entity_version") + + @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 provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isClassicSubscription") + def is_classic_subscription(self) -> bool: + """ + Specifies whether or not the subscription is from classic systems. + """ + return pulumi.get(self, "is_classic_subscription") + + @property + @pulumi.getter(name="isGovernmentSubscription") + def is_government_subscription(self) -> bool: + """ + Specifies whether or not the subscription is a government subscription. + """ + return pulumi.get(self, "is_government_subscription") + + @property + @pulumi.getter(name="paymentModel") + def payment_model(self) -> str: + """ + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + """ + return pulumi.get(self, "payment_model") + + @property + @pulumi.getter(name="programType") + def program_type(self) -> str: + """ + Specifies any program that is associated with the subscription. + """ + return pulumi.get(self, "program_type") + + @property + @pulumi.getter + def promotions(self) -> Sequence['outputs.GetSubscriptionPromotionResult']: + """ + List of promotions related to the subscription. + """ + return pulumi.get(self, "promotions") + + @property + @pulumi.getter(name="purchaseEntitlementId") + def purchase_entitlement_id(self) -> str: + """ + Purchase entitlement ID associated with the subscription. + """ + return pulumi.get(self, "purchase_entitlement_id") + + @property + @pulumi.getter(name="regionAssignment") + def region_assignment(self) -> str: + """ + Region for the subscription. + """ + return pulumi.get(self, "region_assignment") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> str: + """ + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + """ + return pulumi.get(self, "service_name") + + @property + @pulumi.getter + def skuses(self) -> Sequence['outputs.GetSubscriptionSkusResult']: + """ + List of SKUs linked to this subscription. + """ + return pulumi.get(self, "skuses") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the subscription. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="subscriptionNumber") + def subscription_number(self) -> str: + """ + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + """ + return pulumi.get(self, "subscription_number") + + @property + @pulumi.getter(name="subscriptionTier") + def subscription_tier(self) -> str: + """ + Tier for the subscription, whether a free promotion subscription or a paid subscription. + """ + return pulumi.get(self, "subscription_tier") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetSubscriptionResult(GetSubscriptionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionResult( + classic_subscription_id=self.classic_subscription_id, + cloud_amount_currency=self.cloud_amount_currency, + compartment_id=self.compartment_id, + csi_number=self.csi_number, + currency_code=self.currency_code, + customer_country_code=self.customer_country_code, + defined_tags=self.defined_tags, + end_date=self.end_date, + entity_version=self.entity_version, + freeform_tags=self.freeform_tags, + id=self.id, + is_classic_subscription=self.is_classic_subscription, + is_government_subscription=self.is_government_subscription, + payment_model=self.payment_model, + program_type=self.program_type, + promotions=self.promotions, + purchase_entitlement_id=self.purchase_entitlement_id, + region_assignment=self.region_assignment, + service_name=self.service_name, + skuses=self.skuses, + start_date=self.start_date, + state=self.state, + subscription_id=self.subscription_id, + subscription_number=self.subscription_number, + subscription_tier=self.subscription_tier, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_subscription(subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionResult: + """ + This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets the subscription details by subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription = oci.Tenantmanagercontrolplane.get_subscription(subscription_id=test_subscription_oci_tenantmanagercontrolplane_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscription:getSubscription', __args__, opts=opts, typ=GetSubscriptionResult).value + + return AwaitableGetSubscriptionResult( + classic_subscription_id=pulumi.get(__ret__, 'classic_subscription_id'), + cloud_amount_currency=pulumi.get(__ret__, 'cloud_amount_currency'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + csi_number=pulumi.get(__ret__, 'csi_number'), + currency_code=pulumi.get(__ret__, 'currency_code'), + customer_country_code=pulumi.get(__ret__, 'customer_country_code'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + end_date=pulumi.get(__ret__, 'end_date'), + entity_version=pulumi.get(__ret__, 'entity_version'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_classic_subscription=pulumi.get(__ret__, 'is_classic_subscription'), + is_government_subscription=pulumi.get(__ret__, 'is_government_subscription'), + payment_model=pulumi.get(__ret__, 'payment_model'), + program_type=pulumi.get(__ret__, 'program_type'), + promotions=pulumi.get(__ret__, 'promotions'), + purchase_entitlement_id=pulumi.get(__ret__, 'purchase_entitlement_id'), + region_assignment=pulumi.get(__ret__, 'region_assignment'), + service_name=pulumi.get(__ret__, 'service_name'), + skuses=pulumi.get(__ret__, 'skuses'), + start_date=pulumi.get(__ret__, 'start_date'), + state=pulumi.get(__ret__, 'state'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + subscription_number=pulumi.get(__ret__, 'subscription_number'), + subscription_tier=pulumi.get(__ret__, 'subscription_tier'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_subscription_output(subscription_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionResult]: + """ + This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Gets the subscription details by subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription = oci.Tenantmanagercontrolplane.get_subscription(subscription_id=test_subscription_oci_tenantmanagercontrolplane_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscription:getSubscription', __args__, opts=opts, typ=GetSubscriptionResult) + return __ret__.apply(lambda __response__: GetSubscriptionResult( + classic_subscription_id=pulumi.get(__response__, 'classic_subscription_id'), + cloud_amount_currency=pulumi.get(__response__, 'cloud_amount_currency'), + compartment_id=pulumi.get(__response__, 'compartment_id'), + csi_number=pulumi.get(__response__, 'csi_number'), + currency_code=pulumi.get(__response__, 'currency_code'), + customer_country_code=pulumi.get(__response__, 'customer_country_code'), + defined_tags=pulumi.get(__response__, 'defined_tags'), + end_date=pulumi.get(__response__, 'end_date'), + entity_version=pulumi.get(__response__, 'entity_version'), + freeform_tags=pulumi.get(__response__, 'freeform_tags'), + id=pulumi.get(__response__, 'id'), + is_classic_subscription=pulumi.get(__response__, 'is_classic_subscription'), + is_government_subscription=pulumi.get(__response__, 'is_government_subscription'), + payment_model=pulumi.get(__response__, 'payment_model'), + program_type=pulumi.get(__response__, 'program_type'), + promotions=pulumi.get(__response__, 'promotions'), + purchase_entitlement_id=pulumi.get(__response__, 'purchase_entitlement_id'), + region_assignment=pulumi.get(__response__, 'region_assignment'), + service_name=pulumi.get(__response__, 'service_name'), + skuses=pulumi.get(__response__, 'skuses'), + start_date=pulumi.get(__response__, 'start_date'), + state=pulumi.get(__response__, 'state'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + subscription_number=pulumi.get(__response__, 'subscription_number'), + subscription_tier=pulumi.get(__response__, 'subscription_tier'), + time_created=pulumi.get(__response__, 'time_created'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py new file mode 100644 index 0000000000..8105ee2f6e --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py @@ -0,0 +1,144 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubscriptionAvailableRegionsResult', + 'AwaitableGetSubscriptionAvailableRegionsResult', + 'get_subscription_available_regions', + 'get_subscription_available_regions_output', +] + +@pulumi.output_type +class GetSubscriptionAvailableRegionsResult: + """ + A collection of values returned by getSubscriptionAvailableRegions. + """ + def __init__(__self__, available_region_collections=None, filters=None, id=None, subscription_id=None): + if available_region_collections and not isinstance(available_region_collections, list): + raise TypeError("Expected argument 'available_region_collections' to be a list") + pulumi.set(__self__, "available_region_collections", available_region_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) + 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) + + @property + @pulumi.getter(name="availableRegionCollections") + def available_region_collections(self) -> Sequence['outputs.GetSubscriptionAvailableRegionsAvailableRegionCollectionResult']: + """ + The list of available_region_collection. + """ + return pulumi.get(self, "available_region_collections") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetSubscriptionAvailableRegionsFilterResult']]: + 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="subscriptionId") + def subscription_id(self) -> str: + return pulumi.get(self, "subscription_id") + + +class AwaitableGetSubscriptionAvailableRegionsResult(GetSubscriptionAvailableRegionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionAvailableRegionsResult( + available_region_collections=self.available_region_collections, + filters=self.filters, + id=self.id, + subscription_id=self.subscription_id) + + +def get_subscription_available_regions(filters: Optional[Sequence[Union['GetSubscriptionAvailableRegionsFilterArgs', 'GetSubscriptionAvailableRegionsFilterArgsDict']]] = None, + subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionAvailableRegionsResult: + """ + This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List the available regions based on subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_available_regions = oci.Tenantmanagercontrolplane.get_subscription_available_regions(subscription_id=test_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions', __args__, opts=opts, typ=GetSubscriptionAvailableRegionsResult).value + + return AwaitableGetSubscriptionAvailableRegionsResult( + available_region_collections=pulumi.get(__ret__, 'available_region_collections'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + subscription_id=pulumi.get(__ret__, 'subscription_id')) +def get_subscription_available_regions_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSubscriptionAvailableRegionsFilterArgs', 'GetSubscriptionAvailableRegionsFilterArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionAvailableRegionsResult]: + """ + This data source provides the list of Subscription Available Regions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List the available regions based on subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_available_regions = oci.Tenantmanagercontrolplane.get_subscription_available_regions(subscription_id=test_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscriptionAvailableRegions:getSubscriptionAvailableRegions', __args__, opts=opts, typ=GetSubscriptionAvailableRegionsResult) + return __ret__.apply(lambda __response__: GetSubscriptionAvailableRegionsResult( + available_region_collections=pulumi.get(__response__, 'available_region_collections'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + subscription_id=pulumi.get(__response__, 'subscription_id'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py new file mode 100644 index 0000000000..b9af39484d --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py @@ -0,0 +1,144 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubscriptionLineItemsResult', + 'AwaitableGetSubscriptionLineItemsResult', + 'get_subscription_line_items', + 'get_subscription_line_items_output', +] + +@pulumi.output_type +class GetSubscriptionLineItemsResult: + """ + A collection of values returned by getSubscriptionLineItems. + """ + def __init__(__self__, filters=None, id=None, subscription_id=None, subscription_line_item_collections=None): + 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 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 subscription_line_item_collections and not isinstance(subscription_line_item_collections, list): + raise TypeError("Expected argument 'subscription_line_item_collections' to be a list") + pulumi.set(__self__, "subscription_line_item_collections", subscription_line_item_collections) + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetSubscriptionLineItemsFilterResult']]: + 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="subscriptionId") + def subscription_id(self) -> str: + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="subscriptionLineItemCollections") + def subscription_line_item_collections(self) -> Sequence['outputs.GetSubscriptionLineItemsSubscriptionLineItemCollectionResult']: + """ + The list of subscription_line_item_collection. + """ + return pulumi.get(self, "subscription_line_item_collections") + + +class AwaitableGetSubscriptionLineItemsResult(GetSubscriptionLineItemsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionLineItemsResult( + filters=self.filters, + id=self.id, + subscription_id=self.subscription_id, + subscription_line_item_collections=self.subscription_line_item_collections) + + +def get_subscription_line_items(filters: Optional[Sequence[Union['GetSubscriptionLineItemsFilterArgs', 'GetSubscriptionLineItemsFilterArgsDict']]] = None, + subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionLineItemsResult: + """ + This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists the line items in a subscription. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_line_items = oci.Tenantmanagercontrolplane.get_subscription_line_items(subscription_id=test_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems', __args__, opts=opts, typ=GetSubscriptionLineItemsResult).value + + return AwaitableGetSubscriptionLineItemsResult( + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + subscription_line_item_collections=pulumi.get(__ret__, 'subscription_line_item_collections')) +def get_subscription_line_items_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSubscriptionLineItemsFilterArgs', 'GetSubscriptionLineItemsFilterArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionLineItemsResult]: + """ + This data source provides the list of Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists the line items in a subscription. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_line_items = oci.Tenantmanagercontrolplane.get_subscription_line_items(subscription_id=test_subscription["id"]) + ``` + + + :param str subscription_id: OCID of the subscription. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscriptionLineItems:getSubscriptionLineItems', __args__, opts=opts, typ=GetSubscriptionLineItemsResult) + return __ret__.apply(lambda __response__: GetSubscriptionLineItemsResult( + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + subscription_line_item_collections=pulumi.get(__response__, 'subscription_line_item_collections'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py new file mode 100644 index 0000000000..ff50f2890e --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py @@ -0,0 +1,211 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'GetSubscriptionMappingResult', + 'AwaitableGetSubscriptionMappingResult', + 'get_subscription_mapping', + 'get_subscription_mapping_output', +] + +@pulumi.output_type +class GetSubscriptionMappingResult: + """ + A collection of values returned by getSubscriptionMapping. + """ + def __init__(__self__, compartment_id=None, id=None, is_explicitly_assigned=None, state=None, subscription_id=None, subscription_mapping_id=None, time_created=None, time_terminated=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 id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_explicitly_assigned and not isinstance(is_explicitly_assigned, bool): + raise TypeError("Expected argument 'is_explicitly_assigned' to be a bool") + pulumi.set(__self__, "is_explicitly_assigned", is_explicitly_assigned) + 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 subscription_mapping_id and not isinstance(subscription_mapping_id, str): + raise TypeError("Expected argument 'subscription_mapping_id' to be a str") + pulumi.set(__self__, "subscription_mapping_id", subscription_mapping_id) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_terminated and not isinstance(time_terminated, str): + raise TypeError("Expected argument 'time_terminated' to be a str") + pulumi.set(__self__, "time_terminated", time_terminated) + 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: + """ + OCID of the compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + OCID of the mapping between subscription and compartment identified by the tenancy. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isExplicitlyAssigned") + def is_explicitly_assigned(self) -> bool: + """ + Denotes if the subscription is explicity assigned to the root compartment or tenancy. + """ + return pulumi.get(self, "is_explicitly_assigned") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the subscriptionMapping. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + OCID of the subscription. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="subscriptionMappingId") + def subscription_mapping_id(self) -> str: + return pulumi.get(self, "subscription_mapping_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date-time when subscription mapping was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeTerminated") + def time_terminated(self) -> str: + """ + Date-time when subscription mapping was terminated. + """ + return pulumi.get(self, "time_terminated") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when subscription mapping was updated. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetSubscriptionMappingResult(GetSubscriptionMappingResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionMappingResult( + compartment_id=self.compartment_id, + id=self.id, + is_explicitly_assigned=self.is_explicitly_assigned, + state=self.state, + subscription_id=self.subscription_id, + subscription_mapping_id=self.subscription_mapping_id, + time_created=self.time_created, + time_terminated=self.time_terminated, + time_updated=self.time_updated) + + +def get_subscription_mapping(subscription_mapping_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionMappingResult: + """ + This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Get the subscription mapping details by subscription mapping ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mapping = oci.Tenantmanagercontrolplane.get_subscription_mapping(subscription_mapping_id=test_subscription_mapping_oci_tenantmanagercontrolplane_subscription_mapping["id"]) + ``` + + + :param str subscription_mapping_id: OCID of the subscriptionMappingId. + """ + __args__ = dict() + __args__['subscriptionMappingId'] = subscription_mapping_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping', __args__, opts=opts, typ=GetSubscriptionMappingResult).value + + return AwaitableGetSubscriptionMappingResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + id=pulumi.get(__ret__, 'id'), + is_explicitly_assigned=pulumi.get(__ret__, 'is_explicitly_assigned'), + state=pulumi.get(__ret__, 'state'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + subscription_mapping_id=pulumi.get(__ret__, 'subscription_mapping_id'), + time_created=pulumi.get(__ret__, 'time_created'), + time_terminated=pulumi.get(__ret__, 'time_terminated'), + time_updated=pulumi.get(__ret__, 'time_updated')) +def get_subscription_mapping_output(subscription_mapping_id: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionMappingResult]: + """ + This data source provides details about a specific Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Get the subscription mapping details by subscription mapping ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mapping = oci.Tenantmanagercontrolplane.get_subscription_mapping(subscription_mapping_id=test_subscription_mapping_oci_tenantmanagercontrolplane_subscription_mapping["id"]) + ``` + + + :param str subscription_mapping_id: OCID of the subscriptionMappingId. + """ + __args__ = dict() + __args__['subscriptionMappingId'] = subscription_mapping_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscriptionMapping:getSubscriptionMapping', __args__, opts=opts, typ=GetSubscriptionMappingResult) + return __ret__.apply(lambda __response__: GetSubscriptionMappingResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + id=pulumi.get(__response__, 'id'), + is_explicitly_assigned=pulumi.get(__response__, 'is_explicitly_assigned'), + state=pulumi.get(__response__, 'state'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + subscription_mapping_id=pulumi.get(__response__, 'subscription_mapping_id'), + time_created=pulumi.get(__response__, 'time_created'), + time_terminated=pulumi.get(__response__, 'time_terminated'), + time_updated=pulumi.get(__response__, 'time_updated'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py new file mode 100644 index 0000000000..a43d1ab3b3 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubscriptionMappingsResult', + 'AwaitableGetSubscriptionMappingsResult', + 'get_subscription_mappings', + 'get_subscription_mappings_output', +] + +@pulumi.output_type +class GetSubscriptionMappingsResult: + """ + A collection of values returned by getSubscriptionMappings. + """ + def __init__(__self__, compartment_id=None, filters=None, id=None, state=None, subscription_id=None, subscription_mapping_collections=None, subscription_mapping_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 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) + 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 subscription_mapping_collections and not isinstance(subscription_mapping_collections, list): + raise TypeError("Expected argument 'subscription_mapping_collections' to be a list") + pulumi.set(__self__, "subscription_mapping_collections", subscription_mapping_collections) + if subscription_mapping_id and not isinstance(subscription_mapping_id, str): + raise TypeError("Expected argument 'subscription_mapping_id' to be a str") + pulumi.set(__self__, "subscription_mapping_id", subscription_mapping_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + OCID of the compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetSubscriptionMappingsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the subscriptionMapping. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + OCID of the subscription. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="subscriptionMappingCollections") + def subscription_mapping_collections(self) -> Sequence['outputs.GetSubscriptionMappingsSubscriptionMappingCollectionResult']: + """ + The list of subscription_mapping_collection. + """ + return pulumi.get(self, "subscription_mapping_collections") + + @property + @pulumi.getter(name="subscriptionMappingId") + def subscription_mapping_id(self) -> Optional[str]: + return pulumi.get(self, "subscription_mapping_id") + + +class AwaitableGetSubscriptionMappingsResult(GetSubscriptionMappingsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionMappingsResult( + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + state=self.state, + subscription_id=self.subscription_id, + subscription_mapping_collections=self.subscription_mapping_collections, + subscription_mapping_id=self.subscription_mapping_id) + + +def get_subscription_mappings(compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetSubscriptionMappingsFilterArgs', 'GetSubscriptionMappingsFilterArgsDict']]] = None, + state: Optional[str] = None, + subscription_id: Optional[str] = None, + subscription_mapping_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionMappingsResult: + """ + This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mappings = oci.Tenantmanagercontrolplane.get_subscription_mappings(subscription_id=test_subscription["id"], + compartment_id=compartment_id, + state=subscription_mapping_state, + subscription_mapping_id=test_subscription_mapping["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str state: The lifecycle state of the resource. + :param str subscription_id: OCID of the subscription. + :param str subscription_mapping_id: A unique ID for subscription and tenancy mapping. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['state'] = state + __args__['subscriptionId'] = subscription_id + __args__['subscriptionMappingId'] = subscription_mapping_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings', __args__, opts=opts, typ=GetSubscriptionMappingsResult).value + + return AwaitableGetSubscriptionMappingsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + state=pulumi.get(__ret__, 'state'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + subscription_mapping_collections=pulumi.get(__ret__, 'subscription_mapping_collections'), + subscription_mapping_id=pulumi.get(__ret__, 'subscription_mapping_id')) +def get_subscription_mappings_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSubscriptionMappingsFilterArgs', 'GetSubscriptionMappingsFilterArgsDict']]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + subscription_mapping_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionMappingsResult]: + """ + This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mappings = oci.Tenantmanagercontrolplane.get_subscription_mappings(subscription_id=test_subscription["id"], + compartment_id=compartment_id, + state=subscription_mapping_state, + subscription_mapping_id=test_subscription_mapping["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str state: The lifecycle state of the resource. + :param str subscription_id: OCID of the subscription. + :param str subscription_mapping_id: A unique ID for subscription and tenancy mapping. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['state'] = state + __args__['subscriptionId'] = subscription_id + __args__['subscriptionMappingId'] = subscription_mapping_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscriptionMappings:getSubscriptionMappings', __args__, opts=opts, typ=GetSubscriptionMappingsResult) + return __ret__.apply(lambda __response__: GetSubscriptionMappingsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + state=pulumi.get(__response__, 'state'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + subscription_mapping_collections=pulumi.get(__response__, 'subscription_mapping_collections'), + subscription_mapping_id=pulumi.get(__response__, 'subscription_mapping_id'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py new file mode 100644 index 0000000000..4638433f79 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py @@ -0,0 +1,188 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubscriptionsResult', + 'AwaitableGetSubscriptionsResult', + 'get_subscriptions', + 'get_subscriptions_output', +] + +@pulumi.output_type +class GetSubscriptionsResult: + """ + A collection of values returned by getSubscriptions. + """ + def __init__(__self__, compartment_id=None, entity_version=None, filters=None, id=None, subscription_collections=None, subscription_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 entity_version and not isinstance(entity_version, str): + raise TypeError("Expected argument 'entity_version' to be a str") + pulumi.set(__self__, "entity_version", entity_version) + 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 subscription_collections and not isinstance(subscription_collections, list): + raise TypeError("Expected argument 'subscription_collections' to be a list") + pulumi.set(__self__, "subscription_collections", subscription_collections) + 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) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[str]: + """ + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + """ + return pulumi.get(self, "entity_version") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetSubscriptionsFilterResult']]: + 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="subscriptionCollections") + def subscription_collections(self) -> Sequence['outputs.GetSubscriptionsSubscriptionCollectionResult']: + """ + The list of subscription_collection. + """ + return pulumi.get(self, "subscription_collections") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + return pulumi.get(self, "subscription_id") + + +class AwaitableGetSubscriptionsResult(GetSubscriptionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubscriptionsResult( + compartment_id=self.compartment_id, + entity_version=self.entity_version, + filters=self.filters, + id=self.id, + subscription_collections=self.subscription_collections, + subscription_id=self.subscription_id) + + +def get_subscriptions(compartment_id: Optional[str] = None, + entity_version: Optional[str] = None, + filters: Optional[Sequence[Union['GetSubscriptionsFilterArgs', 'GetSubscriptionsFilterArgsDict']]] = None, + subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubscriptionsResult: + """ + This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List the subscriptions that a compartment owns. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscriptions = oci.Tenantmanagercontrolplane.get_subscriptions(compartment_id=compartment_id, + entity_version=subscription_entity_version, + subscription_id=test_subscription["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str entity_version: The version of the subscription entity. + :param str subscription_id: The ID of the subscription to which the tenancy is associated. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['entityVersion'] = entity_version + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions', __args__, opts=opts, typ=GetSubscriptionsResult).value + + return AwaitableGetSubscriptionsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + entity_version=pulumi.get(__ret__, 'entity_version'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + subscription_collections=pulumi.get(__ret__, 'subscription_collections'), + subscription_id=pulumi.get(__ret__, 'subscription_id')) +def get_subscriptions_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + entity_version: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSubscriptionsFilterArgs', 'GetSubscriptionsFilterArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubscriptionsResult]: + """ + This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + List the subscriptions that a compartment owns. Only the root compartment is allowed. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscriptions = oci.Tenantmanagercontrolplane.get_subscriptions(compartment_id=compartment_id, + entity_version=subscription_entity_version, + subscription_id=test_subscription["id"]) + ``` + + + :param str compartment_id: The ID of the compartment in which to list resources. + :param str entity_version: The version of the subscription entity. + :param str subscription_id: The ID of the subscription to which the tenancy is associated. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['entityVersion'] = entity_version + __args__['filters'] = filters + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getSubscriptions:getSubscriptions', __args__, opts=opts, typ=GetSubscriptionsResult) + return __ret__.apply(lambda __response__: GetSubscriptionsResult( + compartment_id=pulumi.get(__response__, 'compartment_id'), + entity_version=pulumi.get(__response__, 'entity_version'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + subscription_collections=pulumi.get(__response__, 'subscription_collections'), + subscription_id=pulumi.get(__response__, 'subscription_id'))) diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/outputs.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/outputs.py new file mode 100644 index 0000000000..bdb1040dc2 --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/outputs.py @@ -0,0 +1,3257 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult', + 'GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult', + 'GetAssignedSubscriptionLineItemsFilterResult', + 'GetAssignedSubscriptionPromotionResult', + 'GetAssignedSubscriptionSkusResult', + 'GetAssignedSubscriptionsAssignedSubscriptionCollectionResult', + 'GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult', + 'GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult', + 'GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult', + 'GetAssignedSubscriptionsFilterResult', + 'GetDomainGovernancesDomainGovernanceCollectionResult', + 'GetDomainGovernancesDomainGovernanceCollectionItemResult', + 'GetDomainGovernancesFilterResult', + 'GetDomainsDomainCollectionResult', + 'GetDomainsDomainCollectionItemResult', + 'GetDomainsFilterResult', + 'GetLinksFilterResult', + 'GetLinksLinkCollectionResult', + 'GetLinksLinkCollectionItemResult', + 'GetOrganizationTenanciesFilterResult', + 'GetOrganizationTenanciesOrganizationTenancyCollectionResult', + 'GetOrganizationTenanciesOrganizationTenancyCollectionItemResult', + 'GetOrganizationsFilterResult', + 'GetOrganizationsOrganizationCollectionResult', + 'GetOrganizationsOrganizationCollectionItemResult', + 'GetRecipientInvitationsFilterResult', + 'GetRecipientInvitationsRecipientInvitationCollectionResult', + 'GetRecipientInvitationsRecipientInvitationCollectionItemResult', + 'GetSenderInvitationsFilterResult', + 'GetSenderInvitationsSenderInvitationCollectionResult', + 'GetSenderInvitationsSenderInvitationCollectionItemResult', + 'GetSubscriptionAvailableRegionsAvailableRegionCollectionResult', + 'GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult', + 'GetSubscriptionAvailableRegionsFilterResult', + 'GetSubscriptionLineItemsFilterResult', + 'GetSubscriptionLineItemsSubscriptionLineItemCollectionResult', + 'GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult', + 'GetSubscriptionMappingsFilterResult', + 'GetSubscriptionMappingsSubscriptionMappingCollectionResult', + 'GetSubscriptionMappingsSubscriptionMappingCollectionItemResult', + 'GetSubscriptionPromotionResult', + 'GetSubscriptionSkusResult', + 'GetSubscriptionsFilterResult', + 'GetSubscriptionsSubscriptionCollectionResult', + 'GetSubscriptionsSubscriptionCollectionItemResult', + 'GetSubscriptionsSubscriptionCollectionItemPromotionResult', + 'GetSubscriptionsSubscriptionCollectionItemSkusResult', +] + +@pulumi.output_type +class GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult']): + """ + :param Sequence['GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemArgs'] items: Array containing line item summaries in an assigned subscription. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult']: + """ + Array containing line item summaries in an assigned subscription. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionItemResult(dict): + def __init__(__self__, *, + billing_model: str, + id: str, + product_code: str, + quantity: float, + system_tags: Mapping[str, str], + time_ended: str, + time_started: str): + """ + :param str billing_model: Billing model supported by the associated line item. + :param str id: Subscription line item identifier. + :param str product_code: Product code. + :param float quantity: Product number. + :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_ended: The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + :param str time_started: The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + """ + pulumi.set(__self__, "billing_model", billing_model) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "product_code", product_code) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_ended", time_ended) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter(name="billingModel") + def billing_model(self) -> str: + """ + Billing model supported by the associated line item. + """ + return pulumi.get(self, "billing_model") + + @property + @pulumi.getter + def id(self) -> str: + """ + Subscription line item identifier. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="productCode") + def product_code(self) -> str: + """ + Product code. + """ + return pulumi.get(self, "product_code") + + @property + @pulumi.getter + def quantity(self) -> float: + """ + Product number. + """ + return pulumi.get(self, "quantity") + + @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="timeEnded") + def time_ended(self) -> str: + """ + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + """ + return pulumi.get(self, "time_ended") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetAssignedSubscriptionLineItemsFilterResult(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 GetAssignedSubscriptionPromotionResult(dict): + def __init__(__self__, *, + amount: float, + currency_unit: str, + duration: int, + duration_unit: str, + is_intent_to_pay: bool, + status: str, + time_expired: str, + time_started: str): + """ + :param float amount: If a subscription is present, indicates the total amount of promotional subscription credits. + :param str currency_unit: Currency unit associated with the promotion. + :param int duration: Specifies how long the promotion related to the subscription, if any, is valid in duration units. + :param str duration_unit: Unit for the duration. + :param bool is_intent_to_pay: Speficies whether or not the customer intends to pay after the promotion has expired. + :param str status: If a subscription is present, indicates the current status of the subscription promotion. + :param str time_expired: Date and time when the promotion ends. + :param str time_started: Date and time when the promotion starts. + """ + pulumi.set(__self__, "amount", amount) + pulumi.set(__self__, "currency_unit", currency_unit) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "duration_unit", duration_unit) + pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "time_expired", time_expired) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter + def amount(self) -> float: + """ + If a subscription is present, indicates the total amount of promotional subscription credits. + """ + return pulumi.get(self, "amount") + + @property + @pulumi.getter(name="currencyUnit") + def currency_unit(self) -> str: + """ + Currency unit associated with the promotion. + """ + return pulumi.get(self, "currency_unit") + + @property + @pulumi.getter + def duration(self) -> int: + """ + Specifies how long the promotion related to the subscription, if any, is valid in duration units. + """ + return pulumi.get(self, "duration") + + @property + @pulumi.getter(name="durationUnit") + def duration_unit(self) -> str: + """ + Unit for the duration. + """ + return pulumi.get(self, "duration_unit") + + @property + @pulumi.getter(name="isIntentToPay") + def is_intent_to_pay(self) -> bool: + """ + Speficies whether or not the customer intends to pay after the promotion has expired. + """ + return pulumi.get(self, "is_intent_to_pay") + + @property + @pulumi.getter + def status(self) -> str: + """ + If a subscription is present, indicates the current status of the subscription promotion. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="timeExpired") + def time_expired(self) -> str: + """ + Date and time when the promotion ends. + """ + return pulumi.get(self, "time_expired") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + Date and time when the promotion starts. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetAssignedSubscriptionSkusResult(dict): + def __init__(__self__, *, + description: str, + end_date: str, + gsi_order_line_id: str, + is_additional_instance: bool, + is_base_service_component: bool, + license_part_description: str, + metric_name: str, + quantity: int, + sku: str, + start_date: str): + """ + :param str description: Description of the stock units. + :param str end_date: Date and time when the SKU ended. + :param str gsi_order_line_id: Sales order line identifier. + :param bool is_additional_instance: Specifies if an additional test instance can be provisioned by the SaaS application. + :param bool is_base_service_component: Specifies if the SKU is considered as a parent or child. + :param str license_part_description: Description of the covered product belonging to this SKU. + :param str metric_name: Base metric for billing the service. + :param int quantity: Quantity of the stock units. + :param str sku: Stock Keeping Unit (SKU) ID. + :param str start_date: Subscription start time. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "gsi_order_line_id", gsi_order_line_id) + pulumi.set(__self__, "is_additional_instance", is_additional_instance) + pulumi.set(__self__, "is_base_service_component", is_base_service_component) + pulumi.set(__self__, "license_part_description", license_part_description) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "sku", sku) + pulumi.set(__self__, "start_date", start_date) + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the stock units. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="gsiOrderLineId") + def gsi_order_line_id(self) -> str: + """ + Sales order line identifier. + """ + return pulumi.get(self, "gsi_order_line_id") + + @property + @pulumi.getter(name="isAdditionalInstance") + def is_additional_instance(self) -> bool: + """ + Specifies if an additional test instance can be provisioned by the SaaS application. + """ + return pulumi.get(self, "is_additional_instance") + + @property + @pulumi.getter(name="isBaseServiceComponent") + def is_base_service_component(self) -> bool: + """ + Specifies if the SKU is considered as a parent or child. + """ + return pulumi.get(self, "is_base_service_component") + + @property + @pulumi.getter(name="licensePartDescription") + def license_part_description(self) -> str: + """ + Description of the covered product belonging to this SKU. + """ + return pulumi.get(self, "license_part_description") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + Base metric for billing the service. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def quantity(self) -> int: + """ + Quantity of the stock units. + """ + return pulumi.get(self, "quantity") + + @property + @pulumi.getter + def sku(self) -> str: + """ + Stock Keeping Unit (SKU) ID. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + +@pulumi.output_type +class GetAssignedSubscriptionsAssignedSubscriptionCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemResult(dict): + def __init__(__self__, *, + classic_subscription_id: str, + cloud_amount_currency: str, + compartment_id: str, + csi_number: str, + currency_code: str, + customer_country_code: str, + defined_tags: Mapping[str, str], + end_date: str, + entity_version: str, + freeform_tags: Mapping[str, str], + id: str, + is_classic_subscription: bool, + is_government_subscription: bool, + managed_by: str, + order_ids: Sequence[str], + program_type: str, + promotions: Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult'], + purchase_entitlement_id: str, + region_assignment: str, + service_name: str, + skuses: Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult'], + start_date: str, + state: str, + subscription_number: str, + subscription_tier: str, + time_created: str, + time_updated: str): + """ + :param str classic_subscription_id: Subscription ID. + :param str cloud_amount_currency: The currency code for the customer associated with the subscription. + :param str compartment_id: The ID of the compartment in which to list resources. + :param str csi_number: Customer service identifier for the customer associated with the subscription. + :param str currency_code: Currency code. For example USD, MXN. + :param str customer_country_code: The country code for the customer associated with the subscription. + :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 end_date: Date and time when the SKU ended. + :param str entity_version: The version of the subscription entity. + :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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + :param bool is_classic_subscription: Specifies whether or not the subscription is legacy. + :param bool is_government_subscription: Specifies whether or not the subscription is a government subscription. + :param str managed_by: Service or component which is used to provision and manage the subscription. + :param Sequence[str] order_ids: List of subscription order OCIDs that contributed to this subscription. + :param str program_type: Specifies any program that is associated with the subscription. + :param Sequence['GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionArgs'] promotions: List of promotions related to the subscription. + :param str purchase_entitlement_id: Purchase entitlement ID associated with the subscription. + :param str region_assignment: Region for the subscription. + :param str service_name: The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + :param Sequence['GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusArgs'] skuses: List of SKUs linked to the subscription. + :param str start_date: Subscription start time. + :param str state: Lifecycle state of the subscription. + :param str subscription_number: Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + :param str subscription_tier: Tier for the subscription, whether a free promotion subscription or a paid subscription. + :param str time_created: The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + :param str time_updated: The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + pulumi.set(__self__, "classic_subscription_id", classic_subscription_id) + pulumi.set(__self__, "cloud_amount_currency", cloud_amount_currency) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "csi_number", csi_number) + pulumi.set(__self__, "currency_code", currency_code) + pulumi.set(__self__, "customer_country_code", customer_country_code) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "entity_version", entity_version) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_classic_subscription", is_classic_subscription) + pulumi.set(__self__, "is_government_subscription", is_government_subscription) + pulumi.set(__self__, "managed_by", managed_by) + pulumi.set(__self__, "order_ids", order_ids) + pulumi.set(__self__, "program_type", program_type) + pulumi.set(__self__, "promotions", promotions) + pulumi.set(__self__, "purchase_entitlement_id", purchase_entitlement_id) + pulumi.set(__self__, "region_assignment", region_assignment) + pulumi.set(__self__, "service_name", service_name) + pulumi.set(__self__, "skuses", skuses) + pulumi.set(__self__, "start_date", start_date) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "subscription_number", subscription_number) + pulumi.set(__self__, "subscription_tier", subscription_tier) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="classicSubscriptionId") + def classic_subscription_id(self) -> str: + """ + Subscription ID. + """ + return pulumi.get(self, "classic_subscription_id") + + @property + @pulumi.getter(name="cloudAmountCurrency") + def cloud_amount_currency(self) -> str: + """ + The currency code for the customer associated with the subscription. + """ + return pulumi.get(self, "cloud_amount_currency") + + @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="csiNumber") + def csi_number(self) -> str: + """ + Customer service identifier for the customer associated with the subscription. + """ + return pulumi.get(self, "csi_number") + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + """ + Currency code. For example USD, MXN. + """ + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter(name="customerCountryCode") + def customer_country_code(self) -> str: + """ + The country code for the customer associated with the subscription. + """ + return pulumi.get(self, "customer_country_code") + + @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="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> str: + """ + The version of the subscription entity. + """ + return pulumi.get(self, "entity_version") + + @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isClassicSubscription") + def is_classic_subscription(self) -> bool: + """ + Specifies whether or not the subscription is legacy. + """ + return pulumi.get(self, "is_classic_subscription") + + @property + @pulumi.getter(name="isGovernmentSubscription") + def is_government_subscription(self) -> bool: + """ + Specifies whether or not the subscription is a government subscription. + """ + return pulumi.get(self, "is_government_subscription") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> str: + """ + Service or component which is used to provision and manage the subscription. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter(name="orderIds") + def order_ids(self) -> Sequence[str]: + """ + List of subscription order OCIDs that contributed to this subscription. + """ + return pulumi.get(self, "order_ids") + + @property + @pulumi.getter(name="programType") + def program_type(self) -> str: + """ + Specifies any program that is associated with the subscription. + """ + return pulumi.get(self, "program_type") + + @property + @pulumi.getter + def promotions(self) -> Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult']: + """ + List of promotions related to the subscription. + """ + return pulumi.get(self, "promotions") + + @property + @pulumi.getter(name="purchaseEntitlementId") + def purchase_entitlement_id(self) -> str: + """ + Purchase entitlement ID associated with the subscription. + """ + return pulumi.get(self, "purchase_entitlement_id") + + @property + @pulumi.getter(name="regionAssignment") + def region_assignment(self) -> str: + """ + Region for the subscription. + """ + return pulumi.get(self, "region_assignment") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> str: + """ + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + """ + return pulumi.get(self, "service_name") + + @property + @pulumi.getter + def skuses(self) -> Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult']: + """ + List of SKUs linked to the subscription. + """ + return pulumi.get(self, "skuses") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the subscription. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionNumber") + def subscription_number(self) -> str: + """ + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + """ + return pulumi.get(self, "subscription_number") + + @property + @pulumi.getter(name="subscriptionTier") + def subscription_tier(self) -> str: + """ + Tier for the subscription, whether a free promotion subscription or a paid subscription. + """ + return pulumi.get(self, "subscription_tier") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemPromotionResult(dict): + def __init__(__self__, *, + amount: float, + currency_unit: str, + duration: int, + duration_unit: str, + is_intent_to_pay: bool, + status: str, + time_expired: str, + time_started: str): + """ + :param float amount: If a subscription is present, indicates the total amount of promotional subscription credits. + :param str currency_unit: Currency unit associated with the promotion. + :param int duration: Specifies how long the promotion related to the subscription, if any, is valid in duration units. + :param str duration_unit: Unit for the duration. + :param bool is_intent_to_pay: Speficies whether or not the customer intends to pay after the promotion has expired. + :param str status: If a subscription is present, indicates the current status of the subscription promotion. + :param str time_expired: Date and time when the promotion ends. + :param str time_started: Date and time when the promotion starts. + """ + pulumi.set(__self__, "amount", amount) + pulumi.set(__self__, "currency_unit", currency_unit) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "duration_unit", duration_unit) + pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "time_expired", time_expired) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter + def amount(self) -> float: + """ + If a subscription is present, indicates the total amount of promotional subscription credits. + """ + return pulumi.get(self, "amount") + + @property + @pulumi.getter(name="currencyUnit") + def currency_unit(self) -> str: + """ + Currency unit associated with the promotion. + """ + return pulumi.get(self, "currency_unit") + + @property + @pulumi.getter + def duration(self) -> int: + """ + Specifies how long the promotion related to the subscription, if any, is valid in duration units. + """ + return pulumi.get(self, "duration") + + @property + @pulumi.getter(name="durationUnit") + def duration_unit(self) -> str: + """ + Unit for the duration. + """ + return pulumi.get(self, "duration_unit") + + @property + @pulumi.getter(name="isIntentToPay") + def is_intent_to_pay(self) -> bool: + """ + Speficies whether or not the customer intends to pay after the promotion has expired. + """ + return pulumi.get(self, "is_intent_to_pay") + + @property + @pulumi.getter + def status(self) -> str: + """ + If a subscription is present, indicates the current status of the subscription promotion. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="timeExpired") + def time_expired(self) -> str: + """ + Date and time when the promotion ends. + """ + return pulumi.get(self, "time_expired") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + Date and time when the promotion starts. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetAssignedSubscriptionsAssignedSubscriptionCollectionItemSkusResult(dict): + def __init__(__self__, *, + description: str, + end_date: str, + gsi_order_line_id: str, + is_additional_instance: bool, + is_base_service_component: bool, + license_part_description: str, + metric_name: str, + quantity: int, + sku: str, + start_date: str): + """ + :param str description: Description of the stock units. + :param str end_date: Date and time when the SKU ended. + :param str gsi_order_line_id: Sales order line identifier. + :param bool is_additional_instance: Specifies if an additional test instance can be provisioned by the SaaS application. + :param bool is_base_service_component: Specifies if the SKU is considered as a parent or child. + :param str license_part_description: Description of the covered product belonging to this SKU. + :param str metric_name: Base metric for billing the service. + :param int quantity: Quantity of the stock units. + :param str sku: Stock Keeping Unit (SKU) ID. + :param str start_date: Subscription start time. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "gsi_order_line_id", gsi_order_line_id) + pulumi.set(__self__, "is_additional_instance", is_additional_instance) + pulumi.set(__self__, "is_base_service_component", is_base_service_component) + pulumi.set(__self__, "license_part_description", license_part_description) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "sku", sku) + pulumi.set(__self__, "start_date", start_date) + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the stock units. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="gsiOrderLineId") + def gsi_order_line_id(self) -> str: + """ + Sales order line identifier. + """ + return pulumi.get(self, "gsi_order_line_id") + + @property + @pulumi.getter(name="isAdditionalInstance") + def is_additional_instance(self) -> bool: + """ + Specifies if an additional test instance can be provisioned by the SaaS application. + """ + return pulumi.get(self, "is_additional_instance") + + @property + @pulumi.getter(name="isBaseServiceComponent") + def is_base_service_component(self) -> bool: + """ + Specifies if the SKU is considered as a parent or child. + """ + return pulumi.get(self, "is_base_service_component") + + @property + @pulumi.getter(name="licensePartDescription") + def license_part_description(self) -> str: + """ + Description of the covered product belonging to this SKU. + """ + return pulumi.get(self, "license_part_description") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + Base metric for billing the service. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def quantity(self) -> int: + """ + Quantity of the stock units. + """ + return pulumi.get(self, "quantity") + + @property + @pulumi.getter + def sku(self) -> str: + """ + Stock Keeping Unit (SKU) ID. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + +@pulumi.output_type +class GetAssignedSubscriptionsFilterResult(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 GetDomainGovernancesDomainGovernanceCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDomainGovernancesDomainGovernanceCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDomainGovernancesDomainGovernanceCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDomainGovernancesDomainGovernanceCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + domain_id: str, + freeform_tags: Mapping[str, str], + id: str, + is_governance_enabled: bool, + ons_subscription_id: str, + ons_topic_id: str, + owner_id: str, + state: str, + subscription_email: str, + system_tags: Mapping[str, str], + time_created: str, + time_updated: 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 domain_id: The domain OCID. + :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 OCID of the domain governance entity. + :param bool is_governance_enabled: Indicates whether governance is enabled for this domain. + :param str ons_subscription_id: The ONS subscription associated with this domain governance entity. + :param str ons_topic_id: The ONS topic associated with this domain governance entity. + :param str owner_id: The OCID of the tenancy that owns this domain governance entity. + :param str state: The lifecycle state of the resource. + :param str subscription_email: Email address to be used to notify the user, and that the ONS subscription will be created with. + :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: Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + :param str time_updated: Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "domain_id", domain_id) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_governance_enabled", is_governance_enabled) + pulumi.set(__self__, "ons_subscription_id", ons_subscription_id) + pulumi.set(__self__, "ons_topic_id", ons_topic_id) + pulumi.set(__self__, "owner_id", owner_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "subscription_email", subscription_email) + 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 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(name="domainId") + def domain_id(self) -> str: + """ + The domain OCID. + """ + return pulumi.get(self, "domain_id") + + @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 OCID of the domain governance entity. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isGovernanceEnabled") + def is_governance_enabled(self) -> bool: + """ + Indicates whether governance is enabled for this domain. + """ + return pulumi.get(self, "is_governance_enabled") + + @property + @pulumi.getter(name="onsSubscriptionId") + def ons_subscription_id(self) -> str: + """ + The ONS subscription associated with this domain governance entity. + """ + return pulumi.get(self, "ons_subscription_id") + + @property + @pulumi.getter(name="onsTopicId") + def ons_topic_id(self) -> str: + """ + The ONS topic associated with this domain governance entity. + """ + return pulumi.get(self, "ons_topic_id") + + @property + @pulumi.getter(name="ownerId") + def owner_id(self) -> str: + """ + The OCID of the tenancy that owns this domain governance entity. + """ + return pulumi.get(self, "owner_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionEmail") + def subscription_email(self) -> str: + """ + Email address to be used to notify the user, and that the ONS subscription will be created with. + """ + return pulumi.get(self, "subscription_email") + + @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: + """ + Date-time when this domain governance was created. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetDomainGovernancesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return only resources that exactly match the 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 exactly match the 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 GetDomainsDomainCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDomainsDomainCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDomainsDomainCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDomainsDomainCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + domain_name: str, + freeform_tags: Mapping[str, str], + id: str, + is_governance_enabled: bool, + owner_id: str, + state: str, + status: str, + subscription_email: str, + system_tags: Mapping[str, str], + time_created: str, + time_updated: str, + txt_record: 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 domain_name: The domain name. + :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 OCID of the domain. + :param str owner_id: The OCID of the tenancy that has started the registration process for this domain. + :param str state: The lifecycle state of the resource. + :param str status: The status of the domain. + :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: Date-time when this domain was created. An RFC 3339-formatted date and time string. + :param str time_updated: Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + :param str txt_record: The code that the owner of the domain will need to add as a TXT record to their domain. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "domain_name", domain_name) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_governance_enabled", is_governance_enabled) + pulumi.set(__self__, "owner_id", owner_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "subscription_email", subscription_email) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + pulumi.set(__self__, "txt_record", txt_record) + + @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(name="domainName") + def domain_name(self) -> str: + """ + The domain name. + """ + return pulumi.get(self, "domain_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 OCID of the domain. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isGovernanceEnabled") + def is_governance_enabled(self) -> bool: + return pulumi.get(self, "is_governance_enabled") + + @property + @pulumi.getter(name="ownerId") + def owner_id(self) -> str: + """ + The OCID of the tenancy that has started the registration process for this domain. + """ + return pulumi.get(self, "owner_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the domain. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="subscriptionEmail") + def subscription_email(self) -> str: + return pulumi.get(self, "subscription_email") + + @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: + """ + Date-time when this domain was created. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this domain was last updated. An RFC 3339-formatted date and time string. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="txtRecord") + def txt_record(self) -> str: + """ + The code that the owner of the domain will need to add as a TXT record to their domain. + """ + return pulumi.get(self, "txt_record") + + +@pulumi.output_type +class GetDomainsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return only resources that exactly match the 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 exactly match the 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 GetLinksFilterResult(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 GetLinksLinkCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetLinksLinkCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetLinksLinkCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetLinksLinkCollectionItemResult(dict): + def __init__(__self__, *, + child_tenancy_id: str, + id: str, + parent_tenancy_id: str, + state: str, + time_created: str, + time_terminated: str, + time_updated: str): + """ + :param str child_tenancy_id: The ID of the child tenancy this link is associated with. + :param str id: OCID of the link. + :param str parent_tenancy_id: The ID of the parent tenancy this link is associated with. + :param str state: The lifecycle state of the resource. + :param str time_created: Date-time when this link was created. + :param str time_terminated: Date-time when this link was terminated. + :param str time_updated: Date-time when this link was last updated. + """ + pulumi.set(__self__, "child_tenancy_id", child_tenancy_id) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "parent_tenancy_id", parent_tenancy_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_terminated", time_terminated) + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="childTenancyId") + def child_tenancy_id(self) -> str: + """ + The ID of the child tenancy this link is associated with. + """ + return pulumi.get(self, "child_tenancy_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + OCID of the link. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="parentTenancyId") + def parent_tenancy_id(self) -> str: + """ + The ID of the parent tenancy this link is associated with. + """ + return pulumi.get(self, "parent_tenancy_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date-time when this link was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeTerminated") + def time_terminated(self) -> str: + """ + Date-time when this link was terminated. + """ + return pulumi.get(self, "time_terminated") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when this link was last updated. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetOrganizationTenanciesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: Name of the tenancy. + """ + 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 tenancy. + """ + 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 GetOrganizationTenanciesOrganizationTenancyCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetOrganizationTenanciesOrganizationTenancyCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetOrganizationTenanciesOrganizationTenancyCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetOrganizationTenanciesOrganizationTenancyCollectionItemResult(dict): + def __init__(__self__, *, + governance_status: str, + is_approved_for_transfer: bool, + name: str, + role: str, + state: str, + tenancy_id: str, + time_joined: str, + time_left: str): + """ + :param str governance_status: The governance status of the tenancy. + :param bool is_approved_for_transfer: Parameter to indicate the tenancy is approved for transfer to another organization. + :param str name: Name of the tenancy. + :param str role: Role of the organization tenancy. + :param str state: Lifecycle state of the organization tenancy. + :param str tenancy_id: OCID of the tenancy. + :param str time_joined: Date and time when the tenancy joined the organization. + :param str time_left: Date and time when the tenancy left the organization. + """ + pulumi.set(__self__, "governance_status", governance_status) + pulumi.set(__self__, "is_approved_for_transfer", is_approved_for_transfer) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "tenancy_id", tenancy_id) + pulumi.set(__self__, "time_joined", time_joined) + pulumi.set(__self__, "time_left", time_left) + + @property + @pulumi.getter(name="governanceStatus") + def governance_status(self) -> str: + """ + The governance status of the tenancy. + """ + return pulumi.get(self, "governance_status") + + @property + @pulumi.getter(name="isApprovedForTransfer") + def is_approved_for_transfer(self) -> bool: + """ + Parameter to indicate the tenancy is approved for transfer to another organization. + """ + return pulumi.get(self, "is_approved_for_transfer") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the tenancy. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def role(self) -> str: + """ + Role of the organization tenancy. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the organization tenancy. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="tenancyId") + def tenancy_id(self) -> str: + """ + OCID of the tenancy. + """ + return pulumi.get(self, "tenancy_id") + + @property + @pulumi.getter(name="timeJoined") + def time_joined(self) -> str: + """ + Date and time when the tenancy joined the organization. + """ + return pulumi.get(self, "time_joined") + + @property + @pulumi.getter(name="timeLeft") + def time_left(self) -> str: + """ + Date and time when the tenancy left the organization. + """ + return pulumi.get(self, "time_left") + + +@pulumi.output_type +class GetOrganizationsFilterResult(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 GetOrganizationsOrganizationCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetOrganizationsOrganizationCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetOrganizationsOrganizationCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetOrganizationsOrganizationCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + default_ucm_subscription_id: str, + display_name: str, + id: str, + parent_name: str, + state: str, + time_created: str, + time_updated: str): + """ + :param str compartment_id: The ID of the compartment in which to list resources. + :param str default_ucm_subscription_id: OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + :param str display_name: A display name for the organization. Avoid entering confidential information. + :param str id: OCID of the organization. + :param str parent_name: The name of the tenancy that is the organization parent. + :param str state: Lifecycle state of the organization. + :param str time_created: Date and time when the organization was created. + :param str time_updated: Date and time when the organization was last updated. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "default_ucm_subscription_id", default_ucm_subscription_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "parent_name", parent_name) + pulumi.set(__self__, "state", state) + 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 ID of the compartment in which to list resources. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="defaultUcmSubscriptionId") + def default_ucm_subscription_id(self) -> str: + """ + OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned. + """ + return pulumi.get(self, "default_ucm_subscription_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A display name for the organization. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + OCID of the organization. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="parentName") + def parent_name(self) -> str: + """ + The name of the tenancy that is the organization parent. + """ + return pulumi.get(self, "parent_name") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the organization. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date and time when the organization was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the organization was last updated. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetRecipientInvitationsFilterResult(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 GetRecipientInvitationsRecipientInvitationCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetRecipientInvitationsRecipientInvitationCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetRecipientInvitationsRecipientInvitationCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetRecipientInvitationsRecipientInvitationCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + recipient_email_address: str, + sender_invitation_id: str, + sender_tenancy_id: str, + state: str, + status: str, + subjects: Sequence[str], + system_tags: Mapping[str, str], + time_created: str, + time_updated: 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 display_name: A user-created name to describe the invitation. Avoid entering confidential information. + :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: OCID of the recipient invitation. + :param str recipient_email_address: Email address of the recipient. + :param str sender_invitation_id: OCID of the corresponding sender invitation. + :param str sender_tenancy_id: The tenancy that sent the invitation. + :param str state: The lifecycle state of the resource. + :param str status: The status of the recipient invitation. + :param Sequence[str] subjects: The list of subjects the invitation contains. + :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: Date and time when the recipient invitation was created. + :param str time_updated: Date and time when the recipient invitation was last updated. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "recipient_email_address", recipient_email_address) + pulumi.set(__self__, "sender_invitation_id", sender_invitation_id) + pulumi.set(__self__, "sender_tenancy_id", sender_tenancy_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "subjects", subjects) + 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 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(name="displayName") + def display_name(self) -> str: + """ + A user-created name to describe the invitation. Avoid entering confidential information. + """ + 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: + """ + OCID of the recipient invitation. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="recipientEmailAddress") + def recipient_email_address(self) -> str: + """ + Email address of the recipient. + """ + return pulumi.get(self, "recipient_email_address") + + @property + @pulumi.getter(name="senderInvitationId") + def sender_invitation_id(self) -> str: + """ + OCID of the corresponding sender invitation. + """ + return pulumi.get(self, "sender_invitation_id") + + @property + @pulumi.getter(name="senderTenancyId") + def sender_tenancy_id(self) -> str: + """ + The tenancy that sent the invitation. + """ + return pulumi.get(self, "sender_tenancy_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the recipient invitation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subjects(self) -> Sequence[str]: + """ + The list of subjects the invitation contains. + """ + return pulumi.get(self, "subjects") + + @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: + """ + Date and time when the recipient invitation was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the recipient invitation was last updated. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetSenderInvitationsFilterResult(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 GetSenderInvitationsSenderInvitationCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetSenderInvitationsSenderInvitationCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetSenderInvitationsSenderInvitationCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetSenderInvitationsSenderInvitationCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + recipient_email_address: str, + recipient_invitation_id: str, + recipient_tenancy_id: str, + state: str, + status: str, + subjects: Sequence[str], + system_tags: Mapping[str, str], + time_created: str, + time_updated: 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 display_name: A filter to return only resources that match the entire display name given. + :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: OCID of the sender invitation. + :param str recipient_email_address: Email address of the recipient. + :param str recipient_invitation_id: OCID of the corresponding recipient invitation. + :param str recipient_tenancy_id: The tenancy that the invitation is addressed to. + :param str state: The lifecycle state of the resource. + :param str status: The status of the sender invitation. + :param Sequence[str] subjects: The list of subjects the invitation contains. + :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: Date and time when the sender invitation was created. + :param str time_updated: Date and time when the sender invitation was last updated. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "recipient_email_address", recipient_email_address) + pulumi.set(__self__, "recipient_invitation_id", recipient_invitation_id) + pulumi.set(__self__, "recipient_tenancy_id", recipient_tenancy_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "subjects", subjects) + 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 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(name="displayName") + def display_name(self) -> str: + """ + A filter to return only resources that match the entire display name given. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, 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: + """ + OCID of the sender invitation. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="recipientEmailAddress") + def recipient_email_address(self) -> str: + """ + Email address of the recipient. + """ + return pulumi.get(self, "recipient_email_address") + + @property + @pulumi.getter(name="recipientInvitationId") + def recipient_invitation_id(self) -> str: + """ + OCID of the corresponding recipient invitation. + """ + return pulumi.get(self, "recipient_invitation_id") + + @property + @pulumi.getter(name="recipientTenancyId") + def recipient_tenancy_id(self) -> str: + """ + The tenancy that the invitation is addressed to. + """ + return pulumi.get(self, "recipient_tenancy_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the sender invitation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subjects(self) -> Sequence[str]: + """ + The list of subjects the invitation contains. + """ + return pulumi.get(self, "subjects") + + @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: + """ + Date and time when the sender invitation was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date and time when the sender invitation was last updated. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetSubscriptionAvailableRegionsAvailableRegionCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult']): + """ + :param Sequence['GetSubscriptionAvailableRegionsAvailableRegionCollectionItemArgs'] items: Array containing available region items. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult']: + """ + Array containing available region items. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetSubscriptionAvailableRegionsAvailableRegionCollectionItemResult(dict): + def __init__(__self__, *, + region_name: str, + system_tags: Mapping[str, str]): + """ + :param str region_name: Region availability for the subscription. + :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"}` + """ + pulumi.set(__self__, "region_name", region_name) + pulumi.set(__self__, "system_tags", system_tags) + + @property + @pulumi.getter(name="regionName") + def region_name(self) -> str: + """ + Region availability for the subscription. + """ + return pulumi.get(self, "region_name") + + @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") + + +@pulumi.output_type +class GetSubscriptionAvailableRegionsFilterResult(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 GetSubscriptionLineItemsFilterResult(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 GetSubscriptionLineItemsSubscriptionLineItemCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult']): + """ + :param Sequence['GetSubscriptionLineItemsSubscriptionLineItemCollectionItemArgs'] items: Array containing line item summaries in a subscription. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult']: + """ + Array containing line item summaries in a subscription. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetSubscriptionLineItemsSubscriptionLineItemCollectionItemResult(dict): + def __init__(__self__, *, + billing_model: str, + id: str, + product_code: str, + quantity: float, + system_tags: Mapping[str, str], + time_ended: str, + time_started: str): + """ + :param str billing_model: Billing model supported by the associated line item. + :param str id: Subscription line item identifier. + :param str product_code: Product code. + :param float quantity: Product number. + :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_ended: The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + :param str time_started: The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + """ + pulumi.set(__self__, "billing_model", billing_model) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "product_code", product_code) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_ended", time_ended) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter(name="billingModel") + def billing_model(self) -> str: + """ + Billing model supported by the associated line item. + """ + return pulumi.get(self, "billing_model") + + @property + @pulumi.getter + def id(self) -> str: + """ + Subscription line item identifier. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="productCode") + def product_code(self) -> str: + """ + Product code. + """ + return pulumi.get(self, "product_code") + + @property + @pulumi.getter + def quantity(self) -> float: + """ + Product number. + """ + return pulumi.get(self, "quantity") + + @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="timeEnded") + def time_ended(self) -> str: + """ + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + """ + return pulumi.get(self, "time_ended") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetSubscriptionMappingsFilterResult(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 GetSubscriptionMappingsSubscriptionMappingCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetSubscriptionMappingsSubscriptionMappingCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetSubscriptionMappingsSubscriptionMappingCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetSubscriptionMappingsSubscriptionMappingCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + id: str, + is_explicitly_assigned: bool, + state: str, + subscription_id: str, + time_created: str, + time_terminated: str, + time_updated: str): + """ + :param str compartment_id: The ID of the compartment in which to list resources. + :param str id: OCID of the mapping between subscription and compartment identified by the tenancy. + :param bool is_explicitly_assigned: Denotes if the subscription is explicity assigned to the root compartment or tenancy. + :param str state: The lifecycle state of the resource. + :param str subscription_id: OCID of the subscription. + :param str time_created: Date-time when subscription mapping was created. + :param str time_terminated: Date-time when subscription mapping was terminated. + :param str time_updated: Date-time when subscription mapping was updated. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_explicitly_assigned", is_explicitly_assigned) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "subscription_id", subscription_id) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_terminated", time_terminated) + pulumi.set(__self__, "time_updated", time_updated) + + @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 + def id(self) -> str: + """ + OCID of the mapping between subscription and compartment identified by the tenancy. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isExplicitlyAssigned") + def is_explicitly_assigned(self) -> bool: + """ + Denotes if the subscription is explicity assigned to the root compartment or tenancy. + """ + return pulumi.get(self, "is_explicitly_assigned") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + OCID of the subscription. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Date-time when subscription mapping was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeTerminated") + def time_terminated(self) -> str: + """ + Date-time when subscription mapping was terminated. + """ + return pulumi.get(self, "time_terminated") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Date-time when subscription mapping was updated. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetSubscriptionPromotionResult(dict): + def __init__(__self__, *, + amount: float, + currency_unit: str, + duration: int, + duration_unit: str, + is_intent_to_pay: bool, + status: str, + time_expired: str, + time_started: str): + """ + :param float amount: If a subscription is present, indicates the total amount of promotional subscription credits. + :param str currency_unit: Currency unit associated with the promotion. + :param int duration: Specifies how long the promotion related to the subscription, if any, is valid in duration units. + :param str duration_unit: Unit for the duration. + :param bool is_intent_to_pay: Speficies whether or not the customer intends to pay after the promotion has expired. + :param str status: If a subscription is present, indicates the current status of the subscription promotion. + :param str time_expired: Date and time when the promotion ends. + :param str time_started: Date and time when the promotion starts. + """ + pulumi.set(__self__, "amount", amount) + pulumi.set(__self__, "currency_unit", currency_unit) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "duration_unit", duration_unit) + pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "time_expired", time_expired) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter + def amount(self) -> float: + """ + If a subscription is present, indicates the total amount of promotional subscription credits. + """ + return pulumi.get(self, "amount") + + @property + @pulumi.getter(name="currencyUnit") + def currency_unit(self) -> str: + """ + Currency unit associated with the promotion. + """ + return pulumi.get(self, "currency_unit") + + @property + @pulumi.getter + def duration(self) -> int: + """ + Specifies how long the promotion related to the subscription, if any, is valid in duration units. + """ + return pulumi.get(self, "duration") + + @property + @pulumi.getter(name="durationUnit") + def duration_unit(self) -> str: + """ + Unit for the duration. + """ + return pulumi.get(self, "duration_unit") + + @property + @pulumi.getter(name="isIntentToPay") + def is_intent_to_pay(self) -> bool: + """ + Speficies whether or not the customer intends to pay after the promotion has expired. + """ + return pulumi.get(self, "is_intent_to_pay") + + @property + @pulumi.getter + def status(self) -> str: + """ + If a subscription is present, indicates the current status of the subscription promotion. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="timeExpired") + def time_expired(self) -> str: + """ + Date and time when the promotion ends. + """ + return pulumi.get(self, "time_expired") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + Date and time when the promotion starts. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetSubscriptionSkusResult(dict): + def __init__(__self__, *, + description: str, + end_date: str, + gsi_order_line_id: str, + is_additional_instance: bool, + is_base_service_component: bool, + license_part_description: str, + metric_name: str, + quantity: int, + sku: str, + start_date: str): + """ + :param str description: Description of the stock units. + :param str end_date: Date and time when the SKU ended. + :param str gsi_order_line_id: Sales order line identifier. + :param bool is_additional_instance: Specifies if an additional test instance can be provisioned by the SaaS application. + :param bool is_base_service_component: Specifies if the SKU is considered as a parent or child. + :param str license_part_description: Description of the covered product belonging to this SKU. + :param str metric_name: Base metric for billing the service. + :param int quantity: Quantity of the stock units. + :param str sku: Stock Keeping Unit (SKU) ID. + :param str start_date: Subscription start time. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "gsi_order_line_id", gsi_order_line_id) + pulumi.set(__self__, "is_additional_instance", is_additional_instance) + pulumi.set(__self__, "is_base_service_component", is_base_service_component) + pulumi.set(__self__, "license_part_description", license_part_description) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "sku", sku) + pulumi.set(__self__, "start_date", start_date) + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the stock units. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="gsiOrderLineId") + def gsi_order_line_id(self) -> str: + """ + Sales order line identifier. + """ + return pulumi.get(self, "gsi_order_line_id") + + @property + @pulumi.getter(name="isAdditionalInstance") + def is_additional_instance(self) -> bool: + """ + Specifies if an additional test instance can be provisioned by the SaaS application. + """ + return pulumi.get(self, "is_additional_instance") + + @property + @pulumi.getter(name="isBaseServiceComponent") + def is_base_service_component(self) -> bool: + """ + Specifies if the SKU is considered as a parent or child. + """ + return pulumi.get(self, "is_base_service_component") + + @property + @pulumi.getter(name="licensePartDescription") + def license_part_description(self) -> str: + """ + Description of the covered product belonging to this SKU. + """ + return pulumi.get(self, "license_part_description") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + Base metric for billing the service. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def quantity(self) -> int: + """ + Quantity of the stock units. + """ + return pulumi.get(self, "quantity") + + @property + @pulumi.getter + def sku(self) -> str: + """ + Stock Keeping Unit (SKU) ID. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + +@pulumi.output_type +class GetSubscriptionsFilterResult(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 GetSubscriptionsSubscriptionCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetSubscriptionsSubscriptionCollectionItemResult(dict): + def __init__(__self__, *, + classic_subscription_id: str, + cloud_amount_currency: str, + compartment_id: str, + csi_number: str, + currency_code: str, + customer_country_code: str, + defined_tags: Mapping[str, str], + end_date: str, + entity_version: str, + freeform_tags: Mapping[str, str], + id: str, + is_classic_subscription: bool, + is_government_subscription: bool, + payment_model: str, + program_type: str, + promotions: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemPromotionResult'], + purchase_entitlement_id: str, + region_assignment: str, + service_name: str, + skuses: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSkusResult'], + start_date: str, + state: str, + subscription_number: str, + subscription_tier: str, + time_created: str, + time_updated: str): + """ + :param str classic_subscription_id: Classic subscription ID. + :param str cloud_amount_currency: The currency code for the customer associated with the subscription. + :param str compartment_id: The ID of the compartment in which to list resources. + :param str csi_number: Customer service identifier for the customer associated with the subscription. + :param str currency_code: Currency code. For example USD, MXN. + :param str customer_country_code: The country code for the customer associated with the subscription. + :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 end_date: Date and time when the SKU ended. + :param str entity_version: The version of the subscription entity. + :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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + :param bool is_classic_subscription: Specifies whether or not the subscription is from classic systems. + :param bool is_government_subscription: Specifies whether or not the subscription is a government subscription. + :param str payment_model: The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + :param str program_type: Specifies any program that is associated with the subscription. + :param Sequence['GetSubscriptionsSubscriptionCollectionItemPromotionArgs'] promotions: List of promotions related to the subscription. + :param str purchase_entitlement_id: Purchase entitlement ID associated with the subscription. + :param str region_assignment: Region for the subscription. + :param str service_name: The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + :param Sequence['GetSubscriptionsSubscriptionCollectionItemSkusArgs'] skuses: List of SKUs linked to this subscription. + :param str start_date: Subscription start time. + :param str state: Lifecycle state of the subscription. + :param str subscription_number: Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + :param str subscription_tier: Tier for the subscription, whether a free promotion subscription or a paid subscription. + :param str time_created: The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + :param str time_updated: The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + pulumi.set(__self__, "classic_subscription_id", classic_subscription_id) + pulumi.set(__self__, "cloud_amount_currency", cloud_amount_currency) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "csi_number", csi_number) + pulumi.set(__self__, "currency_code", currency_code) + pulumi.set(__self__, "customer_country_code", customer_country_code) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "entity_version", entity_version) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_classic_subscription", is_classic_subscription) + pulumi.set(__self__, "is_government_subscription", is_government_subscription) + pulumi.set(__self__, "payment_model", payment_model) + pulumi.set(__self__, "program_type", program_type) + pulumi.set(__self__, "promotions", promotions) + pulumi.set(__self__, "purchase_entitlement_id", purchase_entitlement_id) + pulumi.set(__self__, "region_assignment", region_assignment) + pulumi.set(__self__, "service_name", service_name) + pulumi.set(__self__, "skuses", skuses) + pulumi.set(__self__, "start_date", start_date) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "subscription_number", subscription_number) + pulumi.set(__self__, "subscription_tier", subscription_tier) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="classicSubscriptionId") + def classic_subscription_id(self) -> str: + """ + Classic subscription ID. + """ + return pulumi.get(self, "classic_subscription_id") + + @property + @pulumi.getter(name="cloudAmountCurrency") + def cloud_amount_currency(self) -> str: + """ + The currency code for the customer associated with the subscription. + """ + return pulumi.get(self, "cloud_amount_currency") + + @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="csiNumber") + def csi_number(self) -> str: + """ + Customer service identifier for the customer associated with the subscription. + """ + return pulumi.get(self, "csi_number") + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + """ + Currency code. For example USD, MXN. + """ + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter(name="customerCountryCode") + def customer_country_code(self) -> str: + """ + The country code for the customer associated with the subscription. + """ + return pulumi.get(self, "customer_country_code") + + @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="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> str: + """ + The version of the subscription entity. + """ + return pulumi.get(self, "entity_version") + + @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 Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the subscription. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isClassicSubscription") + def is_classic_subscription(self) -> bool: + """ + Specifies whether or not the subscription is from classic systems. + """ + return pulumi.get(self, "is_classic_subscription") + + @property + @pulumi.getter(name="isGovernmentSubscription") + def is_government_subscription(self) -> bool: + """ + Specifies whether or not the subscription is a government subscription. + """ + return pulumi.get(self, "is_government_subscription") + + @property + @pulumi.getter(name="paymentModel") + def payment_model(self) -> str: + """ + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + """ + return pulumi.get(self, "payment_model") + + @property + @pulumi.getter(name="programType") + def program_type(self) -> str: + """ + Specifies any program that is associated with the subscription. + """ + return pulumi.get(self, "program_type") + + @property + @pulumi.getter + def promotions(self) -> Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemPromotionResult']: + """ + List of promotions related to the subscription. + """ + return pulumi.get(self, "promotions") + + @property + @pulumi.getter(name="purchaseEntitlementId") + def purchase_entitlement_id(self) -> str: + """ + Purchase entitlement ID associated with the subscription. + """ + return pulumi.get(self, "purchase_entitlement_id") + + @property + @pulumi.getter(name="regionAssignment") + def region_assignment(self) -> str: + """ + Region for the subscription. + """ + return pulumi.get(self, "region_assignment") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> str: + """ + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. + """ + return pulumi.get(self, "service_name") + + @property + @pulumi.getter + def skuses(self) -> Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSkusResult']: + """ + List of SKUs linked to this subscription. + """ + return pulumi.get(self, "skuses") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the subscription. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionNumber") + def subscription_number(self) -> str: + """ + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + """ + return pulumi.get(self, "subscription_number") + + @property + @pulumi.getter(name="subscriptionTier") + def subscription_tier(self) -> str: + """ + Tier for the subscription, whether a free promotion subscription or a paid subscription. + """ + return pulumi.get(self, "subscription_tier") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetSubscriptionsSubscriptionCollectionItemPromotionResult(dict): + def __init__(__self__, *, + amount: float, + currency_unit: str, + duration: int, + duration_unit: str, + is_intent_to_pay: bool, + status: str, + time_expired: str, + time_started: str): + """ + :param float amount: If a subscription is present, indicates the total amount of promotional subscription credits. + :param str currency_unit: Currency unit associated with the promotion. + :param int duration: Specifies how long the promotion related to the subscription, if any, is valid in duration units. + :param str duration_unit: Unit for the duration. + :param bool is_intent_to_pay: Speficies whether or not the customer intends to pay after the promotion has expired. + :param str status: If a subscription is present, indicates the current status of the subscription promotion. + :param str time_expired: Date and time when the promotion ends. + :param str time_started: Date and time when the promotion starts. + """ + pulumi.set(__self__, "amount", amount) + pulumi.set(__self__, "currency_unit", currency_unit) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "duration_unit", duration_unit) + pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "time_expired", time_expired) + pulumi.set(__self__, "time_started", time_started) + + @property + @pulumi.getter + def amount(self) -> float: + """ + If a subscription is present, indicates the total amount of promotional subscription credits. + """ + return pulumi.get(self, "amount") + + @property + @pulumi.getter(name="currencyUnit") + def currency_unit(self) -> str: + """ + Currency unit associated with the promotion. + """ + return pulumi.get(self, "currency_unit") + + @property + @pulumi.getter + def duration(self) -> int: + """ + Specifies how long the promotion related to the subscription, if any, is valid in duration units. + """ + return pulumi.get(self, "duration") + + @property + @pulumi.getter(name="durationUnit") + def duration_unit(self) -> str: + """ + Unit for the duration. + """ + return pulumi.get(self, "duration_unit") + + @property + @pulumi.getter(name="isIntentToPay") + def is_intent_to_pay(self) -> bool: + """ + Speficies whether or not the customer intends to pay after the promotion has expired. + """ + return pulumi.get(self, "is_intent_to_pay") + + @property + @pulumi.getter + def status(self) -> str: + """ + If a subscription is present, indicates the current status of the subscription promotion. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="timeExpired") + def time_expired(self) -> str: + """ + Date and time when the promotion ends. + """ + return pulumi.get(self, "time_expired") + + @property + @pulumi.getter(name="timeStarted") + def time_started(self) -> str: + """ + Date and time when the promotion starts. + """ + return pulumi.get(self, "time_started") + + +@pulumi.output_type +class GetSubscriptionsSubscriptionCollectionItemSkusResult(dict): + def __init__(__self__, *, + description: str, + end_date: str, + gsi_order_line_id: str, + is_additional_instance: bool, + is_base_service_component: bool, + license_part_description: str, + metric_name: str, + quantity: int, + sku: str, + start_date: str): + """ + :param str description: Description of the stock units. + :param str end_date: Date and time when the SKU ended. + :param str gsi_order_line_id: Sales order line identifier. + :param bool is_additional_instance: Specifies if an additional test instance can be provisioned by the SaaS application. + :param bool is_base_service_component: Specifies if the SKU is considered as a parent or child. + :param str license_part_description: Description of the covered product belonging to this SKU. + :param str metric_name: Base metric for billing the service. + :param int quantity: Quantity of the stock units. + :param str sku: Stock Keeping Unit (SKU) ID. + :param str start_date: Subscription start time. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "end_date", end_date) + pulumi.set(__self__, "gsi_order_line_id", gsi_order_line_id) + pulumi.set(__self__, "is_additional_instance", is_additional_instance) + pulumi.set(__self__, "is_base_service_component", is_base_service_component) + pulumi.set(__self__, "license_part_description", license_part_description) + pulumi.set(__self__, "metric_name", metric_name) + pulumi.set(__self__, "quantity", quantity) + pulumi.set(__self__, "sku", sku) + pulumi.set(__self__, "start_date", start_date) + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the stock units. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endDate") + def end_date(self) -> str: + """ + Date and time when the SKU ended. + """ + return pulumi.get(self, "end_date") + + @property + @pulumi.getter(name="gsiOrderLineId") + def gsi_order_line_id(self) -> str: + """ + Sales order line identifier. + """ + return pulumi.get(self, "gsi_order_line_id") + + @property + @pulumi.getter(name="isAdditionalInstance") + def is_additional_instance(self) -> bool: + """ + Specifies if an additional test instance can be provisioned by the SaaS application. + """ + return pulumi.get(self, "is_additional_instance") + + @property + @pulumi.getter(name="isBaseServiceComponent") + def is_base_service_component(self) -> bool: + """ + Specifies if the SKU is considered as a parent or child. + """ + return pulumi.get(self, "is_base_service_component") + + @property + @pulumi.getter(name="licensePartDescription") + def license_part_description(self) -> str: + """ + Description of the covered product belonging to this SKU. + """ + return pulumi.get(self, "license_part_description") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + Base metric for billing the service. + """ + return pulumi.get(self, "metric_name") + + @property + @pulumi.getter + def quantity(self) -> int: + """ + Quantity of the stock units. + """ + return pulumi.get(self, "quantity") + + @property + @pulumi.getter + def sku(self) -> str: + """ + Stock Keeping Unit (SKU) ID. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> str: + """ + Subscription start time. + """ + return pulumi.get(self, "start_date") + + diff --git a/sdk/python/pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py b/sdk/python/pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py new file mode 100644 index 0000000000..8b8dd2e89c --- /dev/null +++ b/sdk/python/pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py @@ -0,0 +1,409 @@ +# 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 sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = ['SubscriptionMappingArgs', 'SubscriptionMapping'] + +@pulumi.input_type +class SubscriptionMappingArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + subscription_id: pulumi.Input[str]): + """ + The set of arguments for constructing a SubscriptionMapping resource. + :param pulumi.Input[str] compartment_id: OCID of the compartment. Always a tenancy OCID. + :param pulumi.Input[str] subscription_id: OCID of Subscription. + + + ** IMPORTANT ** + Any change to 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__, "subscription_id", subscription_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + OCID of the compartment. Always a tenancy OCID. + """ + 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="subscriptionId") + def subscription_id(self) -> pulumi.Input[str]: + """ + OCID of Subscription. + + + ** IMPORTANT ** + 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: pulumi.Input[str]): + pulumi.set(self, "subscription_id", value) + + +@pulumi.input_type +class _SubscriptionMappingState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + is_explicitly_assigned: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_terminated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SubscriptionMapping resources. + :param pulumi.Input[str] compartment_id: OCID of the compartment. Always a tenancy OCID. + :param pulumi.Input[bool] is_explicitly_assigned: Denotes if the subscription is explicity assigned to the root compartment or tenancy. + :param pulumi.Input[str] state: Lifecycle state of the subscriptionMapping. + :param pulumi.Input[str] subscription_id: OCID of Subscription. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + :param pulumi.Input[str] time_created: Date-time when subscription mapping was created. + :param pulumi.Input[str] time_terminated: Date-time when subscription mapping was terminated. + :param pulumi.Input[str] time_updated: Date-time when subscription mapping was updated. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if is_explicitly_assigned is not None: + pulumi.set(__self__, "is_explicitly_assigned", is_explicitly_assigned) + if state is not None: + pulumi.set(__self__, "state", state) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_terminated is not None: + pulumi.set(__self__, "time_terminated", time_terminated) + 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]]: + """ + OCID of the compartment. Always a tenancy OCID. + """ + 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="isExplicitlyAssigned") + def is_explicitly_assigned(self) -> Optional[pulumi.Input[bool]]: + """ + Denotes if the subscription is explicity assigned to the root compartment or tenancy. + """ + return pulumi.get(self, "is_explicitly_assigned") + + @is_explicitly_assigned.setter + def is_explicitly_assigned(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_explicitly_assigned", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Lifecycle state of the subscriptionMapping. + """ + return pulumi.get(self, "state") + + @state.setter + 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]]: + """ + OCID of Subscription. + + + ** IMPORTANT ** + 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="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + Date-time when subscription mapping 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="timeTerminated") + def time_terminated(self) -> Optional[pulumi.Input[str]]: + """ + Date-time when subscription mapping was terminated. + """ + return pulumi.get(self, "time_terminated") + + @time_terminated.setter + def time_terminated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_terminated", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + Date-time when subscription mapping was updated. + """ + 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 SubscriptionMapping(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Assign the tenancy record identified by the compartment ID to the given subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mapping = oci.tenantmanagercontrolplane.SubscriptionMapping("test_subscription_mapping", + compartment_id=compartment_id, + subscription_id=test_subscription["id"]) + ``` + + ## Import + + SubscriptionMappings can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: OCID of the compartment. Always a tenancy OCID. + :param pulumi.Input[str] subscription_id: OCID of Subscription. + + + ** IMPORTANT ** + 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: SubscriptionMappingArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. + + Assign the tenancy record identified by the compartment ID to the given subscription ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_subscription_mapping = oci.tenantmanagercontrolplane.SubscriptionMapping("test_subscription_mapping", + compartment_id=compartment_id, + subscription_id=test_subscription["id"]) + ``` + + ## Import + + SubscriptionMappings can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping test_subscription_mapping "id" + ``` + + :param str resource_name: The name of the resource. + :param SubscriptionMappingArgs 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(SubscriptionMappingArgs, 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, + 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): + 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__ = SubscriptionMappingArgs.__new__(SubscriptionMappingArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if subscription_id is None and not opts.urn: + raise TypeError("Missing required property 'subscription_id'") + __props__.__dict__["subscription_id"] = subscription_id + __props__.__dict__["is_explicitly_assigned"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_terminated"] = None + __props__.__dict__["time_updated"] = None + super(SubscriptionMapping, __self__).__init__( + 'oci:Tenantmanagercontrolplane/subscriptionMapping:SubscriptionMapping', + 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_explicitly_assigned: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_terminated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None) -> 'SubscriptionMapping': + """ + Get an existing SubscriptionMapping 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: OCID of the compartment. Always a tenancy OCID. + :param pulumi.Input[bool] is_explicitly_assigned: Denotes if the subscription is explicity assigned to the root compartment or tenancy. + :param pulumi.Input[str] state: Lifecycle state of the subscriptionMapping. + :param pulumi.Input[str] subscription_id: OCID of Subscription. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + :param pulumi.Input[str] time_created: Date-time when subscription mapping was created. + :param pulumi.Input[str] time_terminated: Date-time when subscription mapping was terminated. + :param pulumi.Input[str] time_updated: Date-time when subscription mapping was updated. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SubscriptionMappingState.__new__(_SubscriptionMappingState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["is_explicitly_assigned"] = is_explicitly_assigned + __props__.__dict__["state"] = state + __props__.__dict__["subscription_id"] = subscription_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_terminated"] = time_terminated + __props__.__dict__["time_updated"] = time_updated + return SubscriptionMapping(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + OCID of the compartment. Always a tenancy OCID. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="isExplicitlyAssigned") + def is_explicitly_assigned(self) -> pulumi.Output[bool]: + """ + Denotes if the subscription is explicity assigned to the root compartment or tenancy. + """ + return pulumi.get(self, "is_explicitly_assigned") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + Lifecycle state of the subscriptionMapping. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Output[str]: + """ + OCID of Subscription. + + + ** IMPORTANT ** + 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="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + Date-time when subscription mapping was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeTerminated") + def time_terminated(self) -> pulumi.Output[str]: + """ + Date-time when subscription mapping was terminated. + """ + return pulumi.get(self, "time_terminated") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + Date-time when subscription mapping was updated. + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/vault/__init__.py b/sdk/python/pulumi_oci/vault/__init__.py index 74a8399383..6cf38dbb0d 100644 --- a/sdk/python/pulumi_oci/vault/__init__.py +++ b/sdk/python/pulumi_oci/vault/__init__.py @@ -6,7 +6,7 @@ import typing # Export this package's modules as members: from .get_secret import * -from .get_secret_version import * +from .get_secret_version_sdk_v2 import * from .get_secrets import * from .secret import * from ._inputs import * diff --git a/sdk/python/pulumi_oci/vault/_inputs.py b/sdk/python/pulumi_oci/vault/_inputs.py index 3f8d41be87..24f5dc649d 100644 --- a/sdk/python/pulumi_oci/vault/_inputs.py +++ b/sdk/python/pulumi_oci/vault/_inputs.py @@ -21,6 +21,8 @@ 'SecretRotationConfigTargetSystemDetailsArgsDict', 'SecretSecretContentArgs', 'SecretSecretContentArgsDict', + 'SecretSecretGenerationContextArgs', + 'SecretSecretGenerationContextArgsDict', 'SecretSecretRuleArgs', 'SecretSecretRuleArgsDict', 'GetSecretsFilterArgs', @@ -262,6 +264,96 @@ def stage(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stage", value) +if not MYPY: + class SecretSecretGenerationContextArgsDict(TypedDict): + generation_template: pulumi.Input[str] + """ + (Updatable) Name of random bytes generation template for generating random byte type secret. + """ + generation_type: pulumi.Input[str] + """ + (Updatable) Name of the predefined secret generation type. + """ + passphrase_length: NotRequired[pulumi.Input[int]] + """ + (Updatable) Length of the passphrase to be generated + """ + secret_template: NotRequired[pulumi.Input[str]] + """ + (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ +elif False: + SecretSecretGenerationContextArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SecretSecretGenerationContextArgs: + def __init__(__self__, *, + generation_template: pulumi.Input[str], + generation_type: pulumi.Input[str], + passphrase_length: Optional[pulumi.Input[int]] = None, + secret_template: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] generation_template: (Updatable) Name of random bytes generation template for generating random byte type secret. + :param pulumi.Input[str] generation_type: (Updatable) Name of the predefined secret generation type. + :param pulumi.Input[int] passphrase_length: (Updatable) Length of the passphrase to be generated + :param pulumi.Input[str] secret_template: (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + pulumi.set(__self__, "generation_template", generation_template) + pulumi.set(__self__, "generation_type", generation_type) + if passphrase_length is not None: + pulumi.set(__self__, "passphrase_length", passphrase_length) + if secret_template is not None: + pulumi.set(__self__, "secret_template", secret_template) + + @property + @pulumi.getter(name="generationTemplate") + def generation_template(self) -> pulumi.Input[str]: + """ + (Updatable) Name of random bytes generation template for generating random byte type secret. + """ + return pulumi.get(self, "generation_template") + + @generation_template.setter + def generation_template(self, value: pulumi.Input[str]): + pulumi.set(self, "generation_template", value) + + @property + @pulumi.getter(name="generationType") + def generation_type(self) -> pulumi.Input[str]: + """ + (Updatable) Name of the predefined secret generation type. + """ + return pulumi.get(self, "generation_type") + + @generation_type.setter + def generation_type(self, value: pulumi.Input[str]): + pulumi.set(self, "generation_type", value) + + @property + @pulumi.getter(name="passphraseLength") + def passphrase_length(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) Length of the passphrase to be generated + """ + return pulumi.get(self, "passphrase_length") + + @passphrase_length.setter + def passphrase_length(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "passphrase_length", value) + + @property + @pulumi.getter(name="secretTemplate") + def secret_template(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + return pulumi.get(self, "secret_template") + + @secret_template.setter + def secret_template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_template", value) + + if not MYPY: class SecretSecretRuleArgsDict(TypedDict): rule_type: pulumi.Input[str] diff --git a/sdk/python/pulumi_oci/vault/get_secret.py b/sdk/python/pulumi_oci/vault/get_secret.py index d170951c8e..15c1247e83 100644 --- a/sdk/python/pulumi_oci/vault/get_secret.py +++ b/sdk/python/pulumi_oci/vault/get_secret.py @@ -27,7 +27,7 @@ class GetSecretResult: """ A collection of values returned by getSecret. """ - def __init__(__self__, compartment_id=None, current_version_number=None, defined_tags=None, description=None, freeform_tags=None, id=None, key_id=None, last_rotation_time=None, lifecycle_details=None, metadata=None, next_rotation_time=None, rotation_configs=None, rotation_status=None, secret_contents=None, secret_id=None, secret_name=None, secret_rules=None, state=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, vault_id=None): + def __init__(__self__, compartment_id=None, current_version_number=None, defined_tags=None, description=None, enable_auto_generation=None, freeform_tags=None, id=None, is_auto_generation_enabled=None, key_id=None, last_rotation_time=None, lifecycle_details=None, metadata=None, next_rotation_time=None, rotation_configs=None, rotation_status=None, secret_contents=None, secret_generation_contexts=None, secret_id=None, secret_name=None, secret_rules=None, state=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, vault_id=None): if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) @@ -40,12 +40,18 @@ def __init__(__self__, compartment_id=None, current_version_number=None, defined if description and not isinstance(description, str): raise TypeError("Expected argument 'description' to be a str") pulumi.set(__self__, "description", description) + if enable_auto_generation and not isinstance(enable_auto_generation, bool): + raise TypeError("Expected argument 'enable_auto_generation' to be a bool") + pulumi.set(__self__, "enable_auto_generation", enable_auto_generation) 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_generation_enabled and not isinstance(is_auto_generation_enabled, bool): + raise TypeError("Expected argument 'is_auto_generation_enabled' to be a bool") + pulumi.set(__self__, "is_auto_generation_enabled", is_auto_generation_enabled) if key_id and not isinstance(key_id, str): raise TypeError("Expected argument 'key_id' to be a str") pulumi.set(__self__, "key_id", key_id) @@ -70,6 +76,9 @@ def __init__(__self__, compartment_id=None, current_version_number=None, defined if secret_contents and not isinstance(secret_contents, list): raise TypeError("Expected argument 'secret_contents' to be a list") pulumi.set(__self__, "secret_contents", secret_contents) + if secret_generation_contexts and not isinstance(secret_generation_contexts, list): + raise TypeError("Expected argument 'secret_generation_contexts' to be a list") + pulumi.set(__self__, "secret_generation_contexts", secret_generation_contexts) if secret_id and not isinstance(secret_id, str): raise TypeError("Expected argument 'secret_id' to be a str") pulumi.set(__self__, "secret_id", secret_id) @@ -127,6 +136,11 @@ def description(self) -> str: """ return pulumi.get(self, "description") + @property + @pulumi.getter(name="enableAutoGeneration") + def enable_auto_generation(self) -> bool: + return pulumi.get(self, "enable_auto_generation") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, str]: @@ -143,6 +157,14 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isAutoGenerationEnabled") + def is_auto_generation_enabled(self) -> bool: + """ + The value of this flag determines whether or not secret content will be generated automatically. + """ + return pulumi.get(self, "is_auto_generation_enabled") + @property @pulumi.getter(name="keyId") def key_id(self) -> str: @@ -204,6 +226,14 @@ def rotation_status(self) -> str: def secret_contents(self) -> Sequence['outputs.GetSecretSecretContentResult']: return pulumi.get(self, "secret_contents") + @property + @pulumi.getter(name="secretGenerationContexts") + def secret_generation_contexts(self) -> Sequence['outputs.GetSecretSecretGenerationContextResult']: + """ + Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + """ + return pulumi.get(self, "secret_generation_contexts") + @property @pulumi.getter(name="secretId") def secret_id(self) -> str: @@ -276,8 +306,10 @@ def __await__(self): current_version_number=self.current_version_number, defined_tags=self.defined_tags, description=self.description, + enable_auto_generation=self.enable_auto_generation, freeform_tags=self.freeform_tags, id=self.id, + is_auto_generation_enabled=self.is_auto_generation_enabled, key_id=self.key_id, last_rotation_time=self.last_rotation_time, lifecycle_details=self.lifecycle_details, @@ -286,6 +318,7 @@ def __await__(self): rotation_configs=self.rotation_configs, rotation_status=self.rotation_status, secret_contents=self.secret_contents, + secret_generation_contexts=self.secret_generation_contexts, secret_id=self.secret_id, secret_name=self.secret_name, secret_rules=self.secret_rules, @@ -325,8 +358,10 @@ def get_secret(secret_id: Optional[str] = None, current_version_number=pulumi.get(__ret__, 'current_version_number'), defined_tags=pulumi.get(__ret__, 'defined_tags'), description=pulumi.get(__ret__, 'description'), + enable_auto_generation=pulumi.get(__ret__, 'enable_auto_generation'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), + is_auto_generation_enabled=pulumi.get(__ret__, 'is_auto_generation_enabled'), key_id=pulumi.get(__ret__, 'key_id'), last_rotation_time=pulumi.get(__ret__, 'last_rotation_time'), lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), @@ -335,6 +370,7 @@ def get_secret(secret_id: Optional[str] = None, rotation_configs=pulumi.get(__ret__, 'rotation_configs'), rotation_status=pulumi.get(__ret__, 'rotation_status'), secret_contents=pulumi.get(__ret__, 'secret_contents'), + secret_generation_contexts=pulumi.get(__ret__, 'secret_generation_contexts'), secret_id=pulumi.get(__ret__, 'secret_id'), secret_name=pulumi.get(__ret__, 'secret_name'), secret_rules=pulumi.get(__ret__, 'secret_rules'), @@ -371,8 +407,10 @@ def get_secret_output(secret_id: Optional[pulumi.Input[str]] = None, current_version_number=pulumi.get(__response__, 'current_version_number'), defined_tags=pulumi.get(__response__, 'defined_tags'), description=pulumi.get(__response__, 'description'), + enable_auto_generation=pulumi.get(__response__, 'enable_auto_generation'), freeform_tags=pulumi.get(__response__, 'freeform_tags'), id=pulumi.get(__response__, 'id'), + is_auto_generation_enabled=pulumi.get(__response__, 'is_auto_generation_enabled'), key_id=pulumi.get(__response__, 'key_id'), last_rotation_time=pulumi.get(__response__, 'last_rotation_time'), lifecycle_details=pulumi.get(__response__, 'lifecycle_details'), @@ -381,6 +419,7 @@ def get_secret_output(secret_id: Optional[pulumi.Input[str]] = None, rotation_configs=pulumi.get(__response__, 'rotation_configs'), rotation_status=pulumi.get(__response__, 'rotation_status'), secret_contents=pulumi.get(__response__, 'secret_contents'), + secret_generation_contexts=pulumi.get(__response__, 'secret_generation_contexts'), secret_id=pulumi.get(__response__, 'secret_id'), secret_name=pulumi.get(__response__, 'secret_name'), secret_rules=pulumi.get(__response__, 'secret_rules'), diff --git a/sdk/python/pulumi_oci/vault/get_secret_version.py b/sdk/python/pulumi_oci/vault/get_secret_version_sdk_v2.py similarity index 59% rename from sdk/python/pulumi_oci/vault/get_secret_version.py rename to sdk/python/pulumi_oci/vault/get_secret_version_sdk_v2.py index b8516c7341..3d7d63190a 100644 --- a/sdk/python/pulumi_oci/vault/get_secret_version.py +++ b/sdk/python/pulumi_oci/vault/get_secret_version_sdk_v2.py @@ -15,24 +15,27 @@ from .. import _utilities __all__ = [ - 'GetSecretVersionResult', - 'AwaitableGetSecretVersionResult', - 'get_secret_version', - 'get_secret_version_output', + 'GetSecretVersionSdkV2Result', + 'AwaitableGetSecretVersionSdkV2Result', + 'get_secret_version_sdk_v2', + 'get_secret_version_sdk_v2_output', ] @pulumi.output_type -class GetSecretVersionResult: +class GetSecretVersionSdkV2Result: """ - A collection of values returned by getSecretVersion. + A collection of values returned by getSecretVersionSdkV2. """ - def __init__(__self__, content_type=None, id=None, name=None, secret_id=None, secret_version_number=None, stages=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, version_number=None): + def __init__(__self__, content_type=None, id=None, is_content_auto_generated=None, name=None, secret_id=None, secret_version_number=None, stages=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, version_number=None): if content_type and not isinstance(content_type, str): raise TypeError("Expected argument 'content_type' to be a str") pulumi.set(__self__, "content_type", content_type) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if is_content_auto_generated and not isinstance(is_content_auto_generated, bool): + raise TypeError("Expected argument 'is_content_auto_generated' to be a bool") + pulumi.set(__self__, "is_content_auto_generated", is_content_auto_generated) if name and not isinstance(name, str): raise TypeError("Expected argument 'name' to be a str") pulumi.set(__self__, "name", name) @@ -61,9 +64,6 @@ def __init__(__self__, content_type=None, id=None, name=None, secret_id=None, se @property @pulumi.getter(name="contentType") def content_type(self) -> str: - """ - The content type of the secret version's secret contents. - """ return pulumi.get(self, "content_type") @property @@ -74,20 +74,19 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isContentAutoGenerated") + def is_content_auto_generated(self) -> bool: + return pulumi.get(self, "is_content_auto_generated") + @property @pulumi.getter def name(self) -> str: - """ - The name of the secret version. A name is unique across versions of a secret. - """ return pulumi.get(self, "name") @property @pulumi.getter(name="secretId") def secret_id(self) -> str: - """ - The OCID of the secret. - """ return pulumi.get(self, "secret_id") @property @@ -98,52 +97,38 @@ def secret_version_number(self) -> str: @property @pulumi.getter def stages(self) -> Sequence[str]: - """ - A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion. - """ return pulumi.get(self, "stages") @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: - """ - A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - """ return pulumi.get(self, "time_created") @property @pulumi.getter(name="timeOfCurrentVersionExpiry") def time_of_current_version_expiry(self) -> str: - """ - An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - """ return pulumi.get(self, "time_of_current_version_expiry") @property @pulumi.getter(name="timeOfDeletion") def time_of_deletion(self) -> str: - """ - An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - """ return pulumi.get(self, "time_of_deletion") @property @pulumi.getter(name="versionNumber") def version_number(self) -> str: - """ - The version number of the secret. - """ return pulumi.get(self, "version_number") -class AwaitableGetSecretVersionResult(GetSecretVersionResult): +class AwaitableGetSecretVersionSdkV2Result(GetSecretVersionSdkV2Result): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetSecretVersionResult( + return GetSecretVersionSdkV2Result( content_type=self.content_type, id=self.id, + is_content_auto_generated=self.is_content_auto_generated, name=self.name, secret_id=self.secret_id, secret_version_number=self.secret_version_number, @@ -154,37 +139,22 @@ def __await__(self): version_number=self.version_number) -def get_secret_version(secret_id: Optional[str] = None, - secret_version_number: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult: +def get_secret_version_sdk_v2(secret_id: Optional[str] = None, + secret_version_number: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionSdkV2Result: """ - This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - - Gets information about the specified version of a secret. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_secret_version = oci.Vault.get_secret_version(secret_id=test_secret["id"], - secret_version_number=secret_version_secret_version_number) - ``` - - - :param str secret_id: The OCID of the secret. - :param str secret_version_number: The version number of the secret. + Use this data source to access information about an existing resource. """ __args__ = dict() __args__['secretId'] = secret_id __args__['secretVersionNumber'] = secret_version_number opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:Vault/getSecretVersion:getSecretVersion', __args__, opts=opts, typ=GetSecretVersionResult).value + __ret__ = pulumi.runtime.invoke('oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2', __args__, opts=opts, typ=GetSecretVersionSdkV2Result).value - return AwaitableGetSecretVersionResult( + return AwaitableGetSecretVersionSdkV2Result( content_type=pulumi.get(__ret__, 'content_type'), id=pulumi.get(__ret__, 'id'), + is_content_auto_generated=pulumi.get(__ret__, 'is_content_auto_generated'), name=pulumi.get(__ret__, 'name'), secret_id=pulumi.get(__ret__, 'secret_id'), secret_version_number=pulumi.get(__ret__, 'secret_version_number'), @@ -193,36 +163,21 @@ def get_secret_version(secret_id: Optional[str] = None, time_of_current_version_expiry=pulumi.get(__ret__, 'time_of_current_version_expiry'), time_of_deletion=pulumi.get(__ret__, 'time_of_deletion'), version_number=pulumi.get(__ret__, 'version_number')) -def get_secret_version_output(secret_id: Optional[pulumi.Input[str]] = None, - secret_version_number: Optional[pulumi.Input[str]] = None, - opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretVersionResult]: +def get_secret_version_sdk_v2_output(secret_id: Optional[pulumi.Input[str]] = None, + secret_version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretVersionSdkV2Result]: """ - This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service. - - Gets information about the specified version of a secret. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_secret_version = oci.Vault.get_secret_version(secret_id=test_secret["id"], - secret_version_number=secret_version_secret_version_number) - ``` - - - :param str secret_id: The OCID of the secret. - :param str secret_version_number: The version number of the secret. + Use this data source to access information about an existing resource. """ __args__ = dict() __args__['secretId'] = secret_id __args__['secretVersionNumber'] = secret_version_number opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke_output('oci:Vault/getSecretVersion:getSecretVersion', __args__, opts=opts, typ=GetSecretVersionResult) - return __ret__.apply(lambda __response__: GetSecretVersionResult( + __ret__ = pulumi.runtime.invoke_output('oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2', __args__, opts=opts, typ=GetSecretVersionSdkV2Result) + return __ret__.apply(lambda __response__: GetSecretVersionSdkV2Result( content_type=pulumi.get(__response__, 'content_type'), id=pulumi.get(__response__, 'id'), + is_content_auto_generated=pulumi.get(__response__, 'is_content_auto_generated'), name=pulumi.get(__response__, 'name'), secret_id=pulumi.get(__response__, 'secret_id'), secret_version_number=pulumi.get(__response__, 'secret_version_number'), diff --git a/sdk/python/pulumi_oci/vault/outputs.py b/sdk/python/pulumi_oci/vault/outputs.py index b14f43939a..153cf5aeda 100644 --- a/sdk/python/pulumi_oci/vault/outputs.py +++ b/sdk/python/pulumi_oci/vault/outputs.py @@ -19,16 +19,19 @@ 'SecretRotationConfig', 'SecretRotationConfigTargetSystemDetails', 'SecretSecretContent', + 'SecretSecretGenerationContext', 'SecretSecretRule', 'GetSecretRotationConfigResult', 'GetSecretRotationConfigTargetSystemDetailResult', 'GetSecretSecretContentResult', + 'GetSecretSecretGenerationContextResult', 'GetSecretSecretRuleResult', 'GetSecretsFilterResult', 'GetSecretsSecretResult', 'GetSecretsSecretRotationConfigResult', 'GetSecretsSecretRotationConfigTargetSystemDetailResult', 'GetSecretsSecretSecretContentResult', + 'GetSecretsSecretSecretGenerationContextResult', 'GetSecretsSecretSecretRuleResult', ] @@ -229,6 +232,82 @@ def stage(self) -> Optional[str]: return pulumi.get(self, "stage") +@pulumi.output_type +class SecretSecretGenerationContext(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "generationTemplate": + suggest = "generation_template" + elif key == "generationType": + suggest = "generation_type" + elif key == "passphraseLength": + suggest = "passphrase_length" + elif key == "secretTemplate": + suggest = "secret_template" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecretSecretGenerationContext. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecretSecretGenerationContext.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecretSecretGenerationContext.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + generation_template: str, + generation_type: str, + passphrase_length: Optional[int] = None, + secret_template: Optional[str] = None): + """ + :param str generation_template: (Updatable) Name of random bytes generation template for generating random byte type secret. + :param str generation_type: (Updatable) Name of the predefined secret generation type. + :param int passphrase_length: (Updatable) Length of the passphrase to be generated + :param str secret_template: (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + pulumi.set(__self__, "generation_template", generation_template) + pulumi.set(__self__, "generation_type", generation_type) + if passphrase_length is not None: + pulumi.set(__self__, "passphrase_length", passphrase_length) + if secret_template is not None: + pulumi.set(__self__, "secret_template", secret_template) + + @property + @pulumi.getter(name="generationTemplate") + def generation_template(self) -> str: + """ + (Updatable) Name of random bytes generation template for generating random byte type secret. + """ + return pulumi.get(self, "generation_template") + + @property + @pulumi.getter(name="generationType") + def generation_type(self) -> str: + """ + (Updatable) Name of the predefined secret generation type. + """ + return pulumi.get(self, "generation_type") + + @property + @pulumi.getter(name="passphraseLength") + def passphrase_length(self) -> Optional[int]: + """ + (Updatable) Length of the passphrase to be generated + """ + return pulumi.get(self, "passphrase_length") + + @property + @pulumi.getter(name="secretTemplate") + def secret_template(self) -> Optional[str]: + """ + (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + return pulumi.get(self, "secret_template") + + @pulumi.output_type class SecretSecretRule(dict): @staticmethod @@ -433,6 +512,57 @@ def stage(self) -> str: return pulumi.get(self, "stage") +@pulumi.output_type +class GetSecretSecretGenerationContextResult(dict): + def __init__(__self__, *, + generation_template: str, + generation_type: str, + passphrase_length: int, + secret_template: str): + """ + :param str generation_template: Name of random bytes generation template for generating random byte type secret. + :param str generation_type: Name of the predefined secret generation type. + :param int passphrase_length: Length of the passphrase to be generated + :param str secret_template: SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + pulumi.set(__self__, "generation_template", generation_template) + pulumi.set(__self__, "generation_type", generation_type) + pulumi.set(__self__, "passphrase_length", passphrase_length) + pulumi.set(__self__, "secret_template", secret_template) + + @property + @pulumi.getter(name="generationTemplate") + def generation_template(self) -> str: + """ + Name of random bytes generation template for generating random byte type secret. + """ + return pulumi.get(self, "generation_template") + + @property + @pulumi.getter(name="generationType") + def generation_type(self) -> str: + """ + Name of the predefined secret generation type. + """ + return pulumi.get(self, "generation_type") + + @property + @pulumi.getter(name="passphraseLength") + def passphrase_length(self) -> int: + """ + Length of the passphrase to be generated + """ + return pulumi.get(self, "passphrase_length") + + @property + @pulumi.getter(name="secretTemplate") + def secret_template(self) -> str: + """ + SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + return pulumi.get(self, "secret_template") + + @pulumi.output_type class GetSecretSecretRuleResult(dict): def __init__(__self__, *, @@ -535,8 +665,10 @@ def __init__(__self__, *, current_version_number: str, defined_tags: Mapping[str, str], description: str, + enable_auto_generation: bool, freeform_tags: Mapping[str, str], id: str, + is_auto_generation_enabled: bool, key_id: str, last_rotation_time: str, lifecycle_details: str, @@ -545,6 +677,7 @@ def __init__(__self__, *, rotation_configs: Sequence['outputs.GetSecretsSecretRotationConfigResult'], rotation_status: str, secret_contents: Sequence['outputs.GetSecretsSecretSecretContentResult'], + secret_generation_contexts: Sequence['outputs.GetSecretsSecretSecretGenerationContextResult'], secret_name: str, secret_rules: Sequence['outputs.GetSecretsSecretSecretRuleResult'], state: str, @@ -559,6 +692,7 @@ def __init__(__self__, *, :param str description: A brief description of the secret. Avoid entering confidential information. :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 secret. + :param bool is_auto_generation_enabled: The value of this flag determines whether or not secret content will be generated automatically. :param str key_id: The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :param str last_rotation_time: A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str lifecycle_details: Additional information about the current lifecycle state of the secret. @@ -566,6 +700,7 @@ def __init__(__self__, *, :param str next_rotation_time: A property indicating when the secret is scheduled to be rotated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param Sequence['GetSecretsSecretRotationConfigArgs'] rotation_configs: Defines the frequency of the rotation and the information about the target system :param str rotation_status: Additional information about the status of the secret rotation + :param Sequence['GetSecretsSecretSecretGenerationContextArgs'] secret_generation_contexts: Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. :param str secret_name: The user-friendly name of the secret. Avoid entering confidential information. :param Sequence['GetSecretsSecretSecretRuleArgs'] secret_rules: A list of rules that control how the secret is used and managed. :param str state: A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive. @@ -578,8 +713,10 @@ def __init__(__self__, *, pulumi.set(__self__, "current_version_number", current_version_number) pulumi.set(__self__, "defined_tags", defined_tags) pulumi.set(__self__, "description", description) + pulumi.set(__self__, "enable_auto_generation", enable_auto_generation) pulumi.set(__self__, "freeform_tags", freeform_tags) pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_auto_generation_enabled", is_auto_generation_enabled) pulumi.set(__self__, "key_id", key_id) pulumi.set(__self__, "last_rotation_time", last_rotation_time) pulumi.set(__self__, "lifecycle_details", lifecycle_details) @@ -588,6 +725,7 @@ def __init__(__self__, *, pulumi.set(__self__, "rotation_configs", rotation_configs) pulumi.set(__self__, "rotation_status", rotation_status) pulumi.set(__self__, "secret_contents", secret_contents) + pulumi.set(__self__, "secret_generation_contexts", secret_generation_contexts) pulumi.set(__self__, "secret_name", secret_name) pulumi.set(__self__, "secret_rules", secret_rules) pulumi.set(__self__, "state", state) @@ -628,6 +766,11 @@ def description(self) -> str: """ return pulumi.get(self, "description") + @property + @pulumi.getter(name="enableAutoGeneration") + def enable_auto_generation(self) -> bool: + return pulumi.get(self, "enable_auto_generation") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, str]: @@ -644,6 +787,14 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isAutoGenerationEnabled") + def is_auto_generation_enabled(self) -> bool: + """ + The value of this flag determines whether or not secret content will be generated automatically. + """ + return pulumi.get(self, "is_auto_generation_enabled") + @property @pulumi.getter(name="keyId") def key_id(self) -> str: @@ -705,6 +856,14 @@ def rotation_status(self) -> str: def secret_contents(self) -> Sequence['outputs.GetSecretsSecretSecretContentResult']: return pulumi.get(self, "secret_contents") + @property + @pulumi.getter(name="secretGenerationContexts") + def secret_generation_contexts(self) -> Sequence['outputs.GetSecretsSecretSecretGenerationContextResult']: + """ + Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + """ + return pulumi.get(self, "secret_generation_contexts") + @property @pulumi.getter(name="secretName") def secret_name(self) -> str: @@ -881,6 +1040,57 @@ def stage(self) -> str: return pulumi.get(self, "stage") +@pulumi.output_type +class GetSecretsSecretSecretGenerationContextResult(dict): + def __init__(__self__, *, + generation_template: str, + generation_type: str, + passphrase_length: int, + secret_template: str): + """ + :param str generation_template: Name of random bytes generation template for generating random byte type secret. + :param str generation_type: Name of the predefined secret generation type. + :param int passphrase_length: Length of the passphrase to be generated + :param str secret_template: SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + pulumi.set(__self__, "generation_template", generation_template) + pulumi.set(__self__, "generation_type", generation_type) + pulumi.set(__self__, "passphrase_length", passphrase_length) + pulumi.set(__self__, "secret_template", secret_template) + + @property + @pulumi.getter(name="generationTemplate") + def generation_template(self) -> str: + """ + Name of random bytes generation template for generating random byte type secret. + """ + return pulumi.get(self, "generation_template") + + @property + @pulumi.getter(name="generationType") + def generation_type(self) -> str: + """ + Name of the predefined secret generation type. + """ + return pulumi.get(self, "generation_type") + + @property + @pulumi.getter(name="passphraseLength") + def passphrase_length(self) -> int: + """ + Length of the passphrase to be generated + """ + return pulumi.get(self, "passphrase_length") + + @property + @pulumi.getter(name="secretTemplate") + def secret_template(self) -> str: + """ + SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content. + """ + return pulumi.get(self, "secret_template") + + @pulumi.output_type class GetSecretsSecretSecretRuleResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_oci/vault/secret.py b/sdk/python/pulumi_oci/vault/secret.py index e7465e4609..5995ffceb1 100644 --- a/sdk/python/pulumi_oci/vault/secret.py +++ b/sdk/python/pulumi_oci/vault/secret.py @@ -27,10 +27,12 @@ def __init__(__self__, *, vault_id: pulumi.Input[str], defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, + enable_auto_generation: Optional[pulumi.Input[bool]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, rotation_config: Optional[pulumi.Input['SecretRotationConfigArgs']] = None, secret_content: Optional[pulumi.Input['SecretSecretContentArgs']] = None, + secret_generation_context: Optional[pulumi.Input['SecretSecretGenerationContextArgs']] = None, secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]]] = None): """ The set of arguments for constructing a Secret resource. @@ -44,10 +46,12 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Mapping[str, 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 brief description of the secret. Avoid entering confidential information. + :param pulumi.Input[bool] enable_auto_generation: (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :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[Mapping[str, pulumi.Input[str]]] metadata: (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs. :param pulumi.Input['SecretRotationConfigArgs'] rotation_config: (Updatable) Defines the frequency of the rotation and the information about the target system :param pulumi.Input['SecretSecretContentArgs'] secret_content: (Updatable) The content of the secret and metadata to help identify it. + :param pulumi.Input['SecretSecretGenerationContextArgs'] secret_generation_context: (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. :param pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]] secret_rules: (Updatable) A list of rules to control how the secret is used and managed. """ pulumi.set(__self__, "compartment_id", compartment_id) @@ -58,6 +62,8 @@ def __init__(__self__, *, pulumi.set(__self__, "defined_tags", defined_tags) if description is not None: pulumi.set(__self__, "description", description) + if enable_auto_generation is not None: + pulumi.set(__self__, "enable_auto_generation", enable_auto_generation) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) if metadata is not None: @@ -66,6 +72,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rotation_config", rotation_config) if secret_content is not None: pulumi.set(__self__, "secret_content", secret_content) + if secret_generation_context is not None: + pulumi.set(__self__, "secret_generation_context", secret_generation_context) if secret_rules is not None: pulumi.set(__self__, "secret_rules", secret_rules) @@ -145,6 +153,18 @@ def description(self) -> Optional[pulumi.Input[str]]: def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) + @property + @pulumi.getter(name="enableAutoGeneration") + def enable_auto_generation(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + """ + return pulumi.get(self, "enable_auto_generation") + + @enable_auto_generation.setter + def enable_auto_generation(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_auto_generation", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -193,6 +213,18 @@ def secret_content(self) -> Optional[pulumi.Input['SecretSecretContentArgs']]: def secret_content(self, value: Optional[pulumi.Input['SecretSecretContentArgs']]): pulumi.set(self, "secret_content", value) + @property + @pulumi.getter(name="secretGenerationContext") + def secret_generation_context(self) -> Optional[pulumi.Input['SecretSecretGenerationContextArgs']]: + """ + (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + """ + return pulumi.get(self, "secret_generation_context") + + @secret_generation_context.setter + def secret_generation_context(self, value: Optional[pulumi.Input['SecretSecretGenerationContextArgs']]): + pulumi.set(self, "secret_generation_context", value) + @property @pulumi.getter(name="secretRules") def secret_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]]]: @@ -213,7 +245,9 @@ def __init__(__self__, *, current_version_number: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, + enable_auto_generation: Optional[pulumi.Input[bool]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_generation_enabled: Optional[pulumi.Input[bool]] = None, key_id: Optional[pulumi.Input[str]] = None, last_rotation_time: Optional[pulumi.Input[str]] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, @@ -222,6 +256,7 @@ def __init__(__self__, *, rotation_config: Optional[pulumi.Input['SecretRotationConfigArgs']] = None, rotation_status: Optional[pulumi.Input[str]] = None, secret_content: Optional[pulumi.Input['SecretSecretContentArgs']] = None, + secret_generation_context: Optional[pulumi.Input['SecretSecretGenerationContextArgs']] = None, secret_name: Optional[pulumi.Input[str]] = None, secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]]] = None, state: Optional[pulumi.Input[str]] = None, @@ -235,7 +270,9 @@ def __init__(__self__, *, :param pulumi.Input[str] current_version_number: The version number of the secret version that's currently in use. :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 brief description of the secret. Avoid entering confidential information. + :param pulumi.Input[bool] enable_auto_generation: (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :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_generation_enabled: The value of this flag determines whether or not secret content will be generated automatically. :param pulumi.Input[str] key_id: The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :param pulumi.Input[str] last_rotation_time: A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state of the secret. @@ -244,6 +281,7 @@ def __init__(__self__, *, :param pulumi.Input['SecretRotationConfigArgs'] rotation_config: (Updatable) Defines the frequency of the rotation and the information about the target system :param pulumi.Input[str] rotation_status: Additional information about the status of the secret rotation :param pulumi.Input['SecretSecretContentArgs'] secret_content: (Updatable) The content of the secret and metadata to help identify it. + :param pulumi.Input['SecretSecretGenerationContextArgs'] secret_generation_context: (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. :param pulumi.Input[str] secret_name: A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]] secret_rules: (Updatable) A list of rules to control how the secret is used and managed. :param pulumi.Input[str] state: The current lifecycle state of the secret. @@ -264,8 +302,12 @@ def __init__(__self__, *, pulumi.set(__self__, "defined_tags", defined_tags) if description is not None: pulumi.set(__self__, "description", description) + if enable_auto_generation is not None: + pulumi.set(__self__, "enable_auto_generation", enable_auto_generation) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) + if is_auto_generation_enabled is not None: + pulumi.set(__self__, "is_auto_generation_enabled", is_auto_generation_enabled) if key_id is not None: pulumi.set(__self__, "key_id", key_id) if last_rotation_time is not None: @@ -282,6 +324,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rotation_status", rotation_status) if secret_content is not None: pulumi.set(__self__, "secret_content", secret_content) + if secret_generation_context is not None: + pulumi.set(__self__, "secret_generation_context", secret_generation_context) if secret_name is not None: pulumi.set(__self__, "secret_name", secret_name) if secret_rules is not None: @@ -345,6 +389,18 @@ def description(self) -> Optional[pulumi.Input[str]]: def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) + @property + @pulumi.getter(name="enableAutoGeneration") + def enable_auto_generation(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + """ + return pulumi.get(self, "enable_auto_generation") + + @enable_auto_generation.setter + def enable_auto_generation(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_auto_generation", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -357,6 +413,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="isAutoGenerationEnabled") + def is_auto_generation_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + The value of this flag determines whether or not secret content will be generated automatically. + """ + return pulumi.get(self, "is_auto_generation_enabled") + + @is_auto_generation_enabled.setter + def is_auto_generation_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_auto_generation_enabled", value) + @property @pulumi.getter(name="keyId") def key_id(self) -> Optional[pulumi.Input[str]]: @@ -453,6 +521,18 @@ def secret_content(self) -> Optional[pulumi.Input['SecretSecretContentArgs']]: def secret_content(self, value: Optional[pulumi.Input['SecretSecretContentArgs']]): pulumi.set(self, "secret_content", value) + @property + @pulumi.getter(name="secretGenerationContext") + def secret_generation_context(self) -> Optional[pulumi.Input['SecretSecretGenerationContextArgs']]: + """ + (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + """ + return pulumi.get(self, "secret_generation_context") + + @secret_generation_context.setter + def secret_generation_context(self, value: Optional[pulumi.Input['SecretSecretGenerationContextArgs']]): + pulumi.set(self, "secret_generation_context", value) + @property @pulumi.getter(name="secretName") def secret_name(self) -> Optional[pulumi.Input[str]]: @@ -550,11 +630,13 @@ 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, + enable_auto_generation: Optional[pulumi.Input[bool]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, key_id: Optional[pulumi.Input[str]] = None, metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, rotation_config: Optional[pulumi.Input[Union['SecretRotationConfigArgs', 'SecretRotationConfigArgsDict']]] = None, secret_content: Optional[pulumi.Input[Union['SecretSecretContentArgs', 'SecretSecretContentArgsDict']]] = None, + secret_generation_context: Optional[pulumi.Input[Union['SecretSecretGenerationContextArgs', 'SecretSecretGenerationContextArgsDict']]] = None, secret_name: Optional[pulumi.Input[str]] = None, secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretSecretRuleArgs', 'SecretSecretRuleArgsDict']]]]] = None, vault_id: Optional[pulumi.Input[str]] = None, @@ -577,11 +659,13 @@ def __init__(__self__, :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create the secret. :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 brief description of the secret. Avoid entering confidential information. + :param pulumi.Input[bool] enable_auto_generation: (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :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] key_id: The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs. :param pulumi.Input[Union['SecretRotationConfigArgs', 'SecretRotationConfigArgsDict']] rotation_config: (Updatable) Defines the frequency of the rotation and the information about the target system :param pulumi.Input[Union['SecretSecretContentArgs', 'SecretSecretContentArgsDict']] secret_content: (Updatable) The content of the secret and metadata to help identify it. + :param pulumi.Input[Union['SecretSecretGenerationContextArgs', 'SecretSecretGenerationContextArgsDict']] secret_generation_context: (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. :param pulumi.Input[str] secret_name: A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param pulumi.Input[Sequence[pulumi.Input[Union['SecretSecretRuleArgs', 'SecretSecretRuleArgsDict']]]] secret_rules: (Updatable) A list of rules to control how the secret is used and managed. :param pulumi.Input[str] vault_id: The OCID of the vault where you want to create the secret. @@ -627,11 +711,13 @@ 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, + enable_auto_generation: Optional[pulumi.Input[bool]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, key_id: Optional[pulumi.Input[str]] = None, metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, rotation_config: Optional[pulumi.Input[Union['SecretRotationConfigArgs', 'SecretRotationConfigArgsDict']]] = None, secret_content: Optional[pulumi.Input[Union['SecretSecretContentArgs', 'SecretSecretContentArgsDict']]] = None, + secret_generation_context: Optional[pulumi.Input[Union['SecretSecretGenerationContextArgs', 'SecretSecretGenerationContextArgsDict']]] = None, secret_name: Optional[pulumi.Input[str]] = None, secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretSecretRuleArgs', 'SecretSecretRuleArgsDict']]]]] = None, vault_id: Optional[pulumi.Input[str]] = None, @@ -649,6 +735,7 @@ def _internal_init(__self__, __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description + __props__.__dict__["enable_auto_generation"] = enable_auto_generation __props__.__dict__["freeform_tags"] = freeform_tags if key_id is None and not opts.urn: raise TypeError("Missing required property 'key_id'") @@ -656,6 +743,7 @@ def _internal_init(__self__, __props__.__dict__["metadata"] = metadata __props__.__dict__["rotation_config"] = rotation_config __props__.__dict__["secret_content"] = secret_content + __props__.__dict__["secret_generation_context"] = secret_generation_context if secret_name is None and not opts.urn: raise TypeError("Missing required property 'secret_name'") __props__.__dict__["secret_name"] = secret_name @@ -664,6 +752,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'vault_id'") __props__.__dict__["vault_id"] = vault_id __props__.__dict__["current_version_number"] = None + __props__.__dict__["is_auto_generation_enabled"] = None __props__.__dict__["last_rotation_time"] = None __props__.__dict__["lifecycle_details"] = None __props__.__dict__["next_rotation_time"] = None @@ -686,7 +775,9 @@ def get(resource_name: str, current_version_number: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, + enable_auto_generation: Optional[pulumi.Input[bool]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_generation_enabled: Optional[pulumi.Input[bool]] = None, key_id: Optional[pulumi.Input[str]] = None, last_rotation_time: Optional[pulumi.Input[str]] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, @@ -695,6 +786,7 @@ def get(resource_name: str, rotation_config: Optional[pulumi.Input[Union['SecretRotationConfigArgs', 'SecretRotationConfigArgsDict']]] = None, rotation_status: Optional[pulumi.Input[str]] = None, secret_content: Optional[pulumi.Input[Union['SecretSecretContentArgs', 'SecretSecretContentArgsDict']]] = None, + secret_generation_context: Optional[pulumi.Input[Union['SecretSecretGenerationContextArgs', 'SecretSecretGenerationContextArgsDict']]] = None, secret_name: Optional[pulumi.Input[str]] = None, secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretSecretRuleArgs', 'SecretSecretRuleArgsDict']]]]] = None, state: Optional[pulumi.Input[str]] = None, @@ -713,7 +805,9 @@ def get(resource_name: str, :param pulumi.Input[str] current_version_number: The version number of the secret version that's currently in use. :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 brief description of the secret. Avoid entering confidential information. + :param pulumi.Input[bool] enable_auto_generation: (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :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_generation_enabled: The value of this flag determines whether or not secret content will be generated automatically. :param pulumi.Input[str] key_id: The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :param pulumi.Input[str] last_rotation_time: A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state of the secret. @@ -722,6 +816,7 @@ def get(resource_name: str, :param pulumi.Input[Union['SecretRotationConfigArgs', 'SecretRotationConfigArgsDict']] rotation_config: (Updatable) Defines the frequency of the rotation and the information about the target system :param pulumi.Input[str] rotation_status: Additional information about the status of the secret rotation :param pulumi.Input[Union['SecretSecretContentArgs', 'SecretSecretContentArgsDict']] secret_content: (Updatable) The content of the secret and metadata to help identify it. + :param pulumi.Input[Union['SecretSecretGenerationContextArgs', 'SecretSecretGenerationContextArgsDict']] secret_generation_context: (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. :param pulumi.Input[str] secret_name: A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param pulumi.Input[Sequence[pulumi.Input[Union['SecretSecretRuleArgs', 'SecretSecretRuleArgsDict']]]] secret_rules: (Updatable) A list of rules to control how the secret is used and managed. :param pulumi.Input[str] state: The current lifecycle state of the secret. @@ -742,7 +837,9 @@ def get(resource_name: str, __props__.__dict__["current_version_number"] = current_version_number __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description + __props__.__dict__["enable_auto_generation"] = enable_auto_generation __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["is_auto_generation_enabled"] = is_auto_generation_enabled __props__.__dict__["key_id"] = key_id __props__.__dict__["last_rotation_time"] = last_rotation_time __props__.__dict__["lifecycle_details"] = lifecycle_details @@ -751,6 +848,7 @@ def get(resource_name: str, __props__.__dict__["rotation_config"] = rotation_config __props__.__dict__["rotation_status"] = rotation_status __props__.__dict__["secret_content"] = secret_content + __props__.__dict__["secret_generation_context"] = secret_generation_context __props__.__dict__["secret_name"] = secret_name __props__.__dict__["secret_rules"] = secret_rules __props__.__dict__["state"] = state @@ -792,6 +890,14 @@ def description(self) -> pulumi.Output[str]: """ return pulumi.get(self, "description") + @property + @pulumi.getter(name="enableAutoGeneration") + def enable_auto_generation(self) -> pulumi.Output[Optional[bool]]: + """ + (Updatable) The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. + """ + return pulumi.get(self, "enable_auto_generation") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: @@ -800,6 +906,14 @@ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: """ return pulumi.get(self, "freeform_tags") + @property + @pulumi.getter(name="isAutoGenerationEnabled") + def is_auto_generation_enabled(self) -> pulumi.Output[bool]: + """ + The value of this flag determines whether or not secret content will be generated automatically. + """ + return pulumi.get(self, "is_auto_generation_enabled") + @property @pulumi.getter(name="keyId") def key_id(self) -> pulumi.Output[str]: @@ -864,6 +978,14 @@ def secret_content(self) -> pulumi.Output['outputs.SecretSecretContent']: """ return pulumi.get(self, "secret_content") + @property + @pulumi.getter(name="secretGenerationContext") + def secret_generation_context(self) -> pulumi.Output['outputs.SecretSecretGenerationContext']: + """ + (Updatable) Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on. + """ + return pulumi.get(self, "secret_generation_context") + @property @pulumi.getter(name="secretName") def secret_name(self) -> pulumi.Output[str]: